> Try building in debug mode and running the snapshot generating command > in the debugger
In debug mode (scons mode=debug snapshot=on) it compiles correctly. In release mode, here is the gdb output: (gdb) r obj/release/snapshot.cc --logfile "/home/ryan/src/v8_bleeding/obj/release/snapshot.log" Starting program: /home/ryan/src/v8_bleeding/obj/release/mksnapshot obj/release/snapshot.cc --logfile "/home/ryan/src/v8_bleeding/obj/release/snapshot.log" (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [New Thread 0xb7cf2960 (LWP 21040)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7cf2960 (LWP 21040)] 0x080898cc in v8::internal::Invoke () (gdb) bt #0 0x080898cc in v8::internal::Invoke () #1 0xbfe91dd0 in ?? () #2 0xb7800000 in ?? () #3 0x08204808 in ?? () #4 0x00000000 in ?? () (gdb) Also here is obj/release/snapshot.log: code-allocate,0xb74f2100,0xbfe92214 code-creation,Stub,0xb74f2100,487,"CEntryStub" code-allocate,0xb74f2320,0xbfe92214 code-creation,Stub,0xb74f2320,691,"CEntryDebugBreakStub" code-allocate,0xb74f2640,0xbfe92214 code-creation,Stub,0xb74f2640,180,"JSEntryStub" code-allocate,0xb74f2720,0xbfe92214 code-creation,Stub,0xb74f2720,180,"JSConstructEntryStub" code-allocate,0xb74f2800,0xbfe923d4 code-creation,Builtin,0xb74f2800,49,"Illegal" code-allocate,0xb74f2840,0xbfe923d4 code-creation,Builtin,0xb74f2840,49,"EmptyFunction" code-allocate,0xb74f2880,0xbfe923d4 code-creation,Builtin,0xb74f2880,49,"ArrayCode" code-allocate,0xb74f28c0,0xbfe923d4 code-creation,Builtin,0xb74f28c0,49,"ArrayPush" code-allocate,0xb74f2900,0xbfe923d4 code-creation,Builtin,0xb74f2900,49,"ArrayPop" code-allocate,0xb74f2940,0xbfe923d4 code-creation,Builtin,0xb74f2940,49,"HandleApiCall" code-allocate,0xb74f2980,0xbfe923d4 code-creation,Builtin,0xb74f2980,49,"HandleApiCallAsFunction" code-allocate,0xb74f29c0,0xbfe923d4 code-creation,Builtin,0xb74f29c0,49,"HandleApiCallAsConstructor" code-allocate,0xb74f2a00,0xbfe923d4 code-creation,Builtin,0xb74f2a00,140,"ArgumentsAdaptorTrampoline" code-allocate,0xb74f2aa0,0xbfe90f64 code-creation,Stub,0xb74f2aa0,47,"RuntimeStub_NewObject" code-allocate,0xb74f2ae0,0xbfe923d4 code-creation,Builtin,0xb74f2ae0,423,"JSConstructCall" code-allocate,0xb74f2ca0,0xbfe923d4 code-creation,Builtin,0xb74f2ca0,125,"JSEntryTrampoline" code-allocate,0xb74f2d40,0xbfe923d4 code-creation,Builtin,0xb74f2d40,95,"JSConstructEntryTrampoline" code-allocate,0xb74f2dc0,0xbfe923d4 code-creation,Builtin,0xb74f2dc0,55,"LoadIC_Miss" code-allocate,0xb74f2e00,0xbfe923d4 code-creation,Builtin,0xb74f2e00,59,"KeyedLoadIC_Miss" code-allocate,0xb74f2e40,0xbfe923d4 code-creation,Builtin,0xb74f2e40,54,"StoreIC_Miss" code-allocate,0xb74f2e80,0xbfe923d4 code-creation,Builtin,0xb74f2e80,58,"KeyedStoreIC_Miss" code-allocate,0xb74f2ec0,0xbfe923d4 code-creation,Builtin,0xb74f2ec0,54,"StoreIC_ExtendStorage" code-allocate,0xb74f2f00,0xbfe923d4 code-creation,Builtin,0xb74f2f00,55,"KeyedStoreIC_ExtendStorage" code-allocate,0xb74f2f40,0xbfe923d4 code-creation,Builtin,0xb74f2f40,55,"LoadIC_Initialize" code-allocate,0xb74f2f80,0xbfe923d4 code-creation,Builtin,0xb74f2f80,55,"LoadIC_PreMonomorphic" code-allocate,0xb74f2fc0,0xbfe923d4 code-creation,Builtin,0xb74f2fc0,329,"LoadIC_Normal" code-allocate,0xb74f3120,0xbfe923d4 code-creation,Builtin,0xb74f3120,66,"LoadIC_ArrayLength" code-allocate,0xb74f3180,0xbfe923d4 code-creation,Builtin,0xb74f3180,120,"LoadIC_StringLength" code-allocate,0xb74f3200,0xbfe923d4 code-creation,Builtin,0xb74f3200,117,"LoadIC_FunctionPrototype" code-allocate,0xb74f3280,0xbfe923d4 code-creation,Builtin,0xb74f3280,211,"LoadIC_Megamorphic" code-allocate,0xb74f3380,0xbfe923d4 code-creation,Builtin,0xb74f3380,59,"KeyedLoadIC_Initialize" code-allocate,0xb74f33c0,0xbfe923d4 code-creation,Builtin,0xb74f33c0,59,"KeyedLoadIC_PreMonomorphic" code-allocate,0xb74f3400,0xbfe923d4 code-creation,Builtin,0xb74f3400,379,"KeyedLoadIC_Generic" code-allocate,0xb74f35a0,0xbfe923d4 code-creation,Builtin,0xb74f35a0,54,"StoreIC_Initialize" code-allocate,0xb74f35e0,0xbfe923d4 code-creation,Builtin,0xb74f35e0,211,"StoreIC_Megamorphic" code-allocate,0xb74f36e0,0xbfe923d4 code-creation,Builtin,0xb74f36e0,58,"KeyedStoreIC_Initialize" code-allocate,0xb74f3720,0xbfe91084 code-creation,Stub,0xb74f3720,82,"RecordWrite" code-allocate,0xb74f3780,0xbfe923d4 code-creation,Builtin,0xb74f3780,246,"KeyedStoreIC_Generic" code-allocate,0xb74f3880,0xbfe923d4 code-creation,Builtin,0xb74f3880,278,"FunctionCall" code-allocate,0xb74f39a0,0xbfe910d4 code-creation,Stub,0xb74f39a0,47,"RuntimeStub_StackGuard" code-allocate,0xb74f39e0,0xbfe923d4 code-creation,Builtin,0xb74f39e0,314,"FunctionApply" code-allocate,0xb74f3b40,0xbfe923d4 code-creation,Builtin,0xb74f3b40,135,"Return_DebugBreak" code-allocate,0xb74f3c00,0xbfe923d4 code-creation,Builtin,0xb74f3c00,43,"Return_DebugBreakEntry" code-allocate,0xb74f3c40,0xbfe923d4 code-creation,Builtin,0xb74f3c40,122,"ConstructCall_DebugBreak" code-allocate,0xb74f3ce0 --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
