[Nasm-bugs] [Bug 3392538] New: double free or corruption (fasttop) 2.14.01 on most errors and warnings

noreply-nasm at gorcunov.org noreply-nasm at gorcunov.org
Mon Dec 24 00:20:46 PST 2018


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

            Bug ID: 3392538
           Summary: double free or corruption (fasttop) 2.14.01 on most
                    errors and warnings
           Product: NASM
           Version: 2.14.xx
          Hardware: All
                OS: All
            Status: OPEN
          Severity: normal
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: russvz at comcast.net
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Binary from nasm.us

Most errors and warnings in version 2.14.01 aborts the assembly like:

rax.s:51: error: invalid combination of opcode and operands
*** Error in `nasm': double free or corruption (fasttop): 0x000055b8d00da590
***
======= Backtrace: =========
/lib64/libc.so.6(+0x7c619)[0x7fb0adc4f619]
nasm(+0x69d55)[0x55b8ce486d55]
nasm(+0x6a306)[0x55b8ce487306]
nasm(+0x68472)[0x55b8ce485472]
nasm(+0x54d62)[0x55b8ce471d62]
nasm(+0x529e3)[0x55b8ce46f9e3]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7fb0adbf4c05]
nasm(+0x52dba)[0x55b8ce46fdba]
======= Memory map: ========
55b8ce41d000-55b8ce4d1000 r-xp 00000000 fd:01 35303766                  
/usr/bin/nasm
55b8ce6d0000-55b8ce78d000 r--p 000b3000 fd:01 35303766                  
/usr/bin/nasm
55b8ce78d000-55b8ce78e000 rw-p 00170000 fd:01 35303766                  
/usr/bin/nasm

This is under CENTOS with a small program ( 800 lines ). I can provide more
information if necessary but the bug is so pervasive that the developers should
be able to easily reproduce.

NASM version 2.14.01 compiled on Dec 22 2018
__NASM_VERSION_ID__ dump: 00, 01, 0E, 02, 00000000

also abort on:
warning: byte data exceeds bounds [-w+number-overflow]
error: mismatch in operand sizes
warning: label alone on a line without a colon might be in error
[-w+orphan-labels]

but this did NOT abnormally abort the assembly:
error: parser: instruction expected

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


More information about the Nasm-bugs mailing list