Comment 3 for bug 215904

Revision history for this message
mikmak (mikmak) wrote : Re: Assertion error in io.c:234: ber_flush2

I can confirm and reproduce this with my CUPS server hardy 64 bits.
I have a local slave slapd running on the same server, restarting the slapd process causes cupsd to crash with the above assertion in its error log :
root@ifimp:~# ps ax|grep cups
10917 ? Ss 1:04 /usr/sbin/cupsd
18957 pts/0 S+ 0:00 grep cups
root@ifimp:~# /etc/init.d/slapd restart
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd.
root@ifimp:~# lpq
lpq: impossible de se connecter au serveur.

100% reproducable here

/var/log/cups/error.log :
I [06/May/2008:15:38:05 +0200] cupsdCloseClient: SSL shutdown successful!
cupsd: /build/buildd/openldap2.3-2.4.7/libraries/liblber/io.c:234: ber_flush2: Assertion `( (sb)->sb_opts.lbo_valid == 0x3 )' failed.

Mik