[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] [NEW] Assertion error in io.c:234: ber_flush2

2008-04-11 Thread DrewM
Public bug reported:

xscreensaver will randomly crash with an assertion error leaving your
screen unlocked if you are using ldap for authentication

xscreensaver:
/build/buildd/openldap2.3-2.4.7/libraries/liblber/io.c:234: ber_flush2:
Assertion `( (sb)->sb_opts.lbo_valid == 0x3 )' failed.

There is also a debian bug filed against this issue:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469232

Drew

** Affects: openldap2.3 (Ubuntu)
 Importance: Undecided
 Status: New

** Affects: openldap2.3 (Debian)
 Importance: Unknown
 Status: Unknown

** Bug watch added: Debian Bug tracker #469232
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469232

** Also affects: openldap2.3 (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469232
   Importance: Unknown
   Status: Unknown

-- 
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