[Nasm-bugs] [Bug 3392602] git nasm: segmentation fault when assembling lmacros tests
noreply-nasm at gorcunov.org
noreply-nasm at gorcunov.org
Sat Aug 10 07:23:21 PDT 2019
https://bugzilla.nasm.us/show_bug.cgi?id=3392602
Ozkan Sezer <sezeroz at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sezeroz at gmail.com
--- Comment #4 from Ozkan Sezer <sezeroz at gmail.com> ---
With gdb:
Program received signal SIGSEGV, Segmentation fault.
0x08058587 in pp_list_one_macro (m=0x819a268, severity=129571) at
asm/preproc.c:5862
5862 pp_list_one_macro(m->next_active, severity);
Missing separate debuginfos, use: debuginfo-install
glibc-2.12-1.212.el6_10.3.i686
(gdb) bt
#0 0x08058587 in pp_list_one_macro (m=0x819a268, severity=129571) at
asm/preproc.c:5862
(seems to have stuck in there recursing infinitely?)
With valgrind:
==27518== Stack overflow in thread 1: can't grow stack to 0xbe590fec
==27518==
==27518== Process terminating with default action of signal 11 (SIGSEGV)
==27518== Access not within mapped region at address 0xBE590FEC
==27518== at 0x8058587: pp_list_one_macro (preproc.c:5862)
==27518== If you believe this happened as a result of a stack
==27518== overflow in your program's main thread (unlikely but
==27518== possible), you can try to increase the size of the
==27518== main thread stack using the --main-stacksize= flag.
==27518== The main thread stack size used in this run was 10485760.
==27518== Stack overflow in thread 1: can't grow stack to 0xbe590fe8
==27518==
==27518== Process terminating with default action of signal 11 (SIGSEGV)
==27518== Access not within mapped region at address 0xBE590FE8
==27518== at 0x40014BA: _vgnU_freeres (vg_preloaded.c:58)
==27518== If you believe this happened as a result of a stack
==27518== overflow in your program's main thread (unlikely but
==27518== possible), you can try to increase the size of the
==27518== main thread stack using the --main-stacksize= flag.
==27518== The main thread stack size used in this run was 10485760.
==27518==
==27518== HEAP SUMMARY:
==27518== in use at exit: 5,664,587 bytes in 200,288 blocks
==27518== total heap usage: 237,526 allocs, 37,238 frees, 7,086,183 bytes
allocated
--
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