[LLVMbugs] [Bug 6363] Stack overflow somewhere in coalescer

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 21 04:48:13 PST 2010


http://www.llvm.org/bugs/show_bug.cgi?id=6363

--- Comment #1 from Anton Korobeynikov <asl at math.spbu.ru> 2010-02-21 06:48:12 CST ---
Valgrind output:

==21572== Stack overflow in thread 1: can't grow stack to 0x7fe801fc8
==21572== Can't extend stack to 0x7fe801420 during signal delivery for thread
1:
==21572==   no stack segment
==21572== 
==21572== Process terminating with default action of signal 11 (SIGSEGV)
==21572==  Access not within mapped region at address 0x7FE801420
==21572==    at 0xD2437A: llvm::DenseMap<llvm::VNInfo*, llvm::VNInfo*,
llvm::DenseMapInfo<llvm::VNInfo*>, llvm::DenseMapInfo<llvm::VNInfo*>
>::LookupBucketFor(llvm::VNInfo* const&, std::pair<llvm::VNInfo*,
llvm::VNInfo*>*&) const (DenseMap.h:302)
==21572==  If you believe this happened as a result of a stack overflow in your
==21572==  program's main thread (unlikely but possible), you can try to
increase
==21572==  the size of the main thread stack using the --main-stacksize= flag.
==21572==  The main thread stack size used in this run was 8388608.
==21572== Stack overflow in thread 1: can't grow stack to 0x7fe801f18
==21572== 
==21572== Process terminating with default action of signal 11 (SIGSEGV)
==21572==  Access not within mapped region at address 0x7FE801F18
==21572==    at 0x4A1D600: _vgnU_freeres (vg_preloaded.c:56)
==21572==  If you believe this happened as a result of a stack overflow in your
==21572==  program's main thread (unlikely but possible), you can try to
increase
==21572==  the size of the main thread stack using the --main-stacksize= flag.
==21572==  The main thread stack size used in this run was 8388608.

Stack trace from gdb:
#2  0x0000000000d1632b in ComputeUltimateVN (VNI=0x1ae7550,
NewVNInfo=@0x7fffe89ae150, ThisFromOther=@0x7fffe89ae320, 
    OtherFromThis=@0x7fffe89ae340, ThisValNoAssignments=@0x7fffe89ae1f0,
OtherValNoAssignments=@0x7fffe89ae250)
    at /home/asl/proj/llvm/src/lib/CodeGen/SimpleRegisterCoalescing.cpp:1871
#3  0x0000000000d16439 in ComputeUltimateVN (VNI=0x1ae7af0,
NewVNInfo=@0x7fffe89ae150, ThisFromOther=@0x7fffe89ae340, 
    OtherFromThis=@0x7fffe89ae320, ThisValNoAssignments=@0x7fffe89ae250,
OtherValNoAssignments=@0x7fffe89ae1f0)
    at /home/asl/proj/llvm/src/lib/CodeGen/SimpleRegisterCoalescing.cpp:1888
#4  0x0000000000d16439 in ComputeUltimateVN (VNI=0x1ae7550,
NewVNInfo=@0x7fffe89ae150, ThisFromOther=@0x7fffe89ae320, 
    OtherFromThis=@0x7fffe89ae340, ThisValNoAssignments=@0x7fffe89ae1f0,
OtherValNoAssignments=@0x7fffe89ae250)
    at /home/asl/proj/llvm/src/lib/CodeGen/SimpleRegisterCoalescing.cpp:1888
#5  0x0000000000d16439 in ComputeUltimateVN (VNI=0x1ae7af0,
NewVNInfo=@0x7fffe89ae150, ThisFromOther=@0x7fffe89ae340, 
    OtherFromThis=@0x7fffe89ae320, ThisValNoAssignments=@0x7fffe89ae250,
OtherValNoAssignments=@0x7fffe89ae1f0)
    at /home/asl/proj/llvm/src/lib/CodeGen/SimpleRegisterCoalescing.cpp:1888
#6  0x0000000000d16439 in ComputeUltimateVN (VNI=0x1ae7550,
NewVNInfo=@0x7fffe89ae150, ThisFromOther=@0x7fffe89ae320, 
    OtherFromThis=@0x7fffe89ae340, ThisValNoAssignments=@0x7fffe89ae1f0,
OtherValNoAssignments=@0x7fffe89ae250)
    at /home/asl/proj/llvm/src/lib/CodeGen/SimpleRegisterCoalescing.cpp:1888
#7  0x0000000000d16439 in ComputeUltimateVN (VNI=0x1ae7af0,
NewVNInfo=@0x7fffe89ae150, ThisFromOther=@0x7fffe89ae340, 
    OtherFromThis=@0x7fffe89ae320, ThisValNoAssignments=@0x7fffe89ae250,
OtherValNoAssignments=@0x7fffe89ae1f0)
    at /home/asl/proj/llvm/src/lib/CodeGen/SimpleRegisterCoalescing.cpp:1888
#8  0x0000000000d16439 in ComputeUltimateVN (VNI=0x1ae7550,
NewVNInfo=@0x7fffe89ae150, ThisFromOther=@0x7fffe89ae320,

-- 
Configure bugmail: http://www.llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the llvm-bugs mailing list