Subject: _rtld_linkmap_add in ld.elf_so (was Re: Gecko pthread failures on
To: David Hopper <dhop@nwlink.com>
From: David Hopper <dhop@nwlink.com>
List: port-alpha
Date: 02/15/2003 16:19:27
Okay, that last post really wasn't too helpful, but I managed to recompile 
*everything* (thank jeebus for this 600au), run mozilla-bin through gdb and 
got the following:

Program received signal SIGTRAP, Trace/breakpoint trap.
0x1608de29c in poll () from /lib/libc.so.12
(gdb) bt
#0  0x1608de29c in poll () from /lib/libc.so.12
#1  0x16088dca0 in poll () from /usr/lib/libpthread.so.0
#2  0x1603b91ec in PR_OpenDir () from /usr/X11R6/lib/mozilla/libnspr4.so
#3  0x1603b93d4 in PR_Poll () from /usr/X11R6/lib/mozilla/libnspr4.so
(gdb) continue
Continuing.
pid 26095 (mozilla-bin): unaligned access: va=0x12005e014 pc=0x160056630 
ra=0x160056138 sp=0x1ffffc770 op=ldq
pid 26095 (mozilla-bin): unaligned access: va=0x12005e044 pc=0x160056634 
ra=0x160056138 sp=0x1ffffc770 op=ldq
pid 26095 (mozilla-bin): unaligned access: va=0x12005e04c pc=0x160056638 
ra=0x160056138 sp=0x1ffffc770 op=ldq
pid 26095 (mozilla-bin): unaligned access: va=0x12005e144 pc=0x16005663c 
ra=0x160056138 sp=0x1ffffc770 op=stq
pid 26095 (mozilla-bin): unaligned access: va=0x12005e13c pc=0x160056640 
ra=0x160056138 sp=0x1ffffc770 op=stq
pid 26095 (mozilla-bin): unaligned access: va=0x12005e14c pc=0x160056644 
ra=0x160056138 sp=0x1ffffc770 op=stq
[New Thread 0]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0]
0x160056664 in _rtld_linkmap_add () from /usr/libexec/ld.elf_so
(gdb)

Any thoughts?

Thanks v.v. much,
Dave

David Hopper wrote:
> I haven't been able to run any Gecko-based browser (mozilla [|-stable], 
> galeon, phoenix all tried) since the pthread changes on Alpha.  The 
> process doesn't core.  This is what I get in gdb on mozilla-bin and 
> phoenix:
> 
> nbsd_thread_create_inferior: td_open: process callback error
> 
> I've deleted all packages down to and including glib (and pkg_delete -r 
> pth), removed ~/.mozilla, and rebuilt many times...  The last time it 
> ran without error was with a 1.6J userland and 1.6L kernel.  Gecko 
> browsers have failed with the above thread error on 1.6J with 1.6M 
> kernel, and now 1.6N userland + kernel.
> 
> Apologies for the x-post, this one's in a gray area.
> Dave
> 
>