diggershort / pyv8

Automatically exported from code.google.com/p/pyv8
0 stars 0 forks source link

Segmentation fault #199

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
While analyzing a few URLs in Thug I'm experiencing some segmentation faults 
which seems related to V8/PyV8 garbage collection. Attached below a debug 
session (please consider that in all cases the stack trace is the same). I know 
that maybe additional details could be needed to identify where the problem 
lies. In such case please let me know and I'll be glad to furnish them to you.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7ab69e5 in ?? () from /usr/lib64/libpython2.7.so.1.0
(gdb) info stack
#0  0x00007ffff7ab69e5 in ?? () from /usr/lib64/libpython2.7.so.1.0
#1  0x00007ffff2b76067 in ~object_base (this=<optimized out>, 
__in_chrg=<optimized out>) at /usr/include/boost/python/object_core.hpp:526
#2  ~object (this=0x1db5da0, __in_chrg=<optimized out>) at 
/usr/include/boost/python/object_core.hpp:318
#3  ~object (this=0x1db5da0, __in_chrg=<optimized out>) at src/Wrapper.cpp:1736
#4  ~auto_ptr (this=<optimized out>, __in_chrg=<optimized out>) at 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4/backward/auto_ptr.h:170
#5  ObjectTracer::~ObjectTracer (this=<optimized out>, __in_chrg=<optimized 
out>) at src/Wrapper.cpp:1736
#6  0x00007ffff2b760f3 in ~auto_ptr (this=<synthetic pointer>, 
__in_chrg=<optimized out>) at 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.3/include/g++-v4/backward/auto_ptr.h:170
#7  ObjectTracer::WeakCallback (isolate=<optimized out>, value=<optimized out>, 
parameter=0x10705b0) at src/Wrapper.cpp:1777
#8  0x00007ffff2c717da in 
v8::internal::GlobalHandles::PostGarbageCollectionProcessing(v8::internal::Garba
geCollector, v8::internal::GCTracer*) () from 
/home/buffer/.python-eggs/PyV8-1.0_dev-py2.7-linux-x86_64.egg-tmp/_PyV8.so
#9  0x00007ffff2ca1f54 in 
v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, 
v8::internal::GCTracer*) () from 
/home/buffer/.python-eggs/PyV8-1.0_dev-py2.7-linux-x86_64.egg-tmp/_PyV8.so
#10 0x00007ffff2ca25ca in 
v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, 
v8::internal::GarbageCollector, char const*, char const*) () from 
/home/buffer/.python-eggs/PyV8-1.0_dev-py2.7-linux-x86_64.egg-tmp/_PyV8.so
#11 0x00007ffff2ca28bb in v8::internal::Heap::CollectAllGarbage(int, char 
const*) () from 
/home/buffer/.python-eggs/PyV8-1.0_dev-py2.7-linux-x86_64.egg-tmp/_PyV8.so
#12 0x00007ffff2c4e3a2 in 
v8::internal::Execution::HandleStackGuardInterrupt(v8::internal::Isolate*) () 
from /home/buffer/.python-eggs/PyV8-1.0_dev-py2.7-linux-x86_64.egg-tmp/_PyV8.so
#13 0x00003424418072ae in ?? ()
#14 0x00001185e2001d7c in ?? ()
#15 0x0000342441807201 in ?? ()
#16 0x00007ffffff761b0 in ?? ()
#17 0x00007ffffff761f0 in ?? ()
#18 0x00003424418ce995 in ?? ()
#19 0x00001c50fda04121 in ?? ()
#20 0x00001185e2073529 in ?? ()
#21 0x00000162320c0339 in ?? ()
#22 0x00007ffffff76228 in ?? ()
#23 0x000034244182ad04 in ?? ()
#24 0x00000162320da4f9 in ?? ()
#25 0x00001185e2073529 in ?? ()
#26 0x000034244182ac41 in ?? ()
#27 0x0000000800000000 in ?? ()
#28 0x0000000000000000 in ?? ()
(gdb) 

Additional information

buffer@rigel ~/v8 $ svn info
Path: .
Working Copy Root Path: /home/buffer/v8
URL: http://v8.googlecode.com/svn/trunk
Repository Root: http://v8.googlecode.com/svn
Repository UUID: ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revision: 16308
Node Kind: directory
Schedule: normal
Last Changed Author: rossberg@chromium.org
Last Changed Rev: 16304
Last Changed Date: 2013-08-23 15:53:01 +0200 (Fri, 23 Aug 2013)

buffer@rigel ~/pyv8 $ svn info
Path: .
Working Copy Root Path: /home/buffer/pyv8
URL: http://pyv8.googlecode.com/svn/trunk
Repository Root: http://pyv8.googlecode.com/svn
Repository UUID: 3b770cb8-f9e6-11dd-ac5b-dfceb64ead24
Revision: 526
Node Kind: directory
Schedule: normal
Last Changed Author: flier.lu@gmail.com
Last Changed Rev: 526
Last Changed Date: 2013-08-12 09:44:18 +0200 (Mon, 12 Aug 2013)

Original issue reported on code.google.com by angelo.d...@gmail.com on 26 Aug 2013 at 4:00