[cups.development] cups-polld issue and cupsd segfaulting

Tim Waugh twaugh at redhat.com
Thu Sep 3 01:00:26 PDT 2009


On Wed, 2009-09-02 at 19:55 +0100, Maciej (Matchek) Blizinski wrote:
> The segfault is reproducible, it happens every time I run cups. The
> location is line 446 of mime.c, in function delete_rules(mime_magic_t
> *rules).
> 
>   while (rules != NULL)
>   {
>     next = rules->next; /* <-- here */
>     (...)
>   }
> 
> The rules pointer has a value, but the memory address can not be read from:
> 
> (dbx) where
>   [1] delete_rules(rules = 0x4d2d5355), line 444 in "mime.c"

This is a memory scribble I'd say.

0x4d2d5355 is ASCII: "M-SU" or "US-M" depending on your byte order.

Set a watchpoint on the memory holding 'rules'.

Tim.
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.cups.org/pipermail/cups/attachments/20090903/66851cec/attachment.bin>


More information about the cups mailing list