Bug#337889: scrollkeeper-update crashes, leads to failing apt install

Linas Vepstas linas at linas.org
Mon Nov 7 03:23:57 UTC 2005


Package: scrollkeeper
Version: scrollkeeper_0.3.14-10_i386

Overview: scrollkeeper-update crashes, preventing apt-get from working 
correctly. I note that reportbug and querybts are also crashing, and so
is mutt.  (In other respects, the system works fine; I'm running X11, 
playing music on xmms etc. I am using the old-fashioned "mail" to write 
this email. I didn't notice anything else broken till I tried to report
this.)

I'd say this is a grave bug, its causing havoc with apt-get install.

p.s. please reply to/contact Linas Vepstas <linas at austin.ibm.com>

since this email addr may be broken...

root at backlot:~# apt-get install --reinstall scrollkeeper
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED:
  pioneers-help
0 upgraded, 0 newly installed, 1 reinstalled, 1 to remove and 31 not
upgraded.
3 not fully installed or removed.
Need to get 0B/155kB of archives.
After unpacking 672kB disk space will be freed.
Do you want to continue [Y/n]?
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
(Reading database ... 117058 files and directories currently installed.)
Removing pioneers-help ...
/var/lib/dpkg/info/pioneers-help.postrm: line 6:  3692 Segmentation
fault      scrollkeeper-update -q
dpkg: error processing pioneers-help (--remove):
 subprocess post-removal script returned error exit status 139
Errors were encountered while processing:
 pioneers-help
E: Sub-process /usr/bin/dpkg returned an error code (1)

===========
So lets try this:

root at backlot:~# scrollkeeper-update -q
Segmentation fault

root at backlot:~# scrollkeeper-update
Segmentation fault

root at backlot:~# gdb scrollkeeper-update
GNU gdb 6.3-debian
Copyright 2004 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 "i386-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) r
Starting program: /usr/bin/scrollkeeper-update
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 3798)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 3798)]
0x402320a9 in __strtouq_internal () from /lib/libc.so.6
(gdb) bt
#0  0x402320a9 in __strtouq_internal () from /lib/libc.so.6
#1  0x40231e48 in __strtol_internal () from /lib/libc.so.6
#2  0x08049763 in ?? ()
#3  0x00000000 in ?? ()
#4  0x00000000 in ?? ()
#5  0x0000000a in ?? ()
#6  0x00000000 in ?? ()
#7  0x00090a20 in ?? ()
#8  0x00015ff4 in ?? ()
#9  0xbfffec14 in ?? ()
#10 0x40007696 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#11 0x0804a15e in ?? ()
#12 0x0804bc38 in ?? ()
#13 0xbffffc90 in ?? ()
#14 0xbffff41c in ?? ()
#15 0xbffffb30 in ?? ()
#16 0xbffff3a0 in ?? ()
#17 0x4000b003 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#18 0x4021b413 in __libc_start_main () from /lib/libc.so.6
#19 0x08048f51 in ?? ()


I'm guessing that someone passed a null pointer to strtol()
crashes in glibc like this are usually due to null pointers
passed into systems.

root at backlot:~# ldd /usr/bin/scrollkeeper-update
        libscrollkeeper.so.0 => /usr/lib/libscrollkeeper.so.0
(0x40032000)
        libxslt.so.1 => /usr/lib/libxslt.so.1 (0x4003c000)
        libxml2.so.2 => /usr/lib/libxml2.so.2 (0x4006c000)
        libz.so.1 => /usr/lib/libz.so.1 (0x4017a000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4018e000)
        libm.so.6 => /lib/libm.so.6 (0x401e1000)
        libc.so.6 => /lib/libc.so.6 (0x40206000)
        libdl.so.2 => /lib/libdl.so.2 (0x40320000)
        /lib/ld-linux.so.2 (0x40000000)


