When setting "export MALLOC_CHECK_=3", svn exhibits a memory error. This error is silent when MALLOC_CHECK_ is not set. $ svn commit ... *** glibc detected *** svn: free(): invalid pointer: 0x08712f08 *** ======= Backtrace: ========= /lib/i686/libc.so.6(+0x6cbe2)[0xb746bbe2] /lib/i686/libc.so.6(cfree+0xf9)[0xb746fb09] /usr/lib/libsqlite3.so.0(+0x11c5b)[0xb72b0c5b] /usr/lib/libsqlite3.so.0(sqlite3_free+0x81)[0xb72b2531] /usr/lib/libsqlite3.so.0(+0x14590)[0xb72b3590] /usr/lib/libsqlite3.so.0(+0x19479)[0xb72b8479] /usr/lib/libsqlite3.so.0(+0x57c79)[0xb72f6c79] /usr/lib/libsqlite3.so.0(+0x83e17)[0xb7322e17] /usr/lib/libsqlite3.so.0(sqlite3_step+0x2de)[0xb73032ee] /usr/lib/libsvn_subr-1.so.0(svn_sqlite__step+0x3c)[0xb761f63c] /usr/lib/libsvn_wc-1.so.0(+0x5ef40)[0xb76dff40] /usr/lib/libsvn_wc-1.so.0(svn_wc__db_read_children_of_working_node+0x154)[0xb76f7de4] /usr/lib/libsvn_wc-1.so.0(+0x1a515)[0xb769b515] /usr/lib/libsvn_wc-1.so.0(+0x1a59c)[0xb769b59c] /usr/lib/libsvn_wc-1.so.0(+0x1a59c)[0xb769b59c] /usr/lib/libsvn_wc-1.so.0(+0x1a59c)[0xb769b59c] /usr/lib/libsvn_wc-1.so.0(+0x1a59c)[0xb769b59c] /usr/lib/libsvn_wc-1.so.0(svn_wc_cleanup3+0x23a)[0xb769b84a] /usr/lib/libsvn_client-1.so.0(svn_client_cleanup+0xe5)[0xb773ed65] svn[0x8050672] svn[0x804e56b] /lib/i686/libc.so.6(__libc_start_main+0xf3)[0xb74183e3] svn[0x804eb31] ======= Memory map: ======== 08048000-08076000 r-xp 00000000 08:01 57025 /usr/bin/svn 08076000-0807d000 r--p 0002d000 08:01 57025 /usr/bin/svn 0807d000-0807e000 rw-p 00034000 08:01 57025 /usr/bin/svn 08415000-08733000 rw-p 00000000 00:00 0 [heap] b66ea000-b6706000 r-xp 00000000 08:01 134973 /lib/libgcc_s-4.6.3.so.1 b6706000-b6707000 rw-p 0001b000 08:01 134973 /lib/libgcc_s-4.6.3.so.1 b671b000-b688a000 r--p 001f3000 08:01 266791 /usr/share/locale/locale-archive b688a000-b6a8a000 r--p 00000000 08:01 266791 /usr/share/locale/locale-archive b6a8a000-b6a8d000 rw-p 00000000 00:00 0 b6a8d000-b6ab6000 r-xp 00000000 08:01 134809 /lib/i686/libm-2.14.1.so b6ab6000-b6ab7000 r--p 00028000 08:01 134809 /lib/i686/libm-2.14.1.so b6ab7000-b6ab8000 rw-p 00029000 08:01 134809 /lib/i686/libm-2.14.1.so b6ab8000-b6ae7000 r-xp 00000000 08:01 135007 /lib/liblzma.so.5.0.3 b6ae7000-b6ae8000 r--p 0002f000 08:01 135007 /lib/liblzma.so.5.0.3 b6ae8000-b6ae9000 rw-p 00030000 08:01 135007 /lib/liblzma.so.5.0.3 b6ae9000-b6afd000 r-xp 00000000 08:01 135066 /lib/libresolv-2.14.1.so b6afd000-b6afe000 r--p 00013000 08:01 135066 /lib/libresolv-2.14.1.so b6afe000-b6aff000 rw-p 00014000 08:01 135066 /lib/libresolv-2.14.1.so b6aff000-b6b01000 rw-p 00000000 00:00 0 b6b01000-b6b09000 r-xp 00000000 08:01 8495 /usr/lib/libkrb5support.so.0.1 b6b09000-b6b0a000 r--p 00007000 08:01 8495 /usr/lib/libkrb5support.so.0.1 b6b0a000-b6b0b000 rw-p 00008000 08:01 8495 /usr/lib/libkrb5support.so.0.1 b6b0b000-b6b0c000 rw-p 00000000 00:00 0 b6b0c000-b6b0f000 r-xp 00000000 08:01 134948 /lib/libcom_err.so.2.1 b6b0f000-b6b10000 r--p 00002000 08:01 134948 /lib/libcom_err.so.2.1 b6b10000-b6b11000 rw-p 00003000 08:01 134948 /lib/libcom_err.so.2.1 b6b11000-b6b3a000 r-xp 00000000 08:01 8481 /usr/lib/libk5crypto.so.3.1 b6b3a000-b6b3b000 ---p 00029000 08:01 8481 /usr/lib/libk5crypto.so.3.1 b6b3b000-b6b3c000 r--p 00029000 08:01 8481 /usr/lib/libk5crypto.so.3.1 b6b3c000-b6b3d000 rw-p 0002a000 08:01 8481 /usr/lib/libk5crypto.so.3.1 b6b3d000-b6c0d000 r-xp 00000000 08:01 8493 /usr/lib/libkrb5.so.3.3 b6c0d000-b6c13000 r--p 000cf000 08:01 8493 /usr/lib/libkrb5.so.3.3 b6c13000-b6c14000 rw-p 000d5000 08:01 8493 /usr/lib/libkrb5.so.3.3 b6c14000-b6d9e000 r-xp 00000000 08:01 7935 /usr/lib/libdb-4.8.so b6d9e000-b6da0000 r--p 00189000 08:01 7935 /usr/lib/libdb-4.8.so b6da0000-b6da2000 rw-p 0018b000 08:01 7935 /usr/lib/libdb-4.8.so b6da2000-b6eeb000 r-xp 00000000 08:01 9032 /usr/lib/libxml2.so.2.7.8 b6eeb000-b6eec000 ---p 00149000 08:01 9032 /usr/lib/libxml2.so.2.7.8 b6eec000-b6ef0000 r--p 00149000 08:01 9032 /usr/lib/libxml2.so.2.7.8 b6ef0000-b6ef1000 rw-p 0014d000 08:01 9032 /usr/lib/libxml2.so.2.7.8 b6ef1000-b6ef3000 rw-p 00000000 00:00 0 b6ef3000-b6f31000 r-xp 00000000 08:01 8317 /usr/lib/libgssapi_krb5.so.2.2 b6f31000-b6f32000 r--p 0003e000 08:01 8317 /usr/lib/libgssapi_krb5.so.2.2 b6f32000-b6f33000 rw-p 0003f000 08:01 8317 /usr/lib/libgssapi_krb5.so.2.2 b6f33000-b70e9000 r-xp 00000000 08:01 7918 /usr/lib/libcrypto.so.1.0.0 b70e9000-b70fe000 rw-p 001b5000 08:01 7918 /usr/lib/libcrypto.so.1.0.0 b70fe000-b7101000 rw-p 00000000 00:00 0 b7101000-b7156000 r-xp 00000000 08:01 8874 /usr/lib/libssl.so.1.0.0 b7156000-b715a000 rw-p 00055000 08:01 8874 /usr/lib/libssl.so.1.0.0 b715a000-b715c000 r-xp 00000000 08:01 57008 /usr/lib/libsvn_fs_util-1.so.0.0.0 b715c000-b715d000 r--p 00001000 08:01 57008 /usr/lib/libsvn_fs_util-1.so.0.0.0 b715d000-b715e000 rw-p 00002000 08:01 57008 /usr/lib/libsvn_fs_util-1.so.0.0.0 b715e000-b7192000 r-xp 00000000 08:01 57004 /usr/lib/libsvn_fs_base-1.so.0.0.0 b7192000-b7193000 r--p 00033000 08:01 57004 /usr/lib/libsvn_fs_base-1.so.0.0.0 b7193000-b7194000 rw-p 00034000 08:01 57004 /usr/lib/libsvn_fs_base-1.so.0.0.0 b7194000-b7195000 rw-p 00000000 00:00 0 b7195000-b71c3000 r-xp 00000000 08:01 57006 /usr/lib/libsvn_fs_fs-1.so.0.0.0 b71c3000-b71c4000 r--p 0002d000 08:01 57006 /usr/lib/libsvn_fs_fs-1.so.0.0.0 b71c4000-b71c5000 rw-p 0002e000 08:01 57006 /usr/lib/libsvn_fs_fs-1.so.0.0.0 b71c5000-b71f1000 r-xp 00000000 08:01 8589 /usr/lib/libneon.so.27.2.6 b71f1000-b71f2000 r--p 0002b000 08:01 8589 /usr/lib/libneon.so.27.2.6 b71f2000-b71f3000 rw-p 0002c000 08:01 8589 /usr/lib/libneon.so.27.2.6 b71f3000-b720e000 r-xp 00000000 08:01 8830 /usr/lib/libsasl2.so.2.0.23 b720e000-b720f000 r--p 0001a000 08:01 8830 /usr/lib/libsasl2.so.2.0.23 b720f000-b7210000 rw-p 0001b000 08:01 8830 /usr/lib/libsasl2.so.2.0.23 b7210000-b7218000 r-xp 00000000 08:01 57002 /usr/lib/libsvn_fs-1.so.0.0.0 b7218000-b7219000 r--p 00007000 08:01 57002 /usr/lib/libsvn_fs-1.so.0.0.0 b7219000-b721a000 rw-p 00008000 08:01 57002 /usr/lib/libsvn_fs-1.so.0.0.0 b721a000-b7249000 r-xp 00000000 08:01 57018 /usr/lib/libsvn_repos-1.so.0.0.0 b7249000-b724a000 r--p 0002e000 08:01 57018 /usr/lib/libsvn_repos-1.so.0.0.0 b724a000-b724b000 rw-p 0002f000 08:01 57018 /usr/lib/libsvn_repos-1.so.0.0.0 b724b000-b724c000 rw-p 00000000 00:00 0 b724c000-b725b000 r-xp 00000000 08:01 134951 /lib/libcrypt-2.14.1.so b725b000-b725c000 r--p 0000e000 08:01 134951 /lib/libcrypt-2.14.1.so b725c000-b725d000 rw-p 0000f000 08:01 134951 /lib/libcrypt-2.14.1.so b725d000-b7295000 rw-p 00000000 00:00 0 b7295000-b7298000 r-xp 00000000 08:01 134962 /lib/libdl-2.14.1.so b7298000-b7299000 r--p 00002000 08:01 134962 /lib/libdl-2.14.1.so b7299000-b729a000 rw-p 00003000 08:01 134962 /lib/libdl-2.14.1.so b729a000-b729d000 r-xp 00000000 08:01 135106 /lib/libuuid.so.1.3.0 b729d000-b729e000 r--p 00003000 08:01 135106 /lib/libuuid.so.1.3.0 b729e000-b729f000 rw-p 00004000 08:01 135106 /lib/libuuid.so.1.3.0 b729f000-b7343000 r-xp 00000000 08:01 8871 /usr/lib/libsqlite3.so.0.8.6 b7343000-b7344000 ---p 000a4000 08:01 8871 /usr/lib/libsqlite3.so.0.8.6 b7344000-b7345000 r--p 000a4000 08:01 8871 /usr/lib/libsqlite3.so.0.8.6 b7345000-b7347000 rw-p 000a5000 08:01 8871 /usr/lib/libsqlite3.so.0.8.6 b7347000-b736d000 r-xp 00000000 08:01 8034 /usr/lib/libexpat.so.1.6.0 b736d000-b736e000 ---p 00026000 08:01 8034 /usr/lib/libexpat.so.1.6.0 b736e000-b7370000 r--p 00026000 08:01 8034 /usr/lib/libexpat.so.1.6.0 b7370000-b7371000 rw-p 00028000 08:01 8034 /usr/lib/libexpat.so.1.6.0 b7371000-b7372000 rw-p 00000000 00:00 0 b7372000-b7388000 r-xp 00000000 08:01 135112 /lib/libz.so.1.2.6 b7388000-b7389000 r--p 00015000 08:01 135112 /lib/libz.so.1.2.6 b7389000-b738a000 rw-p 00016000 08:01 135112 /lib/libz.so.1.2.6 b738a000-b73af000 r-xp 00000000 08:01 57014 /usr/lib/libsvn_ra_neon-1.so.0.0.0 b73af000-b73b0000 r--p 00025000 08:01 57014 /usr/lib/libsvn_ra_neon-1.so.0.0.0 b73b0000-b73b1000 rw-p 00026000 08:01 57014 /usr/lib/libsvn_ra_neon-1.so.0.0.0 b73b1000-b73ca000 r-xp 00000000 08:01 57016 /usr/lib/libsvn_ra_svn-1.so.0.0.0 b73ca000-b73cb000 r--p 00018000 08:01 57016 /usr/lib/libsvn_ra_svn-1.so.0.0.0 b73cb000-b73cc000 rw-p 00019000 08:01 57016 /usr/lib/libsvn_ra_svn-1.so.0.0.0 b73cc000-b73d4000 r-xp 00000000 08:01 57012 /usr/lib/libsvn_ra_local-1.so.0.0.0 b73d4000-b73d5000 r--p 00007000 08:01 57012 /usr/lib/libsvn_ra_local-1.so.0.0.0 b73d5000-b73d6000 rw-p 00008000 08:01 57012 /usr/lib/libsvn_ra_local-1.so.0.0.0 b73d6000-b73fc000 r-xp 00000000 08:01 56994 /usr/lib/libaprutil-1.so.0.4.1 b73fc000-b73fd000 r--p 00025000 08:01 56994 /usr/lib/libaprutil-1.so.0.4.1 b73fd000-b73fe000 rw-p 00026000 08:01 56994 /usr/lib/libaprutil-1.so.0.4.1 b73fe000-b73ff000 rw-p 00000000 00:00 0 b73ff000-b7576000 r-xp 00000000 08:01 134807 /lib/i686/libc-2.14.1.so b7576000-b7577000 ---p 00177000 08:01 134807 /lib/i686/libc-2.14.1.so b7577000-b7579000 r--p 00177000 08:01 134807 /lib/i686/libc-2.14.1.so b7579000-b757a000 rw-p 00179000 08:01 134807 /lib/i686/libc-2.14.1.so b757a000-b757d000 rw-p 00000000 00:00 0 b757d000-b7593000 r-xp 00000000 08:01 134811 /lib/i686/libpthread-2.14.1.so b7593000-b7594000 r--p 00015000 08:01 134811 /lib/i686/libpthread-2.14.1.so b7594000-b7595000 rw-p 00016000 08:01 134811 /lib/i686/libpthread-2.14.1.so b7595000-b7597000 rw-p 00000000 00:00 0 b75a8000-b75a9000 rw-p 00000000 00:00 0 b75a9000-b75aa000 r--p 006b9000 08:01 266791 /usr/share/locale/locale-archive b75aa000-b75ab000 r--p 0049c000 08:01 266791 /usr/share/locale/locale-archive b75ab000-b75df000 r-xp 00000000 08:01 56990 /usr/lib/libapr-1.so.0.4.6 b75df000-b75e0000 r--p 00033000 08:01 56990 /usr/lib/libapr-1.so.0.4.6 b75e0000-b75e1000 rw-p 00034000 08:01 56990 /usr/lib/libapr-1.so.0.4.6 b75e1000-b764b000 r-xp 00000000 08:01 57020 /usr/lib/libsvn_subr-1.so.0.0.0 b764b000-b764c000 ---p 0006a000 08:01 57020 /usr/lib/libsvn_subr-1.so.0.0.0 b764c000-b764d000 r--p 0006a000 08:01 57020 /usr/lib/libsvn_subr-1.so.0.0.0 b764d000-b764e000 rw-p 0006b000 08:01 57020 /usr/lib/libsvn_subr-1.so.0.0.0 b764e000-b765c000 r-xp 00000000 08:01 56998 /usr/lib/libsvn_delta-1.so.0.0.0 b765c000-b765d000 r--p 0000d000 08:01 56998 /usr/lib/libsvn_delta-1.so.0.0.0 b765d000-b765e000 rw-p 0000e000 08:01 56998 /usr/lib/libsvn_delta-1.so.0.0.0 b765e000-b765f000 rw-p 00000000 00:00 0 b765f000-b7671000 r-xp 00000000 08:01 57000 /usr/lib/libsvn_diff-1.so.0.0.0 b7671000-b7672000 r--p 00012000 08:01 57000 /usr/lib/libsvn_diff-1.so.0.0.0 b7672000-b7673000 rw-p 00013000 08:01 57000 /usr/lib/libsvn_diff-1.so.0.0.0 b7673000-b767f000 r-xp 00000000 08:01 57010 /usr/lib/libsvn_ra-1.so.0.0.0 b767f000-b7680000 r--p 0000b000 08:01 57010 /usr/lib/libsvn_ra-1.so.0.0.0 b7680000-b7681000 rw-p 0000c000 08:01 57010 /usr/lib/libsvn_ra-1.so.0.0.0 b7681000-b7722000 r-xp 00000000 08:01 57022 /usr/lib/libsvn_wc-1.so.0.0.0 b7722000-b7723000 ---p 000a1000 08:01 57022 /usr/lib/libsvn_wc-1.so.0.0.0 b7723000-b7724000 r--p 000a1000 08:01 57022 /usr/lib/libsvn_wc-1.so.0.0.0 b7724000-b7725000 rw-p 000a2000 08:01 57022 /usr/lib/libsvn_wc-1.so.0.0.0 b7725000-b7783000 r-xp 00000000 08:01 56996 /usr/lib/libsvn_client-1.so.0.0.0 b7783000-b7784000 r--p 0005d000 08:01 56996 /usr/lib/libsvn_client-1.so.0.0.0 b7784000-b7785000 rw-p 0005e000 08:01 56996 /usr/lib/libsvn_client-1.so.0.0.0 b7785000-b7786000 rw-p 00000000 00:00 0 b7786000-b77a3000 r-xp 00000000 08:01 134918 /lib/ld-2.14.1.so b77a3000-b77a4000 r--p 0001c000 08:01 134918 /lib/ld-2.14.1.so b77a4000-b77a5000 rw-p 0001d000 08:01 134918 /lib/ld-2.14.1.so bfaa3000-bfac5000 rw-p 00000000 00:00 0 [stack] ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] Aborted
Assignee: bugsquad => shlomif
Hi, I submitted new sub-release package of sqlite3 in Mageia 2 core/updates_testing. Hopefully, it will fix the problem. Please test. Perhaps both sqlite3 and svn should be upgraded to latest versions in MGA 2. Regards, -- Shlomi Fish
QA: please check that svn works fine on Mageia 2 with «export MALLOC_CHECK_=3» after the update.
Assignee: shlomif => qa-bugs
François can you please confirm whether this solves the problem for you. Thanks
I would like to, but I experience a strange problem : the "Core Updates Testing" and "Core Update Debug" sources are set as "non-update" (box not checked). Hence, I canot update sqlite, as it is a package that cannot be removed. Any hint on how to solve this ? I already removed all sources and re-installed them. Sorry for the delay, f.p.
Created attachment 3131 [details] List of sources with "Update" checkboxes disabled See the attached picture... :-(
You need to use a special option :) See here: https://wiki.mageia.org/en/Enabling_the_Testing_media#Enable_them_the_easy_way
Aha. :-) I just tested. The problem seems to have been solved. Cool. Thx ! f.p.
François, as you filed the bug for i586, am I right to assume you tested the new package on this architecture? If unsure, see: https://wiki.mageia.org/en/QA_process_for_validating_updates#Find_out_which_architecture_and_Mageia_release_you_use Did you experience any regressions? Also, we still need to test the package on x86_64 (provided you did in fact test on i586) before we can push this as an official update to all users. Could you maybe post a bit more detailed (preferably command-line) instructions on how to reproduce the original problem so a QA-tester can repeat them on this architecture? This would speed up testing quite a bit, as most of our time is spent on finding out how to test something, rather than actually performing the test. :)
CC: (none) => wassi
Yes, I run on an i586. More precisely, uname -a yields : Linux brol 3.3.8-desktop586-2.mga2 #1 SMP Mon Jul 30 21:35:45 UTC 2012 i686 i686 i386 GNU/Linux I have no x86_64 under my sleeve to help you. :-/ The reproducer is quite simple. All you need is some directory under SVN revision control, in which you modify a file. Then : (bash)% export MALLOC_CHECK_=3 (bash)% svn commit ...and crash, as above. Hope this helps.
Final comment: I only had to upgrade the libsqlite package to remove the bug, not svn.
Thank you for your help François! Shlomi: Since upgrading sqlite3 alone seems to fix the problem - would you still like to push an updated svn package or do you think we could/should skip it for now?
Whiteboard: (none) => mga2-32-OK
Whiteboard: mga2-32-OK => has_procedure mga2-32-OK
Testing mga2 64 Before ------ $ export MALLOC_CHECK_=3 $ svn commit -m "Before" Sending gpl.html Transmitting file data . Committed revision 3. *** glibc detected *** svn: free(): invalid pointer: 0x0000000001044f30 *** ======= Backtrace: ========= etc. After ----- $ nano gpl.html $ export MALLOC_CHECK_=3 $ svn commit -m "After" svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted $ svn cleanup $ export MALLOC_CHECK_=3 $ svn commit -m "After" Sending gpl.html Transmitting file data . Committed revision 4. Testing complete x86_64
Whiteboard: has_procedure mga2-32-OK => has_procedure mga2-32-OK mga2-64-OK
Validating SRPM: sqlite3-3.7.14.1-1.1.mga2.src.rpm Advisory ----------------- This addresses a crash when using "svn commit" after "export MALLOC_CHECK_=3" ----------------- Could sysadmin please push from core/updates_testing to core/updates Thanks!
Keywords: (none) => validated_updateCC: (none) => sysadmin-bugsHardware: i586 => All
Update pushed: https://wiki.mageia.org/en/Support/Advisories/MGAA-2012-0234
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED