[cups.bugs] [LOW] STR #3053: double free or corruption

James A. Peltier jpeltier at fas.sfu.ca
Thu Jan 8 09:38:12 PST 2009


On Wed, 7 Jan 2009, Michael Sweet wrote:

>
> [STR Closed w/o Resolution]
>
> Please contact your Linux distributor for this issue.
>
> (CentOS/Red Hat CUPS contains substantial changes for SELinux and related
> MLS support stuff, and this crash is happening on startup...)
>

It is not happening at start up, it shows listening afterward because we 
restarted the daemon.  The time between glibc double free and restart was 
approximately one hour as can be seen here.  This was the time it took 
us to locate the error in the logs and start some troubleshooting.  My 
apologies for not including that in the initial report.

However, wouldn't your comments regarding SELinux would still be incorrect 
since it is disabled?  Also, a double free would not be triggered by 
SELinux since free is called by the software itself.

D [06/Jan/2009:11:50:13 -0800] cupsdProcessIPPRequest: 0 status_code=0 
(successful-ok)
D [06/Jan/2009:11:50:13 -0800] cupsdCloseClient: 0
D [06/Jan/2009:11:50:13 -0800] cupsdCloseClient: 122162608
*** glibc detected *** /usr/sbin/cupsd: double free or corruption (!prev): 
0x00000000074f9b30 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3846e71834]
/lib64/libc.so.6(cfree+0x8c)[0x3846e74e7c]
/usr/sbin/cupsd[0x40f473]
/usr/sbin/cupsd(cupsdReadClient+0x21fb)[0x41219b]
/usr/sbin/cupsd[0x435e08]
/usr/sbin/cupsd[0x41bcdc]
/lib64/libc.so.6(__libc_start_main+0xf4)[0x3846e1d8b4]
/usr/sbin/cupsd[0x409579]
.......
.......
2afd68021000-2afd6c000000 ---p 2afd68021000 00:00 0
7fff470a5000-7fff470c1000 rw-p 7fff470a5000 00:00 0 
[stack]
ffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 
[vdso]
I [06/Jan/2009:12:53:52 -0800] Listening to 0.0.0.0:631 (IPv4)
I [06/Jan/2009:12:53:52 -0800] Listening to :::631 (IPv6)
I [06/Jan/2009:12:53:52 -0800] Listening to 0.0.0.0:8008 (IPv4)
I [06/Jan/2009:12:53:52 -0800] Listening to :::8008 (IPv6)
D [06/Jan/2009:12:53:52 -0800] 
cupsdDenyIP(loc=0xa9f5b50(CUPS_INTERNAL_BROWSE_ACL), address=0:0:0:0, 
netmask=0:0:0:0)
D [06/Jan/2009:12:53:52 -0800] cupsdDenyIP(loc=0xa9fa480(/), 
address=0:0:0:0, netmask=0:0:0:0)


-- 
James A. Peltier
Systems Analyst (FASNet), VIVARIUM Technical Director
Simon Fraser University - Burnaby Campus
Phone   : 778-782-6573
Fax     : 778-782-3045
E-Mail  : jpeltier at sfu.ca
Website : http://www.fas.sfu.ca | http://vivarium.cs.sfu.ca
MSN     : subatomic_spam at hotmail.com

To make a mistake is human.
To blame it on others... that's management material!





More information about the cups-devel mailing list