Status: New
Owner: ----
New issue 1646 by [email protected]: Segmentation fault in
v8::internal::Logger::is_logging
http://code.google.com/p/v8/issues/detail?id=1646
While working on an internal project based on PyV8
(http://code.google.com/p/pyv8/) I identified what seems to be a bug in V8.
buffer@alnitak ~/pyv8 $ python PyV8.py
Segmentation fault
buffer@alnitak ~/pyv8 $ gdb python
GNU gdb (Gentoo 7.2 p1) 7.2
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(gdb) run PyV8.py
Starting program: /usr/bin/python PyV8.py
process 5411 is executing new program: /usr/bin/python2.6
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff591b642 in v8::internal::Logger::is_logging (this=0x0) at
src/log.h:274
274 return logging_nesting_ > 0;
(gdb) bt
#0 0x00007ffff591b642 in v8::internal::Logger::is_logging (this=0x0) at
src/log.h:274
#1 0x00007ffff5b71626 in
v8::internal::MemoryAllocator::ReserveInitialChunk (this=0x7a9380,
requested=67108864) at src/spaces.cc:481
#2 0x00007ffff59cc6aa in v8::internal::Heap::Setup (this=0x6e35c8,
create_heap_objects=false) at src/heap.cc:5172
#3 0x00007ffff5a179de in v8::internal::Isolate::Init (this=0x6e3520,
des=0x7fffffffa790) at src/isolate.cc:1741
#4 0x00007ffff5b986ad in v8::internal::V8::Initialize (des=0x7fffffffa790)
at src/v8.cc:85
#5 0x00007ffff5b6f1d8 in v8::internal::Snapshot::Deserialize
(content=0x7ffff5d75740 "\004\ar\004\004\a\024\a8\a", len=379907) at
src/snapshot-common.cc:43
#6 0x00007ffff5b6f2a5 in v8::internal::Snapshot::Initialize
(snapshot_file=0x0) at src/snapshot-common.cc:56
#7 0x00007ffff58fcec2 in v8::InitializeHelper () at src/api.cc:274
#8 0x00007ffff5910fd0 in v8::V8::Initialize () at src/api.cc:3926
#9 0x00007ffff580f167 in CEngine::Expose() () from
/usr/lib64/python2.6/site-packages/PyV8-1.0-py2.6-linux-x86_64.egg/_PyV8.so
#10 0x00007ffff58fb8c1 in init_module__PyV8() () from
/usr/lib64/python2.6/site-packages/PyV8-1.0-py2.6-linux-x86_64.egg/_PyV8.so
#11 0x00007ffff50216a3 in
boost::python::handle_exception_impl(boost::function0<void>) () from
/usr/lib64/libboost_python-1_46.so.1.46.1
#12 0x00007ffff50223e0 in boost::python::detail::init_module(char const*,
void (*)()) () from /usr/lib64/libboost_python-1_46.so.1.46.1
#13 0x00007ffff58fb8a2 in init_PyV8 () from
/usr/lib64/python2.6/site-packages/PyV8-1.0-py2.6-linux-x86_64.egg/_PyV8.so
#14 0x00007ffff7b2a3b8 in _PyImport_LoadDynamicModule () from
/usr/lib64/libpython2.6.so.1.0
#15 0x00007ffff7b2842e in ?? () from /usr/lib64/libpython2.6.so.1.0
#16 0x00007ffff7b286c3 in ?? () from /usr/lib64/libpython2.6.so.1.0
#17 0x00007ffff7b28cf8 in ?? () from /usr/lib64/libpython2.6.so.1.0
#18 0x00007ffff7b29a75 in PyImport_ImportModuleLevel () from
/usr/lib64/libpython2.6.so.1.0
#19 0x00007ffff7b0f78f in ?? () from /usr/lib64/libpython2.6.so.1.0
#20 0x00007ffff7a83102 in PyObject_Call () from
/usr/lib64/libpython2.6.so.1.0
#21 0x00007ffff7b0fce2 in PyEval_CallObjectWithKeywords () from
/usr/lib64/libpython2.6.so.1.0
#22 0x00007ffff7b128d8 in PyEval_EvalFrameEx () from
/usr/lib64/libpython2.6.so.1.0
#23 0x00007ffff7b17727 in PyEval_EvalCodeEx () from
/usr/lib64/libpython2.6.so.1.0
#24 0x00007ffff7b17802 in PyEval_EvalCode () from
/usr/lib64/libpython2.6.so.1.0
#25 0x00007ffff7b318dc in ?? () from /usr/lib64/libpython2.6.so.1.0
#26 0x00007ffff7b319b2 in PyRun_FileExFlags () from
/usr/lib64/libpython2.6.so.1.0
#27 0x00007ffff7b32e8c in PyRun_SimpleFileExFlags () from
/usr/lib64/libpython2.6.so.1.0
#28 0x00007ffff7b3ef1c in Py_Main () from /usr/lib64/libpython2.6.so.1.0
#29 0x00007ffff74d8d2d in __libc_start_main () from /lib64/libc.so.6
#30 0x00000000004008c9 in _start ()
Additional details
buffer@alnitak ~ $ uname -a
Linux alnitak 3.0.3-gentoo #2 SMP PREEMPT Fri Aug 26 17:48:28 CEST 2011
x86_64 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GenuineIntel GNU/Linux
buffer@alnitak ~/v8 $ svn info
Path: .
URL: http://v8.googlecode.com/svn/trunk
Repository Root: http://v8.googlecode.com/svn
Repository UUID: ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Revision: 9062
Node Kind: directory
Schedule: normal
Last Changed Author: [email protected]
Last Changed Rev: 9061
Last Changed Date: 2011-08-29 19:44:42 +0200 (Mon, 29 Aug 2011)
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev