Subject: Re: ld.elf_so - seg fault
To: Rahul Kulkarni <rahul.kulkarni@gmail.com>
From: Nick Hudson <nick.hudson@dsl.pipex.com>
List: tech-kern
Date: 03/03/2006 15:34:39
On Friday 03 March 2006 01:06, Rahul Kulkarni wrote:
>  Version -  /* $NetBSD: symbol.c,v 1.11 2001/10/14 23:13:21 rafal Exp $  */
>
> (gdb) bt
> #0  0x41854e88 in _rtld_find_symdef () from ./usr/libexec/ld.elf_so
> #1  0x41852ce8 in _rtld_relocate_plt_object () from ./usr/libexec/ld.elf_so
>
>
> PLT entries in the coredump seem to be fine. Any known issue here or clues
> to debug/things to look for. Process seg faults sometimes most of the time
> its ok and things work fine, dont see a  consistent behaviour. I am also
> mmaping a shared memory segment in main() at a fixed address.

Is it threaded?

> any help will be much appreciated

Edit the ld.elf_so Makefile to add all the DEBUG options and run with LD_DEBUG 
set. Expect a lot of output.

Nick