[Nasm-bugs] [Bug 3392669] SEGV in asm/preproc.c:4325

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Wed May 27 19:46:49 PDT 2020


https://bugzilla.nasm.us/show_bug.cgi?id=3392669

--- Comment #3 from puppet at zju.edu.cn ---
On 2.15rc1. 

Logs of POC_3_000057 and POC_3_000126:
=================================================================
==11348==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc
0x0000004443f9 bp 0x7fffffffdde0 sp 0x7fffffffdb30 T0)
    #0 0x4443f8 in expand_one_smacro asm/preproc.c:5395
    #1 0x444786 in expand_smacro_noreset asm/preproc.c:5474
    #2 0x444665 in expand_smacro asm/preproc.c:5431
    #3 0x44933e in pp_tokline asm/preproc.c:6416
    #4 0x4493e7 in pp_getline asm/preproc.c:6429
    #5 0x408fb9 in assemble_file asm/nasm.c:1630
    #6 0x404bcd in main asm/nasm.c:637
    #7 0x7ffff6ac082f in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #8 0x402378 in _start (/data3/ASAN/nasm-ac30bd6/nasm+0x402378)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV asm/preproc.c:5395 expand_one_smacro


Logs of POC_15_000271:

==42936==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 97983 byte(s) in 810 object(s) allocated from:
    #0 0x7ffff6f02602 in malloc
(/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98602)
    #1 0x40a981 in nasm_malloc nasmlib/alloc.c:55
    #2 0x433c70 in dup_Token asm/preproc.c:1869
    #3 0x448262 in pp_tokline asm/preproc.c:6221
    #4 0x4493e7 in pp_getline asm/preproc.c:6429
    #5 0x408fb9 in assemble_file asm/nasm.c:1630
    #6 0x404bcd in main asm/nasm.c:637
    #7 0x7ffff6ac082f in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
..................
SUMMARY: AddressSanitizer: 128805 byte(s) leaked in 1920 allocation(s).

-- 
You are receiving this mail because:
You are watching all bug changes.
You are on the CC list for the bug.


More information about the Nasm-bugs mailing list