[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

cupsd segmentation fault



Hello there!

It's since quite a long time (months) that I've a problem with cupsd.

If I set it to use Basic authentication (which is the default) to grant
access to administration web pages (localhost:631) it exits with a
segfault just after reading my password.

Following is the output launching the program with gdb.

dan@DeeJay:~$ sudo gdb /usr/sbin/cupsd                                                              
GNU gdb 6.3.90_20051119-debian                                                                      
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 "i486-linux-gnu"...(no debugging symbols found)                          
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".                             
                                                                                                    
(gdb) set args -f                                                                                   
(gdb) run                                                                                           
Starting program: /usr/sbin/cupsd -f                                                                
(no debugging symbols found)                                                                        
[... again, 18 times ...]
(no debugging symbols found)                                                                        
                                                                                                    
Program received signal SIGSEGV, Segmentation fault.                                                
0xb7da093f in strncmp () from /lib/tls/i686/cmov/libc.so.6                                          
(gdb) continue                                                                                      
Continuing.                                                                                         
                                                                                                    
Program terminated with signal SIGSEGV, Segmentation fault.                                         
The program no longer exists.                                                                       
(gdb)                                                                                               

The segmentation fault happens when I press OK on the firefox
username/password mask.

Using a non-existent username with an empty password does not crash
cupsd, it asks again for username/password.

I tried (I'm curious...) to change the permissions of
/etc/{passwd,shadow} to 644 but nothing changed.

cupsd log, even when using maximum verbosity, does not contain useful
indications.

Have you got any idea about how to resolve? Command line utility seems
to work but I prefer the web interface.

Please Cc: me, I'm not reading the list.

Regards,
-- 
Daniele                 JID: dan@jabber.linux.it (http://www.jabber.org)
and remember: respect is everything . . . . . . . . . . . free your mind

Attachment: signature.asc
Description: Digital signature


Reply to: