Dman95 / SASM

SASM - simple crossplatform IDE for NASM, MASM, GAS and FASM assembly languages

Home Page:http://dman95.github.io/SASM/

Repository from Github https://github.comDman95/SASMRepository from Github https://github.comDman95/SASM

Using 'SEGMENT' crashes SASM in DEBUG mode

starbassma opened this issue · comments

Hello,
We can read from the NASM DOC :

(SEGMENT is an exactly equivalent synonym of SECTION)

But when SEGMENT is used instead of SECTION, the debug crashes SASM.

With 'SECTION' the debug mode works fine as expected :

section

But when 'SEGMENT' is used instead of 'SECTION', the code runs fine, but crashes through the debugger 😰

segment

OS Logs :

apport: ERROR: apport (pid 9742) Sun Feb 28 16:15:02 2021: executable: /usr/bin/sasm (command line "sasm")

syslog: Feb 28 16:15:02 guest-HP-Pc kernel: [21369.914586] sasm[9602]: segfault at 38 ip 000055ea8b4d1647 sp 00007ffc81418570 error 4 in sasm[55ea8b47d000+16c000]

Best regards,
Wassime.

behavior observed in last stable release V3.12.1

Hi @Dman95 ,
Please have a look,
Best Regards,
Wassime.