[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem upgrading to stable



On Mon, Feb 26, 2001 at 11:38:19AM +0100, Michael Fedrowitz wrote:
> On Mon, Feb 26, 2001 at 08:08:07 +1100, Hamish Moffatt wrote:
> 
> > OK, shall do. Unfortunately, /bin/bash crashes, which makes things
> > pretty hard! It seems to be something to do with ldso or glibc 2.2.1.
> 
> Exactly which version is that? 2.2.1-1 works fine for me, but I had
> problems with newer versions (2.2.1-2's ld.so segfaulted on shared libs,
> 2.2.1-3 wouldn't even build; haven't yet found the time to build 2.2.2).
> 
> Anyway, if 2.2.2 still is broken, I'll try to hunt it down...

It appears to be 2.2.1-1.

bash won't run. sash will run, but I can't do much with it.
For example:

mac:/usr/local/woody# chroot . bin/sash
Stand-alone shell (version 3.4)
> ls /
pid 26624: killed by signal 11
> 

I don't even know where to start debugging this.

mac:/usr/local/woody# chroot . /usr/bin/gdb /bin/ls   
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "m68k-unknown-linux-gnu"...Segmentation fault


I don't know if the following is actually useful or not, but it
seems interesting:

mac:/usr/local/woody# gdb /usr/sbin/chroot
GNU gdb 19990928
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "m68k-unknown-linux-gnu"...
(no debugging symbols found)...
(gdb) set args /usr/local/woody /bin/ls /
(gdb) run
Starting program: /usr/sbin/chroot /usr/local/woody /bin/ls /
(no debugging symbols found)...
Program received signal SIGTRAP, Trace/breakpoint trap.
0xc0003348 in dl_main (phdr=0x0, phent=0, user_entry=0x0) at rtld.c:441
441     rtld.c: No such file or directory.
(gdb) bt
#0  0xc0003348 in dl_main (phdr=0x0, phent=0, user_entry=0x0) at rtld.c:441
#1  0x2 in ?? ()Cannot access memory at address 0x6520756e.
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0xc00c9ea6 in errno () from /lib/libc.so.6
(gdb) 


thanks,
Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: