Re: Problem with r5k and dpkg
On Wed, Aug 22, 2001 at 03:23:15PM +0200, Krzysztof Krzyzaniak wrote:
> [..]
> > > > > mips@root:~{13}# update-menus
> > > > > zsh: bus error update-menus
> > > > >
> > > > > Package menu is probably corrupted.
> > > > Can you paste your /proc/cpuinfo? I've seen this on r4600 but never on
> > > > r5k.
> > >
> > > mips@root:~{43}# cat /proc/cpuinfo
> > > cpu : MIPS
> > > cpu model : R5000 V1.0
> > > system type : SGI Indy
> [..]
> > Hmm...can you recompile update-menus with -g and get a stack backtrace
> > with gdb? Recompiling with latest binutils might help anyway. I've seen
> > many bugs go away since the 2.11.90.0.24 binutils upload.
>
> I'll try. But first I need to install gcc & stuff ;-)
Ok. GDB says:
(gdb) run
Starting program: /home/eloy/src/menu-2.1.5/update-menus/./update-menus
Program received signal SIGBUS, Bus error.
0x2acf83a0 in strcmp () from /lib/libc.so.6
(gdb) backtrace
#0 0x2acf83a0 in strcmp () from /lib/libc.so.6
#1 0x2ab2dc50 in type_info::operator== ()
from /usr/lib/libstdc++-libc6.2-2.so.3
#2 0x00419a88 in configinfo::update (this=0x10000040, filename=
{<basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
>> = {static npos = 4294967295, static nilRep = {len = 0, res = 0, ref = 5,
selfish = false}, dat = 0x100072f8 "/etc/menu-methods/menu.config"}, <No data
fields>})
at
/usr/lib/gcc-lib/mips-linux/2.95.4/../../../../include/g++-3/std/bastring.h:190
#3 0x004448c8 in read_rootconfiginfo () at update-menus.cc:905
#4 0x00446034 in main (argv=0x7fff7cc4) at update-menus.cc:942
(gdb)
eloy
--
"Nawet mnisi
Śnią o skromnisi."
(--) Jan Sztaudynger
Reply to: