From: Philippe W. <phi...@sk...> - 2012-06-07 20:09:12
|
On Thu, 2012-06-07 at 12:33 -0700, Sunny Das wrote: > Philippe, > > I am using valgrind-3.6.1, which is the stable version on Gentoo. > > Here is the message: > ==5377== Process terminating with default action of signal 11 (SIGSEGV): dumping core > ==5377== Access not within mapped region at address 0x100000008 This might be caused by a bug in your program. > Do u think its died in tricky JITted code? How do I debug this? > I am slipping deadlines here...:( I have used valgrind for a very > long time and never gotten stuck like this. JITted code will be the translation of the application code. To debug it, you must upgrade to Valgrind 3.7.0. This version has an embedded gdbserver, which means you can debug your application under Valgrind and e.g. understand where this 0x100000008 is coming from. Just start Valgrind as usual, but give option --vgdb-error=0 and follow the instructions on the screen. The 3.7.0 user manual has a specific chapter about how to use the V gdbserver. It contains a lot of useful information. Philippe |