Hello, Please link against debug version of V8 to get more information about the crash.
Also ensure that the thread that invokes your even_handler owns V8 Isolate if you have multiple threads using V8 concurrently. -- Vyacheslav Egorov On Fri, Jun 15, 2012 at 8:28 AM, Serega <skripac...@gmail.com> wrote: > Hellow! I'm having a little trouble. > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0x7ffff5f66700 (LWP 21828)] > 0x00007ffff72bcff7 in v8::HandleScope::HandleScope() () from /usr/lib/ > libv8.so > (gdb) step > Single stepping until exit from function _ZN2v811HandleScopeC2Ev, > which has no line number information. > [Thread 0x7ffff5f66700 (LWP 21828) exited] > [Thread 0x7fffe77fe700 (LWP 21832) exited] > [Thread 0x7fffe7fff700 (LWP 21831) exited] > [Thread 0x7ffff4f64700 (LWP 21830) exited] > [Thread 0x7ffff5765700 (LWP 21829) exited] > [Thread 0x7ffff6767700 (LWP 21827) exited] > [Thread 0x7ffff7ff7700 (LWP 21826) exited] > > Program terminated with signal SIGSEGV, Segmentation fault. > The program no longer exists. > > Why i can't create HandleScope in function that is runing thrue > pointer? > > void *event_handler(...) { > > HandleScope handle_scope; > > ... > } > > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users