[Nasm-bugs] [Bug 3392659] New: Crash in preproc.c:2452 when compiling libjpeg_turbo

noreply-nasm at dev.nasm.us noreply-nasm at dev.nasm.us
Tue Apr 14 12:53:36 PDT 2020


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

            Bug ID: 3392659
           Summary: Crash in preproc.c:2452 when compiling libjpeg_turbo
           Product: NASM
           Version: 2.15 (development)
          Hardware: All
                OS: All
            Status: OPEN
          Severity: major
          Priority: Medium
         Component: Assembler
          Assignee: nobody at nasm.us
          Reporter: dalecurtis at chromium.org
                CC: chang.seok.bae at intel.com, gorcunov at gmail.com,
                    hpa at zytor.com, nasm-bugs at nasm.us
     Obtained from: Build from source archive using configure

Using ToT today: 2cd1a6fb70b8f60a3b4e5496ac823249ced8a1f0

$ CC=clang CXX=clang++ ./autogen.sh && ./configure && make

$ nasm -v
NASM version 2.15rc0 compiled on Apr 14 2020

$ nasm -DPIC -felf64 -I../../third_party/libjpeg_turbo/simd/nasm//
-I../../third_party/libjpeg_turbo/simd/x86_64// -I./ -I../../ -Igen/
-D__x86_64__ -DPIC -DELF -MD
obj/third_party/libjpeg_turbo/simd_asm/jccolor-avx2.o.d -o
obj/third_party/libjpeg_turbo/simd_asm/jccolor-avx2.o
../../third_party/libjpeg_turbo/simd/x86_64/jccolor-avx2.asm
Segmentation fault

(gdb) bt
#0  if_condition () at ../../third_party/nasm/asm/preproc.c:2452
#1  0x00005555555f81fe in do_directive () at
../../third_party/nasm/asm/preproc.c:3721
#2  0x00005555555f3f49 in pp_tokline () at
../../third_party/nasm/asm/preproc.c:6367
#3  pp_getline () at ../../third_party/nasm/asm/preproc.c:6428
#4  0x000055555562af7a in assemble_file () at
../../third_party/nasm/asm/nasm.c:1635
#5  main () at ../../third_party/nasm/asm/nasm.c:642

-- 
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