[erlang-questions] SIGSEGV - hipe_fill_stacktrace (p=0x2aaaace19970, depth=8, trace=0x2aaaafd010f8),

Mikael Pettersson mikpe@REDACTED
Mon Dec 22 11:51:48 CET 2008


Paul Fisher writes:
 > Does this ring any bells, or does anyone have any hints about tracking 
 > this down?
 > 
 > Program received signal SIGSEGV, Segmentation fault.
 > [Switching to Thread 1125775712 (LWP 32326)]
 > hipe_fill_stacktrace (p=0x2aaaace19970, depth=8, trace=0x2aaaafd010f8)
 >      at hipe/hipe_stack.h:74
 > 74    hipe/hipe_stack.h: No such file or directory.
 >      in hipe/hipe_stack.h
 > (gdb) where
 > #0  hipe_fill_stacktrace (p=0x2aaaace19970, depth=8, trace=0x2aaaafd010f8)
 >      at hipe/hipe_stack.h:74

No bells, but this is hipe_find_sdesc() getting a NULL dereference
while trying to look up the "stack descriptor" associated with a
native return address just loaded from the native stack. Obviously
that error is not supposed to happen.

It could be a logic error or a memory corruption elsewhere that's
tripping us up here.

A test case would help greatly.



More information about the erlang-questions mailing list