https://bugs.kde.org/show_bug.cgi?id=446258
Bug ID: 446258 Summary: KPA git master crashes in viewer - only on one PC & user, not on the other ... Product: kphotoalbum Version: GIT master Platform: openSUSE RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Viewer Assignee: kpab...@willden.org Reporter: schleth...@web.de Target Milestone: --- SUMMARY KPA crashes always at a certain image while browsing images in full screen viewer. Only on my wifes PC and only with her user, not as me and not on my PC as any of us. We access the album via NFS, files (except .thumbnails) are rw-rw-r-- - so we both may write and edit the tags but only I may (re-)create thumbnails. Both systems run Leap 15.3 with the same patch status and more or less the same software spectrum. Both systems run the same KPA release but each one compiled on the respective machine. STEPS TO REPRODUCE This is a bad one : I cannot (yet?) reproduce the bug on my PC with my user or with my wife's :-( 1. Open KPA 2. Select 2021 3. View Thumbnails 4. doubleclick on some image from spring 5. start browsing using the mouse wheel or page-down key 6. zap! Always while hitting the same image ... but I have a backtrace and the error message from the command line: beate@wshome2:~> kphotoalbum -c ../usr/share/fotos/index.xml ASSERT: "ok" in file /home/usr/src/kphotoalbum-git/kphotoalbum/Utilities/ImageUtil.cpp, line 23 KCrash: Application 'kphotoalbum' crashing... KCrash: Attempting to start /usr/lib64/libexec/drkonqi (The cpp-file looks innocent enough, only what in the world was it saving?) The crash file: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x00007f482974818b in raise () from /lib64/libc.so.6 #5 0x00007f4829749585 in abort () from /lib64/libc.so.6 #6 0x00007f482a4fa87b in QMessageLogger::fatal(char const*, ...) const () from /usr/lib64/libQt5Core.so.5 #7 0x00007f482a4fa071 in qt_assert(char const*, char const*, int) () from /usr/lib64/libQt5Core.so.5 #8 0x000000000063aad2 in Utilities::saveImage (fileName=..., image=..., format=0x6738b4 "JPEG") at /home/usr/src/kphotoalbum-git/kphotoalbum/Utilities/ImageUtil.cpp:23 #9 0x0000000000623ac6 in BackgroundJobs::HandleVideoThumbnailRequestJob::saveFullScaleFrame (fileName=..., image=...) at /home/usr/src/kphotoalbum-git/kphotoalbum/BackgroundJobs/HandleVideoThumbnailRequestJob.cpp:63 #10 0x0000000000623a01 in BackgroundJobs::HandleVideoThumbnailRequestJob::frameLoaded (this=0x9d964a0, image=<incomplete type>) at /home/usr/src/kphotoalbum-git/kphotoalbum/BackgroundJobs/HandleVideoThumbnailRequestJob.cpp:56 #11 0x0000000000623870 in BackgroundJobs::HandleVideoThumbnailRequestJob::execute (this=0x9d964a0) at /home/usr/src/kphotoalbum-git/kphotoalbum/BackgroundJobs/HandleVideoThumbnailRequestJob.cpp:47 #12 0x000000000061c52f in BackgroundTaskManager::JobInterface::start (this=0x9d964a0) at /home/usr/src/kphotoalbum-git/kphotoalbum/BackgroundTaskManager/JobInterface.cpp:35 #13 0x000000000061cb45 in BackgroundTaskManager::JobManager::execute (this=0x94d6830) at /home/usr/src/kphotoalbum-git/kphotoalbum/BackgroundTaskManager/JobManager.cpp:61 #14 0x000000000061cba0 in BackgroundTaskManager::JobManager::addJob (this=0x94d6830, job=0x9d964a0) at /home/usr/src/kphotoalbum-git/kphotoalbum/BackgroundTaskManager/JobManager.cpp:68 #15 0x000000000057b56d in ImageManager::AsyncLoader::loadVideo (this=0x95150d0, request=0x9dbaf30) at /home/usr/src/kphotoalbum-git/kphotoalbum/ImageManager/AsyncLoader.cpp:109 #16 0x000000000057b434 in ImageManager::AsyncLoader::load (this=0x95150d0, request=0x9dbaf30) at /home/usr/src/kphotoalbum-git/kphotoalbum/ImageManager/AsyncLoader.cpp:86 #17 0x000000000051c71f in Viewer::ImageDisplay::requestImage (this=0x951ebd0, info=..., priority=false) at /home/usr/src/kphotoalbum-git/kphotoalbum/Viewer/ImageDisplay.cpp:741 #18 0x000000000051b528 in Viewer::ImageDisplay::updatePreload (this=0x951ebd0) at /home/usr/src/kphotoalbum-git/kphotoalbum/Viewer/ImageDisplay.cpp:602 #19 0x000000000051b0d8 in Viewer::ImageDisplay::pixmapLoaded (this=0x951ebd0, request=0x951ae20, image=...) at /home/usr/src/kphotoalbum-git/kphotoalbum/Viewer/ImageDisplay.cpp:564 #20 0x000000000057bedd in ImageManager::AsyncLoader::customEvent (this=0x95150d0, ev=0x7f47dc0056f0) at /home/usr/src/kphotoalbum-git/kphotoalbum/ImageManager/AsyncLoader.cpp:230 #21 0x00007f482a729a1b in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5 #22 0x00007f482b57ef9c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #23 0x00007f482b5865b0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5 #24 0x00007f482a6f93a8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5 #25 0x00007f482a6fbf67 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5 #26 0x00007f482a756e13 in ?? () from /usr/lib64/libQt5Core.so.5 #27 0x00007f481d80c694 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #28 0x00007f481d80ca30 in ?? () from /usr/lib64/libglib-2.0.so.0 #29 0x00007f481d80cabc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #30 0x00007f482a75642f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #31 0x00007f482a6f75fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5 #32 0x00007f482a700800 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5 #33 0x000000000048c520 in main (argc=3, argv=0x7fff1e8d2a98) at /home/usr/src/kphotoalbum-git/kphotoalbum/main.cpp:162 [Inferior 1 (process 10299) detached] ... wait a minute: do I read something about background job and videothumbnails ??? All thumbnails are there, no need to (re-)create them. Also KPA has no business to save any image file at that point. I have set the two thumbnail folders to rw-r--r-- to be writable only by me as I do not want all the thumbnails be messed up by any accidental interaction. But this should pose the same kind of problems on both PCs when we access the album with my wife's user (who has read only access to the thumbnails). I also copied the images that crashed KPA to a different folder, created a new album there and ... nothing. So it is not a problem of the respective images. Version v5.8.1-42-gf84c77e6 KDE Frameworks 5.76.0 Qt 5.12.7 (built against 5.12.7) -- You are receiving this mail because: You are watching all bug changes.