[cups.bugs] [HIGH] STR #1464: Scheduler segfaults again

Till Kamppeter till.kamppeter at gmx.net
Tue Mar 7 06:25:11 PST 2006


[STR New]

Machine/OS: 32-bit x86, Mandriva Cooker
CUPS Version: SVN rev 5205 

After running CUPS for two weeks under valgrind, it was always stable, I
did not get any segfault.

Now I have started CUPS with

cupsd -f

without valgrind and got a segmentation fault after a day or so. Here is
the gdb output:

-------------------------------------------------------------------------
[root at majax c]# gdb -s /usr/lib/debug/usr/sbin/cupsd.debug /usr/sbin/cupsd
core.2972
GNU gdb 6.3-6mdk (Mandriva Linux release 2006.1)
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 "i586-mandriva-linux-gnu"...Using host
libthread_db library "/lib/tls/libthread_db.so.1".

Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xffffe000
Core was generated by `/usr/sbin/cupsd -f'.
Program terminated with signal 11, Segmentation fault.

warning: svr4_current_sos: Can't read pathname for load map: Input/output
error

Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libgnutls.so.11...done.
Loaded symbols for /usr/lib/libgnutls.so.11
Reading symbols from /usr/lib/libslp.so.1...done.
Loaded symbols for /usr/lib/libslp.so.1
Reading symbols from /usr/lib/libldap-2.3.so.0...done.
Loaded symbols for /usr/lib/libldap-2.3.so.0
Reading symbols from /lib/libpam.so.0...done.
Loaded symbols for /lib/libpam.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libpaper.so.1...done.
Loaded symbols for /usr/lib/libpaper.so.1
Reading symbols from /lib/libdbus-1.so.2...done.
Loaded symbols for /lib/libdbus-1.so.2
Reading symbols from /lib/libacl.so.1...done.
Loaded symbols for /lib/libacl.so.1
Reading symbols from /usr/lib/libcups.so.2...Reading symbols from
/usr/lib/debug/usr/lib/libcups.so.2.debug...done.
done.
Loaded symbols for /usr/lib/libcups.so.2
Reading symbols from /lib/tls/libpthread.so.0...done.
Loaded symbols for /lib/tls/libpthread.so.0
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /usr/lib/libgcrypt.so.11...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libcrypto.so.0.9.8...done.
Loaded symbols for /usr/lib/libcrypto.so.0.9.8
Reading symbols from /usr/lib/liblber-2.3.so.0...done.
Loaded symbols for /usr/lib/liblber-2.3.so.0
Reading symbols from /usr/lib/libsasl2.so.2...done.
Loaded symbols for /usr/lib/libsasl2.so.2
Reading symbols from /usr/lib/libssl.so.0.9.8...done.
Loaded symbols for /usr/lib/libssl.so.0.9.8
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libattr.so.1...done.
Loaded symbols for /lib/libattr.so.1
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
#0  0xb7cd4a09 in strcasecmp () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb7cd4a09 in strcasecmp () from /lib/tls/libc.so.6
#1  0x0809c5ac in ?? ()
#2  0x00000000 in ?? ()
(gdb) quit
[root at majax c]#
-------------------------------------------------------------------------

error_log and cupsd.conf are attached.

Link: http://www.cups.org/str.php?L1464
Version: 1.2-current
Attachment: http://www.cups.org/strfiles/1464/error_log





More information about the cups mailing list