Bug 292367 - gwenview crashed when trying to display video
Summary: gwenview crashed when trying to display video
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 302054 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-25 04:45 UTC by Leon Maurer
Modified: 2017-09-08 21:50 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leon Maurer 2012-01-25 04:45:39 UTC
Application: gwenview (2.7.4)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

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

I was moving through photos in the thumbnail bar at the bottom of the screen, but when I selected a video there, gwenview crashed. gwenview was previously able to show these videos without any problems.

Let me also add that it took a very long time for gwenview to load in the first place; it took maybe 10 minutes from clicking on the picture to when gwenview actually opened. In that time, I installed and started using gnome's equivalent application...

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f1041afb780 (LWP 14471))]

Thread 4 (Thread 0x7f102f1c5700 (LWP 15667)):
#0  0x00007f103aecc414 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f10409acf3e in QEventDispatcherGlib::processEvents (this=0x14aace0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#2  0x00007f1040980cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#3  0x00007f1040980ef7 in QEventLoop::exec (this=0x7f102f1c4dd0, flags=...) at kernel/qeventloop.cpp:201
#4  0x00007f104089827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#5  0x00007f1040963cbf in QInotifyFileSystemWatcherEngine::run (this=0x1635b40) at io/qfilesystemwatcher_inotify.cpp:248
#6  0x00007f104089ad05 in QThreadPrivate::start (arg=0x1635b40) at thread/qthread_unix.cpp:331
#7  0x00007f103b795efc in start_thread (arg=0x7f102f1c5700) at pthread_create.c:304
#8  0x00007f103e55b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f102dc45700 (LWP 16008)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f104089b1ab in wait (time=18446744073709551615, this=0x145cbb0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x145c7d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f1041457d47 in Gwenview::SemanticInfoThread::run (this=0x145c7c0) at ../../lib/semanticinfo/nepomuksemanticinfobackend.cpp:135
#4  0x00007f104089ad05 in QThreadPrivate::start (arg=0x145c7c0) at thread/qthread_unix.cpp:331
#5  0x00007f103b795efc in start_thread (arg=0x7f102dc45700) at pthread_create.c:304
#6  0x00007f103e55b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f102e4dc700 (LWP 16022)):
#0  0x00007f103e54f773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f103aecbf68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f103aecc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f10409acf3e in QEventDispatcherGlib::processEvents (this=0x19e11f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f1040980cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1040980ef7 in QEventLoop::exec (this=0x7f102e4dbdd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f104089827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f1040963cbf in QInotifyFileSystemWatcherEngine::run (this=0x1e3fba0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f104089ad05 in QThreadPrivate::start (arg=0x1e3fba0) at thread/qthread_unix.cpp:331
#9  0x00007f103b795efc in start_thread (arg=0x7f102e4dc700) at pthread_create.c:304
#10 0x00007f103e55b89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1041afb780 (LWP 14471)):
[KCrash Handler]
#6  deref (this=0x7f103ab91bd8) at /usr/include/qt4/QtCore/qatomic_x86_64.h:133
#7  ~KSharedPtr (this=0x146f130, __in_chrg=<optimized out>) at ../../kdecore/util/ksharedptr.h:90
#8  ~ParsingData (this=0x146f130, __in_chrg=<optimized out>) at ../../kdecore/services/ktraderparse.cpp:40
#9  QThreadStorage<KTraderParse::ParsingData*>::deleteData (x=0x146f130) at /usr/include/qt4/QtCore/qthreadstorage.h:133
#10 0x00007f1040899107 in QThreadStorageData::set (this=0x1d98200, p=0x185ebf0) at thread/qthreadstorage.cpp:165
#11 0x00007f103ecacd32 in qThreadStorage_setLocalData<KTraderParse::ParsingData> (d=<optimized out>, t=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:92
#12 setLocalData (t=0x185ebf0, this=<optimized out>) at /usr/include/qt4/QtCore/qthreadstorage.h:148
#13 KTraderParse::parseConstraints (_constr=...) at ../../kdecore/services/ktraderparse.cpp:55
#14 0x00007f103ecac2a2 in applyConstraints (constraint=<optimized out>, lst=...) at ../../kdecore/services/kservicetypetrader.cpp:59
#15 KServiceTypeTrader::applyConstraints (lst=..., constraint=<optimized out>) at ../../kdecore/services/kservicetypetrader.cpp:53
#16 0x00007f103ecacb83 in KServiceTypeTrader::query (this=<optimized out>, serviceType=<optimized out>, constraint=...) at ../../kdecore/services/kservicetypetrader.cpp:153
#17 0x00007f102c839f48 in Phonon::KdePlatformPlugin::createBackend (this=0x2dfeb00) at ../../../phonon/platform_kde/kdeplatformplugin.cpp:184
#18 0x00007f103dafb2e7 in Phonon::FactoryPrivate::createBackend (this=0x1f029c0) at ../../phonon/factory.cpp:119
#19 0x00007f103dafc72f in Phonon::Factory::backend (createWhenNull=<optimized out>) at ../../phonon/factory.cpp:460
#20 0x00007f103dafd205 in Phonon::Factory::createVideoWidget (parent=0x1e1ead0) at ../../phonon/factory.cpp:358
#21 0x00007f103db25936 in createBackendObject (this=0x1f004b0) at ../../phonon/videowidget.cpp:78
#22 Phonon::VideoWidgetPrivate::createBackendObject (this=0x1f004b0) at ../../phonon/videowidget.cpp:73
#23 0x00007f103db248a4 in Phonon::VideoWidget::VideoWidget (this=0x1e1ead0, parent=<optimized out>) at ../../phonon/videowidget.cpp:48
#24 0x00007f104140fcb8 in Gwenview::VideoViewAdapter::VideoViewAdapter (this=0x1771760, parent=0x14fb0a0) at ../../lib/documentview/videoviewadapter.cpp:128
#25 0x00007f1041409826 in Gwenview::DocumentView::createAdapterForDocument (this=0x14fb0a0) at ../../lib/documentview/documentview.cpp:354
#26 0x00007f104140b711 in Gwenview::DocumentView::finishOpenUrl (this=0x14fb0a0) at ../../lib/documentview/documentview.cpp:405
#27 0x00007f104140bd80 in Gwenview::DocumentView::openUrl (this=0x14fb0a0, url=<optimized out>) at ../../lib/documentview/documentview.cpp:388
#28 0x000000000042fa79 in Gwenview::DocumentPanel::openUrls (this=0x1505460, urls=<optimized out>, currentUrl=...) at ../../app/documentpanel.cpp:638
#29 0x000000000044c70e in openSelectedDocuments (this=0x148c100) at ../../app/mainwindow.cpp:978
#30 Gwenview::MainWindow::openSelectedDocuments (this=0x148c100) at ../../app/mainwindow.cpp:949
#31 0x000000000044caf5 in Gwenview::MainWindow::slotSelectionChanged (this=0x148c100) at ../../app/mainwindow.cpp:1088
#32 0x000000000044d14f in Gwenview::MainWindow::qt_metacall (this=0x148c100, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff2e27f290) at ./mainwindow.moc:146
#33 0x00007f1040994eba in QMetaObject::activate (sender=0x162f090, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2e27f290) at kernel/qobject.cpp:3278
#34 0x00007f103f74ae97 in QItemSelectionModel::selectionChanged (this=<optimized out>, _t1=<optimized out>, _t2=<optimized out>) at .moc/release-shared/moc_qitemselectionmodel.cpp:152
#35 0x00007f103f750871 in QItemSelectionModel::emitSelectionChanged (this=0x162f090, newSelection=<optimized out>, oldSelection=<optimized out>) at itemviews/qitemselectionmodel.cpp:1594
#36 0x00007f103f751c1f in QItemSelectionModel::select (this=0x162f090, selection=<optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:1101
#37 0x00007f103f74cd2a in QItemSelectionModel::select (this=0x162f090, index=<optimized out>, command=...) at itemviews/qitemselectionmodel.cpp:976
#38 0x00007f103f74b107 in QItemSelectionModel::setCurrentIndex (this=0x162f090, index=..., command=<optimized out>) at itemviews/qitemselectionmodel.cpp:1168
#39 0x00007f103f6fa22c in QAbstractItemView::keyPressEvent (this=0x17f34b0, event=0x7fff2e2801b0) at itemviews/qabstractitemview.cpp:2280
#40 0x00007f1041446849 in Gwenview::ThumbnailView::keyPressEvent (this=0x17f34b0, event=0x7fff2e2801b0) at ../../lib/thumbnailview/thumbnailview.cpp:706
#41 0x00007f103f23cd1e in QWidget::event (this=0x17f34b0, event=0x7fff2e2801b0) at kernel/qwidget.cpp:8330
#42 0x00007f103f5e54f6 in QFrame::event (this=0x17f34b0, e=0x7fff2e2801b0) at widgets/qframe.cpp:557
#43 0x00007f103f66723b in QAbstractScrollArea::event (this=0x17f34b0, e=0x7fff2e2801b0) at widgets/qabstractscrollarea.cpp:996
#44 0x00007f103f6ffb5b in QAbstractItemView::event (this=0x17f34b0, event=0x7fff2e2801b0) at itemviews/qabstractitemview.cpp:1564
#45 0x00007f103f1ec424 in notify_helper (e=0x7fff2e2801b0, receiver=0x17f34b0, this=0x12fe7d0) at kernel/qapplication.cpp:4486
#46 QApplicationPrivate::notify_helper (this=0x12fe7d0, receiver=0x17f34b0, e=0x7fff2e2801b0) at kernel/qapplication.cpp:4458
#47 0x00007f103f1f1985 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7fff2e2801b0) at kernel/qapplication.cpp:3945
#48 0x00007f103ff00466 in KApplication::notify (this=0x7fff2e281060, receiver=0x17f34b0, event=0x7fff2e2801b0) at ../../kdeui/kernel/kapplication.cpp:311
#49 0x00007f1040981afc in QCoreApplication::notifyInternal (this=0x7fff2e281060, receiver=0x17f34b0, event=0x7fff2e2801b0) at kernel/qcoreapplication.cpp:787
#50 0x00007f103f28ff99 in QKeyMapper::sendKeyEvent (keyWidget=0x17f34b0, grab=<optimized out>, type=QEvent::KeyPress, code=16777236, modifiers=..., text=..., autorepeat=false, count=1, nativeScanCode=114, nativeVirtualKey=65363, nativeModifiers=16) at kernel/qkeymapper_x11.cpp:1866
#51 0x00007f103f29040b in QKeyMapperPrivate::translateKeyEvent (this=0x1342d10, keyWidget=0x17f34b0, event=0x7fff2e280bf0, grab=false) at kernel/qkeymapper_x11.cpp:1836
#52 0x00007f103f26b347 in QApplication::x11ProcessEvent (this=0x7fff2e281060, event=0x7fff2e280bf0) at kernel/qapplication_x11.cpp:3583
#53 0x00007f103f294412 in x11EventSourceDispatch (s=0x13029a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0x00007f103aecba5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f103aecc258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f103aecc429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f10409aced6 in QEventDispatcherGlib::processEvents (this=0x12dbcd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#58 0x00007f103f29407e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x00007f1040980cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#60 0x00007f1040980ef7 in QEventLoop::exec (this=0x7fff2e280fc0, flags=...) at kernel/qeventloop.cpp:201
#61 0x00007f1040985789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#62 0x0000000000423af5 in main (argc=6, argv=0x7fff2e281388) at ../../app/main.cpp:139

Reported using DrKonqi
Comment 1 Nilson Sales 2012-03-26 23:55:35 UTC
It happens also on Mariva 2011 with Gwenview 2.6.4. Everytime, when gwenview tries to open a video using the "next" buttom, it breaks and restart the session.
Comment 2 Shlomi Fish 2012-03-27 11:21:03 UTC
gwenview does not crash when viewing .flv or .mp4 video files on Mageia Linux 2/Cauldron with KDE-4.8.1. It does not display the visual parts of the videos, though (only plays the audio). I also recall a previous bug report about gwenview crashing when trying to view videos.
Comment 3 Jekyll Wu 2012-07-03 22:26:23 UTC
*** Bug 302054 has been marked as a duplicate of this bug. ***