Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Debugging ld.so

From: Dale Rahn <dalerahn(at)comcast.net>
Date: Mon Jul 07 2003 - 12:26:28 EDT

On Sat, Jun 07, 2003 at 11:39:42PM -0400, Kurt Miller wrote:
> I could use some pointers on how to debug a segfault in ld.so on

You are right about the ... sym->st_value + ooff ... is supposed to call the atexit function. It might be interesting to add a

        DL_DEB(("%x\n", sym->st_value + ooff);
after that line, and then attempt to find which object the symbol was found in. Perhaps the java library provides it's own atexit() routine.

For debugging purposes, you could try to move the 'Finally make' block, all the way thru the 'if (map_link) { ... } ' code above the 'Schedule a routine to be run at shutdown'

That way gdb may be able to be more useful when it crashes.

If you send me instructions on what to fetch and how to build this, I can help debugging this more.

Dale Rahn dalerahn@comcast.net Received on Mon Jul 7 12:48:21 2003

Do you need help?X

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:48:42 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library