[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


            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: =========
======= Memory map: ========
55b8ce41d000-55b8ce4d1000 r-xp 00000000 fd:01 35303766                  
55b8ce6d0000-55b8ce78d000 r--p 000b3000 fd:01 35303766                  
55b8ce78d000-55b8ce78e000 rw-p 00170000 fd:01 35303766                  

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

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