[Bug 215904] Re: (ITS#5518) Assertion error in io.c:234: ber_flush2
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 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: (ITS#5518) Assertion error in io.c:234: ber_flush2
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 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: (ITS#5518) Assertion error in io.c:234: ber_flush2
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 http://launchpadlibrarian.net/14678967/rescue.c_sigpipe_bt -- (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 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: (ITS#5518) Assertion error in io.c:234: ber_flush2
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 have happened, so I can see if it proceeds correctly in that situation or not. Also unfortunately my company is moving to a new building this weekend so the Exchange server is down at the moment (but should be up later tonight). -- (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 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: (ITS#5518) Assertion error in io.c:234: ber_flush2
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 http://launchpadlibrarian.net/14664121/openldap -- (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 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: (ITS#5518) Assertion error in io.c:234: ber_flush2
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. -- 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: (ITS#5518) Assertion error in io.c:234: ber_flush2
(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, lconn_sasl_sockctx = 0x6c6e65706f2f706d, lconn_refcnt = 846225764, lconn_created = 7091318038316594222, lconn_lastused = 7795576359399612786, lconn_rebind_inprogress = 1651270249, lconn_rebind_queue = 0x3a3433323a632e6f, lconn_status = 1919246880, lconn_server = 0x737341203a326873, lconn_ber = 0x60206e6f69747265, lconn_next = 0x3e2d296273282028} -- (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 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: (ITS#5518) Assertion error in io.c:234: ber_flush2
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 /libraries/liblb 02: 6f 2e 63 3a 32 33 34 3a 20 62 65 72 73 68 32 3a o.c:234: bersh2: 03: 20 41 73 73 65 72 74 69 6f 6e 20 60 28 20 28 73 Assertion `( (s 04: 62 29 2d 3e 00 00 b)- I.e., lc's contents are a copy of the actual text location where the assert message was stored. This would have made more sense if it was random data. Hard to see how a data or stack overwrite could cause pieces of the text segment to get copied into the heap, and ordinarily an assert/abort call doesn't trash the stack like this. Can you reproduce this bug when libldap, liblber, and nss_ldap are compiled without any optimization? -- (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 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: (ITS#5518) Assertion error in io.c:234: ber_flush2
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: http://bugzilla.gnome.org/show_bug.cgi?id=512605 and here's the new bug I filed with openldap describing the issue: http://www.openldap.org/its/index.cgi/Incoming?id=5525;page=1;statetype=1 -- (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 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: (ITS#5518) Assertion error in io.c:234: ber_flush2
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 mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs