Hi,
I am having some troubles debugging strange crashes of V8 (svn trunk)
in my embedding (v8cgi). This is what I was able to detect so far:
* it happens only on windows (mingw);
* it is very difficult to isolate the problem (offending calls are
made from a dlopen()'ed DLL module...);
* the crash is deterministic;
* it happens also in other situations, most frequently during loading
internal values (GetInternalField);
Unfortunately, my skills with GDB and/or DLL debugging are rather low.
I am posting this in hope that someone might find some clue in the
stacktrace...
Thanks for any assistance,
Ondrej
---
Backtrace from GDB follows:
Program received signal SIGSEGV, Segmentation fault.
0x63e30322 in v8::internal::HeapObject::map_word (this=0xf601488d)
at src//objects-inl.h:1070
1070 return MapWord(reinterpret_cast<uintptr_t>(READ_FIELD(this,
kMapOffset)));
(gdb) bt
#0 0x63e30322 in v8::internal::HeapObject::map_word (this=0xf601488d)
at src//objects-inl.h:1070
#1 0x63e301dd in v8::internal::HeapObject::map (this=0xf601488d)
at src//objects-inl.h:1060
#2 0x63e7c740 in v8::internal::Object::IsHeapNumber (this=0xf601488d)
at src//objects-inl.h:142
#3 0x63e7d758 in v8::internal::Object::IsNumber (this=0xf601488d)
at src//objects-inl.h:324
#4 0x63c488e1 in v8::Value::IsNumber (this=0xcf9006e) at src\api.cc:
1810
#5 0x00401622 in (anonymous namespace)::_stdin (args=...) at src
\system.cc:32
#6 0x0cfa7a81 in ?? ()
#7 0x0cfa621e in ?? ()
#8 0x0cf90e99 in ?? ()
#9 0x0cf902c2 in ?? ()
#10 0x63c877fe in v8::internal::Invoke (construct=false, func=...,
receiver=..., argc=4, args=0x22fd20,
has_pending_exception=0x22fcbf)
at src\execution.cc:95
#11 0x63c878ef in v8::internal::Execution::Call (func=...,
receiver=...,
argc=4, args=0x22fd20, pending_exception=0x22fcbf) at src
\execution.cc:121
#12 0x63c4d344 in v8::Function::Call (this=0x113b670, recv=...,
argc=4,
argv=0x22fd20) at src\api.cc:2870
#13 0x00405bab in v8cgi_App::load_js (this=0x22feb4, filename=...,
require=..., include=..., exports=..., module=...) at src\app.cc:
304
#14 0x004058c6 in v8cgi_App::require (this=0x22feb4, name=...,
relativeRoot=...) at src\app.cc:276
#15 0x00404c9b in v8cgi_App::execute (this=0x22feb4, envp=0x3e2a70)
at src\app.cc:166
#16 0x004082f2 in main (argc=2, argv=0x3e5400) at src\v8cgi.cc:254
(gdb)
--
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users