Subject: ld.elf_so - seg fault
To: None <tech-kern@netbsd.org, netbsd-users@netbsd.org>
From: Rahul Kulkarni <rahul.kulkarni@gmail.com>
List: netbsd-users
Date: 03/02/2006 17:06:26
------=_Part_11797_26287973.1141347986344
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

 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.


any help will be much appreciated

-rahul

------=_Part_11797_26287973.1141347986344
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>
<div>Version -&nbsp; /*&nbsp;$NetBSD: symbol.c,v 1.11 2001/10/14 23:13:21 r=
afal Exp $&nbsp; */<br>&nbsp;</div>
<div>(gdb) bt<br>#0&nbsp; 0x41854e88 in _rtld_find_symdef () from ./usr/lib=
exec/ld.elf_so<br>#1&nbsp; 0x41852ce8 in _rtld_relocate_plt_object () from =
./usr/libexec/ld.elf_so<br>&nbsp;</div></div>
<div>&nbsp;</div>
<div>PLT entries in the coredump seem to&nbsp;be fine.&nbsp;Any known issue=
 here or clues to debug/things to look for. Process seg faults sometimes mo=
st of the time its ok and things work fine,&nbsp;dont&nbsp;see a &nbsp;cons=
istent behaviour. I am also mmaping a shared memory segment&nbsp;in&nbsp;ma=
in()&nbsp;at a fixed address.
</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>any help will be much appreciated</div>
<div>&nbsp;</div>
<div>-rahul</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>

------=_Part_11797_26287973.1141347986344--