Bug 235420

Summary: [4.4.73] Dolphin crashes on closing
Product: [Applications] dolphin Reporter: Johannes Obermayr <johannesobermayr>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, benderamp, kde, kernelcruncher, null, schtiago, sven.burmeister, utgarda, xbonio
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Johannes Obermayr 2010-04-26 10:16:01 UTC
Application: dolphin (1.4)
KDE Platform Version: 4.4.73 (KDE 4.4.73 (KDE 4.5 >= 20100422)) "release 2"
Qt Version: 4.6.3
Operating System: Linux 2.6.34-rc5-22-pae i686
Distribution: "openSUSE 11.2 (i586)"

-- Information about the crash:
Dolphin crashes on closing when doing something (e.g. opening a folder or file). If I open and close it immediately the crash does not appear.

The bug is not on my systems with KDE SC 4.4.2 and I think was not before 4.4.70 (but I am not 100% sure).

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Aborted
[KCrash Handler]
#7  0xffffe424 in __kernel_vsyscall ()
#8  0xb608a0cf in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#9  0xb608b9e7 in abort () at abort.c:88
#10 0xb60c64ed in __libc_message (do_abort=2, fmt=0xb618bc50 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#11 0xb60cc50b in malloc_printerr (action=<value optimized out>, str=0x6 <Address 0x6 out of bounds>, ptr=0x8309a60) at malloc.c:6239
#12 0xb60d1049 in __libc_free (mem=0x6) at malloc.c:3699
#13 0xb6279f4f in operator delete (ptr=0x0) at ../../../../libstdc++-v3/libsupc++/del_op.cc:44
#14 0xb625599b in deallocate (__p=<value optimized out>, this=<value optimized out>)
    at /usr/src/debug/gcc-4.4.1-20090817/obj-i586-suse-linux/i586-suse-linux/libstdc++-v3/include/ext/new_allocator.h:95
#15 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_M_destroy (__p=<value optimized out>, this=<value optimized out>)
    at /usr/src/debug/gcc-4.4.1-20090817/obj-i586-suse-linux/i586-suse-linux/libstdc++-v3/include/bits/basic_string.tcc:427
#16 0xb625745a in _M_dispose (__a=..., this=<value optimized out>) at /usr/src/debug/gcc-4.4.1-20090817/obj-i586-suse-linux/i586-suse-linux/libstdc++-v3/include/bits/basic_string.h:231
#17 std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string (__a=..., this=<value optimized out>)
    at /usr/src/debug/gcc-4.4.1-20090817/obj-i586-suse-linux/i586-suse-linux/libstdc++-v3/include/bits/basic_string.h:498
#18 0xb608d111 in __run_exit_handlers (status=0, listp=0xb61bb324, run_list_atexit=true) at exit.c:78
#19 0xb608d16d in exit (status=0) at exit.c:100
#20 0x0804dfbf in launch (argc=5, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x80999fc "DISPLAY=:0.0", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=
    0x8099a0d "Laptop;1272268182;199661;2565_TIME9296441") at /usr/src/debug/kdelibs-4.4.73svn1117443/kinit/kinit.cpp:722
#21 0x0804ec57 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.73svn1117443/kinit/kinit.cpp:1214
#22 0x0804f0a4 in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.4.73svn1117443/kinit/kinit.cpp:1407
#23 0x0804fe57 in main (argc=4, argv=0xbf90cca4, envp=0xbf90ccb8) at /usr/src/debug/kdelibs-4.4.73svn1117443/kinit/kinit.cpp:1855

Possible duplicates by query: bug 235210, bug 234977, bug 232970, bug 232041, bug 230481.

Reported using DrKonqi
Comment 1 tiago schuster 2010-04-27 05:20:16 UTC
Created attachment 43057 [details]
New crash information added by DrKonqi

dolphin (1.4) on KDE Platform 4.4.73 (KDE 4.4.73 (KDE 4.5 >= 20100422)) "release 2" using Qt 4.6.3

- Custom settings of the application:  The last folder opened was a video folder with MPLAYER previews.

