[Bug 215904] Re: Assertion error in io.c:234: ber_flush2

2008-05-19 Thread Andrew Pollock
#0  0x7faa07cde095 in raise () from /lib/libc.so.6
#1  0x7faa07cdfaf0 in abort () from /lib/libc.so.6
#2  0x7faa07cd72df in __assert_fail () from /lib/libc.so.6
#3  0x7faa065d33cb in ber_flush2 (sb=0x7faa08009aa0, ber=0x8fe130, 
freeit=0) at /tmp/openldap2.3-2.4.7/libraries/liblber/io.c:234
#4  0x7faa06803dcd in ldap_int_flush_request (ld=0x902b30, lr=0x69eaf0) at 
request.c:152
#5  0x7faa068044a4 in ldap_send_server_request (ld=0x902b30, ber=0x8fe130, 
msgid=389, parentreq=0x0, srvlist=0x0, lc=0x655080, bind=0x0) at request.c:348
#6  0x7faa06803d7a in ldap_send_initial_request (ld=0x902b30, msgtype=99, 
dn=0x7faa06c44bcf ou=People,dc=google,dc=com, ber=0x8fe130, msgid=389) at 
request.c:136
#7  0x7faa067f0388 in ldap_search (ld=0x902b30, base=0x7faa06c44bcf 
ou=People,dc=google,dc=com, scope=1,
   filter=0x7fff1203bf20 ((objectClass=posixAccount)(uidNumber=20962)), 
attrs=0x7faa06c45660, attrsonly=0) at search.c:199
#8  0x7faa067f08d6 in ldap_search_st (ld=0x902b30, base=0x7faa06c44bcf 
ou=People,dc=google,dc=com, scope=1,
   filter=0x7fff1203bf20 ((objectClass=posixAccount)(uidNumber=20962)), 
attrs=0x7faa06c45660, attrsonly=0, timeout=0x7fff1203bdb0, res=0x7fff1203c798) 
at search.c:357
#9  0x7faa06a37cc3 in ?? () from /lib/libnss_ldap.so.2
#10 0x7faa06a37265 in ?? () from /lib/libnss_ldap.so.2
#11 0x7faa06a37a9c in ?? () from /lib/libnss_ldap.so.2
#12 0x7faa06a3858b in ?? () from /lib/libnss_ldap.so.2
#13 0x7faa06a38819 in _nss_ldap_getpwuid_r () from /lib/libnss_ldap.so.2
#14 0x7faa07d48c90 in getpwuid_r@@GLIBC_2.2.5 () from /lib/libc.so.6
#15 0x7faa07d48542 in getpwuid () from /lib/libc.so.6
#16 0x0040b031 in ?? ()
#17 0x0040b680 in ?? ()
#18 0x0040b8e1 in ?? ()
#19 0x0040c267 in ?? ()
#20 0x00407e68 in ?? ()
#21 0x7faa07cca1c4 in __libc_start_main () from /lib/libc.so.6
#22 0x00405649 in ?? ()
#23 0x7fff1203d4b8 in ?? ()
#24 0x in ?? ()

-- 
Assertion error in io.c:234: ber_flush2
https://bugs.launchpad.net/bugs/215904
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap2.3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 215904] Re: Assertion error in io.c:234: ber_flush2

