[Bug 257944] KDE applications (mostly Dolphin and Plasma) crash on exit/closing window (Strigi and OpenSuse) [abort, __libc_message, malloc_printerr, std::basic_string::~basic_string]

Bruno Friedmann brunofr at ioda.net
Sun Jan 9 18:58:18 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=257944





--- Comment #87 from Bruno Friedmann <brunofr ioda net>  2011-01-09 19:58:13 ---
Thanks Martin, you kill my joy :D

here the things now
valgrind -v strigicmd --help
==7957== Memcheck, a memory error detector
==7957== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==7957== Using Valgrind-3.6.0 and LibVEX; rerun with -h for copyright info
==7957== Command: strigicmd --help
==7957== 
--7957-- Valgrind options:
--7957--    -v
--7957-- Contents of /proc/version:
--7957--   Linux version 2.6.37-rc7-desktop (geeko at buildhost) (gcc version
4.5.1 20101208 [gcc-4_5-branch revision 167585] (SUSE Linux) ) #1 SMP PREEMPT
2010-12-28 07:01:24 +0100
--7957-- Arch and hwcaps: AMD64, amd64-sse3-cx16
--7957-- Page sizes: currently 4096, max supported 4096
--7957-- Valgrind library directory: /usr/lib64/valgrind
--7957-- Reading syms from /usr/bin/strigicmd (0x400000)
--7957--   Considering
/usr/lib/debug/.build-id/65/711e95222fd7b5f6d395f57d896a1f4b849da6.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /lib64/ld-2.11.3.so (0x4000000)
--7957--   Considering
/usr/lib/debug/.build-id/5c/fc5a2c4891477ba3f389a7f24582df1496bd89.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /usr/lib64/valgrind/memcheck-amd64-linux
(0x38000000)
--7957--   Considering
/usr/lib/debug/usr/lib64/valgrind/memcheck-amd64-linux.debug ..
--7957--   .. CRC is valid
--7957--    object doesn't have a dynamic symbol table
--7957-- Reading suppressions file: /usr/lib64/valgrind/default.supp
--7957-- REDIR: 0x4015e90 (strlen) redirected to 0x38042017
(vgPlain_amd64_linux_REDIR_FOR_strlen)
--7957-- Reading syms from /usr/lib64/valgrind/vgpreload_core-amd64-linux.so
(0x4a20000)
--7957--   Considering
/usr/lib/debug/.build-id/36/c68b042fbd64d5afa4df68dc5d84c9bd7ac6bd.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so (0x4c22000)
--7957--   Considering
/usr/lib/debug/.build-id/70/eb77800f4162281d776ad96802c8f73254374a.debug ..
--7957--   .. build-id is valid
==7957== WARNING: new redirection conflicts with existing -- ignoring it
--7957--     new: 0x04015e90 (strlen              ) R-> 0x04c26ee0 strlen
--7957-- REDIR: 0x4015de0 (index) redirected to 0x4c26b40 (index)
--7957-- REDIR: 0x4015e60 (strcmp) redirected to 0x4c274e0 (strcmp)
--7957-- Reading syms from /usr/lib64/libstreamanalyzer.so.0.7.3 (0x4e2c000)
--7957--   Considering
/usr/lib/debug/.build-id/1c/57b9d22134021bf9d3afbb5422281eea4259d0.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /lib64/libz.so.1.2.5 (0x50ba000)
--7957--   Considering
/usr/lib/debug/.build-id/04/27a08bb604a33f2973b2f8831e10518780a868.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /lib64/libbz2.so.1.0.6 (0x52d3000)
--7957--   Considering
/usr/lib/debug/.build-id/b0/4e479095d5cf56565cb96cc0c383b92cf44f33.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /lib64/libpthread-2.11.3.so (0x54e2000)
--7957--   Considering
/usr/lib/debug/.build-id/a6/054dbbb5b029f140440e854aba87d9c86fa120.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /usr/lib64/libstdc++.so.6.0.14 (0x56ff000)
--7957--   Considering
/usr/lib/debug/.build-id/c5/6d4a89581212b96b9ae3fd172d2c5499fd0985.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /lib64/libc-2.11.3.so (0x5a08000)
--7957--   Considering
/usr/lib/debug/.build-id/0d/950bde4b77aa25e40384b58280de0f1c77073b.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /lib64/libgcc_s.so.1 (0x5d75000)
--7957--   Considering
/usr/lib/debug/.build-id/26/4f532e2222db3f73dba1814e7e5bda9136e173.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /usr/lib64/libstreams.so.0.7.3 (0x5f8b000)
--7957--   Considering
/usr/lib/debug/.build-id/ef/d53261182d9d3172d8322a903edb8c4e81849d.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /usr/lib64/libxml2.so.2.7.8 (0x61c6000)
--7957--   Considering
/usr/lib/debug/.build-id/47/5ad0e59f21b6cd41d0ef167c7e54e18450912e.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /lib64/libdl-2.11.3.so (0x651c000)
--7957--   Considering
/usr/lib/debug/.build-id/1d/53250bcf26a610704c9e7eeb77747dea19806c.debug ..
--7957--   .. build-id is valid
--7957-- Reading syms from /lib64/libm-2.11.3.so (0x6720000)
--7957--   Considering
/usr/lib/debug/.build-id/70/ba8a643d9be01b9c29d718c9672d6d0e07eb21.debug ..
--7957--   .. build-id is valid
--7957-- REDIR: 0x5a87000 (__GI_strrchr) redirected to 0x4c26960 (__GI_strrchr)
--7957-- REDIR: 0x5a85530 (__GI_strlen) redirected to 0x4c26ea0 (__GI_strlen)
--7957-- REDIR: 0x5a83a80 (strcmp) redirected to 0x4a20650
(_vgnU_ifunc_wrapper)
--7957-- REDIR: 0x5b142e0 (__strcmp_sse42) redirected to 0x4c27420 (strcmp)
--7957-- REDIR: 0x5a85500 (strlen) redirected to 0x4a20650
(_vgnU_ifunc_wrapper)
--7957-- REDIR: 0x5b15180 (__strlen_sse42) redirected to 0x4c26e80 (strlen)
--7957-- REDIR: 0x57bc220 (operator new(unsigned long)) redirected to 0x4c26030
(operator new(unsigned long))
--7957-- REDIR: 0x5a89190 (memcpy) redirected to 0x4c275e0 (memcpy)
--7957-- REDIR: 0x5a80c70 (calloc) redirected to 0x4c24bb0 (calloc)
--7957-- REDIR: 0x5a8a460 (strchrnul) redirected to 0x4c286b0 (strchrnul)
strigicmd:
--7957-- REDIR: 0x5a88880 (mempcpy) redirected to 0x4c287c0 (mempcpy)
    Program for creating and querying indices.
    This program is not meant for talking to the strigi daemon.