-- Backtrace (Reduced):
#18 0x0804dfbf in launch (argc=5, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x80962e4 "DISPLAY=:0.0", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x80962f5 "linux-zzn7;1272335468;657942;3235_TIME2134630") at /usr/src/debug/kdelibs-4.4.73svn1117443/kinit/kinit.cpp:722
#19 0x0804ec57 in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.73svn1117443/kinit/kinit.cpp:1214
#20 0x0804f0a4 in handle_requests (waitForPid=<value optimized out>) at /usr/src/debug/kdelibs-4.4.73svn1117443/kinit/kinit.cpp:1407
#21 0x0804fe57 in main (argc=4, argv=0xbfe32504, envp=0xbfe32518) at /usr/src/debug/kdelibs-4.4.73svn1117443/kinit/kinit.cpp:1855
Comment 2 Christoph Feck 2010-06-26 02:40:37 UTC
The issue is that Strigi uses std::basic_string, and this somewhere installs a global exit delete handler, which causes Dolphin to crash on exit. Not sure if this is a Strigi bug, or a libstdc++ bug, because calling delete on 0 ptr should not crash (see #13 0xb6279f4f in operator delete (ptr=0x0))
Comment 3 Christoph Feck 2010-06-26 02:41:19 UTC
*** Bug 241631 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2010-06-26 02:41:40 UTC
*** Bug 241475 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2010-06-26 02:41:56 UTC
*** Bug 240197 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2010-06-26 02:42:40 UTC
*** Bug 232602 has been marked as a duplicate of this bug. ***
Comment 7 S. Burmeister 2010-06-27 15:24:25 UTC
Still the same with the .86 snapshots.
Comment 8 Unknown 2010-06-28 14:11:22 UTC
Created attachment 48413 [details]
New crash information added by DrKonqi

dolphin (1.5) on KDE Platform 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)) "release 2" using Qt 4.6.3

- What I was doing when the application crashed:

Still occurs in RC 1. I closed the Dolphin and then crashed.

-- Backtrace (Reduced):
#13 0x0000000000407a1f in launch (argc=5, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=40, envs=<value optimized out>, reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x673721 "szotsaki;1277723873;391148;11381_TIME20948889") at /usr/src/debug/kdelibs-4.4.90/kinit/kinit.cpp:723
#14 0x00000000004086d0 in handle_launcher_request (sock=7, who=<value optimized out>) at /usr/src/debug/kdelibs-4.4.90/kinit/kinit.cpp:1215
#15 0x0000000000408b81 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.4.90/kinit/kinit.cpp:1408
#16 0x0000000000409852 in main (argc=2, argv=<value optimized out>, envp=<value optimized out>) at /usr/src/debug/kdelibs-4.4.90/kinit/kinit.cpp:1892
Comment 9 Rolf Eike Beer 2010-07-10 20:27:04 UTC
*** Bug 243052 has been marked as a duplicate of this bug. ***
Comment 10 Rolf Eike Beer 2010-07-10 20:28:55 UTC
I still have it in RC2 (openSuSE RPMs, 32 bit).
Comment 11 Nick Shaforostoff 2010-07-15 12:37:55 UTC
*** Bug 238412 has been marked as a duplicate of this bug. ***
Comment 12 Johannes Obermayr 2010-10-21 20:22:49 UTC
Is it still valid for anyone?

On my systems (openSUSE_11.3 based) only Bug 238412 (Lokalize) is valid (4.5.2 and 4.5.73).

If not we should close this bug and reopen Bug 238412.
Comment 13 Rolf Eike Beer 2010-10-21 20:37:45 UTC
I have not seen any Dolphin crashes lately.
Comment 14 Peter Penz 2010-10-21 21:10:25 UTC
Closing this based on comment #12 and comment #13. I did not face an issue like bug 238412, so I cannot judge whether that bug should be reopened.
Comment 15 Angel Blue01 2010-10-21 22:44:56 UTC
I'm still encountering it in KDE "4.5.6" on openSUSE 11.2
Comment 16 Peter Penz 2010-10-21 22:53:22 UTC
@Angel Blue01: There is no KDE version 4.5.6 - do you probably mean 4.5.2?
Comment 17 Dario Andres 2010-11-27 22:28:08 UTC
[Comment from a bug triager]
Just to separate the cases until we are sure it is the same issue, I have created a new main bug report for this kind of crashes at bug 257944. Bug 254249 seems to be related to Strigi > 0.7.2 (as downgrading to that version fixed the crash on exit).
Additionally, bug 257909 looks related but under a different situation.
May be this report is the same as the crashes above and it should be reopened and merged.. that needs to be investigated
Regards
Comment 18 Christoph Feck 2011-01-09 04:19:15 UTC

*** This bug has been marked as a duplicate of bug 257944 ***