[Pkg-cups-devel] Bug#378860: Bug#378860: Cupsys daily segfaults: duplicate entry in printers.conf?

Luc Dufresne luc.dufresne at angersloiremetropole.fr
Fri May 2 08:27:46 UTC 2008


Le mardi 29 avril 2008 à 22:26:36 (+0200), Martin Pitt a écrit :
> Can you please install those printers.conf, stop cupsd with
> 
>   /etc/init.d/cupsys stop
> 
> (as root), install the package cupsys-dbg, and then run cupsd under
> the debugger:
> 
>   gdb --args /usr/sbin/cupsd -f
> 
> (as root again). It should crash. Once you are back at the gdb prompt,
> please do
> 
>   bt full
> 
> to acquire a stack trace. Can you please copy&paste or attach it here?

gdb --args /usr/sbin/cupsd -f
GNU gdb 6.4.90-debian
Copyright (C) 2006 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 "x86_64-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/sbin/cupsd -f
[Thread debugging using libthread_db enabled]
[New Thread 47515225578256 (LWP 9244)]

Program received signal SIGHUP, Hangup.
[Switching to Thread 47515225578256 (LWP 9244)]
0x00002b36ff911a45 in select () from /lib/libc.so.6
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00002b36ff8c2dff in strcasecmp () from /lib/libc.so.6
(gdb) bt full
#0  0x00002b36ff8c2dff in strcasecmp () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b36ff35f845 in cupsArrayFind (a=0x5569d0, e=0x5742c0) at array.c:342
        current = 1
        diff = 0
#2  0x0000000000434258 in cupsdDeletePrinter (p=0x5742c0, update=<value optimized out>) at printers.c:639
        i = <value optimized out>
#3  0x00000000004342ad in cupsdDeleteAllPrinters () at printers.c:599
        p = (cupsd_printer_t *) 0x0
#4  0x00000000004170d5 in cupsdReadConfiguration () at conf.c:956
        type = <value optimized out>
        mimetype = '\0' <repeats 192 times>, "\n\000\000\000\000\000\000\000��������", '\0' <repeats 40 times>, "��������", '\0' <repeats 15 times>
        i = 1
        fp = <value optimized out>
        status = <value optimized out>
        temp = "/etc/cups\000cupsd.conf\000\000\000\000����\001\000\000\000\030D$\0007+\000\0000\235��6+\000\000\200\003\031��\177\000\000�\231��6+\000\0000\201��6+\000\000 U��6+\000\000\000\000\000\000\000\000\000\000X\201��6+\000\000�\vU\000\000\000\000\000��T\000\000\000\000\000�\003\031��\177\000\000�8\215�6+\000\000\021\025D\000\000\000\000\000�zc\000\000\000\000\000�zc\000\000\000\000\000 \005\002", '\0' <repeats 13 times>, "\220zc\000\000\000\000\000S�\032H\000\000\000\000p�T\000\000\000\000\000��T\000\000\000\000\000c\224\211"...
        slash = <value optimized out>
        language = <value optimized out>
        user = <value optimized out>
        group = dwarf2_read_address: Corrupted DWARF expression.
(gdb)






More information about the Pkg-cups-devel mailing list