[cups.bugs] [CRIT] STR #1828: When using poll and many printers cupsd sigsegvs

Johan Bernhardsson johan at anykey.se
Mon Jul 10 05:03:13 PDT 2006


[STR New]

When using poll to fetch 500 printers from two servers cupsd dies with a
segfault. The two servers has an identical setup with printers to that the
client should build implicit classes.

When we reload cupsd on the client it dies with a segfault.

We use rhel 4 on client and servers. And we have compiled the rpms
ourselves from source.


See the backtrace from the client.

#0  0x0069a498 in strcasecmp () from /lib/tls/libc.so.6
#1  0x080811aa in compare_printers ()
#2  0x009a3940 in cups_array_find (a=0x9ae4a98, e=0x9af19a8, prev=499,
    rdiff=0xbff81618) at array.c:859
#3  0x009a3e09 in cups_array_add (a=0x9ae4a98, e=0x9af19a8, insert=0)
    at array.c:739
#4  0x0806068c in process_implicit_classes ()
#5  0x08062475 in cupsdLoadRemoteCache ()
#6  0x0805ee96 in cupsdReadConfiguration ()
#7  0x08065752 in main ()

(gdb) bt full
#0  0x0069a498 in strcasecmp () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x080811aa in compare_printers ()
No symbol table info available.
#2  0x004dc940 in cups_array_find (a=0x9042a98, e=0x904f9a8, prev=499,
    rdiff=0xbff8b218) at array.c:859
        left = Variable "left" is not available.

Link: http://www.cups.org/str.php?L1828
Version: 1.2.1





More information about the cups mailing list