usage:
  strigicmd create [-j num] -t backend -d indexdir [-i include] [-x exclude]
files/dirs
  strigicmd deindex -t backend -d indexdir files/dirs
  strigicmd get -t backend -d indexdir files
  strigicmd listFiles -t backend -d indexdir [parent dir]
  strigicmd listFields -t backend -d indexdir
  strigicmd query -t backend -d indexdir queries
[-q xesam_query_language_file]
  strigicmd update [-j num] -t backend -d indexdir [-i include] [-x exclude]
files/dirs
--7957-- REDIR: 0x57ba490 (operator delete(void*)) redirected to 0x4c25320
(operator delete(void*))
--7957-- REDIR: 0x5a7fff0 (free) redirected to 0x4c25690 (free)
==7957== Invalid read of size 4
==7957==    at 0x579F2C6: std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string() (atomicity.h:46)
==7957==    by 0x5A3D914: __cxa_finalize (cxa_finalize.c:56)
==7957==    by 0x5F99775: ??? (in /usr/lib64/libstreams.so.0.7.3)
==7957==    by 0x5FBBF80: ??? (in /usr/lib64/libstreams.so.0.7.3)
==7957==    by 0x5A3D580: __run_exit_handlers (exit.c:78)
==7957==    by 0x5A3D5D4: exit (exit.c:100)
==7957==    by 0x5A26BC3: (below main) (libc-start.c:258)
==7957==  Address 0x697ee70 is 16 bytes inside a block of size 30 free'd
==7957==    at 0x4C2538E: operator delete(void*) (vg_replace_malloc.c:387)
==7957==    by 0x579F2D8: std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string() (basic_string.h:237)
==7957==    by 0x5A3D580: __run_exit_handlers (exit.c:78)
==7957==    by 0x5A3D5D4: exit (exit.c:100)
==7957==    by 0x5A26BC3: (below main) (libc-start.c:258)
==7957== 
==7957== Invalid free() / delete / delete[]
==7957==    at 0x4C2538E: operator delete(void*) (vg_replace_malloc.c:387)
==7957==    by 0x579F2D8: std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string() (basic_string.h:237)
==7957==    by 0x5A3D914: __cxa_finalize (cxa_finalize.c:56)
==7957==    by 0x5F99775: ??? (in /usr/lib64/libstreams.so.0.7.3)
==7957==    by 0x5FBBF80: ??? (in /usr/lib64/libstreams.so.0.7.3)
==7957==    by 0x5A3D580: __run_exit_handlers (exit.c:78)
==7957==    by 0x5A3D5D4: exit (exit.c:100)
==7957==    by 0x5A26BC3: (below main) (libc-start.c:258)
==7957==  Address 0x697ee60 is 0 bytes inside a block of size 30 free'd
==7957==    at 0x4C2538E: operator delete(void*) (vg_replace_malloc.c:387)
==7957==    by 0x579F2D8: std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string() (basic_string.h:237)
==7957==    by 0x5A3D580: __run_exit_handlers (exit.c:78)
==7957==    by 0x5A3D5D4: exit (exit.c:100)
==7957==    by 0x5A26BC3: (below main) (libc-start.c:258)
==7957== 
==7957== 
==7957== HEAP SUMMARY:
==7957==     in use at exit: 59 bytes in 2 blocks
==7957==   total heap usage: 235 allocs, 235 frees, 15,833 bytes allocated
==7957== 
==7957== Searching for pointers to 2 not-freed blocks
==7957== Checked 251,304 bytes
==7957== 
==7957== LEAK SUMMARY:
==7957==    definitely lost: 59 bytes in 2 blocks
==7957==    indirectly lost: 0 bytes in 0 blocks
==7957==      possibly lost: 0 bytes in 0 blocks
==7957==    still reachable: 0 bytes in 0 blocks
==7957==         suppressed: 0 bytes in 0 blocks
==7957== Rerun with --leak-check=full to see details of leaked memory
==7957== 
==7957== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 4 from 4)
==7957== 
==7957== 2 errors in context 1 of 2:
==7957== Invalid free() / delete / delete[]
==7957==    at 0x4C2538E: operator delete(void*) (vg_replace_malloc.c:387)
==7957==    by 0x579F2D8: std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string() (basic_string.h:237)
==7957==    by 0x5A3D914: __cxa_finalize (cxa_finalize.c:56)
==7957==    by 0x5F99775: ??? (in /usr/lib64/libstreams.so.0.7.3)
==7957==    by 0x5FBBF80: ??? (in /usr/lib64/libstreams.so.0.7.3)
==7957==    by 0x5A3D580: __run_exit_handlers (exit.c:78)
==7957==    by 0x5A3D5D4: exit (exit.c:100)
==7957==    by 0x5A26BC3: (below main) (libc-start.c:258)
==7957==  Address 0x697ee60 is 0 bytes inside a block of size 30 free'd
==7957==    at 0x4C2538E: operator delete(void*) (vg_replace_malloc.c:387)
==7957==    by 0x579F2D8: std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string() (basic_string.h:237)
==7957==    by 0x5A3D580: __run_exit_handlers (exit.c:78)
==7957==    by 0x5A3D5D4: exit (exit.c:100)
==7957==    by 0x5A26BC3: (below main) (libc-start.c:258)
==7957== 
==7957== 
==7957== 6 errors in context 2 of 2:
==7957== Invalid read of size 4
==7957==    at 0x579F2C6: std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string() (atomicity.h:46)
==7957==    by 0x5A3D914: __cxa_finalize (cxa_finalize.c:56)
==7957==    by 0x5F99775: ??? (in /usr/lib64/libstreams.so.0.7.3)
==7957==    by 0x5FBBF80: ??? (in /usr/lib64/libstreams.so.0.7.3)
==7957==    by 0x5A3D580: __run_exit_handlers (exit.c:78)
==7957==    by 0x5A3D5D4: exit (exit.c:100)
==7957==    by 0x5A26BC3: (below main) (libc-start.c:258)
==7957==  Address 0x697ee70 is 16 bytes inside a block of size 30 free'd
==7957==    at 0x4C2538E: operator delete(void*) (vg_replace_malloc.c:387)
==7957==    by 0x579F2D8: std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::~basic_string() (basic_string.h:237)
==7957==    by 0x5A3D580: __run_exit_handlers (exit.c:78)
==7957==    by 0x5A3D5D4: exit (exit.c:100)
==7957==    by 0x5A26BC3: (below main) (libc-start.c:258)
==7957== 
--7957-- 
--7957-- used_suppression:      2 U1004-ARM-_dl_relocate_object
--7957-- used_suppression:      2 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
==7957== 
==7957== ERROR SUMMARY: 8 errors from 2 contexts (suppressed: 4 from 4)

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Unassigned-bugs mailing list