Bug 251149

Summary: Dolphin crashes when closing only after scrolling through folders contents and having Information panel enabled
Product: [Applications] dolphin Reporter: N.M <IcarianHeights>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: crash CC: markg85
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description N.M 2010-09-13 21:32:39 UTC
Application: dolphin (1.5.9)
KDE Platform Version: 4.5.67 (4.6 >= 20100901) "release 3"
Qt Version: 4.7.0
Operating System: Linux 2.6.34.4-0.1-default x86_64
Distribution: "openSUSE 11.3 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:

After opening Dolphin (dolphin-4.5.67svn1173879-2.1.x86_64) to browse a folder's content, dolphin will crash when trying to close the application. 

It only happens when I have the "Information Panel" enabled AND I scroll through any folder's contents causing the Information Panel's contents/preview to change. 

Everytime these conditions are met Dolphin will crash when trying to close it and generate the error report I am submitting here. 

My versions:
opensuse 11.3 x86_64
Qt: 4.7.0
KDE Development Platform: 4.5.67 (4.6 >= 20100901) "release 3"

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Aborted
[KCrash Handler]
#6  0x00007fd3b40329e5 in raise () from /lib64/libc.so.6
#7  0x00007fd3b4033ee6 in abort () from /lib64/libc.so.6
#8  0x00007fd3b406dc53 in __libc_message () from /lib64/libc.so.6
#9  0x00007fd3b4073226 in malloc_printerr () from /lib64/libc.so.6
#10 0x00007fd3b4400eb9 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string() () from /usr/lib64/libstdc++.so.6
#11 0x00007fd3b40354e1 in __run_exit_handlers () from /lib64/libc.so.6
#12 0x00007fd3b4035535 in exit () from /lib64/libc.so.6
#13 0x0000000000407140 in _start ()

Possible duplicates by query: bug 251061, bug 251058, bug 251032, bug 251017, bug 250930.

Reported using DrKonqi
Comment 1 Mark 2010-09-15 22:51:10 UTC
Can you try to reproduce this with a current svn version (or the latest stable kde)?

since the backtrace is all in libc.. kinda out of the kde scope..
Comment 2 N.M 2010-09-16 00:07:13 UTC
(In reply to comment #1)
> Can you try to reproduce this with a current svn version (or the latest stable
> kde)?
> 
> since the backtrace is all in libc.. kinda out of the kde scope..

Ahh I see, backtrace all in libc, makes sense it wouldn't be a KDE issue, sorry. 

I can STILL reproduce this error with the latest SVN (Dolphin 1.5.9 Using KDE Development Platform 4.5.68 (4.6 >= 20100912) "release 4") but it is the exact same backtrace, again showing only libc errors. 

Don't know what the next step would be (as far as reporting potential bug/issue).
Comment 3 N.M 2010-09-16 00:12:51 UTC
(In reply to comment #1)
> Can you try to reproduce this with a current svn version (or the latest stable
> kde)?
> 
> since the backtrace is all in libc.. kinda out of the kde scope..

I did run dolhpin from CLI and reproduced the steps to create the error (scroll through folders contents, with Information Panel enabled, changing the information panel's preview contents) and then close dolphin.  And this is what I got: (pastebin link and pasted contents)

http://pastebin.com/ZD3bYMx4

icarus@linux-xjxa:~> dolphin
icarus@linux-xjxa:~> QStringList Solid::Backends::KUPnP::KUPnPManager::findDeviceByDeviceInterface(Solid::DeviceInterface::Type)  error:  "org.freedesktop.DBus.Error.ServiceUnknown" 

QStringList Solid::Backends::KUPnP::KUPnPManager::findDeviceByDeviceInterface(Solid::DeviceInterface::Type)  error:  "org.freedesktop.DBus.Error.ServiceUnknown" 

QStringList Solid::Backends::KUPnP::KUPnPManager::findDeviceByDeviceInterface(Solid::DeviceInterface::Type)  error:  "org.freedesktop.DBus.Error.ServiceUnknown" 

QPixmap::scaled: Pixmap is a null pixmap
*** glibc detected *** dolphin: free(): invalid pointer: 0x0000000000d4f7a0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x73226)[0x7fd5a9ca8226]
/usr/lib64/libstdc++.so.6(_ZNSsD1Ev+0x39)[0x7fd5a5d84eb9]
/lib64/libc.so.6(+0x354e1)[0x7fd5a9c6a4e1]
/lib64/libc.so.6(+0x35535)[0x7fd5a9c6a535]
/lib64/libc.so.6(__libc_start_main+0x104)[0x7fd5a9c53b84]
dolphin[0x400699]
======= Memory map: ========
00400000-00401000 r-xp 00000000 08:08 2105193                            /usr/bin/dolphin
00600000-00601000 r--p 00000000 08:08 2105193                            /usr/bin/dolphin
00601000-00602000 rw-p 00001000 08:08 2105193                            /usr/bin/dolphin
00602000-00e07000 rw-p 00000000 00:00 0                                  [heap]
7fd591456000-7fd591457000 r-xp 00000000 08:08 2888754                    /usr/lib64/strigi/strigita_wav.so
7fd591457000-7fd591656000 ---p 00001000 08:08 2888754                    /usr/lib64/strigi/strigita_wav.so
7fd591656000-7fd591657000 r--p 00000000 08:08 2888754                    /usr/lib64/strigi/strigita_wav.so
7fd591657000-7fd591658000 rw-p 00001000 08:08 2888754                    /usr/lib64/strigi/strigita_wav.so
7fd591658000-7fd59165f000 r-xp 00000000 08:08 2888815                    /usr/lib64/strigi/strigita_mp4.so
7fd59165f000-7fd59185f000 ---p 00007000 08:08 2888815                    /usr/lib64/strigi/strigita_mp4.so
7fd59185f000-7fd591860000 r--p 00007000 08:08 2888815                    /usr/lib64/strigi/strigita_mp4.so
7fd591860000-7fd591861000 rw-p 00008000 08:08 2888815                    /usr/lib64/strigi/strigita_mp4.so
7fd591861000-7fd591888000 r-xp 00000000 08:08 2888740                    /usr/lib64/strigi/strigiea_riff.so
7fd591888000-7fd591a88000 ---p 00027000 08:08 2888740                    /usr/lib64/strigi/strigiea_riff.so
7fd591a88000-7fd591a89000 r--p 00027000 08:08 2888740                    /usr/lib64/strigi/strigiea_riff.so
7fd591a89000-7fd591a8a000 rw-p 00028000 08:08 2888740                    /usr/lib64/strigi/strigiea_riff.so
7fd591a8a000-7fd591a8d000 r-xp 00000000 08:08 2893597                    /usr/lib64/strigi/strigiea_tiff.so
7fd591a8d000-7fd591c8d000 ---p 00003000 08:08 2893597                    /usr/lib64/strigi/strigiea_tiff.so
7fd591c8d000-7fd591c8e000 r--p 00003000 08:08 2893597                    /usr/lib64/strigi/strigiea_tiff.so
7fd591c8e000-7fd591c8f000 rw-p 00004000 08:08 2893597                    /usr/lib64/strigi/strigiea_tiff.so
7fd591c8f000-7fd591cb4000 r-xp 00000000 08:08 2888749                    /usr/lib64/strigi/strigita_gif.so
7fd591cb4000-7fd591eb4000 ---p 00025000 08:08 2888749                    /usr/lib64/strigi/strigita_gif.so
7fd591eb4000-7fd591eb5000 r--p 00025000 08:08 2888749                    /usr/lib64/strigi/strigita_gif.so
7fd591eb5000-7fd591eb6000 rw-p 00026000 08:08 2888749                    /usr/lib64/strigi/strigita_gif.so
7fd591eb6000-7fd591edc000 r-xp 00000000 08:08 2888745                    /usr/lib64/strigi/strigila_xpm.so
7fd591edc000-7fd5920dc000 ---p 00026000 08:08 2888745                    /usr/lib64/strigi/strigila_xpm.so
7fd5920dc000-7fd5920dd000 r--p 00026000 08:08 2888745                    /usr/lib64/strigi/strigila_xpm.so
7fd5920dd000-7fd5920de000 rw-p 00027000 08:08 2888745                    /usr/lib64/strigi/strigila_xpm.so
7fd5920de000-7fd5920f4000 r-xp 00000000 08:08 2364047                    /usr/lib64/libicalss.so.0.44.0
7fd5920f4000-7fd5922f4000 ---p 00016000 08:08 2364047                    /usr/lib64/libicalss.so.0.44.0
7fd5922f4000-7fd5922f5000 r--p 00016000 08:08 2364047                    /usr/lib64/libicalss.so.0.44.0
7fd5922f5000-7fd5922f6000 rw-p 00017000 08:08 2364047                    /usr/lib64/libicalss.so.0.44.0
7fd5922f6000-7fd5922f8000 rw-p 00000000 00:00 0 
7fd5922f8000-7fd59234d000 r-xp 00000000 08:08 2364045                    /usr/lib64/libical.so.0.44.0
7fd59234d000-7fd59254d000 ---p 00055000 08:08 2364045                    /usr/lib64/libical.so.0.44.0
7fd59254d000-7fd592557000 r--p 00055000 08:08 2364045                    /usr/lib64/libical.so.0.44.0
7fd592557000-7fd592559000 rw-p 0005f000 08:08 2364045                    /usr/lib64/libical.so.0.44.0
7fd592559000-7fd59255a000 rw-p 00000000 00:00 0 
7fd59255a000-7fd59260d000 r-xp 00000000 08:08 2367555                    /usr/lib64/libkcalcore.so.4.6.0
7fd59260d000-7fd59280c000 ---p 000b3000 08:08 2367555                    /usr/lib64/libkcalcore.so.4.6.0
7fd59280c000-7fd592810000 r--p 000b2000 08:08 2367555                    /usr/lib64/libkcalcore.so.4.6.0
7fd592810000-7fd592812000 rw-p 000b6000 08:08 2367555                    /usr/lib64/libkcalcore.so.4.6.0
7fd592812000-7fd592817000 r-xp 00000000 08:08 2892674                    /usr/lib64/strigi/strigiea_ics.so
7fd592817000-7fd592a16000 ---p 00005000 08:08 2892674                    /usr/lib64/strigi/strigiea_ics.so
7fd592a16000-7fd592a17000 r--p 00004000 08:08 2892674                    /usr/lib64/strigi/strigiea_ics.so
7fd592a17000-7fd592a18000 rw-p 00005000 08:08 2892674                    /usr/lib64/strigi/strigiea_ics.so
7fd592a18000-7fd592a3e000 r-xp 00000000 08:08 2888744                    /usr/lib64/strigi/strigila_txt.so
7fd592a3e000-7fd592c3e000 ---p 00026000 08:08 2888744                    /usr/lib64/strigi/strigila_txt.so
7fd592c3e000-7fd592c3f000 r--p 00026000 08:08 2888744                    /usr/lib64/strigi/strigila_txt.so
7fd592c3f000-7fd592c40000 rw-p 00027000 08:08 2888744                    /usr/lib64/strigi/strigila_txt.so
7fd592c40000-7fd592c62000 r-xp 00000000 08:08 2367726                    /usr/lib64/libkresources.so.4.6.0
7fd592c62000-7fd592e62000 ---p 00022000 08:08 2367726                    /usr/lib64/libkresources.so.4.6.0
7fd592e62000-7fd592e64000 r--p 00022000 08:08 2367726                    /usr/lib64/libkresources.so.4.6.0
7fd592e64000-7fd592e65000 rw-p 00024000 08:08 2367726                    /usr/lib64/libkresources.so.4.6.0
7fd592e65000-7fd592ef4000 r-xp 00000000 08:08 2365726                    /usr/lib64/libkabc.so.4.6.0
7fd592ef4000-7fd5930f3000 ---p 0008f000 08:08 2365726                    /usr/lib64/libkabc.so.4.6.0
7fd5930f3000-7fd5930f6000 r--p 0008e000 08:08 2365726                    /usr/lib64/libkabc.so.4.6.0
7fd5930f6000-7fd5930f7000 rw-p 00091000 08:08 2365726                    /usr/lib64/libkabc.so.4.6.0
7fd5930f7000-7fd5930fe000 r-xp 00000000 08:08 2892675                    /usr/lib64/strigi/strigiea_vcf.soKCrash: Application 'dolphin' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/icarus/.kde4/socket-linux-xjxa/kdeinit4__0
Comment 4 Mark 2010-09-16 00:24:10 UTC
That's not a very helpful backtrace as well.
Can you install (or in this case compile with) debugging symbols then try it through gdb. Here are the comments for that:

NOTE : make sure you have NO other dolphin running before you start with the gdb commands. Or run "killall dolphin"

# gdb dolphin
# r --nofork
-- do your thing to get it crashing --
# {perhaps a CTRL + C)
# thread apply all bt

and post the output.
Comment 5 Peter Penz 2010-10-11 16:34:35 UTC
Setting to "waitingforinfo" (http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports provides some good hints to provide a useful backtrace)
Comment 6 Christoph Feck 2011-01-09 04:16:47 UTC

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