[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2

2008-05-23 Thread Howard Chu
Please test this patch and let me know if you can still reproduce this failure. http://www.openldap.org/lists/openldap-commit/200805/msg00112.html -- (ITS#5518) Assertion error in io.c:234: ber_flush2 https://bugs.launchpad.net/bugs/215904 You received this bug notification because you are a

[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2

2008-05-23 Thread Chuck Short
Hi, Ive added the patch to my openldap test ppa, could you please test with the one found at: http://launchpad.net/~zulcss/+archive Thanks chuck -- (ITS#5518) Assertion error in io.c:234: ber_flush2 https://bugs.launchpad.net/bugs/215904 You received this bug notification because you are a

[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2

2008-05-23 Thread Mark Painter
I no longer seem to be getting the assertion error with this patch. This is again with -O2, as I had trouble reproducing with -O0. I do now somtimes get a SIGPIPE, which is less harmful (eg, xscreensaver is still running). ** Attachment added: rescue.c_sigpipe_bt

[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2

2008-05-23 Thread Paul Smith
I've loaded up these libraries to test the Evo Exchange crasher. Unfortunately there was no reliable way to reproduce it; you just had to do lots of work and eventually it would happen. However, I've added a debugging message to the code so that I'll know when I've hit a point where it SHOULD

[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2

2008-05-22 Thread Mark Painter
I've attached a bt full with *sb in frame 3, and *ld/*lr in frame 4. This is similar to backtrace #3 which Andrew Pollock provides earlier, but from a different session. I'm happy to provide more (or print different vars) if it's helpful. ** Attachment added: openldap

[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2

2008-05-22 Thread Howard Chu
Yes, that helps. Please also print *lc from frame 4, thanks. -- (ITS#5518) 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. --

[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2

2008-05-22 Thread Mark Painter
(gdb) f 4 #4 0x7f3a0fb07dcd in ldap_int_flush_request (ld=0x693d90, lr=0x699050) at request.c:152 152 if ( ber_flush2( lc-lconn_sb, lr-lr_ber, LBER_FLUSH_FREE_NEVER ) != 0 ) { (gdb) print *lc $4 = {lconn_sb = 0x7f3a11313ab0, lconn_sasl_authctx = 0x7f3a11313ab0,

[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2

2008-05-22 Thread Howard Chu
Hmmm, *lc is completely bogus. 7f3a11313ab0 is clearly in the text segment of the process, and the values starting from lconn_sasl_sockctx are ASCII: 00: 6d 70 2f 6f 70 65 6e 6c 64 61 70 32 2e 34 2e 37 mp/openldap2.4.7 01: 2f 6c 69 62 72 61 72 69 65 73 2f 6c 69 62 6c 62

[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2

2008-05-22 Thread Paul Smith
I found this bug, I think. We're getting identical problems causing Evolution Exchange to crash. The problem is ldap is accessing memory after it's been freed. Here's the Gnome bug with lots of backtraces and some valgrind logs I used to figure it out:

[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2

2008-05-22 Thread Paul Smith
Marked Evolution Exchange bug as a duplicate. -- (ITS#5518) 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