root at backlot:~# ls -la /usr/lib/libxslt.so.1*
lrwxrwxrwx  1 root root     17 Oct  9 22:28 /usr/lib/libxslt.so.1 ->
libxslt.so.1.1.15
-rw-r--r--  1 root root 192076 Sep 11 09:43 /usr/lib/libxslt.so.1.1.15
root at backlot:~# ls -la /usr/lib/libxml2.so*
lrwxrwxrwx  1 root root      17 Nov  4 22:29 /usr/lib/libxml2.so ->
libxml2.so.2.6.22
lrwxrwxrwx  1 root root      17 Nov  4 22:29 /usr/lib/libxml2.so.2 ->
libxml2.so.2.6.22
-rw-r--r--  1 root root 1099072 Nov  2 12:39 /usr/lib/libxml2.so.2.6.22
root at backlot:~# ls -la /usr/lib/libz.so*
lrwxrwxrwx  1 root root     9 Nov  4 22:08 /usr/lib/libz.so -> libz.so.1
lrwxrwxrwx  1 root root    13 Nov  4 22:08 /usr/lib/libz.so.1 ->
libz.so.1.2.3
-rw-r--r--  1 root root 78752 Oct 16 13:41 /usr/lib/libz.so.1.2.3
root at backlot:~# ls -la /lib/libpthread.so*
lrwxrwxrwx  1 root root 18 Nov  4 22:03 /lib/libpthread.so.0 ->
libpthread-0.10.so
root at backlot:~# ls -la /lib/libm.so*
lrwxrwxrwx  1 root root    13 Oct  2  2004 /lib/libm.so.5 ->
libm.so.5.0.9
-rw-r--r--  1 root root 30180 Sep 22  2003 /lib/libm.so.5.0.9
lrwxrwxrwx  1 root root    13 Nov  4 22:03 /lib/libm.so.6 ->
libm-2.3.5.so
root at backlot:~# ls -la /lib/libm-2.3.5.so*
-rw-r--r--  1 root root 145168 Oct 14 15:20 /lib/libm-2.3.5.so
root at backlot:~# ls -la /lib/libc.so*
lrwxrwxrwx  1 root root     14 Oct  2  2004 /lib/libc.so.5 ->
libc.so.5.4.46
-rw-r--r--  1 root root 565940 Sep 22  2003 /lib/libc.so.5.4.46
lrwxrwxrwx  1 root root     13 Nov  4 22:03 /lib/libc.so.6 ->
libc-2.3.5.so
root at backlot:~# ls -la /lib/libc-2.3.5.so*
-rwxr-xr-x  1 root root 1144316 Oct 14 15:20 /lib/libc-2.3.5.so
root at backlot:~# ls -la /lib/libdl.so*
lrwxrwxrwx  1 root root   15 Apr  8  2001 /lib/libdl.so.1 ->
libdl.so.1.9.11
-rwxr-xr-x  1 root root 6200 Mar  6  2001 /lib/libdl.so.1.9.11
lrwxrwxrwx  1 root root   14 Nov  4 22:03 /lib/libdl.so.2 ->
libdl-2.3.5.so
root at backlot:~# ls -la /lib/libdl-2.3.5.so*
-rw-r--r--  1 root root 9592 Oct 14 15:20 /lib/libdl-2.3.5.so
root at backlot:~# ls -la /lib/ld-lin*.so*
lrwxrwxrwx  1 root root    18 Apr  8  2001 /lib/ld-linux.so.1 ->
ld-linux.so.1.9.11
-rwxr-xr-x  1 root root 24817 Mar  6  2001 /lib/ld-linux.so.1.9.11
lrwxrwxrwx  1 root root    11 Nov  4 22:03 /lib/ld-linux.so.2 ->
ld-2.3.5.so
root at backlot:~# ls -la /lib/ld-2.3.5.so*
-rwxr-xr-x  1 root root 88168 Oct 14 15:20 /lib/ld-2.3.5.so
root at backlot:~#









More information about the Pkg-gnome-maintainers mailing list