Bug 304992

Summary: gwenview crashes when viewing files over smb
Product: [Applications] gwenview Reporter: illumilore <illumilore>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: 2.9.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description illumilore 2012-08-11 21:16:30 UTC
Application: gwenview (2.9.0)
KDE Platform Version: 4.9.00
Qt Version: 4.8.1
Operating System: Linux 3.5.0-030500rc6-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: when opening files up over smb, when hitting next, gwenview will always crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fea1066e7c0 (LWP 5317))]

Thread 3 (Thread 0x7fe9f9755700 (LWP 5415)):
#0  0x00007fea097dbfe9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fea097dc164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fea0f4b5426 in QEventDispatcherGlib::processEvents (this=0x7fe9f40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#3  0x00007fea0f484c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007fea0f484ed7 in QEventLoop::exec (this=0x7fe9f9754cd0, flags=...) at kernel/qeventloop.cpp:204
#5  0x00007fea0f383fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#6  0x00007fea0f4649ff in QInotifyFileSystemWatcherEngine::run (this=0x271e740) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007fea0f386fcb in QThreadPrivate::start (arg=0x271e740) at thread/qthread_unix.cpp:298
#8  0x00007fea0685b4d4 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007fea09e9ce9a in start_thread (arg=0x7fe9f9755700) at pthread_create.c:308
#10 0x00007fea0d0374bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe9f3fff700 (LWP 5416)):
#0  0x00007fffa9fff60c in ?? ()
#1  0x00007fffa9fff8a4 in clock_gettime ()
#2  0x00007fea09a8d15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#3  0x00007fea0f3ddbb4 in do_gettime (frac=0x7fe9f3ffea98, sec=0x7fe9f3ffea90) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007fea0f4b5b8d in QTimerInfoList::updateCurrentTime (this=0x7fe9ec002660) at kernel/qeventdispatcher_unix.cpp:343
#6  0x00007fea0f4b5ec3 in QTimerInfoList::timerWait (this=0x7fe9ec002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#7  0x00007fea0f4b497c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fe9f3ffeb6c) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007fea0f4b4a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007fea097db846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fea097dbf5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fea097dc164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fea0f4b5426 in QEventDispatcherGlib::processEvents (this=0x7fe9ec0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#13 0x00007fea0f484c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fea0f484ed7 in QEventLoop::exec (this=0x7fe9f3ffecd0, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007fea0f383fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#16 0x00007fea0f4649ff in QInotifyFileSystemWatcherEngine::run (this=0x2a741b0) at io/qfilesystemwatcher_inotify.cpp:248
#17 0x00007fea0f386fcb in QThreadPrivate::start (arg=0x2a741b0) at thread/qthread_unix.cpp:298
#18 0x00007fea0685b4d4 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#19 0x00007fea09e9ce9a in start_thread (arg=0x7fe9f3fff700) at pthread_create.c:308
#20 0x00007fea0d0374bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#21 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fea1066e7c0 (LWP 5317)):
[KCrash Handler]
#6  KSharedPtr (o=..., this=0x7fffa9f5d950) at /usr/include/ksharedptr.h:84
#7  Gwenview::DocumentView::document (this=0x32c6920) at ../../lib/documentview/documentview.cpp:658
#8  0x000000000043017e in Gwenview::ViewMainPage::currentDocument (this=0x2a45c20) at ../../app/viewmainpage.cpp:571
#9  0x00000000004301b0 in Gwenview::ViewMainPage::isEmpty (this=<optimized out>) at ../../app/viewmainpage.cpp:576
#10 0x000000000044b2da in currentUrl (this=0x26bc630) at ../../app/mainwindow.cpp:728
#11 currentIndex (this=0x26bc630) at ../../app/mainwindow.cpp:581
#12 Gwenview::MainWindow::updatePreviousNextActions (this=0x26bdf60) at ../../app/mainwindow.cpp:1282
#13 0x000000000044b3fb in Gwenview::MainWindow::slotDirModelNewItems (this=0x26bdf60) at ../../app/mainwindow.cpp:1229
#14 0x00007fea0f49a281 in QMetaObject::activate (sender=0x26a2290, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa9f5dc10) at kernel/qobject.cpp:3547
#15 0x00007fea0f4e6644 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=2836, _t3=2836) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#16 0x00007fea0f48002d in QAbstractItemModel::endInsertRows (this=0x26a2290) at kernel/qabstractitemmodel.cpp:2433
#17 0x00007fea0e253cf7 in QSortFilterProxyModelPrivate::insert_source_items (this=0x26a82e0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:695
#18 0x00007fea0e257e33 in QSortFilterProxyModelPrivate::source_items_inserted (this=0x26a82e0, source_parent=..., start=<optimized out>, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#19 0x00007fea0e25814f in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x26a82e0, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1280
#20 0x00007fea0f49a281 in QMetaObject::activate (sender=0x26ad350, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa9f5df70) at kernel/qobject.cpp:3547
#21 0x00007fea0f4e6644 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=2839, _t3=3000) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#22 0x00007fea0f48002d in QAbstractItemModel::endInsertRows (this=0x26ad350) at kernel/qabstractitemmodel.cpp:2433
#23 0x00007fea0fb370e5 in KDirModelPrivate::_k_slotNewItems (this=0x2685fe0, directoryUrl=..., items=...) at ../../kio/kio/kdirmodel.cpp:441
#24 0x00007fea0f49a281 in QMetaObject::activate (sender=0x26ad570, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa9f5e510) at kernel/qobject.cpp:3547
#25 0x00007fea0fb1df9a in KDirLister::itemsAdded (this=<optimized out>, _t1=..., _t2=...) at ./kdirlister.moc:288
#26 0x00007fea0fb1e4c1 in KDirLister::Private::emitItems (this=0x26848c0) at ../../kio/kio/kdirlister.cpp:2478
#27 0x00007fea0fb23b76 in KDirListerCache::slotEntries (this=0x26a11d0, job=<optimized out>, entries=...) at ../../kio/kio/kdirlister.cpp:1233
#28 0x00007fea0f49a281 in QMetaObject::activate (sender=0x2d6d500, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa9f5e950) at kernel/qobject.cpp:3547
#29 0x00007fea0fb07924 in KIO::ListJob::entries (this=<optimized out>, _t1=0x2d6d500, _t2=...) at ./jobclasses.moc:965
#30 0x00007fea0fb0cbfb in KIO::ListJobPrivate::slotListEntries (this=0x2cfb960, list=...) at ../../kio/kio/job.cpp:2580
#31 0x00007fea0f49a281 in QMetaObject::activate (sender=0x2b93ad0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa9f5ec40) at kernel/qobject.cpp:3547
#32 0x00007fea0fbae9d5 in KIO::SlaveInterface::listEntries (this=<optimized out>, _t1=...) at ./slaveinterface.moc:199
#33 0x00007fea0fbb1c58 in KIO::SlaveInterface::dispatch (this=0x2b93ad0, _cmd=<optimized out>, rawdata=...) at ../../kio/kio/slaveinterface.cpp:190
#34 0x00007fea0fbae195 in KIO::SlaveInterface::dispatch (this=0x2b93ad0) at ../../kio/kio/slaveinterface.cpp:88
#35 0x00007fea0fba141e in KIO::Slave::gotInput (this=0x2b93ad0) at ../../kio/kio/slave.cpp:344
#36 0x00007fea0f49a281 in QMetaObject::activate (sender=0x2b69440, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#37 0x00007fea0fad3687 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#38 KIO::ConnectionPrivate::dequeue (this=0x2c34d20) at ../../kio/kio/connection.cpp:71
#39 0x00007fea0f49f446 in QObject::event (this=0x2b69440, e=<optimized out>) at kernel/qobject.cpp:1195
#40 0x00007fea0dca5894 in notify_helper (e=0x30837d0, receiver=0x2b69440, this=0x2511250) at kernel/qapplication.cpp:4559
#41 QApplicationPrivate::notify_helper (this=0x2511250, receiver=0x2b69440, e=0x30837d0) at kernel/qapplication.cpp:4531
#42 0x00007fea0dcaa713 in QApplication::notify (this=0x7fffa9f5fa80, receiver=0x2b69440, e=0x30837d0) at kernel/qapplication.cpp:4420
#43 0x00007fea0e9df456 in KApplication::notify (this=0x7fffa9f5fa80, receiver=0x2b69440, event=0x30837d0) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007fea0f485e9c in QCoreApplication::notifyInternal (this=0x7fffa9f5fa80, receiver=0x2b69440, event=0x30837d0) at kernel/qcoreapplication.cpp:876
#45 0x00007fea0f489c6a in sendEvent (event=0x30837d0, receiver=0x2b69440) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x24ad2b0) at kernel/qcoreapplication.cpp:1500
#47 0x00007fea0f4b4f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#48 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#49 0x00007fea097dbd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fea097dc0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fea097dc164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007fea0f4b53bf in QEventDispatcherGlib::processEvents (this=0x24ae770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#53 0x00007fea0dd4dd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007fea0f484c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007fea0f484ed7 in QEventLoop::exec (this=0x7fffa9f5f9e0, flags=...) at kernel/qeventloop.cpp:204
#56 0x00007fea0f489f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#57 0x0000000000427245 in main (argc=6, argv=0x7fffa9f5fda8) at ../../app/main.cpp:142

Possible duplicates by query: bug 303273, bug 302897.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-08-12 00:48:58 UTC

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