Application: kphotoalbum (v5.6.1-333-g8f858c09) Qt Version: 5.14.2 Frameworks Version: 5.71.0 Operating System: Linux 5.3.0-61-generic x86_64 Windowing system: X11 Distribution: KDE neon User Edition 5.19 -- Information about the crash: I was scrolling through my list of pictures, the error might be related to the thumbnail creation. Might be related to #412409 but it's not the same bug because I'm using a version after the fix. I'm using commit 8f858c093199c4af8ed82ab59c198a8b472567e4 over a neon system. The crash can be reproduced sometimes. -- Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 0x0000562f72834990 in BackgroundJobs::HandleVideoThumbnailRequestJob::sendResult (this=this@entry=0x562f7f2ebed0, image=...) at /home/jjuvan/src/kphotoalbum/BackgroundJobs/HandleVideoThumbnailRequestJob.cpp:106 #5 0x0000562f72834ba3 in BackgroundJobs::HandleVideoThumbnailRequestJob::frameLoaded (this=this@entry=0x562f7f2ebed0, image=...) at /home/jjuvan/src/kphotoalbum/BackgroundJobs/HandleVideoThumbnailRequestJob.cpp:72 #6 0x0000562f728572b5 in BackgroundJobs::HandleVideoThumbnailRequestJob::qt_static_metacall (_o=0x562f7f2ebed0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/jjuvan/src/kphotoalbum/build/kphotoalbum_autogen/UHUIEV64BD/moc_HandleVideoThumbnailRequestJob.cpp:73 #7 0x00007fe32d6c44b9 in doActivate<false> (sender=0x562f7f024d80, signal_index=3, argv=0x7ffd769816a0) at kernel/qobject.cpp:3882 #8 0x00007fe32d6bef92 in QMetaObject::activate (sender=sender@entry=0x562f7f024d80, m=m@entry=0x562f72afaa20 <ImageManager::ExtractOneVideoFrame::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd769816a0) at kernel/qobject.cpp:3930 #9 0x0000562f7284d032 in ImageManager::ExtractOneVideoFrame::result (this=this@entry=0x562f7f024d80, _t1=...) at /home/jjuvan/src/kphotoalbum/build/kphotoalbum_autogen/NAEE7Z5ID4/moc_ExtractOneVideoFrame.cpp:144 #10 0x0000562f72766811 in ImageManager::ExtractOneVideoFrame::frameFetched (this=0x562f7f024d80) at /home/jjuvan/src/kphotoalbum/ImageManager/ExtractOneVideoFrame.cpp:98 #11 0x00007fe32d6c46d7 in QtPrivate::QSlotObjectBase::call (a=0x7ffd76981860, r=0x562f7f024d80, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #12 doActivate<false> (sender=0x562f7aa15a10, signal_index=11, argv=0x7ffd76981860) at kernel/qobject.cpp:3870 #13 0x00007fe32d6bef92 in QMetaObject::activate (sender=sender@entry=0x562f7aa15a10, m=m@entry=0x7fe32db557c0 <QProcess::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd76981860) at kernel/qobject.cpp:3930 #14 0x00007fe32d5f7a0f in QProcess::finished (this=this@entry=0x562f7aa15a10, _t1=<optimized out>, _t2=<optimized out>) at .moc/moc_qprocess.cpp:339 #15 0x00007fe32d5fe3d2 in QProcessPrivate::_q_processDied (this=0x562f7a979fa0) at io/qprocess.cpp:1184 #16 0x00007fe32d5fe4f9 in QProcess::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffd769819e0) at .moc/moc_qprocess.cpp:216 #17 0x00007fe32d6c44b9 in doActivate<false> (sender=0x562f7e826930, signal_index=3, argv=0x7ffd769819e0) at kernel/qobject.cpp:3882 #18 0x00007fe32d6bef92 in QMetaObject::activate (sender=sender@entry=0x562f7e826930, m=m@entry=0x7fe32db57ba0 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd769819e0) at kernel/qobject.cpp:3930 #19 0x00007fe32d6c7cb8 in QSocketNotifier::activated (this=this@entry=0x562f7e826930, _t1=<optimized out>, _t2=...) at .moc/moc_qsocketnotifier.cpp:141 #20 0x00007fe32d6c8072 in QSocketNotifier::event (this=0x562f7e826930, e=0x7ffd76981cb0) at kernel/qsocketnotifier.cpp:266 #21 0x00007fe32e5789ac in QApplicationPrivate::notify_helper (this=this@entry=0x562f745f2740, receiver=receiver@entry=0x562f7e826930, e=e@entry=0x7ffd76981cb0) at kernel/qapplication.cpp:3685 #22 0x00007fe32e57fbb0 in QApplication::notify (this=0x7ffd76981fb0, receiver=0x562f7e826930, e=0x7ffd76981cb0) at kernel/qapplication.cpp:3431 #23 0x00007fe32d6894a8 in QCoreApplication::notifyInternal2 (receiver=0x562f7e826930, event=0x7ffd76981cb0) at kernel/qcoreapplication.cpp:1075 #24 0x00007fe32d68967e in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7ffd76981cb0) at kernel/qcoreapplication.cpp:1470 #25 0x00007fe32d6e9378 in socketNotifierSourceDispatch (source=0x562f7465b460) at kernel/qeventdispatcher_glib.cpp:107 #26 0x00007fe326090417 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #27 0x00007fe326090650 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #28 0x00007fe3260906dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #29 0x00007fe32d6e87cb in QEventDispatcherGlib::processEvents (this=0x562f7465adc0, flags=...) at kernel/qeventdispatcher_glib.cpp:425 #30 0x00007fe32d687d2a in QEventLoop::exec (this=this@entry=0x7ffd76981ed0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225 #31 0x00007fe32d6914a0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1383 #32 0x0000562f7265a7ab in main (argc=<optimized out>, argv=<optimized out>) at /home/jjuvan/src/kphotoalbum/main.cpp:157 Possible duplicates by query: bug 422555. Reported using DrKonqi
Hi Joan, Thanks for the bug report. On first glance, this seems to be awfully similar to #422555. I'll have time to look into it after the weekend... Cheers, Johannes
Hi Joan, May I ask one additional thing to try out? In the bug report for bug #422555 you mentioned that the file "/media/jjuvan/TOSHIBA_FOTOS/Fotos/2019/agost/YDXJ0002.MP4" is one where thumbnail creation fails. Can you run the demo database, copy this file into the demo database (should be directory /tmp/kphotoalbum-demo-jjuvan), search for new images, and browse to thumbnail view? Does this trigger the crash? Does it trigger the crash with the stock version 5.6.1 of kphotoalbum?
> Can you run the demo database, copy this file into the demo database (should be > directory /tmp/kphotoalbum-demo-jjuvan), search for new images, and browse to > thumbnail view? Ok up to this point Does this trigger the crash? Does it trigger the crash with the stock version 5.6.1 of kphotoalbum? I could no longer reproduce this crash (at least with this file), my feeling is that two things happened in current neon version: - vlc / ffmpeg received fixes so I can now reproduce the file without issues (in the version from a couple weeks ago it was crashing after starting to reproduce the video) - phonon backend is broken now and I can't reproduce videos neither in 5.6.1 nor v5.6.1-333-g8f858c09 So I guess that the bug might be there, but I can't reproduce it now. What do you suggest? ------------------------ $ WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ). WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::VideoWidget ( no objectName ). WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
So at least there's the good news that you get proper thumbnails now ;-) I'll leave the bug open for now, and keep thinking about how I can inject errors into the thumbnailer to trigger the bug. If KPhotoAlbum crashes again on you I would very much appreciate additional crash reports (even if the stack trace seems identical).
I have been trying kphotoalbum 5.7.0 and I haven't experienced any crash so far. The environment has change because I'm using neon (so packages have been updated) and also the release has been upgraded to release 20.04 (instead of 18.04). For me the ticket could be closed.
Thanks for the update; changing status. If you see an issue again, feel free to provide feedback.