Comment #1 on issue 2093 by [email protected]: fix "pure virtual method called" error with gcc 4.4.6 + -fno-strict-aliasing
http://code.google.com/p/v8/issues/detail?id=2093

By the way, this is the original bug report: https://github.com/joyent/node/issues/2912

And here is what the stack trace looks like (compiled with -g for debug symbols, otherwise a pristine release build):

$ gdb -q --args "/home/node/src/node/deps/v8/out/x64.release/mksnapshot" --log-snapshot-positions --logfile "/home/node/src/node/deps/v8/out/x64.release/obj.target/v8_snapshot/geni/snapshot.log" "/home/node/src/node/deps/v8/out/x64.release/obj.target/v8_snapshot/geni/snapshot.cc" Reading symbols from /home/node/src/node/deps/v8/out/x64.release/mksnapshot...done.
(gdb) r
Starting program: /home/node/src/node/deps/v8/out/x64.release/mksnapshot --log-snapshot-positions --logfile /home/node/src/node/deps/v8/out/x64.release/obj.target/v8_snapshot/geni/snapshot.log /home/node/src/node/deps/v8/out/x64.release/obj.target/v8_snapshot/geni/snapshot.cc
[Thread debugging using libthread_db enabled]
pure virtual method called
terminate called without an active exception

Program received signal SIGABRT, Aborted.
0x00007ffff70c3885 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.47.el6_2.9.x86_64 libgcc-4.4.6-3.el6.x86_64 libstdc++-4.4.6-3.el6.x86_64
(gdb) bt
#0  0x00007ffff70c3885 in raise () from /lib64/libc.so.6
#1  0x00007ffff70c5065 in abort () from /lib64/libc.so.6
#2 0x00007ffff7b95a7d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6
#3  0x00007ffff7b93c06 in ?? () from /usr/lib64/libstdc++.so.6
#4  0x00007ffff7b93c33 in std::terminate() () from /usr/lib64/libstdc++.so.6
#5 0x00007ffff7b9455f in __cxa_pure_virtual () from /usr/lib64/libstdc++.so.6 #6 0x00000000006b5de4 in GetKey (this=0x7fffffffdc30, code_out=0x7fffffffdbd8) at ../src/code-stubs.h:222 #7 v8::internal::CodeStub::FindCodeInCache (this=0x7fffffffdc30, code_out=0x7fffffffdbd8) at ../src/code-stubs.cc:42 #8 0x00000000006b62d8 in v8::internal::CodeStub::GetCode (this=0x7fffffffdc30) at ../src/code-stubs.cc:104 #9 0x00000000006266b1 in GenerateFixedRegStubsAheadOfTime () at ../src/x64/code-stubs-x64.cc:6052 #10 v8::internal::CodeStub::GenerateStubsAheadOfTime () at ../src/x64/code-stubs-x64.cc:3770 #11 0x000000000048a4e3 in v8::internal::Heap::CreateFixedStubs (this=0x9d9138) at ../src/heap.cc:2404 #12 0x0000000000494454 in v8::internal::Heap::CreateInitialObjects (this=0x9d9138) at ../src/heap.cc:2552 #13 0x00000000004a1144 in v8::internal::Heap::SetUp (this=0x9d9138, create_heap_objects=true) at ../src/heap.cc:5956 #14 0x00000000004fba40 in v8::internal::Isolate::Init (this=0x9d9090, des=0x0) at ../src/isolate.cc:1832 #15 0x00000000004245ff in InitializeHelper (extensions=0x0, global_template=..., global_object=...) at ../src/api.cc:295 #16 EnsureInitializedForIsolate (extensions=0x0, global_template=..., global_object=...) at ../src/api.cc:306 #17 v8::Context::New (extensions=0x0, global_template=..., global_object=...) at ../src/api.cc:4281 #18 0x0000000000402e36 in main (argc=2, argv=0x7fffffffe048) at ../src/mksnapshot.cc:305


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to