Thanks Ben for the tip. I tried building with:
make -j24 x64.debug werror=no GYPFLAGS="-Dv8_use_external_startup_data=0 -Dcomponent=shared_library -Dv8_enable_gdbjit=1" In my gdb-backed debugger, I still got: 28 xdmp::constructType() /space/projects/head/xdmp/src/JSEngine.cpp:2875 0x00000000038c92f3 27 v8::internal::FunctionCallbackArguments::Call() /space/projects/v8-git/v8/src/api-arguments.cc:19 0x00007ffff549cef9 26 v8::internal::(anonymous namespace)::HandleApiCallHelper<false>() /space/projects/v8-git/v8/src/builtins.cc:5311 0x00007ffff5521150 25 v8::internal::Builtin_Impl_HandleApiCall() /space/projects/v8-git/v8/src/builtins.cc:5341 0x00007ffff5569d92 24 v8::internal::Builtin_HandleApiCall() /space/projects/v8-git/v8/src/builtins.cc:5329 0x00007ffff5524c1d 23 <symbol is not available> 0x000007bc4d206147 22 <symbol is not available> 0x000007bc4d206081 21 <symbol is not available> 0x00007ffad9a72d90 20 <symbol is not available> 0x0000000300000000 19 <symbol is not available> 0x00007ffad9a72df8 18 <symbol is not available> 0x000007bc4d269ead 17 <symbol is not available> 0x00003481b3104399 16 <symbol is not available> 0x000019063552bb29 15 <symbol is not available> 0x00003481b31cdd49 14 <symbol is not available> 0x00003308b9f1c831 13 <symbol is not available> 0x000019063552bb29 12 <symbol is not available> 0x00003481b3104399 11 <symbol is not available> 0x0000190635529f49 10 <symbol is not available> 0x0000190635504201 9 <symbol is not available> 0x00007ffad9a72e28 8 <symbol is not available> 0x000007bc4d242403 7 <symbol is not available> 0x00003308b9f11869 6 <symbol is not available> 0x0000190635529f49 5 <symbol is not available> 0x000007bc4d242321 4 <symbol is not available> 0x0000000c00000000 3 <symbol is not available> 0x00007ffad9a72e90 2 <symbol is not available> 0x000007bc4d225a6f 1 <symbol is not available> 0x0000000000000000 What could I be missing? On Wednesday, September 21, 2016 at 11:26:24 PM UTC-7, Ben Noordhuis wrote: > > On Thu, Sep 22, 2016 at 2:41 AM, Jane Chen <[email protected] > <javascript:>> wrote: > > Embedding v8. Currently on 4.6.88, and in the process of upgrading to > > 5.3.lkgr. > > > > When I do a pstack of my program embedding v8, some of the v8 frames > show up > > as ???. I wonder whether there's a build flag I could use to enable the > > full stack trace of v8 frames. > > > > Please advise. > > > > Thanks. > > If your pstack is a wrapper around gdb, compile V8 with > v8_enable_gdbjit set to 1 (`make native gdbjit=on`) and it should be > able to decode JS stack frames. > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
