[Bug 407552] New: tar crashes with assertion in io.c:234
https://bugzilla.novell.com/show_bug.cgi?id=407552 Summary: tar crashes with assertion in io.c:234 Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: R.Vickers@cs.rhul.ac.uk QAContact: qa@suse.de Found By: Customer Since upgrading to opensuse 11.0 from 10.2 backups have been sometimes failing on one system with the message: gtar: io.c:234: ber_flush2: Assertion `( (sb)->sb_opts.lbo_valid == 0x3 )' failed. sendbackup: error [dump (8236) /bin/tar got signal 6] This looks extremely similar to an Openldap problem reported (for example) at https://bugs.launchpad.net/ubuntu/+source/openldap2.3/+bug/215904 http://www.openldap.org/its/index.cgi/Incoming?id=5525;page=1;statetype=1 /bin/tar is from tar-1.19-35.1 and is being invoked by the Amanda backup software thus: running: /bin/tar: 'gtar' '--create' '--file' '-' '--directory' '/home' '--one-file-system' '--listed-incremental' '/var/lib/amanda/gnutar-lists/berlin_home_0.new' '--sparse' '--ignore-failed-read' '--totals' '--exclude-from' '/tmp/amanda/sendbackup._home.20080709031221.exclude' '.' /home contains 172 GB of data. I tried to reproduce the problem outside of Amanda, but so far without success. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |mkoenig@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c1 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mkoenig@novell.com AssignedTo|mkoenig@novell.com |rhafer@novell.com --- Comment #1 from Matthias Koenig <mkoenig@novell.com> 2008-08-06 06:05:43 MDT --- hmm, the tar source code does not contain a source file named io.c. Neither does the function ber_flush2 exist anywhere in the code. The function is part of liblber from the openldap2 package. So, I am assuming this is an openldap2 problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c2 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |R.Vickers@cs.rhul.ac.uk Priority|P5 - None |P4 - Low --- Comment #2 from Ralf Haferkamp <rhafer@novell.com> 2008-08-06 06:38:06 MDT --- This seems to be the patch for the problem: http://www.openldap.org/devel/cvsweb.cgi/libraries/libldap/request.c.diff?r1=1.125.2.7&r2=1.125.2.8&hideattic=1&sortbydate=0&f=h @Bob: Could you please test if this problem is still present with the openldap2-client packages from the build service. You can find them here: http://download.opensuse.org/repositories/network:/ldap:/OpenLDAP:/RE24/open... According to the ITS the bug has been fixed with OpenLDAP 2.4.10 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User R.Vickers@cs.rhul.ac.uk added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c3 --- Comment #3 from Bob Vickers <R.Vickers@cs.rhul.ac.uk> 2008-08-06 08:08:00 MDT --- I will do my best to test it but it is tricky because I haven't been able to reproduce the bug outside of the Amanda system. To ensure our data was backed up I switched to using dump instead of tar, but I will try configuring Amanda to use dump and tar in parallel on the same data. Bob -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|tar crashes with assertion in io.c:234 |libldap causes a core dump due to accessing | |freed memory -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User thomas@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c4 --- Comment #4 from Thomas Biege <thomas@novell.com> 2008-08-07 03:08:02 MDT --- MaintenanceTracker-19055 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c6 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|R.Vickers@cs.rhul.ac.uk | --- Comment #6 from Ralf Haferkamp <rhafer@novell.com> 2008-08-07 08:37:59 MDT --- Meanwhile I was able to reproduce the problem myself. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c7 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #7 from Ralf Haferkamp <rhafer@novell.com> 2008-08-07 09:17:18 MDT --- Fixed packages submitted. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User thomas@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c8 --- Comment #8 from Thomas Biege <thomas@novell.com> 2008-08-08 03:20:55 MDT --- swampid: 19055 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 Thomas Biege <thomas@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |patchinfos submitted -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User R.Vickers@cs.rhul.ac.uk added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c9 --- Comment #9 from Bob Vickers <R.Vickers@cs.rhul.ac.uk> 2008-10-13 03:45:47 MDT --- I was just wondering the status of the fixed packages, as they don't seem to have found their way to Online Update. I now realise that this bug is quite pernicious, for example it causes dbus and gdm to crash every day or so, as well as Alpine. SuSE 11.0 has been much less stable than earlier SuSE releases, and I am beginning to wonder how much is caused by this one bug. Most demons don't generate any stderr, so this bug could be occurring without anyone realising it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User asemen@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c10 Andrej Semen <asemen@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asemen@novell.com --- Comment #10 from Andrej Semen <asemen@novell.com> 2008-10-13 09:36:34 MDT --- could you provide me the test case of comment #6 to be able to reproduce the bug for qa maintenace reasons? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User R.Vickers@cs.rhul.ac.uk added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c11 --- Comment #11 from Bob Vickers <R.Vickers@cs.rhul.ac.uk> 2008-10-13 10:02:39 MDT --- It wasn't me who made comment #6, but I would be happy to test the fix if you supply me with the appropriate packages. Looking around at the various places this bug has been reported I can't find a reliable recipe for reproducing it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c12 --- Comment #12 from Ralf Haferkamp <rhafer@novell.com> 2008-10-14 05:33:48 MDT --- Created an attachment (id=245393) --> (https://bugzilla.novell.com/attachment.cgi?id=245393) small testcase I used the attached little C programm to reproduce the problem. You'll will need an OpenLDAP server with the database suffix "dc=suse,dc=de" (alternatively you can adjust the "dc=suse,dc=de" string in the testcase programm). That server should allow anonymous searches and should have at least some data in it. Mine had around 1000 entries. To reproduce the problem you need the stop and start the server in a loop. I did the following on a console: linux-5uct:~ # while ( true ); do rcldap stop; rcldap start; done (Note: don't use "rcldap restart", as that might take to long) On another terminal you need to start the testprogram. That will run in an endless loop until the crash occurs. (It took a few seconds on my system) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c13 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #245393|0 |1 is obsolete| | --- Comment #13 from Ralf Haferkamp <rhafer@novell.com> 2008-10-14 05:52:09 MDT --- Created an attachment (id=245397) --> (https://bugzilla.novell.com/attachment.cgi?id=245397) improved testcase Small improvement to the above testcase. The client will not get stuck when running with a fixed libldap. To compile, call: gcc -o ldaptest ldaptest.c -lldap -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User asemen@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c14 --- Comment #14 from Andrej Semen <asemen@novell.com> 2008-10-14 06:01:21 MDT --- Thanks Ralf, did wonder why the first test case could not compile, could complies net new on, thank a lot for this help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User asemen@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c15 --- Comment #15 from Andrej Semen <asemen@novell.com> 2008-10-14 07:32:10 MDT --- I did the test case as in comment #13 and 14 mentioned, but also after the update of ldap the test script ldaptest stops after some minutes like before update. So I could not see any difference in before and after the update. How could we adapt the test case to check the fix? after update: rpm -q openldap2 openldap2-back-meta openldap2-back-perl openldap2-client openldap2-devel openldap2-2.3.32-0.30 openldap2-back-meta-2.3.32-0.30 openldap2-back-perl-2.3.32-0.30 openldap2-client-2.3.32-0.28 openldap2-devel-2.3.32-0.28 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c16 --- Comment #16 from Ralf Haferkamp <rhafer@novell.com> 2008-10-14 07:57:06 MDT --- What distribution are you testing with? Does it fail with exactly the same error message? At least on 11.0 I don't see failures anymore with the fixed packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User asemen@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c17 --- Comment #17 from Andrej Semen <asemen@novell.com> 2008-10-14 10:09:52 MDT --- I use SLES10 SP1 and SP2, SLED10 SP1, SP2, nld, sles9, sles8 It does not show an error messages the script just stop as wanted. the last line of the output are e.g. on sles10 SP2. ldap_result returnd 101 search executed restart server now ldap_result returnd 101 search executed restart server now ldap_result returnd 101 search executed restart server now ldap_result returnd 101 search executed restart server now ldap_result returnd -1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c18 --- Comment #18 from Ralf Haferkamp <rhafer@novell.com> 2008-10-15 02:30:13 MDT --- Ok, two things: 1. The testcase programm produces a HUGE memory leak. So it will fail at some point. On my test system this point is reached pretty soon (in usually less than a minute). 2. Sometimes the programm gets stopped due to a SIGPIPE it gets delivered. But this is the expected behaviour. The testcase is not written carefully enought to handle that. As long as the testcase doesn't fail with the assertion failure message pasted below anymore I'd consider this bug fixed: io.c:234: ber_flush2: Assertion `( (sb)->sb_opts.lbo_valid == 0x3 )' -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=407552 User asemen@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=407552#c19 --- Comment #19 from Andrej Semen <asemen@novell.com> 2008-10-15 03:06:14 MDT --- ok thanks a lot for your help -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com