2008-05-19 Thread Andrew Pollock
#0  0x7f3aafda2095 in raise () from /lib/libc.so.6
#1  0x7f3aafda3af0 in abort () from /lib/libc.so.6
#2  0x7f3aafd9b2df in __assert_fail () from /lib/libc.so.6
#3  0x7f3aae6913cb in ber_flush2 (sb=0x8ffec0, ber=0x902b90, freeit=0) at 
/tmp/openldap2.3-2.4.7/libraries/liblber/io.c:234
#4  0x7f3aae8c1dcd in ldap_int_flush_request (ld=0x64cdf0, lr=0x642fe0) at 
request.c:152
#5  0x7f3aae8c24a4 in ldap_send_server_request (ld=0x64cdf0, ber=0x902b90, 
msgid=808, parentreq=0x0, srvlist=0x0, lc=0x644b60, bind=0x0) at request.c:348
#6  0x7f3aae8c1d7a in ldap_send_initial_request (ld=0x64cdf0, msgtype=99, 
dn=0x7f3aaed0860f ou=People,dc=google,dc=com, ber=0x902b90, msgid=808) at 
request.c:136
#7  0x7f3aae8ae388 in ldap_search (ld=0x64cdf0, base=0x7f3aaed0860f 
ou=People,dc=google,dc=com, scope=1,
   filter=0x7fffba0fffd0 ((objectClass=posixAccount)(uidNumber=20962)), 
attrs=0x7f3aaed090a0, attrsonly=0) at search.c:199
#8  0x7f3aae8ae8d6 in ldap_search_st (ld=0x64cdf0, base=0x7f3aaed0860f 
ou=People,dc=google,dc=com, scope=1,
   filter=0x7fffba0fffd0 ((objectClass=posixAccount)(uidNumber=20962)), 
attrs=0x7f3aaed090a0, attrsonly=0, timeout=0x7fffba0ffe60, res=0x7fffba100848) 
at search.c:357
#9  0x7f3aaeaf5337 in do_search_s (base=0x7f3aaed0860f 
ou=People,dc=google,dc=com, scope=1, filter=0x7fffba0fffd0 
((objectClass=posixAccount)(uidNumber=20962)),
   attrs=0x7f3aaed090a0, sizelimit=1, res=0x7fffba100848) at ldap-nss.c:2686
#10 0x7f3aaeaf503f in do_with_reconnect (base=0x7f3aaed0860f 
ou=People,dc=google,dc=com, scope=1, filter=0x7fffba0fffd0 
((objectClass=posixAccount)(uidNumber=20962)),
   attrs=0x7f3aaed090a0, sizelimit=1, private=0x7fffba100848, 
search_func=0x7f3aaeaf5288 do_search_s) at ldap-nss.c:2577
#11 0x7f3aaeaf5c28 in _nss_ldap_search_s (args=0x7fffba1008c0, 
filterprot=0x7f3aaed0fba0 ((objectClass=posixAccount)(uidNumber=%d)), 
sel=LM_PASSWD, user_attrs=0x0,
   sizelimit=1, res=0x7fffba100848) at ldap-nss.c:3101
#12 0x7f3aaeaf66b0 in _nss_ldap_getbyname (args=0x7fffba1008c0, 
result=0x7f3ab00ce8a0, buffer=0x63a070 statd, buflen=1024, 
errnop=0x7f3ab20dd698,
   filterprot=0x7f3aaed0fba0 ((objectClass=posixAccount)(uidNumber=%d)), 
sel=LM_PASSWD, parser=0x7f3aaeaf7aa0 _nss_ldap_parse_pw) at ldap-nss.c:3448
#13 0x7f3aaeaf7fec in _nss_ldap_getpwuid_r (uid=20962, 
result=0x7f3ab00ce8a0, buffer=0x63a070 statd, buflen=1024, 
errnop=0x7f3ab20dd698) at ldap-pwd.c:230
#14 0x7f3aafe0cc90 in getpwuid_r@@GLIBC_2.2.5 () from /lib/libc.so.6
#15 0x7f3aafe0c542 in getpwuid () from /lib/libc.so.6
#16 0x0040b031 in initialize_screensaver_window_1 (ssi=0x8f45f0) at 
windows.c:915
#17 0x0040b680 in initialize_screensaver_window (si=0x7fffba101040) at 
windows.c:1575
#18 0x0040b8e1 in raise_window (si=0x72106, inhibit_fade=0, 
between_hacks_p=0, dont_clear=0) at windows.c:1735
#19 0x0040c267 in blank_screen (si=0x7fffba101040) at windows.c:1923
#20 0x00407e68 in main (argc=1, argv=value optimized out) at 
xscreensaver.c:1198

-- 
Assertion error in io.c:234: ber_flush2
https://bugs.launchpad.net/bugs/215904
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap2.3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 215904] Re: Assertion error in io.c:234: ber_flush2

2008-05-19 Thread Andrew Pollock

** Attachment added: Backtrace #3
   http://launchpadlibrarian.net/14598425/backtrace

-- 
Assertion error in io.c:234: ber_flush2
https://bugs.launchpad.net/bugs/215904
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap2.3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 215904] Re: Assertion error in io.c:234: ber_flush2

2008-05-19 Thread Chuck Short
I have opened a bug about this upstream with the openldap developers.

Thanks
chuck

** Changed in: openldap2.3 (Ubuntu)
   Status: New = Triaged

-- 
Assertion error in io.c:234: ber_flush2
https://bugs.launchpad.net/bugs/215904
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap2.3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 215904] Re: Assertion error in io.c:234: ber_flush2

2008-05-09 Thread Piggy
We find the same assert message in our /var/log/apache2/error.log:

apache2: /build/buildd/openldap2.3-2.4.7/libraries/liblber/io.c:234: 
ber_flush2: Assertion `( (sb)-sb_opts.lbo_valid == 0x3 )' failed.
[Fri May 09 11:31:31 2008] [notice] child pid 29054 exit signal Aborted (6)

We are using the authnz_ldap_module via apache2 for auth.

We have seen these messages correllating strongly with the frequent
authentication failures we're seeing using mercurial with https URLs
(ssh:// urls also using LDAP auth seem to be fine).

[EMAIL PROTECTED]:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 8.04
Release:8.04
Codename:   hardy
[EMAIL PROTECTED]:~# uname -a
Linux swieten 2.6.24-16-server #1 SMP Thu Apr 10 13:15:38 UTC 2008 x86_64 
GNU/Linux
[EMAIL PROTECTED]:~#

-- 
Assertion error in io.c:234: ber_flush2
https://bugs.launchpad.net/bugs/215904
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap2.3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 215904] Re: Assertion error in io.c:234: ber_flush2

2008-05-06 Thread mikmak
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 :
[EMAIL PROTECTED]:~# ps ax|grep cups
10917 ?Ss 1:04 /usr/sbin/cupsd
18957 pts/0S+ 0:00 grep cups
[EMAIL PROTECTED]:~# /etc/init.d/slapd restart
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd.
[EMAIL PROTECTED]:~# 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

-- 
Assertion error in io.c:234: ber_flush2
https://bugs.launchpad.net/bugs/215904
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap2.3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 215904] Re: Assertion error in io.c:234: ber_flush2

2008-04-21 Thread DrewM
So after a quick run through the code we find that that the changing of
the variable sb-sb_valid (which is what the assert is checking) only
happens in one place in sockbuf.c in ber_int_sb_init() and never gets
changed again. Therefore we are probably looking at some sort of memory
or pointer corruption that ends up twiddling that bit. :(

[EMAIL PROTECTED]:~/openldap2.3-2.4.7$ grep -r sb_valid * 
libraries/liblber/lber-int.h:#definesb_valid
sb_opts.lbo_valid
libraries/liblber/lber-int.h:#define SOCKBUF_VALID( sb )( 
(sb)-sb_valid == LBER_VALID_SOCKBUF )
libraries/liblber/sockbuf.c:sb-sb_valid=LBER_VALID_SOCKBUF;

-- 
Assertion error in io.c:234: ber_flush2
https://bugs.launchpad.net/bugs/215904
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap2.3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 215904] Re: Assertion error in io.c:234: ber_flush2

2008-04-16 Thread Andrew Pollock
I should add that this is more than just xscreensaver that is crapping
out with this error.

-- 
Assertion error in io.c:234: ber_flush2
https://bugs.launchpad.net/bugs/215904
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap2.3 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs