Comment #4 on issue 823 by holisme: SIGSEGV in tests that call
Runtime_GetScopeCount
http://code.google.com/p/v8/issues/detail?id=823
Platform : debian unstable, so it is gcc 4.4
g++ called by scons script that way :
g++ -o obj/release/accessors.o -c -Wall -W -Wno-unused-parameter
-Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer -fdata-sections
-ffunction-sections -ansi -fno-rtti -fno-exceptions -fvisibility=hidden
-Wall -W -Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-DV8_TARGET_ARCH_IA32 -DENABLE_VMSTATE_TRACKING
-DENABLE_LOGGING_AND_PROFILING -DENABLE_DEBUGGER_SUPPORT -Isrc
src/accessors.cc
If i leave out the option, the segfault goes away, and "debug is not
defined" error is properly displayed.
Running bt with gdb gives :
Program received signal SIGSEGV, Segmentation fault.
0x081ba9a7 in v8::internal::Runtime_GetScopeCount(v8::internal::Arguments)
()
(gdb) bt
#0 0x081ba9a7 in
v8::internal::Runtime_GetScopeCount(v8::internal::Arguments) ()
#1 0xbfffe8e8 in ?? ()
#2 0xb5ce0021 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev