Re: 2.6.28-rcX in pretty bad shape on parisc

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

 



> >   malloc: ../../../bash/lib/sh/stringvec.c:73: assertion botched
> 
> This just happened with rc6, so the bug isn't fixed.

Continued testing rc6.  After three segv loops caused by /bin/sh
segfaulting and the kernel stacktrace filling the file system with
log messages, I rebuilt rc6 with Helge's fix.  Now I things are
better when bash segfaults.  However, it drops core so often that
the system is unusable for serious work.  The problem appears more
like a glibc bug than a kernel fault, but it's not clear.

Here's one segv:

dave@mx3210:/var/log$ dpkg -l libc6
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  libc6          2.7-16         GNU C Library: Shared libraries

dave@mx3210:~/gnu/gcc/objdir/libiberty$ gdb -c core /bin/sh
GNU gdb (GDB) 6.8.50.20080915-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "hppa-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(no debugging symbols found)
BFD: Warning: /home/dave/gnu/gcc/objdir/libiberty/core is truncated: expected core file size >= 1654784, found: 1585152.
Reading symbols from /lib/libncurses.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/ld.so.1

Core was generated by `/bin/sh -c if [ x"-fPIC" != x ]; then \
  gcc -c -DHAVE_CONFIG_H -g -fkeep-inli'.
Program terminated with signal 11, Segmentation fault.
#0  0x401ed4e4 in ?? () from /lib/ld.so.1
(gdb) bt
#0  0x401ed4e4 in ?? () from /lib/ld.so.1
#1  0x401f3b58 in ?? () from /lib/ld.so.1
#2  0x00046398 in ?? ()
#3  0x00048640 in wait_for ()
#4  0x00038494 in execute_command_internal ()
#5  0x00038608 in execute_command ()
#6  0x000374a4 in execute_command_internal ()
#7  0x00073994 in parse_and_execute ()
#8  0x000259fc in ?? ()
#9  0x00026988 in main ()
(gdb) disass 0x401ed4d4 0x401ed4f4
Dump of assembler code from 0x401ed4d4 to 0x401ed4f4:
0x401ed4d4:	ldw 0(r3),r20
0x401ed4d8:	ldw 4(ret0),ret0
0x401ed4dc:	add,l r20,ret0,r25
0x401ed4e0:	ldw 2c(r3),ret0
0x401ed4e4:	ldw 4(ret0),ret1
0x401ed4e8:	ldw 8(r5),ret0
0x401ed4ec:	addil L%800,r19,r1
0x401ed4f0:	add,l r25,ret0,r25
End of assembler dump.
(gdb) p/x $ret0
$1 = 0x0
(gdb) info shared
>From        To          Syms Read   Shared Object Library
0x402fca40  0x4031e490  Yes         /lib/libncurses.so.5
0x405f5d10  0x405f70ec  Yes         /lib/libdl.so.2
0x4061beb0  0x4070d630  Yes         /lib/libc.so.6
0x401e0370  0x401f8c80  Yes         /lib/ld.so.1

The segv looks to be in _dl_fixup at 0xf3b8 in /lib/ld.so.1.

Dave
-- 
J. David Anglin                                  dave.anglin@xxxxxxxxxxxxxx
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux