Bug 359379

Summary: Dolphin crashes with segfault on startup
Product: [Applications] dolphin Reporter: dark_aengel
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: elvis.angelaccio, frank78ac, mail
Priority: NOR Keywords: drkonqi
Version First Reported In: 4.14.2   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description dark_aengel 2016-02-14 08:30:37 UTC
Application: dolphin (4.14.2)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.19.0-32-generic x86_64
Distribution: Linux Mint 17.3 Rosa

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

opening Dolphin both via terminal and icon and both gave me the Segmentation Fault (11) error

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f4e54e2f7c0 (LWP 3095))]

Thread 4 (Thread 0x7f4e377c7700 (LWP 3096)):
#0  __GI___pthread_mutex_lock (mutex=0x7f4e30000a60) at ../nptl/pthread_mutex_lock.c:83
#1  0x00007f4e4b982981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4e4b940a6c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4e4b940f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4e4b9410ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4e507587be in QEventDispatcherGlib::processEvents (this=0x7f4e300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f4e5072a0af in QEventLoop::processEvents (this=this@entry=0x7f4e377c6de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4e5072a3a5 in QEventLoop::exec (this=this@entry=0x7f4e377c6de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4e50626c5f in QThread::exec (this=this@entry=0xd66180) at thread/qthread.cpp:537
#9  0x00007f4e5070b823 in QInotifyFileSystemWatcherEngine::run (this=0xd66180) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f4e5062932f in QThreadPrivate::start (arg=0xd66180) at thread/qthread_unix.cpp:349
#11 0x00007f4e4be20182 in start_thread (arg=0x7f4e377c7700) at pthread_create.c:312
#12 0x00007f4e546f747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f4e36fc6700 (LWP 3097)):
#0  0x00007f4e4b98261a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4e4b9829a9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4e4b940a59 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4e4b940f7b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4e4b9410ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4e507587be in QEventDispatcherGlib::processEvents (this=0x7f4e280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f4e5072a0af in QEventLoop::processEvents (this=this@entry=0x7f4e36fc5e20, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4e5072a3a5 in QEventLoop::exec (this=this@entry=0x7f4e36fc5e20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4e50626c5f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:537
#9  0x00007f4e5062932f in QThreadPrivate::start (arg=0xe51120) at thread/qthread_unix.cpp:349
#10 0x00007f4e4be20182 in start_thread (arg=0x7f4e36fc6700) at pthread_create.c:312
#11 0x00007f4e546f747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f4e3614d700 (LWP 3098)):
#0  0x00007f4e4b98261a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4e4b982979 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4e4b940699 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4e4b940f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4e4b9410ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4e507587be in QEventDispatcherGlib::processEvents (this=0x7f4e2c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f4e5072a0af in QEventLoop::processEvents (this=this@entry=0x7f4e3614cde0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4e5072a3a5 in QEventLoop::exec (this=this@entry=0x7f4e3614cde0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4e50626c5f in QThread::exec (this=this@entry=0x1175400) at thread/qthread.cpp:537
#9  0x00007f4e5070b823 in QInotifyFileSystemWatcherEngine::run (this=0x1175400) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f4e5062932f in QThreadPrivate::start (arg=0x1175400) at thread/qthread_unix.cpp:349
#11 0x00007f4e4be20182 in start_thread (arg=0x7f4e3614d700) at pthread_create.c:312
#12 0x00007f4e546f747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f4e54e2f7c0 (LWP 3095)):
[KCrash Handler]
#6  operator int (this=<error reading variable: Cannot access memory at address 0x8>) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2334
#7  QIODevice::isOpen (this=this@entry=0x0) at io/qiodevice.cpp:508
#8  0x00007f4e39451276 in RGBPlugin::capabilities (this=this@entry=0xd30360, device=device@entry=0x0, format=...) at ../../kimgio/rgb.cpp:622
#9  0x00007f4e511e0dc1 in QImageReader::supportedImageFormats () at image/qimagereader.cpp:1507
#10 0x00007f4e5112fa2c in imageReadMimeFormats () at kernel/qdnd.cpp:295
#11 0x00007f4e5112fe46 in QInternalMimeData::formats (this=<optimized out>) at kernel/qdnd.cpp:355
#12 0x00007f4e5119d2da in QClipboardWatcher::hasFormat_sys (this=<optimized out>, format=...) at kernel/qclipboard_x11.cpp:1241
#13 0x00007f4e5112fca6 in QInternalMimeData::hasFormat (this=this@entry=0xe475e0, mimeType=...) at kernel/qdnd.cpp:340
#14 0x00007f4e50739cf6 in QMimeData::hasText (this=this@entry=0xe475e0) at kernel/qmimedata.cpp:388
#15 0x00007f4e525f852e in KIO::canPasteMimeSource (data=data@entry=0xe475e0) at ../../kio/kio/paste.cpp:275
#16 0x00007f4e53cb0547 in KonqOperations::pasteInfo (targetUrl=...) at ../../../lib/konq/konq_operations.cpp:1039
#17 0x00007f4e53a4492c in DolphinView::pasteInfo (this=<optimized out>) at ../../../dolphin/src/views/dolphinview.cpp:1150
#18 0x00007f4e549ff673 in DolphinMainWindow::updatePasteAction (this=this@entry=0xdcf0e0) at ../../../dolphin/src/dolphinmainwindow.cpp:662
#19 0x00007f4e54a08a56 in DolphinMainWindow::setActiveViewContainer (this=this@entry=0xdcf0e0, viewContainer=<optimized out>) at ../../../dolphin/src/dolphinmainwindow.cpp:1266
#20 0x00007f4e54a08bfd in DolphinMainWindow::setActiveTab (this=0xdcf0e0, index=<optimized out>) at ../../../dolphin/src/dolphinmainwindow.cpp:917
#21 0x00007f4e54a08c54 in setActiveTab (index=<optimized out>, this=<optimized out>) at ../../../dolphin/src/dolphinmainwindow.cpp:436
#22 DolphinMainWindow::openNewActivatedTab (this=<optimized out>, primaryUrl=..., secondaryUrl=...) at ../../../dolphin/src/dolphinmainwindow.cpp:435
#23 0x00007f4e549fe0fa in DolphinApplication::DolphinApplication (this=0x7fff023c7b30) at ../../../dolphin/src/dolphinapplication.cpp:75
#24 0x00007f4e54a123ce in kdemain (argc=5, argv=0x7fff023c7c68) at ../../../dolphin/src/main.cpp:89
#25 0x00007f4e5461eec5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=5, argv=0x7fff023c7c68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff023c7c58) at libc-start.c:287
#26 0x00000000004006fe in _start ()

Reported using DrKonqi
Comment 1 Frank Reininghaus 2016-02-15 19:17:55 UTC
It seems that some code in QImageReader is confused by the clipboard contents. Could you try to copy some text from a text editor to the clipboard (just select text and press Ctrl+C) and check if that helps?

You are using rather outdated software, by the way, so the easiest way to fix the problem might be to upgrade to something more recent.
Comment 2 Elvis Angelaccio 2016-12-25 14:06:29 UTC
Closing for lack of feedback.
Comment 3 Julian Steinmann 2018-04-02 11:13:08 UTC
Closing now.