Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another segfault of the scheduler #1432

Closed
michaelrsweet opened this issue Feb 20, 2006 · 4 comments
Closed

Another segfault of the scheduler #1432

michaelrsweet opened this issue Feb 20, 2006 · 4 comments
Milestone

Comments

@michaelrsweet
Copy link
Collaborator

Version: 1.2-current
CUPS.org User: till.kamppeter

CUPS crashed suddenly, without any special reason. Especially I did not try to print when CUPS crashed. I even did not use that machine then.

CUPS version is 1.2 SVN rev 5130

gdb output:


[root@majax c]# gdb -c core.15379 /usr/sbin/cupsd
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 `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 /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 /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/libacl.so.1...done.
Loaded symbols for /lib/libacl.so.1
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 /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 delete_rules (rules=0x4) at mime.c:439

439 if (rules->child != NULL)
(gdb) bt
#0 delete_rules (rules=0x4) at mime.c:439
#1 0x08088e2f in delete_rules (rules=0x80e03a0) at mime.c:440
#2 0x08088e8a in mimeDeleteType (mime=0x80a86a0, mt=0x80c16e8) at mime.c:156
#3 0x08083fce in cupsdDeletePrinter (p=0x80f7258, update=1) at printers.c:731
#4 0x0805194e in cupsdDeletePrinterFromClasses (p=0x80e0618) at classes.c:223
#5 0x080840bc in cupsdDeletePrinter (p=0x80e0618, update=134857780)

at printers.c:705

#6 0x080609d0 in cupsdSendBrowseList () at dirsvc.c:754
#7 0x08064c47 in main (argc=2, argv=0xbff10b14) at main.c:876
#8 0xb7c69e40 in __libc_start_main () from /lib/tls/libc.so.6
#9 0x0804e001 in _start () at ../sysdeps/i386/elf/start.S:119

(gdb) quit

[root@majax c]#

error_log attached.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: till.kamppeter

I have now also posted

/var/log/cups/access_log
/var/cache/cups/job.cache
/var/cache/cups/remote.cache

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Till,

Can you run cupsd from Valgrind, and bump the log level up to "debug2"?

I can't reproduce the problem here...

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: till.kamppeter

OK, I have switched to "LogLevel debug2" now and started CUPS out of valgrind. I will report the result as soon as there is the next coredump.

@michaelrsweet
Copy link
Collaborator Author

CUPS.org User: mike

Fixed in Subversion repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant