[kphotoalbum] [Bug 477532] KPhotoAlbum crashes when refreshing a Category view when the Category is deleted
https://bugs.kde.org/show_bug.cgi?id=477532 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #2 from Victor Lobo --- Thank you! This bug is fixed. I did encounter another crash bug 478015 while testing this scenario so your note about "automatically go to the home page without a manual refresh" may be a better solution if easy. -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 478015] New: KPhotoAlbum crashes when saving the database after deleting a Category and then dragging one tag over the other in the browser view
https://bugs.kde.org/show_bug.cgi?id=478015 Bug ID: 478015 Summary: KPhotoAlbum crashes when saving the database after deleting a Category and then dragging one tag over the other in the browser view Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: major Priority: NOR Component: Browser Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes when saving the database after deleting a Category and then dragging one tag over the other in the browser view. Related to bug 477532 STEPS TO REPRODUCE 1. Open KPhotoAlbum (kphotoalbum --demo) 2. From the main browser window click on the Places icon to go the list of Places view 3. From the main menu go to Settings > Configure KPhotoAlbum... > Categories 4. (Save the DB now if needed) and Delete the Places category 5. Click OK to confirm deletion 6. Click OK to close the Settings window 7. From the Places browser view drag one tag over the other (for example drag Bridgeport over New York in the demo) 8. Save the database (Ctrl + S) 9. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum v5.12 and KPhotoAlbum development version latest git master kphotoalbum v5.12.0-10-gc2fbf53d ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 0x00577c7c in QMap::count (this=0x48, akey=...) at /usr/include/qt5/QtCore/qmap.h:692 #5 0x00576a79 in DB::Category::idForName (this=0x0, name=...) at /home/victor/kphotoalbum/DB/Category.cpp:342 #6 0x005bc625 in DB::FileWriter::saveMemberGroups (this=0x7ffe752bd348, writer=...) at /home/victor/kphotoalbum/DB/XML/FileWriter.cpp:239 #7 0x005ba2e4 in DB::FileWriter::save (this=0x7ffe752bd348, fileName=..., isAutoSave=false) at /home/victor/kphotoalbum/DB/XML/FileWriter.cpp:98 #8 0x00588639 in DB::ImageDB::save (this=0x1680220, fileName=..., isAutoSave=false) at /home/victor/kphotoalbum/DB/ImageDB.cpp:673 #9 0x00537c33 in MainWindow::Window::slotSave (this=0x13db040) at /home/victor/kphotoalbum/MainWindow/Window.cpp:537 #10 0x0054f4ce in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (MainWindow::Window::*)()>::call(void (MainWindow::Window::*)(), MainWindow::Window*, void**) (f=(void (MainWindow::Window::*)(MainWindow::Window * const)) 0x537b3e , o=0x13db040, arg=0x7ffe752bd5c0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #11 0x0054eb13 in QtPrivate::FunctionPointer::call, void>(void (MainWindow::Window::*)(), MainWindow::Window*, void**) (f=(void (MainWindow::Window::*)(MainWindow::Window * const)) 0x537b3e , o=0x13db040, arg=0x7ffe752bd5c0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #12 0x0054d28f in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x17b0a30, r=0x13db040, a=0x7ffe752bd5c0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #13 0x7fc4add25442 in QtPrivate::QSlotObjectBase::call (a=0x7ffe752bd5c0, r=0x13db040, this=0x17b0a30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #14 doActivate (sender=0x17e77d0, signal_index=4, argv=0x7ffe752bd5c0) at kernel/qobject.cpp:3925 #15 0x7fc4add1e0af in QMetaObject::activate (sender=sender@entry=0x17e77d0, m=m@entry=0x7fc4aeebacc0 , local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe752bd5c0) at kernel/qobject.cpp:3985 #16 0x7fc4ae99e8b2 in QAction::triggered (this=this@entry=0x17e77d0, _t1=) at .moc/moc_qaction.cpp:376 #17 0x7fc4ae9a142f in QAction::activate (this=0x17e77d0, event=) at kernel/qaction.cpp:1161 #18 0x7fc4aea9864a in QAbstractButtonPrivate::click (this=0x17b0d00) at widgets/qabstractbutton.cpp:399 #19 0x7fc4aea98797 in QAbstractButton::mouseReleaseEvent (this=0x17d53b0, e=0x7ffe752bdb50) at widgets/qabstractbutton.cpp:1045 #20 0x7fc4aeb9104a in QToolButton::mouseReleaseEvent (this=, e=) at widgets/qtoolbutton.cpp:622 #21 0x7fc4ae9e6d58 in QWidget::event (this=0x17d53b0, event=0x7ffe752bdb50) at kernel/qwidget.cpp:9045 #22 0x7fc4ae9a519e in QApplicationPrivate::notify_helper (this=this@entry=0x1172130, receiver=receiver@entry=0x17d53b0, e=e@entry=0x7ffe752bdb50) at kernel/qapplication.cpp:3640 #23 0x7fc4ae9ad5cf in QApplication::notify (this=, receiver=, e=0x7ffe752bdb50) at kernel/qapplication.cpp:3084 #24 0x7fc4adced198 in
[kphotoalbum] [Bug 477531] KPhotoAlbum git master crashes when a new Category is added, deleted and then added again in Settings
https://bugs.kde.org/show_bug.cgi?id=477531 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #2 from Victor Lobo --- This woks well now. Thank you! -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 477195] KPhotoAlbum git master crashes when an Event tag is dragged on another Event tag in the Events screen
https://bugs.kde.org/show_bug.cgi?id=477195 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #2 from Victor Lobo --- This works correctly now. Thank you! -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 477533] New: Error while reading database file when Category name starts with numbers
https://bugs.kde.org/show_bug.cgi?id=477533 Bug ID: 477533 Summary: Error while reading database file when Category name starts with numbers Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Backend Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY Error while reading database file when Category name starts with numbers Error while reading database file An error was encountered on line 83, column 184:Error reading next element Additional error information:Expected '>' or '/', but got '[0-9]'. Database path: ‘/tmp/kphotoalbum-demo-victor/index.xml’ STEPS TO REPRODUCE 1. Open KPhotoAlbum (kphotoalbum --demo) 2. From the main menu go to Settings > Configure KPhotoAlbum... > Categories 3. (Save the DB now if needed) and Add a new category that starts with one or more digit in [0-9] (for example 2Review) 4. Click OK to close the Settings window and save the category 5. Go to the Annotations window of any image or video and create and assign a new tag for category 2Review 6. Save the database 8. Close KPhotoAlbum (if in demo remember to NOT delete the database) 9. Reopen KPhotoAlbum (kphotoalbum --demo) 10. Error while reading database file Here new category has been created but same error occurs if existing categories (such as Places) are renamed to start with a number OBSERVED RESULT Error while reading database file EXPECTED RESULT Depends on the design; either not allow categories starting with digits or write correctly to the xml or read correctly from the xml... etc. SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum v5.11 and KPhotoAlbum development version latest git master v5.12.0 -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 477532] New: KPhotoAlbum crashes when refreshing a Category view when the Category is deleted
https://bugs.kde.org/show_bug.cgi?id=477532 Bug ID: 477532 Summary: KPhotoAlbum crashes when refreshing a Category view when the Category is deleted Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Browser Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes when refreshing a Category view when the Category is deleted STEPS TO REPRODUCE 1. Open KPhotoAlbum (kphotoalbum --demo) 2. From the main browser window click on the Places icon to go to the list of Places view 3. From the main menu go to Settings > Configure KPhotoAlbum... > Categories 4. (Save the DB now if needed) and Delete the Places category 5. Click OK to confirm deletion 6. Click OK to close the Settings window 7. From the Places view click on Refresh (F5) 8. Crash Here Places is used as an example since it is already present but crash will also occur for other categories including new ones. OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum v5.11 and KPhotoAlbum development version latest git master v5.12.0 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7f3cc7291dec in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7f3cc723f0c6 in raise () from /lib64/libc.so.6 #6 0x7f3cc72268d7 in abort () from /lib64/libc.so.6 #7 0x7f3cc7abb51f in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1919 #8 QMessageLogger::fatal (this=this@entry=0x7ffd18f686e8, msg=msg@entry=0x7f3cc7dd2000 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:898 #9 0x7f3cc7aba730 in qt_assert (assertion=, file=, line=) at global/qglobal.cpp:3392 #10 0x0062d7a3 in Browser::BrowserWidget::emitSignals (this=0x2b81930) at /home/victor/kphotoalbum/Browser/BrowserWidget.cpp:148 #11 0x0062d3a2 in Browser::BrowserWidget::go (this=0x2b81930) at /home/victor/kphotoalbum/Browser/BrowserWidget.cpp:107 #12 0x0054f9e3 in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (Browser::BrowserWidget::*)()>::call(void (Browser::BrowserWidget::*)(), Browser::BrowserWidget*, void**) (f=(void (Browser::BrowserWidget::*)(Browser::BrowserWidget * const)) 0x62d314 , o=0x2b81930, arg=0x7ffd18f68b40) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #13 0x0054ec40 in QtPrivate::FunctionPointer::call, void>(void (Browser::BrowserWidget::*)(), Browser::BrowserWidget*, void**) (f=(void (Browser::BrowserWidget::*)(Browser::BrowserWidget * const)) 0x62d314 , o=0x2b81930, arg=0x7ffd18f68b40) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #14 0x0054dcbd in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x2b7df30, r=0x2b81930, a=0x7ffd18f68b40, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #15 0x7f3cc7d25442 in QtPrivate::QSlotObjectBase::call (a=0x7ffd18f68b40, r=0x2b81930, this=0x2b7df30) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #16 doActivate (sender=0x2b7dc60, signal_index=4, argv=0x7ffd18f68b40) at kernel/qobject.cpp:3925 #17 0x7f3cc7d1e0af in QMetaObject::activate (sender=sender@entry=0x2b7dc60, m=m@entry=0x7f3cc8ebacc0 , local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffd18f68b40) at kernel/qobject.cpp:3985 #18 0x7f3cc899e8b2 in QAction::triggered (this=this@entry=0x2b7dc60, _t1=) at .moc/moc_qaction.cpp:376 #19 0x7f3cc89a142f in QAction::activate (this=0x2b7dc60, event=) at kernel/qaction.cpp:1161 #20 0x7f3cc89a200d in QAction::event (e=, this=) at kernel/qaction.cpp:1086 #21 QAction::event (this=, e=) at kernel/qaction.cpp:1075 #22 0x7f3cc89a519e in QApplicationPrivate::notify_helper (this=, receiver=0x2b7dc60, e=0x7ffd18f68ce0) at kernel/qapplication.cpp:3640 #23 0x7f3cc7ced198 in QCoreApplication::notifyInternal2 (receiver=0x2b7dc60, event=0x7ffd18f68ce0) at kernel/qcoreapplication.cpp:1064 #24 0x7f3cc7ced35e in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 #25 0x7f3cc81ad661 in QShortcutMap::dispatchEvent (this=, e=) at kernel/qshortcutmap.cpp:675 #26 0x7f3cc81ae27b in QShortcutMap::tryShortcut (this=this@entry=0x25361f8, e=e@entry=0x7ffd18f68da0) at kernel/qshortcutmap.cpp:343 #27 0x7f3cc8153996 in QWindowSystemInterface::handleShortcutEvent (window=, timestamp=168132700, keyCode=16777268,
[kphotoalbum] [Bug 477531] New: KPhotoAlbum git master crashes when a new Category is added, deleted and then added again in Settings
https://bugs.kde.org/show_bug.cgi?id=477531 Bug ID: 477531 Summary: KPhotoAlbum git master crashes when a new Category is added, deleted and then added again in Settings Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum git master crashes when a new Category is added, deleted and then added again in Settings. Crash occurs only in the git version (not in 5.11.0) Steps to Reproduce crash 1. Open KPhotoAlbum (kphotoalbum --demo) 2. From the main menu go to Settings > Configure KPhotoAlbum... > Categories 3. (Save the DB now if needed) and then click New button to create a new Category 4. Click OK to save settings 5. Go to Setting screen again and delete the category created (save the DB if needed) 6. Click OK to confirm deletion 7. Click OK to save settings 8. Go to Setting screen again and create a new (same or different) category (save the DB if needed) 9. Click OK to save setting 10. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum development version latest git master v5.12.0 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. Another way to reproduce crash with similar backtrace 1. Go to setting then delete People Category, click ok twice to save settings, go back to settings and delete Places category, click ok twice, crash Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7fd8a1a91dec in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7fd8a1a3f0c6 in raise () from /lib64/libc.so.6 #6 0x7fd8a1a268d7 in abort () from /lib64/libc.so.6 #7 0x7fd8a22bb51f in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1919 #8 QMessageLogger::fatal (this=this@entry=0x7ffeca7fe8c8, msg=msg@entry=0x7fd8a25d2028 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:898 #9 0x7fd8a22ba78c in qt_assert_x (where=, what=, file=, line=) at global/qglobal.cpp:3400 #10 0x005724a3 in DB::CategoryCollection::removeCategory (this=0x1b8c248, name=...) at /home/victor/kphotoalbum/DB/CategoryCollection.cpp:73 #11 0x00486d8e in Settings::CategoryItem::removeFromDatabase (this=0x22b0950) at /home/victor/kphotoalbum/Settings/CategoryItem.cpp:90 #12 0x0048b9ef in Settings::CategoryPage::saveSettings (this=0x2275810, opt=0x2072ff0, memberMap=0x26500b0) at /home/victor/kphotoalbum/Settings/CategoryPage.cpp:489 #13 0x00483d16 in Settings::SettingsDialog::slotMyOK (this=0x205fe40) at /home/victor/kphotoalbum/Settings/SettingsDialog.cpp:121 #14 0x00485e02 in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (Settings::SettingsDialog::*)()>::call(void (Settings::SettingsDialog::*)(), Settings::SettingsDialog*, void**) (f=(void (Settings::SettingsDialog::*)(Settings::SettingsDialog * const)) 0x483c50 , o=0x205fe40, arg=0x7ffeca7feb80) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #15 0x00485b4e in QtPrivate::FunctionPointer::call, void>(void (Settings::SettingsDialog::*)(), Settings::SettingsDialog*, void**) (f=(void (Settings::SettingsDialog::*)(Settings::SettingsDialog * const)) 0x483c50 , o=0x205fe40, arg=0x7ffeca7feb80) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #16 0x004854dd in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x2bdb690, r=0x205fe40, a=0x7ffeca7feb80, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #17 0x7fd8a2525442 in QtPrivate::QSlotObjectBase::call (a=0x7ffeca7feb80, r=0x205fe40, this=0x2bdb690) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #18 doActivate (sender=0x205fe40, signal_index=8, argv=0x7ffeca7feb80) at kernel/qobject.cpp:3925 #19 0x7fd8a251e0af in QMetaObject::activate (sender=sender@entry=0x205fe40, m=m@entry=0x7fd8a36d04c0 , local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3985 #20 0x7fd8a33ac4e3 in QDialog::accepted (this=this@entry=0x205fe40) at .moc/moc_qdialog.cpp:236 #21 0x7fd8a33ac968 in QDialogPrivate::finalize (this=, resultCode=1, dialogCode=) at dialogs/qdialog.cpp:176 #22 0x7fd8a2525442 in QtPrivate::QSlotObjectBase::call (a=0x7ffeca7fec70, r=0x205fe40, this=0x253a940) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #23 doActivate (sender=0x2524a50, signal_index=8,
[kphotoalbum] [Bug 477530] New: KPhotoAlbum crashes when new Category is added and immediately set as Category for Untagged Images in Settings
https://bugs.kde.org/show_bug.cgi?id=477530 Bug ID: 477530 Summary: KPhotoAlbum crashes when new Category is added and immediately set as Category for Untagged Images in Settings Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes when new Category is added and immediately set as Category for Untagged Images in Settings Steps to Reproduce crash 1. Open KPhotoAlbum (kphotoalbum --demo) 2. From the main menu go to Settings > Configure KPhotoAlbum... > Categories 3. (Save the DB now if needed) and click the New button to create a new category 4. Give the new category a different name then the default "New Category" (for example "test") 5. (Do NOT click OK yet in Setting) Pick the same newly created "test" category as Category for Untagged Images 6. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum v5.11 and KPhotoAlbum development version latest git master v5.12.0 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. 3. Crash with same backtrace is not seen when using default "New Category" name in Step 4 Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 0x00493c31 in QList::QList (this=0x7ffcbc8a7610, l=...) at /usr/include/qt5/QtCore/qlist.h:854 #5 0x004936d5 in QStringList::QStringList (this=0x7ffcbc8a7610) at /usr/include/qt5/QtCore/qstringlist.h:111 #6 0x00574d8f in DB::Category::items (this=0x0) at /home/victor/kphotoalbum/DB/Category.cpp:149 #7 0x004a2926 in Settings::UntaggedGroupBox::populateTagsCombo (this=0x1d051e0) at /home/victor/kphotoalbum/Settings/UntaggedGroupBox.cpp:70 #8 0x004a3971 in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (Settings::UntaggedGroupBox::*)()>::call(void (Settings::UntaggedGroupBox::*)(), Settings::UntaggedGroupBox*, void**) (f=(void (Settings::UntaggedGroupBox::*)(Settings::UntaggedGroupBox * const)) 0x4a283c , o=0x1d051e0, arg=0x7ffcbc8a7800) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #9 0x004a383d in QtPrivate::FunctionPointer::call, void>(void (Settings::UntaggedGroupBox::*)(), Settings::UntaggedGroupBox*, void**) (f=(void (Settings::UntaggedGroupBox::*)(Settings::UntaggedGroupBox * const)) 0x4a283c , o=0x1d051e0, arg=0x7ffcbc8a7800) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #10 0x004a377f in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x1d139e0, r=0x1d051e0, a=0x7ffcbc8a7800, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #11 0x7f53ed725442 in QtPrivate::QSlotObjectBase::call (a=0x7ffcbc8a7800, r=0x1d051e0, this=0x1d139e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #12 doActivate (sender=0x1d0b250, signal_index=12, argv=0x7ffcbc8a7800) at kernel/qobject.cpp:3925 #13 0x7f53ed71e0af in QMetaObject::activate (sender=sender@entry=0x1d0b250, m=m@entry=0x7f53ee8c26e0 , local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7ffcbc8a7800) at kernel/qobject.cpp:3985 #14 0x7f53ee4a8d11 in QComboBox::currentIndexChanged (this=this@entry=0x1d0b250, _t1=) at .moc/moc_qcombobox.cpp:538 #15 0x7f53ee4aa4d2 in QComboBoxPrivate::_q_emitCurrentIndexChanged (this=this@entry=0x1d0b290, index=...) at ../../include/QtCore/../../src/corelib/itemmodels/qabstractitemmodel.h:62 #16 0x7f53ee4add5b in QComboBoxPrivate::setCurrentIndex (this=this@entry=0x1d0b290, mi=...) at widgets/qcombobox.cpp:2331 #17 0x7f53ee4adfc7 in QComboBoxPrivate::_q_itemSelected (this=0x1d0b290, item=...) at widgets/qcombobox.cpp:1432 #18 0x7f53ed7253e3 in doActivate (sender=0x1d0ca20, signal_index=7, argv=0x7ffcbc8a7a50) at kernel/qobject.cpp:3937 #19 0x7f53ed71e0af in QMetaObject::activate (sender=sender@entry=0x1d0ca20, m=m@entry=0x7f53ee8c2620 , local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcbc8a7a50) at kernel/qobject.cpp:3985 #20 0x7f53ee4a8f02 in QComboBoxPrivateContainer::itemSelected (this=this@entry=0x1d0ca20, _t1=...) at .moc/moc_qcombobox_p.cpp:348 #21 0x7f53ee4a97c6 in QComboBoxPrivateContainer::eventFilter (this=0x1d0ca20, o=0x1d0d5c0, e=0x7ffcbc8a7fa0) at widgets/qcombobox.cpp:824 #22 0x7f53ed6ecf1b in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x1d0d5c0,
[kphotoalbum] [Bug 477529] New: KPhotoAlbum crashes when Category for Untagged Images is set to "None Selected" in Settings
https://bugs.kde.org/show_bug.cgi?id=477529 Bug ID: 477529 Summary: KPhotoAlbum crashes when Category for Untagged Images is set to "None Selected" in Settings Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes when Category for Untagged Images is set to "None Selected" in Settings STEPS TO REPRODUCE 1. Open KPhotoAlbum (kphotoalbum --demo) 2. From the main menu go to Settings > Configure KPhotoAlbum... > Categories 3. Set Untagged Images Category to "None Selected" 4. Click OK to save settings 5. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum v5.11 and KPhotoAlbum development version latest git master v5.12.0 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 0x7fdcc0d9a69d in QListData::begin (this=0x40) at ../../include/QtCore/../../src/corelib/tools/qlist.h:118 #5 QList::begin (this=0x40) at ../../include/QtCore/../../src/corelib/tools/qlist.h:339 #6 stringList_contains (cs=Qt::CaseSensitive, str=..., stringList=...) at text/qstringlist.cpp:341 #7 QtPrivate::QStringList_contains (that=0x40, str=..., cs=Qt::CaseSensitive) at text/qstringlist.cpp:366 #8 0x00493763 in QStringList::contains (this=0x40, str=..., cs=Qt::CaseSensitive) at /usr/include/qt5/QtCore/qstringlist.h:263 #9 0x0057583f in DB::Category::itemForName (this=0x0, tag=...) at /home/victor/kphotoalbum/DB/Category.cpp:266 #10 0x0058bef9 in DB::ImageDB::setUntaggedTag (this=0x111d050, category=..., tag=...) at /home/victor/kphotoalbum/DB/ImageDB.cpp:984 #11 0x00590c91 in QtPrivate::FunctorCall, QtPrivate::List, void, void (DB::ImageDB::*)(QString const&, QString const&)>::call (f=(void (DB::ImageDB::*)(DB::ImageDB * const, const QString &, const QString &)) 0x58bea4 , o=0x111d050, arg=0x7ffc5d63e540) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #12 0x005908d6 in QtPrivate::FunctionPointer::call, void> (f=(void (DB::ImageDB::*)(DB::ImageDB * const, const QString &, const QString &)) 0x58bea4 , o=0x111d050, arg=0x7ffc5d63e540) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #13 0x00590415 in QtPrivate::QSlotObject, void>::impl (which=1, this_=0x1743990, r=0x111d050, a=0x7ffc5d63e540, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #14 0x7fdcc0f25442 in QtPrivate::QSlotObjectBase::call (a=0x7ffc5d63e540, r=0x111d050, this=0x1743990) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #15 doActivate (sender=0x7fdca4003680, signal_index=13, argv=0x7ffc5d63e540) at kernel/qobject.cpp:3925 #16 0x7fdccbb5f850 in Settings::SettingsData::untaggedTagChanged (this=0x7fdca4003680, _t1=..., _t2=...) at /home/victor/kphotoalbum/build/lib/kpabase_autogen/include/moc_SettingsData.cpp:323 #17 0x7fdccbb59f14 in Settings::SettingsData::setUntaggedCategory (this=0x7fdca4003680, value=...) at /home/victor/kphotoalbum/lib/kpabase/SettingsData.cpp:418 #18 0x004a2e13 in Settings::UntaggedGroupBox::saveSettings (this=0x1a34d00, opt=0x7fdca4003680) at /home/victor/kphotoalbum/Settings/UntaggedGroupBox.cpp:126 #19 0x0048bab2 in Settings::CategoryPage::saveSettings (this=0x17020d0, opt=0x7fdca4003680, memberMap=0x1a6d3b0) at /home/victor/kphotoalbum/Settings/CategoryPage.cpp:500 #20 0x00483d16 in Settings::SettingsDialog::slotMyOK (this=0x16ce580) at /home/victor/kphotoalbum/Settings/SettingsDialog.cpp:121 #21 0x00485e02 in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (Settings::SettingsDialog::*)()>::call(void (Settings::SettingsDialog::*)(), Settings::SettingsDialog*, void**) (f=(void (Settings::SettingsDialog::*)(Settings::SettingsDialog * const)) 0x483c50 , o=0x16ce580, arg=0x7ffc5d63e880) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #22 0x00485b4e in QtPrivate::FunctionPointer::call, void>(void (Settings::SettingsDialog::*)(), Settings::SettingsDialog*, void**) (f=(void (Settings::SettingsDialog::*)(Settings::SettingsDialog * const)) 0x483c50 , o=0x16ce580, arg=0x7ffc5d63e880) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #23 0x004854dd in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x1ff7f30, r=0x16ce580, a=0x7ffc5d63e880, ret=0x0) at
[kphotoalbum] [Bug 476862] KPhotoAlbum git master crashes when range selected in Datebar extends out of main screen
https://bugs.kde.org/show_bug.cgi?id=476862 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #3 from Victor Lobo --- Thanks! And thank you for fixing this. -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 477195] New: KPhotoAlbum git master crashes when an Event tag is dragged on another Event tag in the Events screen
https://bugs.kde.org/show_bug.cgi?id=477195 Bug ID: 477195 Summary: KPhotoAlbum git master crashes when an Event tag is dragged on another Event tag in the Events screen Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Browser Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum git master crashes when an Event tag is dragged on another Event tag in the Events screen. Crash occurs only in the git version (not in 5.11.0) STEPS TO REPRODUCE 1. Open KPhotoAlbum (kphotoalbum --demo) 2. Click on the Events icon in the main window 3. Click and drag one event tag over another tag (for example in the demo click and drag tag "desktop" on tag "fun") 4. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum development version latest git master v5.11.0-191-g83478707 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7f5517891e0c in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7f551783f0e6 in raise () from /lib64/libc.so.6 #6 0x7f55178268d7 in abort () from /lib64/libc.so.6 #7 0x7f55180bb4f9 in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffec05e7e88, msg=msg@entry=0x7f55183d2000 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:893 #9 0x7f55180ba730 in qt_assert (assertion=, file=, line=) at global/qglobal.cpp:3391 #10 0x005a0c1f in DB::MemberMap::removeMemberFromGroup (this=0x7f54fc0066a8, category=..., group=..., item=...) at /home/victor/kphotoalbum/DB/MemberMap.cpp:304 #11 0x006395de in Browser::TreeCategoryModel::dropMimeData (this=0x7f54fc006590, data=0x2d572b0, action=Qt::MoveAction, parent=...) at /home/victor/kphotoalbum/Browser/TreeCategoryModel.cpp:211 #12 0x7f55182a8562 in QAbstractProxyModel::dropMimeData (this=, data=0x2d572b0, action=Qt::MoveAction, row=, column=, parent=...) at itemmodels/qabstractproxymodel.cpp:450 #13 0x7f5519213be3 in QAbstractItemView::dropEvent (this=0x2be3b40, event=0x7ffec05e8410) at itemviews/qabstractitemview.cpp:2138 #14 0x7f5518fe6d68 in QWidget::event (this=this@entry=0x2be3b40, event=event@entry=0x7ffec05e8410) at kernel/qwidget.cpp:9045 #15 0x7f5519091f7e in QFrame::event (this=0x2be3b40, e=0x7ffec05e8410) at widgets/qframe.cpp:550 #16 0x7f55182ed2eb in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x2c26fe0, event=event@entry=0x7ffec05e8410) at kernel/qcoreapplication.cpp:1190 #17 0x7f5518fa518e in QApplicationPrivate::notify_helper (this=this@entry=0x25881e0, receiver=0x2c26fe0, e=e@entry=0x7ffec05e8410) at kernel/qapplication.cpp:3634 #18 0x7f5518facff6 in QApplication::notify (this=, receiver=, e=0x7ffec05e8410) at kernel/qapplication.cpp:3386 #19 0x7f55182ed568 in QCoreApplication::notifyInternal2 (receiver=0x2c26fe0, event=0x7ffec05e8410) at kernel/qcoreapplication.cpp:1064 #20 0x7f55182ed5b2 in QCoreApplication::forwardEvent (receiver=, event=, originatingEvent=) at kernel/qcoreapplication.cpp:1079 #21 0x7f5519001ff0 in QWidgetWindow::handleDropEvent (this=this@entry=0x2a9f060, event=event@entry=0x7ffec05e85d0) at kernel/qwidgetwindow.cpp:986 #22 0x7f5519002eb2 in QWidgetWindow::event (this=0x2a9f060, event=0x7ffec05e85d0) at kernel/qwidgetwindow.cpp:342 #23 0x7f5518fa519e in QApplicationPrivate::notify_helper (this=, receiver=0x2a9f060, e=0x7ffec05e85d0) at kernel/qapplication.cpp:3640 #24 0x7f55182ed568 in QCoreApplication::notifyInternal2 (receiver=0x2a9f060, event=0x7ffec05e85d0) at kernel/qcoreapplication.cpp:1064 #25 0x7f55182ed72e in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 #26 0x7f551877efc8 in QGuiApplicationPrivate::processDrop (w=w@entry=0x2a9f060, dropData=dropData@entry=0x2d572b0, p=..., supportedActions=..., supportedActions@entry=..., buttons=..., buttons@entry=..., modifiers=..., modifiers@entry=...) at kernel/qguiapplication.cpp: #27 0x7f551874f8bc in QWindowSystemInterface::handleDrop (window=0x2a9f060, dropData=0x2d572b0, p=..., supportedActions=supportedActions@entry=..., buttons=buttons@entry=..., modifiers=...) at kernel/qwindowsysteminterface.cpp:938 #28 0x7f550a92c807 in QXcbDrag::handleDrop (this=this@entry=0x24e8190, event=event@entry=0x7ffec05e87d0, b=b@entry=...,
[kphotoalbum] [Bug 476561] KPhotoAlbum crashes when changes in Annotation window are not saved and then user right clicks "Show" in Viewer window
https://bugs.kde.org/show_bug.cgi?id=476561 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #6 from Victor Lobo --- Fix works for me too. Thank you! -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 476862] New: KPhotoAlbum git master crashes when range selected in Datebar extends out of main screen
https://bugs.kde.org/show_bug.cgi?id=476862 Bug ID: 476862 Summary: KPhotoAlbum git master crashes when range selected in Datebar extends out of main screen Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Datebar Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum git master crashes when range selected in Datebar extends out of main screen. Crash occurs only in the git master version (not in 5.11.0) STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Left Click below the timeline in the Datebar to select a date 3. Start dragging the mouse to the left or right to select a range 4. Move the cursor to edge/outside the main window 5. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum development version latest git master v5.11.0-186-g2a4637b6 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7faca7091e0c in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7faca703f0e6 in raise () from /lib64/libc.so.6 #6 0x7faca70268d7 in abort () from /lib64/libc.so.6 #7 0x7faca78bb4f9 in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffdc311c2b8, msg=msg@entry=0x7faca7bd2028 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893 #9 0x7faca78ba78c in qt_assert_x (where=, what=, file=, line=) at global/qglobal.cpp:3399 #10 0x0047a74b in DateBar::DateBarWidget::unitAtPos (this=0x1bb9860, x=-2) at /home/victor/kphotoalbum/DateBar/DateBarWidget.cpp:920 #11 0x00481099 in DateBar::SelectionHandler::mouseMoveEvent (this=0x2132860, x=-2) at /home/victor/kphotoalbum/DateBar/MouseHandler.cpp:78 #12 0x004787c2 in DateBar::DateBarWidget::mouseMoveEvent (this=0x1bb9860, event=0x7ffdc311c900) at /home/victor/kphotoalbum/DateBar/DateBarWidget.cpp:597 #13 0x7faca87e6d68 in QWidget::event (this=0x1bb9860, event=0x7ffdc311c900) at kernel/qwidget.cpp:9045 #14 0x00475abb in DateBar::DateBarWidget::event (this=0x1bb9860, event=0x7ffdc311c900) at /home/victor/kphotoalbum/DateBar/DateBarWidget.cpp:158 #15 0x7faca87a519e in QApplicationPrivate::notify_helper (this=this@entry=0x1a251e0, receiver=receiver@entry=0x1bb9860, e=e@entry=0x7ffdc311c900) at kernel/qapplication.cpp:3640 #16 0x7faca87ad5cf in QApplication::notify (this=, receiver=, e=0x7ffdc311c900) at kernel/qapplication.cpp:3084 #17 0x7faca7aed568 in QCoreApplication::notifyInternal2 (receiver=0x1bb9860, event=0x7ffdc311c900) at kernel/qcoreapplication.cpp:1064 #18 0x7faca7aed73e in QCoreApplication::sendSpontaneousEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1474 #19 0x7faca87ab92e in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1bb9860, event=event@entry=0x7ffdc311c900, alienWidget=, nativeWidget=0x1c8b630, buttonDown=buttonDown@entry=0x7faca8cf2330 , lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622 #20 0x7faca87ff7fd in QWidgetWindow::handleMouseEvent (this=this@entry=0x1f3c6f0, event=event@entry=0x7ffdc311cbb0) at kernel/qwidgetwindow.cpp:684 #21 0x7faca8802d1f in QWidgetWindow::event (this=0x1f3c6f0, event=0x7ffdc311cbb0) at kernel/qwidgetwindow.cpp:300 #22 0x7faca87a519e in QApplicationPrivate::notify_helper (this=, receiver=0x1f3c6f0, e=0x7ffdc311cbb0) at kernel/qapplication.cpp:3640 #23 0x7faca7aed568 in QCoreApplication::notifyInternal2 (receiver=0x1f3c6f0, event=0x7ffdc311cbb0) at kernel/qcoreapplication.cpp:1064 #24 0x7faca7aed73e in QCoreApplication::sendSpontaneousEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1474 #25 0x7faca7f7d0eb in QGuiApplicationPrivate::processMouseEvent (e=0x21b4e70) at kernel/qguiapplication.cpp:2285 #26 0x7faca7f5036c in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169 #27 0x7fac9bf1c1aa in xcbSourceDispatch (source=) at qxcbeventdispatcher.cpp:105 #28 0x7faca4124ef0 in ?? () from /lib64/libglib-2.0.so.0 #29 0x7faca4126b18 in ?? () from /lib64/libglib-2.0.so.0 #30 0x7faca41271cc in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #31 0x7faca7b464a6 in QEventDispatcherGlib::processEvents (this=0x1aff7c0, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #32 0x7faca7aebffb in
[kphotoalbum] [Bug 476131] KPhotoAlbum crashes after using Toggle full-screen preview, deleting image, resizing annotations window and then using Toggle full-screen preview again
https://bugs.kde.org/show_bug.cgi?id=476131 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #2 from Victor Lobo --- Thank you! The fix works. -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 476561] New: KPhotoAlbum crashes when changes in Annotation window are not saved and then user right clicks "Show" in Viewer window
https://bugs.kde.org/show_bug.cgi?id=476561 Bug ID: 476561 Summary: KPhotoAlbum crashes when changes in Annotation window are not saved and then user right clicks "Show" in Viewer window Classification: Applications Product: kphotoalbum Version: 5.11.0 Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Annotation Dialog Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes when changes in Annotation window are not saved and then user right clicks "Show" in Viewer window STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open an Image/Video in Viewer window 4. Open Annotations window (Ctrl + 1) 5. Make some changes in Annotations window (but do cancel or save; keep the Annotations window open) 6. Go to open Viewer window and go to "Show" in right click context menu 7. Click Cancel or Discard in the "Discard Changes?"dialog box that comes up 8. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-166-g7c4b2886 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. 3. Crash occurs for Images and Videos. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 QMenuSloppyState::setSubMenuPopup (this=0x21ecb80, actionRect=..., resetAction=, subMenu=0x0) at widgets/qmenu.h:65 #5 0x7fc1b2d2bdb0 in QMenu::internalDelayedPopup (this=0x24edfa0) at widgets/qmenu.cpp:3676 #6 0x7fc1b1f1922b in QObject::event (this=0x24edfa0, e=0x7ffd33130830) at kernel/qobject.cpp:1369 #7 0x7fc1b2ba519e in QApplicationPrivate::notify_helper (this=, receiver=0x24edfa0, e=0x7ffd33130830) at kernel/qapplication.cpp:3640 #8 0x7fc1b1eed568 in QCoreApplication::notifyInternal2 (receiver=0x24edfa0, event=0x7ffd33130830) at kernel/qcoreapplication.cpp:1064 #9 0x7fc1b1eed72e in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 #10 0x7fc1b1f45899 in QTimerInfoList::activateTimers (this=0x1b32030) at kernel/qtimerinfo_unix.cpp:643 #11 0x7fc1b1f46144 in timerSourceDispatch (source=) at kernel/qeventdispatcher_glib.cpp:183 #12 0x7fc1ae524ef0 in ?? () from /lib64/libglib-2.0.so.0 #13 0x7fc1ae526b18 in ?? () from /lib64/libglib-2.0.so.0 #14 0x7fc1ae5271cc in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #15 0x7fc1b1f464a6 in QEventDispatcherGlib::processEvents (this=0x1b33940, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #16 0x7fc1b1eebffb in QEventLoop::exec (this=this@entry=0x7ffd33130a80, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #17 0x7fc1b2d2b70f in QMenuPrivate::exec(QPoint const&, QAction*, std::function) (this=0x21ec920, p=..., action=0x0, positionFunction=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #18 0x7fc1b2d2b82f in QMenu::exec (this=, p=..., action=) at widgets/qmenu.cpp:2686 #19 0x004d7c81 in Viewer::ViewerWidget::contextMenuEvent (this=0x20ccee0, e=0x7ffd33130d20) at /home/victor/kphotoalbum/Viewer/ViewerWidget.cpp:561 #20 0x7fc1b2be6d68 in QWidget::event (this=this@entry=0x20ccee0, event=event@entry=0x7ffd33130d20) at kernel/qwidget.cpp:9045 #21 0x7fc1b2c91f7e in QFrame::event (this=0x20ccee0, e=0x7ffd33130d20) at widgets/qframe.cpp:550 #22 0x7fc1b2ba519e in QApplicationPrivate::notify_helper (this=this@entry=0x1a591e0, receiver=receiver@entry=0x20ccee0, e=e@entry=0x7ffd33130d20) at kernel/qapplication.cpp:3640 #23 0x7fc1b2badaaa in QApplication::notify (this=, receiver=, e=0x7ffd33130f50) at kernel/qapplication.cpp:3246 #24 0x7fc1b1eed568 in QCoreApplication::notifyInternal2 (receiver=0x21ed160, event=0x7ffd33130f50) at kernel/qcoreapplication.cpp:1064 #25 0x7fc1b1eed5b2 in QCoreApplication::forwardEvent (receiver=, event=, originatingEvent=) at kernel/qcoreapplication.cpp:1079 #26 0x7fc1b2bfff59 in QWidgetWindow::handleMouseEvent (this=this@entry=0x2528a70, event=event@entry=0x7ffd33131240) at kernel/qwidgetwindow.cpp:692 #27 0x7fc1b2c02d1f in QWidgetWindow::event (this=0x2528a70, event=0x7ffd33131240) at kernel/qwidgetwindow.cpp:300 #28 0x7fc1b2ba519e in QApplicationPrivate::notify_helper (this=, receiver=0x2528a70, e=0x7ffd33131240) at kernel/qapplication.cpp:3640 #29 0x7fc1b1eed568 in QCoreApplication::notifyInternal2 (receiver=0x2528a70, event=0x7ffd33131240) at kernel/qcoreapplication.cpp:1064 #30
[kphotoalbum] [Bug 476131] New: KPhotoAlbum crashes after using Toggle full-screen preview, deleting image, resizing annotations window and then using Toggle full-screen preview again
https://bugs.kde.org/show_bug.cgi?id=476131 Bug ID: 476131 Summary: KPhotoAlbum crashes after using Toggle full-screen preview, deleting image, resizing annotations window and then using Toggle full-screen preview again Classification: Applications Product: kphotoalbum Version: 5.11.0 Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Annotation Dialog Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes after using Toggle full-screen preview, deleting image, resizing annotations window and then using Toggle full-screen preview again STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open an Image/Video in Annotations window 4. Click on Toggle full-screen preview (Ctrl-Space) 5. Click Cancel in full-screen preview to return back to Annotations window 6. Click on Delete Image in Annotations window 7. Select move to trash or delete from disk or remove from database and click OK (in the Removing Items dialog popup) - screen comes back to Thumbnail View 8. Open another Image/Video in Annotations window 9. Resize the Annotations window (by using mouse to drag window edge or clicking Maximize/Restore button) 10. Click on Delete Image in Annotations window 11. Click on Toggle full-screen preview (Ctrl-Space) 12. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-155-gd1350e82 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. 3. Crash occurs for Images and Videos. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7f988e891e0c in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7f988e83f0e6 in raise () from /lib64/libc.so.6 #6 0x7f988e8268d7 in abort () from /lib64/libc.so.6 #7 0x7f988f0bb4f9 in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffd3229e9b8, msg=msg@entry=0x7f988f3d2028 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893 #9 0x7f988f0ba78c in qt_assert_x (where=, what=, file=, line=) at global/qglobal.cpp:3399 #10 0x004e2174 in QList::operator[] (this=0x2a41110, i=0) at /usr/include/qt5/QtCore/qlist.h:579 #11 0x004d7874 in Viewer::ViewerWidget::setCaptionWithDetail (this=0x2a41040, detail=...) at /home/victor/kphotoalbum/Viewer/ViewerWidget.cpp:507 #12 0x004e683c in QtPrivate::FunctorCall, QtPrivate::List, void, void (Viewer::ViewerWidget::*)(QString const&)>::call (f=(void (Viewer::ViewerWidget::*)(Viewer::ViewerWidget * const, const QString &)) 0x4d7840 , o=0x2a41040, arg=0x7ffd3229ebf0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #13 0x004e5e54 in QtPrivate::FunctionPointer::call, void> (f=(void (Viewer::ViewerWidget::*)(Viewer::ViewerWidget * const, const QString &)) 0x4d7840 , o=0x2a41040, arg=0x7ffd3229ebf0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #14 0x004e4aa3 in QtPrivate::QSlotObject, void>::impl (which=1, this_=0x2f55760, r=0x2a41040, a=0x7ffd3229ebf0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #15 0x7f988f325812 in QtPrivate::QSlotObjectBase::call (a=0x7ffd3229ebf0, r=0x2a41040, this=0x2f55760) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #16 doActivate (sender=0x2bd5ba0, signal_index=9, argv=0x7ffd3229ebf0) at kernel/qobject.cpp:3925 #17 0x004ed7e9 in Viewer::ImageDisplay::setCaptionInfo (this=0x2bd5ba0, _t1=...) at /home/victor/kphotoalbum/build/kphotoalbum_autogen/include/moc_ImageDisplay.cpp:222 #18 0x004eaff3 in Viewer::ImageDisplay::updateZoomCaption (this=0x2bd5ba0) at /home/victor/kphotoalbum/Viewer/ImageDisplay.cpp:452 #19 0x004e9fcc in Viewer::ImageDisplay::cropAndScale (this=0x2bd5ba0) at /home/victor/kphotoalbum/Viewer/ImageDisplay.cpp:277 #20 0x004e8b32 in Viewer::ImageDisplay::resizeEvent (this=0x2bd5ba0, event=0x7ffd3229efa0) at /home/victor/kphotoalbum/Viewer/ImageDisplay.cpp:142 #21 0x7f988ffe734a in QWidget::event (this=0x2bd5ba0, event=0x7ffd3229efa0) at kernel/qwidget.cpp:8835 #22 0x7f988ffa519e in QApplicationPrivate::notify_helper (this=, receiver=0x2bd5ba0, e=0x7ffd3229efa0) at kernel/qapplication.cpp:3640 #23 0x7f988f2ed568 in QCoreApplication::notifyInternal2 (receiver=0x2bd5ba0, event=0x7ffd3229efa0) at kernel/qcoreapplication.cpp:1064 #24 0x7f988f2ed72e in QCoreApplication::sendEvent
[kphotoalbum] [Bug 475388] KPhotoAlbum crashes after Delete Image in Annotations window for an image that is already deleted
https://bugs.kde.org/show_bug.cgi?id=475388 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #5 from Victor Lobo --- Yes, fix works well. Thank you! -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 475387] KPhotoAlbum crashes after Toggle full-screen preview in Annotations window for an image that is already deleted
https://bugs.kde.org/show_bug.cgi?id=475387 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #6 from Victor Lobo --- Fix is good. Thank you! -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 475585] KPhotoAlbum crashes on clicking "Copy Image to ..." in Full screen preview in Annotations window
https://bugs.kde.org/show_bug.cgi?id=475585 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #6 from Victor Lobo --- That fixes the crash. Thanks! -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 475585] New: KPhotoAlbum crashes on clicking "Copy Image to ..." in Full screen preview in Annotations window
https://bugs.kde.org/show_bug.cgi?id=475585 Bug ID: 475585 Summary: KPhotoAlbum crashes on clicking "Copy Image to ..." in Full screen preview in Annotations window Classification: Applications Product: kphotoalbum Version: 5.11.0 Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Viewer Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes on clicking "Copy Image to ..." or "Link Image to ..." in Full screen preview in Annotations window STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open an Image/Video in Annotations window 4. Click on Toggle full-screen preview (Ctrl-Space) 5. Right Click and then in context menu Click on "Copy Image to ..." F7 or "Link Image to ..." Shift+F7 6. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-139-g3786a06e ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. 3. Crash occurs for Images and Videos. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 0x004736ae in QString::isEmpty (this=0x610072007b) at /usr/include/qt5/QtCore/qstring.h:1078 #5 0x005608e7 in MainWindow::CopyLinkEngine::selectTarget (this=0x610072006b, parent=0x2b88d50, files=..., action=MainWindow::CopyLinkEngine::Copy) at /home/victor/kphotoalbum/MainWindow/CopyLinkEngine.cpp:30 #6 0x004dea8b in Viewer::ViewerWidget::triggerCopyLinkAction (this=0x2b88d50, action=MainWindow::CopyLinkEngine::Copy) at /home/victor/kphotoalbum/Viewer/ViewerWidget.cpp:1572 #7 0x004e74a4 in std::__invoke_impl (__f=@0x2f0a810: (void (Viewer::ViewerWidget::*)(Viewer::ViewerWidget * const, MainWindow::CopyLinkEngine::Action)) 0x4de996 , __t=@0x2f0a828: 0x2b88d50) at /usr/include/c++/13/bits/invoke.h:74 #8 0x004e731d in std::__invoke (__fn=@0x2f0a810: (void (Viewer::ViewerWidget::*)(Viewer::ViewerWidget * const, MainWindow::CopyLinkEngine::Action)) 0x4de996 ) at /usr/include/c++/13/bits/invoke.h:96 #9 0x004e7199 in std::_Bind::__call(std::tuple&&, std::_Index_tuple<0ul, 1ul>) (this=0x2f0a810, __args=...) at /usr/include/c++/13/functional:506 #10 0x004e7059 in std::_Bind::operator()(bool&) (this=0x2f0a810) at /usr/include/c++/13/functional:591 #11 0x004e6d50 in QtPrivate::FunctorCall, QtPrivate::List, void, std::_Bind >::call(std::_Bind&, void**) (f=..., arg=0x7ffe208dbbd0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146 #12 0x004e6ad2 in QtPrivate::Functor, 1>::call, void>(std::_Bind&, void*, void**) (f=..., arg=0x7ffe208dbbd0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256 #13 0x004e626e in QtPrivate::QFunctorSlotObject, 1, QtPrivate::List, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x2f0a800, r=0x2b88d50, a=0x7ffe208dbbd0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443 #14 0x7f24f8f25812 in QtPrivate::QSlotObjectBase::call (a=0x7ffe208dbbd0, r=0x2b88d50, this=0x2f0a800) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #15 doActivate (sender=0x2f0a900, signal_index=4, argv=0x7ffe208dbbd0) at kernel/qobject.cpp:3925 #16 0x7f24f8f1e47f in QMetaObject::activate (sender=sender@entry=0x2f0a900, m=m@entry=0x7f24fa0bacc0 , local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe208dbbd0) at kernel/qobject.cpp:3985 #17 0x7f24f9b9e8b2 in QAction::triggered (this=this@entry=0x2f0a900, _t1=) at .moc/moc_qaction.cpp:376 #18 0x7f24f9ba142f in QAction::activate (this=0x2f0a900, event=) at kernel/qaction.cpp:1161 #19 0x7f24f9ba200d in QAction::event (e=, this=) at kernel/qaction.cpp:1086 #20 QAction::event (this=, e=) at kernel/qaction.cpp:1075 #21 0x7f24f9ba519e in QApplicationPrivate::notify_helper (this=, receiver=0x2f0a900, e=0x7ffe208dbd70) at kernel/qapplication.cpp:3640 #22 0x7f24f8eed568 in QCoreApplication::notifyInternal2 (receiver=0x2f0a900, event=0x7ffe208dbd70) at kernel/qcoreapplication.cpp:1064 #23 0x7f24f8eed72e in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 #24 0x7f24f93ad671 in QShortcutMap::dispatchEvent (this=, e=) at kernel/qshortcutmap.cpp:675 #25 0x7f24f93ae28b in QShortcutMap::tryShortcut (this=this@entry=0x23dc288, e=e@entry=0x7ffe208dbe30) at kernel/qshortcutmap.cpp:343 #26 0x7f24f9353976 in QWindowSystemInterface::handleShortcutEvent (window=, timestamp=936747,
[kphotoalbum] [Bug 475387] KPhotoAlbum crashes after Toggle full-screen preview in Annotations window for an image that is already deleted
https://bugs.kde.org/show_bug.cgi?id=475387 --- Comment #3 from Victor Lobo --- A similar crash also occurs when the Map tab is clicked in the Annotations window STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open an Image/Video in Annotations window 4. Click on Toggle full-screen preview (Ctrl-Space) in Annotations window 5. Keep the Annotations window open and go back to the Thumbnail view and delete the same image/video (Press Delete key) 6. Select move to trash or delete from disk or remove from database and click OK (in the Removing Items dialog popup) 7. Go back to Annotations window (now no longer in the full-screen view) and click on the Map tab 8. Crash Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7f9e29491e0c in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7f9e2943f0e6 in raise () from /lib64/libc.so.6 #6 0x7f9e294268d7 in abort () from /lib64/libc.so.6 #7 0x7f9e29cbb4f9 in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffda3d88568, msg=msg@entry=0x7f9e29fd2028 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893 #9 0x7f9e29cba78c in qt_assert_x (where=, what=, file=, line=) at global/qglobal.cpp:3399 #10 0x00599378 in QList >::operator[] (this=0x241a560, i=0) at /usr/include/qt5/QtCore/qlist.h:579 #11 0x005f0203 in AnnotationDialog::Dialog::updateMapForCurrentImage (this=0x241a520) at /home/victor/kphotoalbum/AnnotationDialog/Dialog.cpp:1762 #12 0x005f066a in AnnotationDialog::Dialog::mapLoadingFinished (this=0x241a520, mapHasImages=false, allImagesHaveCoordinates=true) at /home/victor/kphotoalbum/AnnotationDialog/Dialog.cpp:1855 #13 0x005f051d in AnnotationDialog::Dialog::populateMap (this=0x241a520) at /home/victor/kphotoalbum/AnnotationDialog/Dialog.cpp:1820 #14 0x005f8b48 in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (AnnotationDialog::Dialog::*)()>::call(void (AnnotationDialog::Dialog::*)(), AnnotationDialog::Dialog*, void**) (f=(void (AnnotationDialog::Dialog::*)(AnnotationDialog::Dialog * const)) 0x5f031c , o=0x241a520, arg=0x3445088) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #15 0x005f7e7c in QtPrivate::FunctionPointer::call, void>(void (AnnotationDialog::Dialog::*)(), AnnotationDialog::Dialog*, void**) (f=(void (AnnotationDialog::Dialog::*)(AnnotationDialog::Dialog * const)) 0x5f031c , o=0x241a520, arg=0x3445088) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #16 0x005f64a3 in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x39ab750, r=0x241a520, a=0x3445088, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #17 0x7f9e29f19320 in QObject::event (this=0x241a520, e=0x3445040) at kernel/qobject.cpp:1347 #18 0x7f9e2aba519e in QApplicationPrivate::notify_helper (this=, receiver=0x241a520, e=0x3445040) at kernel/qapplication.cpp:3640 #19 0x7f9e29eed568 in QCoreApplication::notifyInternal2 (receiver=0x241a520, event=0x3445040) at kernel/qcoreapplication.cpp:1064 #20 0x7f9e29eed72e in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 #21 0x7f9e29ef0b61 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1dfbd60) at kernel/qcoreapplication.cpp:1821 #22 0x7f9e29ef10a8 in QCoreApplication::sendPostedEvents (receiver=, event_type=) at kernel/qcoreapplication.cpp:1680 #23 0x7f9e29f46c93 in postEventSourceDispatch (s=0x1ec9500) at kernel/qeventdispatcher_glib.cpp:277 #24 0x7f9e2672b9d8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #25 0x7f9e2672bde8 in ?? () from /lib64/libglib-2.0.so.0 #26 0x7f9e2672be7c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #27 0x7f9e29f464a6 in QEventDispatcherGlib::processEvents (this=0x1ed8e20, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #28 0x7f9e29eebffb in QEventLoop::exec (this=this@entry=0x7ffda3d88b10, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #29 0x7f9e2adada07 in QDialog::exec (this=0x241a520) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #30 0x005ea0ee in AnnotationDialog::Dialog::exec (this=0x241a520) at /home/victor/kphotoalbum/AnnotationDialog/Dialog.cpp:957 #31 0x005e8399 in AnnotationDialog::Dialog::configure (this=0x241a520, list=..., oneAtATime=true) at /home/victor/kphotoalbum/AnnotationDialog/Dialog.cpp:768 #32 0x00536c57 in MainWindow::Window::configImages (this=0x2042f90, list=..., oneAtATime=true) at /home/victor/kphotoalbum/MainWindow/Window.cpp:509 #33 0x00536bf5 in MainWindow::Window::configureImages (list=..., oneAtATime=true) at /home/victor/kphotoalbum/MainWindow/Window.cpp:503 #34 0x00536b4c in MainWindow::W
[kphotoalbum] [Bug 475387] KPhotoAlbum crashes after Toggle full-screen preview in Annotations window for an image that is already deleted
https://bugs.kde.org/show_bug.cgi?id=475387 Victor Lobo changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- Ever confirmed|0 |1 --- Comment #2 from Victor Lobo --- Reopening this bug since the following crash now occurs STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open an Image/Video in Annotations window 4. Click on Toggle full-screen preview (Ctrl-Space) in Annotations window 5. Keep the Annotations window open and go back to the Thumbnail view and delete the same image/video (Press Delete key) 6. Select move to trash or delete from disk or remove from database and click OK (in the Removing Items dialog popup) 7. Go back to Annotations window (now no longer in the full-screen view) and click on Toggle full-screen preview (Ctrl-Space) 8. Crash Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7f80d7e91e0c in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7f80d7e3f0e6 in raise () from /lib64/libc.so.6 #6 0x7f80d7e268d7 in abort () from /lib64/libc.so.6 #7 0x7f80d86bb4f9 in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffd11fc5488, msg=msg@entry=0x7f80d89d2028 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893 #9 0x7f80d86ba78c in qt_assert_x (where=, what=, file=, line=) at global/qglobal.cpp:3399 #10 0x005f291c in QList::operator[] (this=0x2923b28, i=0) at /usr/include/qt5/QtCore/qlist.h:579 #11 0x005eeb2b in AnnotationDialog::Dialog::togglePreview (this=0x2923ae0) at /home/victor/kphotoalbum/AnnotationDialog/Dialog.cpp:1502 #12 0x005f8b48 in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (AnnotationDialog::Dialog::*)()>::call(void (AnnotationDialog::Dialog::*)(), AnnotationDialog::Dialog*, void**) (f=(void (AnnotationDialog::Dialog::*)(AnnotationDialog::Dialog * const)) 0x5eea80 , o=0x2923ae0, arg=0x7ffd11fc57a0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #13 0x005f7e7c in QtPrivate::FunctionPointer::call, void>(void (AnnotationDialog::Dialog::*)(), AnnotationDialog::Dialog*, void**) (f=(void (AnnotationDialog::Dialog::*)(AnnotationDialog::Dialog * const)) 0x5eea80 , o=0x2923ae0, arg=0x7ffd11fc57a0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #14 0x005f64a3 in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x30af980, r=0x2923ae0, a=0x7ffd11fc57a0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #15 0x7f80d8925812 in QtPrivate::QSlotObjectBase::call (a=0x7ffd11fc57a0, r=0x2923ae0, this=0x30af980) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #16 doActivate (sender=0x309f210, signal_index=13, argv=0x7ffd11fc57a0) at kernel/qobject.cpp:3925 #17 0x00609e91 in AnnotationDialog::ImagePreviewWidget::togglePreview (this=0x309f210) at /home/victor/kphotoalbum/build/kphotoalbum_autogen/include/moc_ImagePreviewWidget.cpp:284 #18 0x006092ec in AnnotationDialog::ImagePreviewWidget::toggleFullscreenPreview (this=0x309f210) at /home/victor/kphotoalbum/AnnotationDialog/ImagePreviewWidget.cpp:326 #19 0x005f9ac3 in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (AnnotationDialog::ImagePreviewWidget::*)()>::call(void (AnnotationDialog::ImagePreviewWidget::*)(), AnnotationDialog::ImagePreviewWidget*, void**) (f=(void (AnnotationDialog::ImagePreviewWidget::*)(AnnotationDialog::ImagePreviewWidget * const)) 0x6092d4 , o=0x309f210, arg=0x7ffd11fc59d0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #20 0x005f9961 in QtPrivate::FunctionPointer::call, void>(void (AnnotationDialog::ImagePreviewWidget::*)(), AnnotationDialog::ImagePreviewWidget*, void**) (f=(void (AnnotationDialog::ImagePreviewWidget::*)(AnnotationDialog::ImagePreviewWidget * const)) 0x6092d4 , o=0x309f210, arg=0x7ffd11fc59d0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #21 0x005f97df in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x30a20e0, r=0x309f210, a=0x7ffd11fc59d0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #22 0x7f80d8925812 in QtPrivate::QSlotObjectBase::call (a=0x7ffd11fc59d0, r=0x309f210, this=0x30a20e0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #23 doActivate (sender=0x30a11f0, signal_index=9, argv=0x7ffd11fc59d0) at kernel/qobject.cpp:3925 #24 0x7f80d891e47f in QMetaObject::activate (sender=sender@entry=0x30a11f0, m=m@entry=0x7f80d9ac0280 , local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd11fc59d0) at kernel/qobject.
[kphotoalbum] [Bug 475388] KPhotoAlbum crashes after Delete Image in Annotations window for an image that is already deleted
https://bugs.kde.org/show_bug.cgi?id=475388 Victor Lobo changed: What|Removed |Added Status|RESOLVED|REOPENED Ever confirmed|0 |1 Resolution|FIXED |--- --- Comment #2 from Victor Lobo --- Reopening this bug since a crash occurs now on click of Delete in the Annotations window for a image that exists. STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open an Image/Video in Annotations window 4. Click on Delete Image icon 5. Click OK (in the Removing Items dialog popup) 6. Crash Backtrace Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7fcb63e91e0c in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7fcb63e3f0e6 in raise () from /lib64/libc.so.6 #6 0x7fcb63e268d7 in abort () from /lib64/libc.so.6 #7 0x7fcb646bb4f9 in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffc31447588, msg=msg@entry=0x7fcb649d2028 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893 #9 0x7fcb646ba78c in qt_assert_x (where=, what=, file=, line=) at global/qglobal.cpp:3399 #10 0x005f34e2 in QList::at (this=0x2ca73a8, i=0) at /usr/include/qt5/QtCore/qlist.h:571 #11 0x00608cda in AnnotationDialog::ImagePreviewWidget::slotDeleteImage (this=0x33c07c0) at /home/victor/kphotoalbum/AnnotationDialog/ImagePreviewWidget.cpp:230 #12 0x005f9ac3 in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (AnnotationDialog::ImagePreviewWidget::*)()>::call(void (AnnotationDialog::ImagePreviewWidget::*)(), AnnotationDialog::ImagePreviewWidget*, void**) (f=(void (AnnotationDialog::ImagePreviewWidget::*)(AnnotationDialog::ImagePreviewWidget * const)) 0x608bae , o=0x33c07c0, arg=0x7ffc31447910) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #13 0x005f9961 in QtPrivate::FunctionPointer::call, void>(void (AnnotationDialog::ImagePreviewWidget::*)(), AnnotationDialog::ImagePreviewWidget*, void**) (f=(void (AnnotationDialog::ImagePreviewWidget::*)(AnnotationDialog::ImagePreviewWidget * const)) 0x608bae , o=0x33c07c0, arg=0x7ffc31447910) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #14 0x005f97df in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x33c78f0, r=0x33c07c0, a=0x7ffc31447910, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #15 0x7fcb64925812 in QtPrivate::QSlotObjectBase::call (a=0x7ffc31447910, r=0x33c07c0, this=0x33c78f0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #16 doActivate (sender=0x33c66b0, signal_index=9, argv=0x7ffc31447910) at kernel/qobject.cpp:3925 #17 0x7fcb6491e47f in QMetaObject::activate (sender=sender@entry=0x33c66b0, m=m@entry=0x7fcb65ac0280 , local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffc31447910) at kernel/qobject.cpp:3985 #18 0x7fcb65696ac2 in QAbstractButton::clicked (this=this@entry=0x33c66b0, _t1=) at .moc/moc_qabstractbutton.cpp:308 #19 0x7fcb65696d2a in QAbstractButtonPrivate::emitClicked (this=0x33c6e20) at widgets/qabstractbutton.cpp:416 #20 0x7fcb65698567 in QAbstractButtonPrivate::click (this=0x33c6e20) at widgets/qabstractbutton.cpp:409 #21 0x7fcb65698777 in QAbstractButton::mouseReleaseEvent (this=0x33c66b0, e=0x7ffc31447ea0) at widgets/qabstractbutton.cpp:1045 #22 0x7fcb655e6d68 in QWidget::event (this=0x33c66b0, event=0x7ffc31447ea0) at kernel/qwidget.cpp:9045 #23 0x7fcb655a519e in QApplicationPrivate::notify_helper (this=this@entry=0x25fa1c0, receiver=receiver@entry=0x33c66b0, e=e@entry=0x7ffc31447ea0) at kernel/qapplication.cpp:3640 #24 0x7fcb655ad5cf in QApplication::notify (this=, receiver=, e=0x7ffc31447ea0) at kernel/qapplication.cpp:3084 #25 0x7fcb648ed568 in QCoreApplication::notifyInternal2 (receiver=0x33c66b0, event=0x7ffc31447ea0) at kernel/qcoreapplication.cpp:1064 #26 0x7fcb648ed73e in QCoreApplication::sendSpontaneousEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1474 #27 0x7fcb655ab92e in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x33c66b0, event=event@entry=0x7ffc31447ea0, alienWidget=, nativeWidget=0x2ca7360, buttonDown=buttonDown@entry=0x7fcb65af2330 , lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622 #28 0x7fcb655ff7fd in QWidgetWindow::handleMouseEvent (this=this@entry=0x3e99420, event=event@entry=0x7ffc31448150) at kernel/qwidgetwindow.cpp:684 #29 0x7fcb65602d1f in QWidgetWindow::event (this=0x3e99420, event=0x7ffc31448150) at kernel/qwidgetwindow.cpp:300 #30 0x7fcb655a519e in QApplicationPrivate::notify_helper (this=, receiver=0x3e99420, e=0x7ffc31448150)
[kphotoalbum] [Bug 475388] New: KPhotoAlbum crashes after Delete Image in Annotations window for an image that is already deleted
https://bugs.kde.org/show_bug.cgi?id=475388 Bug ID: 475388 Summary: KPhotoAlbum crashes after Delete Image in Annotations window for an image that is already deleted Classification: Applications Product: kphotoalbum Version: 5.11.0 Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Annotation Dialog Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes after Delete Image in Annotations window for an image that is already deleted. Although this bug is similar to bug 475387, I created a new bug report since this bug has a different backtrace. STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open an Image/Video in Annotations window 4. Keep the Annotations window open and go back to the Thumbnail view and delete the same image/video (Press Delete key) 5. Select move to trash or delete from disk or remove from database and click OK (in the Removing Items dialog popup) 6. Go back to Annotations window and click on Delete Image icon 7. Click OK (in the Removing Items dialog popup) 8. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-127-g5f528e40 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. 3. Crash occurs for Images and Videos. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 0x0059151e in DB::ImageInfo::stackId (this=0x0) at /home/victor/kphotoalbum/DB/ImageInfo.cpp:276 #5 0x005871d7 in DB::ImageDB::deleteList (this=0x1402b10, list=...) at /home/victor/kphotoalbum/DB/ImageDB.cpp:613 #6 0x005870fc in DB::ImageDB::addToBlockList (this=0x1402b10, list=...) at /home/victor/kphotoalbum/DB/ImageDB.cpp:601 #7 0x006535c5 in Utilities::DeleteFiles::deleteFilesPrivate (this=0x2ec22e0, files=..., method=Utilities::BlockFromDatabase) at /home/victor/kphotoalbum/Utilities/DeleteFiles.cpp:75 #8 0x00653203 in Utilities::DeleteFiles::deleteFiles (files=..., method=Utilities::BlockFromDatabase) at /home/victor/kphotoalbum/Utilities/DeleteFiles.cpp:31 #9 0x005245d3 in MainWindow::DeleteDialog::deleteImages (this=0x7ffe6035fc70) at /home/victor/kphotoalbum/MainWindow/DeleteDialog.cpp:89 #10 0x00524bfa in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (MainWindow::DeleteDialog::*)()>::call(void (MainWindow::DeleteDialog::*)(), MainWindow::DeleteDialog*, void**) (f=(void (MainWindow::DeleteDialog::*)(MainWindow::DeleteDialog * const)) 0x52457a , o=0x7ffe6035fc70, arg=0x7ffe6035ed90) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #11 0x00524b8c in QtPrivate::FunctionPointer::call, void>(void (MainWindow::DeleteDialog::*)(), MainWindow::DeleteDialog*, void**) (f=(void (MainWindow::DeleteDialog::*)(MainWindow::DeleteDialog * const)) 0x52457a , o=0x7ffe6035fc70, arg=0x7ffe6035ed90) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #12 0x00524af7 in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x16cdee0, r=0x7ffe6035fc70, a=0x7ffe6035ed90, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #13 0x7f09b0325812 in QtPrivate::QSlotObjectBase::call (a=0x7ffe6035ed90, r=0x7ffe6035fc70, this=0x16cdee0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #14 doActivate (sender=0x1bb8b70, signal_index=8, argv=0x7ffe6035ed90) at kernel/qobject.cpp:3925 #15 0x7f09b031e47f in QMetaObject::activate (sender=sender@entry=0x1bb8b70, m=m@entry=0x7f09b14c9440 , local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x0) at kernel/qobject.cpp:3985 #16 0x7f09b1140203 in QDialogButtonBox::accepted (this=this@entry=0x1bb8b70) at .moc/moc_qdialogbuttonbox.cpp:287 #17 0x7f09b1140860 in QDialogButtonBoxPrivate::_q_handleButtonClicked (this=) at widgets/qdialogbuttonbox.cpp:878 #18 0x7f09b03257b3 in doActivate (sender=0x154ac40, signal_index=9, argv=0x7ffe6035eef0) at kernel/qobject.cpp:3937 #19 0x7f09b031e47f in QMetaObject::activate (sender=sender@entry=0x154ac40, m=m@entry=0x7f09b14c0280 , local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffe6035eef0) at kernel/qobject.cpp:3985 #20 0x7f09b1096ac2 in QAbstractButton::clicked (this=this@entry=0x154ac40, _t1=) at .moc/moc_qabstractbutton.cpp:308 #21 0x7f09b1096d2a in QAbstractButtonPrivate::emitClicked (this=0x2ea6c80) at widgets/qabstractbutton.cpp:416 #22
[kphotoalbum] [Bug 475387] New: KPhotoAlbum crashes after Toggle full-screen preview in Annotations window for an image that is already deleted
https://bugs.kde.org/show_bug.cgi?id=475387 Bug ID: 475387 Summary: KPhotoAlbum crashes after Toggle full-screen preview in Annotations window for an image that is already deleted Classification: Applications Product: kphotoalbum Version: 5.11.0 Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Annotation Dialog Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes after Toggle full-screen preview in Annotations window for an image that is already deleted STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open an Image/Video in Annotations window 4. Keep the Annotations window open and go back to the Thumbnail view and delete the same image/video (Press Delete key) 5. Select move to trash or delete from disk or remove from database and click OK (in the Removing Items dialog popup) 6. Go back to Annotations window and click on Toggle full-screen preview (Ctrl-Space) 7. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230906; Kernel Version: 6.4.12-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.109.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-127-g5f528e40 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. 3. Crash occurs for Images and Videos. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 0x004b1318 in DB::ImageInfo::isStacked (this=0x0) at /home/victor/kphotoalbum/DB/ImageInfo.h:144 #5 0x004d721a in Viewer::ViewerWidget::load (this=0x2b9bf80) at /home/victor/kphotoalbum/Viewer/ViewerWidget.cpp:491 #6 0x004d6bfe in Viewer::ViewerWidget::load (this=0x2b9bf80, list=..., index=0) at /home/victor/kphotoalbum/Viewer/ViewerWidget.cpp:435 #7 0x005ee2e3 in AnnotationDialog::Dialog::togglePreview (this=0x2c30470) at /home/victor/kphotoalbum/AnnotationDialog/Dialog.cpp:1502 #8 0x005f7a3a in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (AnnotationDialog::Dialog::*)()>::call(void (AnnotationDialog::Dialog::*)(), AnnotationDialog::Dialog*, void**) (f=(void (AnnotationDialog::Dialog::*)(AnnotationDialog::Dialog * const)) 0x5ee1b2 , o=0x2c30470, arg=0x7fff5a180260) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #9 0x005f6db4 in QtPrivate::FunctionPointer::call, void>(void (AnnotationDialog::Dialog::*)(), AnnotationDialog::Dialog*, void**) (f=(void (AnnotationDialog::Dialog::*)(AnnotationDialog::Dialog * const)) 0x5ee1b2 , o=0x2c30470, arg=0x7fff5a180260) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #10 0x005f54c9 in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x3e164c0, r=0x2c30470, a=0x7fff5a180260, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #11 0x7f9e64725812 in QtPrivate::QSlotObjectBase::call (a=0x7fff5a180260, r=0x2c30470, this=0x3e164c0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #12 doActivate (sender=0x3e16550, signal_index=4, argv=0x7fff5a180260) at kernel/qobject.cpp:3925 #13 0x7f9e6471e47f in QMetaObject::activate (sender=sender@entry=0x3e16550, m=m@entry=0x7f9e658bacc0 , local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff5a180260) at kernel/qobject.cpp:3985 #14 0x7f9e6539e8b2 in QAction::triggered (this=this@entry=0x3e16550, _t1=) at .moc/moc_qaction.cpp:376 #15 0x7f9e653a142f in QAction::activate (this=0x3e16550, event=) at kernel/qaction.cpp:1161 #16 0x7f9e653a200d in QAction::event (e=, this=) at kernel/qaction.cpp:1086 #17 QAction::event (this=, e=) at kernel/qaction.cpp:1075 #18 0x7f9e653a519e in QApplicationPrivate::notify_helper (this=, receiver=0x3e16550, e=0x7fff5a180400) at kernel/qapplication.cpp:3640 #19 0x7f9e646ed568 in QCoreApplication::notifyInternal2 (receiver=0x3e16550, event=0x7fff5a180400) at kernel/qcoreapplication.cpp:1064 #20 0x7f9e646ed72e in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 #21 0x7f9e64bad671 in QShortcutMap::dispatchEvent (this=, e=) at kernel/qshortcutmap.cpp:675 #22 0x7f9e64bae28b in QShortcutMap::tryShortcut (this=this@entry=0x2584288, e=e@entry=0x7fff5a1804c0) at kernel/qshortcutmap.cpp:343 #23 0x7f9e64b53976 in QWindowSystemInterface::handleShortcutEvent (window=, timestamp=1957744, keyCode=32, modifiers=..., nativeScanCode=65, nativeVirtualKey=32, nativeModifiers=20, text=..., autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:477 #24 0x7f9e64b78d9d in
[kphotoalbum] [Bug 474151] KPhotoAlbum crashes when Annotations are not saved and then user right-clicks Show Info in Viewer
https://bugs.kde.org/show_bug.cgi?id=474151 --- Comment #9 from Victor Lobo --- This bug is fixed. Thank you Johannes. Please close it. -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 474151] KPhotoAlbum crashes when Annotations are not saved and then user right-clicks Show Info in Viewer
https://bugs.kde.org/show_bug.cgi?id=474151 Victor Lobo changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED|REOPENED --- Comment #6 from Victor Lobo --- Reopening this bug since the same crash still occurs in the following scenario in git master. STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Go to Annotations window for any image or video (CTRL + 1) 4. Add a positionable tag in the Annotation Window 5. Click DONE in Annotations window 6. Open any image or video in Viewer (press Enter) 7. Go to Info in the right-click context menu in Viewer. ("Discard Changes?" popup dialog is displayed) 8. Click Discard or Cancel in "Discard Changes?" popup dialog 9. Crash -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 474392] KPhotoAlbum crashes when user opens the last image/video in viewer then deletes the image and then accesses Show in the Viewer Context Menu
https://bugs.kde.org/show_bug.cgi?id=474392 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #5 from Victor Lobo --- This fix works well. Thank you! -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 474392] KPhotoAlbum crashes when user opens the last image/video in viewer then deletes the image and then accesses Show in the Viewer Context Menu
https://bugs.kde.org/show_bug.cgi?id=474392 Victor Lobo changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #2 from Victor Lobo --- Reopening this bug since the fix seems to have caused another crash if the file is deleted when the Viewer and Annotations window is open. Let me know if this should we reported as a new bug. Steps to reproduce this: 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open any image or video (does NOT have to be the last) 4. From the Viewer window opens the Annotations window (Ctrl + 1) 5. Keep the Viewer window and Annotations window open and go back to Thumbnail view and delete ANY image/video (Press Delete key) 6. Crash Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7f4195091e0c in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7f419503f0e6 in raise () from /lib64/libc.so.6 #6 0x7f41950268d7 in abort () from /lib64/libc.so.6 #7 0x7f41958bb4f9 in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffe4cb45e88, msg=msg@entry=0x7f4195bd2028 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893 #9 0x7f41958ba78c in qt_assert_x (where=, what=, file=, line=) at global/qglobal.cpp:3399 #10 0x004e13d2 in QList::operator[] (this=0x18322c0, i=0) at /usr/include/qt5/QtCore/qlist.h:579 #11 0x004d72ba in Viewer::ViewerWidget::slotRemoveDeletedImages (this=0x18321f0, imageList=...) at /home/victor/Downloads/kphotoalbum/Viewer/ViewerWidget.cpp:515 #12 0x004e5ac9 in QtPrivate::FunctorCall, QtPrivate::List, void, void (Viewer::ViewerWidget::*)(DB::FileNameList const&)>::call (f=(void (Viewer::ViewerWidget::*)(Viewer::ViewerWidget * const, const DB::FileNameList &)) 0x4d728a , o=0x18321f0, arg=0x7ffe4cb460f0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #13 0x004e50b2 in QtPrivate::FunctionPointer::call, void> (f=(void (Viewer::ViewerWidget::*)(Viewer::ViewerWidget * const, const DB::FileNameList &)) 0x4d728a , o=0x18321f0, arg=0x7ffe4cb460f0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #14 0x004e3e7b in QtPrivate::QSlotObject, void>::impl (which=1, this_=0x1a86c50, r=0x18321f0, a=0x7ffe4cb460f0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #15 0x7f4195b25812 in QtPrivate::QSlotObjectBase::call (a=0x7ffe4cb460f0, r=0x18321f0, this=0x1a86c50) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #16 doActivate (sender=0xbe65d0, signal_index=5, argv=0x7ffe4cb460f0) at kernel/qobject.cpp:3925 #17 0x0058b401 in DB::ImageDB::imagesDeleted (this=0xbe65d0, _t1=...) at /home/victor/Downloads/kphotoalbum/build/kphotoalbum_autogen/include/moc_ImageDB.cpp:261 #18 0x00586d12 in DB::ImageDB::deleteList (this=0xbe65d0, list=...) at /home/victor/Downloads/kphotoalbum/DB/ImageDB.cpp:638 #19 0x00652956 in Utilities::DeleteFiles::deleteFilesPrivate (this=0x198ffe0, files=..., method=Utilities::MoveToTrash) at /home/victor/Downloads/kphotoalbum/Utilities/DeleteFiles.cpp:73 #20 0x006525ad in Utilities::DeleteFiles::deleteFiles (files=..., method=Utilities::MoveToTrash) at /home/victor/Downloads/kphotoalbum/Utilities/DeleteFiles.cpp:31 #21 0x00524479 in MainWindow::DeleteDialog::deleteImages (this=0x1963fb0) at /home/victor/Downloads/kphotoalbum/MainWindow/DeleteDialog.cpp:89 #22 0x00524aa0 in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (MainWindow::DeleteDialog::*)()>::call(void (MainWindow::DeleteDialog::*)(), MainWindow::DeleteDialog*, void**) (f=(void (MainWindow::DeleteDialog::*)(MainWindow::DeleteDialog * const)) 0x524420 , o=0x1963fb0, arg=0x7ffe4cb46480) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #23 0x00524a32 in QtPrivate::FunctionPointer::call, void>(void (MainWindow::DeleteDialog::*)(), MainWindow::DeleteDialog*, void**) (f=(void (MainWindow::DeleteDialog::*)(MainWindow::DeleteDialog * const)) 0x524420 , o=0x1963fb0, arg=0x7ffe4cb46480) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #24 0x0052499d in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x1817560, r=0x1963fb0, a=0x7ffe4cb46480, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #25 0x7f4195b25812 in QtPrivate::QSlotObjectBase::call (a=0x7ffe4cb46480, r=0x1963fb0, this=0x1817560) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #26 doActivate (sender=0xe30ca0, signal_index=8, argv=0x7ffe4cb46480) at kernel/qobject.cpp:3925 #27 0x7f4195b1e47f in QMetaObject::activate (sender=sender@entry=0xe30ca0, m=m@entry=0x7f4196cc9440 , local_sign
[kphotoalbum] [Bug 474392] New: KPhotoAlbum crashes when user opens the last image/video in viewer then deletes the image and then accesses Show in the Viewer Context Menu
https://bugs.kde.org/show_bug.cgi?id=474392 Bug ID: 474392 Summary: KPhotoAlbum crashes when user opens the last image/video in viewer then deletes the image and then accesses Show in the Viewer Context Menu Classification: Applications Product: kphotoalbum Version: 5.11.0 Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Viewer Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- Created attachment 161553 --> https://bugs.kde.org/attachment.cgi?id=161553=edit KPA crash when Show clicked in Context Menu for deleted video SUMMARY KPhotoAlbum crashes when user opens the last image/video in viewer then deletes the image and then accesses Show in the Viewer Context Menu STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open the last image/video in the Viewer (has to be the LAST item in viewer) 4. Keep the Viewer window open and go back to the Thumbnail view and delete the same image/video (Press Delete key) 5. Select move to trash or delete from disk or remove from database and click OK (in the Removing Items dialog popup) 6. Go back to Viewer window and right click to open Context Menu 7. Go to Show in the Context Menu 8. Crash Crash video attached OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230816; Kernel Version: 6.4.9-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-96-gc8413194 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. 3. Crash occurs for Images and Videos. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7f39a3891e0c in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7f39a383f0e6 in raise () from /lib64/libc.so.6 #6 0x7f39a38268d7 in abort () from /lib64/libc.so.6 #7 0x7f39a40bb4f9 in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffcbc03d928, msg=msg@entry=0x7f39a43d2028 "ASSERT failure in %s: \"%s\", file %s, line %d") at global/qlogging.cpp:893 #9 0x7f39a40ba78c in qt_assert_x (where=, what=, file=, line=) at global/qglobal.cpp:3399 #10 0x004e13bc in QList::operator[] (this=0x2d93bc0, i=24) at /usr/include/qt5/QtCore/qlist.h:575 #11 0x004d7d5a in Viewer::ViewerWidget::currentInfo (this=0x2d93af0) at /home/victor/kphotoalbum/Viewer/ViewerWidget.cpp:710 #12 0x004d8360 in Viewer::ViewerWidget::updateInfoBox (this=0x2d93af0) at /home/victor/kphotoalbum/Viewer/ViewerWidget.cpp:801 #13 0x004e577b in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (Viewer::ViewerWidget::*)()>::call(void (Viewer::ViewerWidget::*)(), Viewer::ViewerWidget*, void**) (f=(void (Viewer::ViewerWidget::*)(Viewer::ViewerWidget * const)) 0x4d8340 , o=0x2d93af0, arg=0x7ffcbc03db40) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #14 0x004e4e77 in QtPrivate::FunctionPointer::call, void>(void (Viewer::ViewerWidget::*)(), Viewer::ViewerWidget*, void**) (f=(void (Viewer::ViewerWidget::*)(Viewer::ViewerWidget * const)) 0x4d8340 , o=0x2d93af0, arg=0x7ffcbc03db40) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #15 0x004e3a45 in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x31e0d70, r=0x2d93af0, a=0x7ffcbc03db40, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #16 0x7f39a4325812 in QtPrivate::QSlotObjectBase::call (a=0x7ffcbc03db40, r=0x2d93af0, this=0x31e0d70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #17 doActivate (sender=0x31d3a10, signal_index=11, argv=0x7ffcbc03db40) at kernel/qobject.cpp:3925 #18 0x004f8763 in Viewer::VisibleOptionsMenu::visibleOptionsChanged (this=0x31d3a10) at /home/victor/kphotoalbum/build/kphotoalbum_autogen/include/moc_VisibleOptionsMenu.cpp:184 #19 0x004f7f49 in Viewer::VisibleOptionsMenu::toggleShowLabel (this=0x31d3a10, b=true) at /home/victor/kphotoalbum/Viewer/VisibleOptionsMenu.cpp:96 #20 0x004f9327 in QtPrivate::FunctorCall, QtPrivate::List, void, void (Viewer::VisibleOptionsMenu::*)(bool)>::call (f=(void (Viewer::VisibleOptionsMenu::*)(Viewer::VisibleOptionsMenu * const, bool)) 0x4f7f16 , o=0x31d3a10, arg=0x7ffcbc03dd70) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #21 0x004f9221 in QtPrivate::FunctionPointer::call, void> (f=(void (Viewer::VisibleOptionsMenu::*)(Viewer::VisibleOptionsMenu * const, bool)) 0x4f7f16 , o=0x31d3a10, arg=0x7ffcbc03dd70) at
[kphotoalbum] [Bug 474151] KPhotoAlbum crashes when Annotations are not saved and then user right-clicks Show Info in Viewer
https://bugs.kde.org/show_bug.cgi?id=474151 --- Comment #3 from Victor Lobo --- Hi Johannes, Yes, this fixes the crash. However, I want to point out that when I make changes in the Annotations window and click Cancel, I am no longer prompted to save my changes. I assume this was intentional with the latest commit, but not sure. Thank you! Victor -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 474151] New: KPhotoAlbum crashes when Annotations are not saved and then user right-clicks Show Info in Viewer
https://bugs.kde.org/show_bug.cgi?id=474151 Bug ID: 474151 Summary: KPhotoAlbum crashes when Annotations are not saved and then user right-clicks Show Info in Viewer Classification: Applications Product: kphotoalbum Version: 5.11.0 Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Viewer Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes when Annotations are not saved and then user right-clicks Show Info in Viewer STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Go to Annotations window for any image or video (CTRL + 1) 4. Make some changes in Annotations window (for example select tag or change label) but do not save 5. Click Cancel on Annotations window 6. Click Discard on "Discard Changes?" popup dialog to return to Thumbnail Viewer (without saving any annotation changes) 7. Open any image or video in Viewer (press Enter) 8. Go to Show Info in the right-click context menu in Viewer. ("Discard Changes?" popup dialog is displayed) 9. Click Discard or Cancel in "Discard Changes?" popup dialog 10. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230816; Kernel Version: 6.4.9-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-85-g805a99d2 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. 3. Crash occurs for Images and Videos. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 QMenuSloppyState::setSubMenuPopup (this=0x16f87e0, actionRect=..., resetAction=, subMenu=0x0) at widgets/qmenu.h:65 #5 0x7f467fb2bdb0 in QMenu::internalDelayedPopup (this=0x2017630) at widgets/qmenu.cpp:3676 #6 0x7f467ed1922b in QObject::event (this=0x2017630, e=0x7fffe25bb5d0) at kernel/qobject.cpp:1369 #7 0x7f467f9a519e in QApplicationPrivate::notify_helper (this=, receiver=0x2017630, e=0x7fffe25bb5d0) at kernel/qapplication.cpp:3640 #8 0x7f467eced568 in QCoreApplication::notifyInternal2 (receiver=0x2017630, event=0x7fffe25bb5d0) at kernel/qcoreapplication.cpp:1064 #9 0x7f467eced72e in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 #10 0x7f467ed45899 in QTimerInfoList::activateTimers (this=0x1015770) at kernel/qtimerinfo_unix.cpp:643 #11 0x7f467ed46144 in timerSourceDispatch (source=) at kernel/qeventdispatcher_glib.cpp:183 #12 0x7f467b9169b8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #13 0x7f467b916dc8 in ?? () from /lib64/libglib-2.0.so.0 #14 0x7f467b916e5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #15 0x7f467ed464a6 in QEventDispatcherGlib::processEvents (this=0x1016f90, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #16 0x7f467ecebffb in QEventLoop::exec (this=this@entry=0x7fffe25bb820, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #17 0x7f467fb2b70f in QMenuPrivate::exec(QPoint const&, QAction*, std::function) (this=0x16f8580, p=..., action=0x0, positionFunction=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #18 0x7f467fb2b82f in QMenu::exec (this=, p=..., action=) at widgets/qmenu.cpp:2686 #19 0x004d6387 in Viewer::ViewerWidget::contextMenuEvent (this=0x2ee4430, e=0x7fffe25bbac0) at /home/victor/Downloads/kphotoalbum/Viewer/ViewerWidget.cpp:531 #20 0x7f467f9e6d68 in QWidget::event (this=this@entry=0x2ee4430, event=event@entry=0x7fffe25bbac0) at kernel/qwidget.cpp:9045 #21 0x7f467fa91f7e in QFrame::event (this=0x2ee4430, e=0x7fffe25bbac0) at widgets/qframe.cpp:550 #22 0x7f467f9a519e in QApplicationPrivate::notify_helper (this=this@entry=0xf31c90, receiver=receiver@entry=0x2ee4430, e=e@entry=0x7fffe25bbac0) at kernel/qapplication.cpp:3640 #23 0x7f467f9adaaa in QApplication::notify (this=, receiver=, e=0x7fffe25bbcf0) at kernel/qapplication.cpp:3246 #24 0x7f467eced568 in QCoreApplication::notifyInternal2 (receiver=0x1f0fcd0, event=0x7fffe25bbcf0) at kernel/qcoreapplication.cpp:1064 #25 0x7f467eced5b2 in QCoreApplication::forwardEvent (receiver=, event=, originatingEvent=) at kernel/qcoreapplication.cpp:1079 #26 0x7f467f9fff59 in QWidgetWindow::handleMouseEvent (this=this@entry=0x1f73a80, event=event@entry=0x7fffe25bbfe0) at kernel/qwidgetwindow.cpp:692 #27 0x7f467fa02d1f in QWidgetWindow::event (this=0x1f73a80, event=0x7fffe25bbfe0) at kernel/qwidgetwindow.cpp:300 #28 0x7f467f9a519e in QApplicationPrivate::notify_helper (this=, receiver=0x1f73a80, e=0x7fffe25bbfe0) at
[kphotoalbum] [Bug 473762] KPhotoAlbum crashes when Viewer and Annotations is open and then user right-clicks Show Info in Viewer
https://bugs.kde.org/show_bug.cgi?id=473762 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #10 from Victor Lobo --- Yes. This fixes the crash. Thank you! -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 473762] KPhotoAlbum crashes when Viewer and Annotations is open and then user right-clicks Show Info in Viewer
https://bugs.kde.org/show_bug.cgi?id=473762 Victor Lobo changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #7 from Victor Lobo --- Re-opening this bug since the fix does not work for me. I get a crash after doing the same steps. However, this time the backtrace is slightly different. kphotoalbum v5.11.0-76-g603af9a9 Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 QListData::begin (this=0x1eab190) at /usr/include/qt5/QtCore/qlist.h:118 #5 0x005ef4b8 in QList::begin (this=0x1eab190) at /usr/include/qt5/QtCore/qlist.h:339 #6 0x005e7062 in AnnotationDialog::Dialog::hideFloatingWindows (this=0x1eab040) at /home/victor/Downloads/kphotoalbum/AnnotationDialog/Dialog.cpp:987 #7 0x005e6b0f in AnnotationDialog::Dialog::exec (this=0x1eab040) at /home/victor/Downloads/kphotoalbum/AnnotationDialog/Dialog.cpp:953 #8 0x005e4d9f in AnnotationDialog::Dialog::configure (this=0x1eab040, list=..., oneAtATime=true) at /home/victor/Downloads/kphotoalbum/AnnotationDialog/Dialog.cpp:762 #9 0x005340d9 in MainWindow::Window::configImages (this=0x1ccc1b0, list=..., oneAtATime=true) at /home/victor/Downloads/kphotoalbum/MainWindow/Window.cpp:509 #10 0x00534077 in MainWindow::Window::configureImages (list=..., oneAtATime=true) at /home/victor/Downloads/kphotoalbum/MainWindow/Window.cpp:503 #11 0x004d7d0f in operator() (__closure=0x7f6dd8006b00) at /home/victor/Downloads/kphotoalbum/Viewer/ViewerWidget.cpp:907 #12 0x004deb0d in QtPrivate::FunctorCall, QtPrivate::List<>, void, Viewer::ViewerWidget::editImage():: >::call(struct {...} &, void **) (f=..., arg=0x236a158) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146 #13 0x004de9f9 in QtPrivate::Functor, 0>::call, void>(struct {...} &, void *, void **) (f=..., arg=0x236a158) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256 #14 0x004de90e in QtPrivate::QFunctorSlotObject, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x7f6dd8006af0, r=0x19f58d0, a=0x236a158, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443 #15 0x7f6df3f19320 in QObject::event (this=0x19f58d0, e=0x236a110) at kernel/qobject.cpp:1347 #16 0x7f6df4ba519e in QApplicationPrivate::notify_helper (this=, receiver=0x19f58d0, e=0x236a110) at kernel/qapplication.cpp:3640 #17 0x7f6df3eed568 in QCoreApplication::notifyInternal2 (receiver=0x19f58d0, event=0x236a110) at kernel/qcoreapplication.cpp:1064 #18 0x7f6df3eed72e in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 #19 0x7f6df3ef0b61 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x19f5850) at kernel/qcoreapplication.cpp:1821 #20 0x7f6df3ef10a8 in QCoreApplication::sendPostedEvents (receiver=, event_type=) at kernel/qcoreapplication.cpp:1680 #21 0x7f6df3f46c93 in postEventSourceDispatch (s=0x1ad6e80) at kernel/qeventdispatcher_glib.cpp:277 #22 0x7f6df0b169b8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #23 0x7f6df0b16dc8 in ?? () from /lib64/libglib-2.0.so.0 #24 0x7f6df0b16e5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #25 0x7f6df3f464a6 in QEventDispatcherGlib::processEvents (this=0x1adc420, flags=...) at kernel/qeventdispatcher_glib.cpp:423 #26 0x7f6df3eebffb in QEventLoop::exec (this=this@entry=0x7ffceb2dcee0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69 #27 0x7f6df3ef4490 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121 #28 0x00471850 in main (argc=2, argv=0x7ffceb2dd5e8) at /home/victor/Downloads/kphotoalbum/main.cpp:161 [Inferior 1 (process 15534) detached] -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 473762] KPhotoAlbum crashes when Viewer and Annotations is open and then user right-clicks Show Info in Viewer
https://bugs.kde.org/show_bug.cgi?id=473762 --- Comment #2 from Victor Lobo --- Since I am not sure, I assume that "floating dock window" means clicking the "diamond" icon to "pop out" a component in the Annotation window. If I assume correctly, then NO, I do not have the annotation dialog configured with a floating dock window. I am using the out-of-the-box as-installed by default Annotation dialog. What I observe is: 1. If I delete the "layout.dat" file in KPA base directory and restart KPA, I can still reproduce the bug. 2. I can reproduce the bug with floating and without floating windows. I do want to note that very infrequently (1 out of 25 times maybe) the steps 1-9 to reproduce may not cause a crash. This could be possibly why you failed to reproduce the bug initially. However, in such a case going back to step 3 and following the steps again always cause a crash for me. -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 473762] New: KPhotoAlbum crashes when Viewer and Annotations is open and then user right-clicks Show Info in Viewer
https://bugs.kde.org/show_bug.cgi?id=473762 Bug ID: 473762 Summary: KPhotoAlbum crashes when Viewer and Annotations is open and then user right-clicks Show Info in Viewer Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Viewer Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes when Viewer and Annotations is open and then user right-clicks Show Info in Viewer STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Go to Thumbnail View 3. Open any Image in Viewer 4. From Viewer open Annotations window (Ctrl 1) 5. Go back to Viewer and Right-Click 6. Go to Show Info in the right-click context menu. Observe that Annotations window gets automatically closed now. 8. Click anywhere on Viewer (or anywhere really) 9. Crash OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230816; Kernel Version: 6.4.9-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-70-gffd0 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs even in the demo database. 3. Crash occurs for Images and Videos. Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 std::__atomic_base::load (__m=std::memory_order_relaxed, this=0x9292929292929292) at /usr/include/c++/13/bits/atomic_base.h:505 #5 QAtomicOps::loadRelaxed (_q_value=) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239 #6 0x0046ea0c in QBasicAtomicInteger::loadRelaxed (this=0x9292929292929292) at /usr/include/qt5/QtCore/qbasicatomic.h:107 #7 0x004723dc in QtPrivate::RefCount::isShared (this=0x9292929292929292) at /usr/include/qt5/QtCore/qrefcount.h:101 #8 0x005f1271 in QList::detach (this=0x128f590) at /usr/include/qt5/QtCore/qlist.h:178 #9 0x005ef0a4 in QList::begin (this=0x128f590) at /usr/include/qt5/QtCore/qlist.h:338 #10 0x005e6dd0 in AnnotationDialog::Dialog::hideTornOfWindows (this=0x128f440) at /home/victor/Downloads/kphotoalbum/AnnotationDialog/Dialog.cpp:983 #11 0x005e697d in AnnotationDialog::Dialog::exec (this=0x128f440) at /home/victor/Downloads/kphotoalbum/AnnotationDialog/Dialog.cpp:952 #12 0x005e4c0d in AnnotationDialog::Dialog::configure (this=0x128f440, list=..., oneAtATime=true) at /home/victor/Downloads/kphotoalbum/AnnotationDialog/Dialog.cpp:761 #13 0x0053409f in MainWindow::Window::configImages (this=0x10ea660, list=..., oneAtATime=true) at /home/victor/Downloads/kphotoalbum/MainWindow/Window.cpp:509 #14 0x0053403d in MainWindow::Window::configureImages (list=..., oneAtATime=true) at /home/victor/Downloads/kphotoalbum/MainWindow/Window.cpp:503 #15 0x004d7cd5 in operator() (__closure=0x7f69140063b0) at /home/victor/Downloads/kphotoalbum/Viewer/ViewerWidget.cpp:905 #16 0x004dead3 in QtPrivate::FunctorCall, QtPrivate::List<>, void, Viewer::ViewerWidget::editImage():: >::call(struct {...} &, void **) (f=..., arg=0x1ac2ec8) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146 #17 0x004de9bf in QtPrivate::Functor, 0>::call, void>(struct {...} &, void *, void **) (f=..., arg=0x1ac2ec8) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256 #18 0x004de8d4 in QtPrivate::QFunctorSlotObject, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x7f69140063a0, r=0xe138d0, a=0x1ac2ec8, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443 #19 0x7f692c919320 in QObject::event (this=0xe138d0, e=0x1ac2e80) at kernel/qobject.cpp:1347 #20 0x7f692d5a519e in QApplicationPrivate::notify_helper (this=, receiver=0xe138d0, e=0x1ac2e80) at kernel/qapplication.cpp:3640 #21 0x7f692c8ed568 in QCoreApplication::notifyInternal2 (receiver=0xe138d0, event=0x1ac2e80) at kernel/qcoreapplication.cpp:1064 #22 0x7f692c8ed72e in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 #23 0x7f692c8f0b61 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xe13850) at kernel/qcoreapplication.cpp:1821 #24 0x7f692c8f10a8 in QCoreApplication::sendPostedEvents (receiver=, event_type=) at kernel/qcoreapplication.cpp:1680 #25 0x7f692c946c93 in postEventSourceDispatch (s=0xef5510) at kernel/qeventdispatcher_glib.cpp:277 #26 0x7f69295169b8 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #27 0x7f6929516dc8 in ?? () from /lib64/libglib-2.0.so.0 #28 0x7f6929516e5c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #29
[kphotoalbum] [Bug 473587] KPhotoAlbum crashes when switching to Image after resizing Viewer window while viewing Video
https://bugs.kde.org/show_bug.cgi?id=473587 Victor Lobo changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #4 from Victor Lobo --- Thank you! I came across these bugs while evaluating KPA before introducing to my family. This particular bug I stumbled upon because I have a few Video files with a wrong file modify date of 12/31/79 which put them at the top in the thumbnail viewer Fix from the latest git master works well. Thank you! -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 473587] New: KPhotoAlbum crashes when switching to Image after resizing Viewer window while viewing Video
https://bugs.kde.org/show_bug.cgi?id=473587 Bug ID: 473587 Summary: KPhotoAlbum crashes when switching to Image after resizing Viewer window while viewing Video Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Viewer Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes if all these conditions are met: 1. Thumbnail Viewer has at least two videos at the start (top) followed by a mix of images and/or videos, and 2. User opens in Viewer any Video, and 3. User resizes the Viewer window while viewing Video, and 4. User then moves from Video to an Image STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Ensure that the Thumbnail View has at least two videos at the start (top) followed by a mix of images and/or videos 3. Open any Video in the Thumbnail View in Viewer 4. While viewing Video, resize the Viewer window (for example by using mouse to drag window edges or click maximize window button) 5. Scroll to an Image in the Viewer (using mouse wheel, Pg-up/down or trackpad) 6. KPhotoAlbum crashes OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230816; Kernel Version: 6.4.9-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-63-g26012c0b ADDITIONAL INFORMATION 1. This bug is likely a duplicate of Bug 472610. I cannot tell for sure if thats the same issue since my issue seems to require more steps. 2. Crash is reproducible every time the steps are followed. 3. Crash occurs even in the demo database. However, by default the demo database has only a single video, movie.avi. To easily setup the demo database for this bug do the following: 3a. Open demo database 3b. Go to /tmp/kphotoalbum-demo-/ 3c. Make a copy of movie.avi in the same folder; so now there will be two videos 3d. Maintenance --> Rescan for image and videos in demo database 3e. In Thumbnail Viewer, select the two videos and drag them to the very start of the Thumbnail view 3f. Then follow Step to Reproduce above from #3 GDB Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 0x004724fe in QString::QString (this=0x7ffdfb37a710, other=...) at /usr/include/qt5/QtCore/qstring.h:1093 #5 0x004b1d33 in DB::FileName::FileName (this=0x7ffdfb37a710) at /home/victor/Downloads/kphotoalbum/lib/kpabase/FileName.h:21 #6 0x0058df8f in DB::ImageInfo::fileName (this=0x0) at /home/victor/Downloads/kphotoalbum/DB/ImageInfo.cpp:166 #7 0x004e8ff3 in Viewer::ImageDisplay::pixmapLoaded (this=0x2decd20, request=0x30737b0, image=...) at /home/victor/Downloads/kphotoalbum/Viewer/ImageDisplay.cpp:478 #8 0x0063faba in BackgroundJobs::HandleVideoThumbnailRequestJob::sendResult (this=0x30b19a0, image=...) at /home/victor/Downloads/kphotoalbum/BackgroundJobs/HandleVideoThumbnailRequestJob.cpp:90 #9 0x0063f471 in BackgroundJobs::HandleVideoThumbnailRequestJob::frameLoaded (this=0x30b19a0, image=...) at /home/victor/Downloads/kphotoalbum/BackgroundJobs/HandleVideoThumbnailRequestJob.cpp:56 #10 0x0063f2a4 in BackgroundJobs::HandleVideoThumbnailRequestJob::execute (this=0x30b19a0) at /home/victor/Downloads/kphotoalbum/BackgroundJobs/HandleVideoThumbnailRequestJob.cpp:46 #11 0x006367d6 in BackgroundTaskManager::JobInterface::start (this=0x30b19a0) at /home/victor/Downloads/kphotoalbum/BackgroundTaskManager/JobInterface.cpp:34 #12 0x00636fed in BackgroundTaskManager::JobManager::execute (this=0x2a653f0) at /home/victor/Downloads/kphotoalbum/BackgroundTaskManager/JobManager.cpp:60 #13 0x00637092 in BackgroundTaskManager::JobManager::addJob (this=0x2a653f0, job=0x30b19a0) at /home/victor/Downloads/kphotoalbum/BackgroundTaskManager/JobManager.cpp:67 #14 0x0056 in ImageManager::AsyncLoader::loadVideo (this=0x2b55730, request=0x30737b0) at /home/victor/Downloads/kphotoalbum/ImageManager/AsyncLoader.cpp:116 #15 0x0055fec0 in ImageManager::AsyncLoader::load (this=0x2b55730, request=0x30737b0) at /home/victor/Downloads/kphotoalbum/ImageManager/AsyncLoader.cpp:93 #16 0x004eaec0 in Viewer::ImageDisplay::requestImage (this=0x2decd20, info=..., priority=false) at /home/victor/Downloads/kphotoalbum/Viewer/ImageDisplay.cpp:689 #17 0x004e9c81 in Viewer::ImageDisplay::updatePreload (this=0x2decd20) at /home/victor/Downloads/kphotoalbum/Viewer/ImageDisplay.cpp:550 #18 0x004e6ae8 in Viewer::ImageDisplay::resizeEvent (this=0x2decd20, event=0x7ffdfb37af30) at
[kphotoalbum] [Bug 473324] KPhotoAlbum crashes when Jump to Context is used in Thumbnail Viewer with zero thumbnails
https://bugs.kde.org/show_bug.cgi?id=473324 --- Comment #4 from Victor Lobo --- Thank you! Fix works well. Thanks for fixing both issues; the root cause fix is necessary because it also addresses the other pathways which do not rely on Limit View to Selection (such as placing cursor in Search... field in Thumbnail View and then hitting Jump to Context). Thanks for introducing me to KGeoTag. I am not currently doing any manual geotagging since my cameras record gps co-ordinates. But I will try it out for fixing old images. -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 473324] New: KPhotoAlbum crashes when Jump to Context is used in Thumbnail Viewer with zero thumbnails
https://bugs.kde.org/show_bug.cgi?id=473324 Bug ID: 473324 Summary: KPhotoAlbum crashes when Jump to Context is used in Thumbnail Viewer with zero thumbnails Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Thumbnail Viewer Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY KPhotoAlbum crashes when Jump to Context is used in Thumbnail Viewer with zero thumbnails. STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Click Show Thumbnails (notice no thumbnail selected by default) 3. Click View --> Limit View to Selection (notice no thumbnails displayed) 4. Click View --> Jump to Context 5. KPhotoAlbum crashes OBSERVED RESULT Crash EXPECTED RESULT No crash SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230807; Kernel Version: 6.4.8-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-54-g1b4d199e ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Provided above is easiest way to reproduce the crash. However, applying Jump to Context from other pathways that lead to Thumbnail Viewer with zero thumbnails will also cause crash. For example another pathway could be (assuming no untagged images): Click "Untagged Images" and then "Click View --> Jump to Context" 3. Crash occurs even in the demo database GDB Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Aborted [KCrash Handler] #4 0x7f3442e92abc in __pthread_kill_implementation () from /lib64/libc.so.6 #5 0x7f3442e41266 in raise () from /lib64/libc.so.6 #6 0x7f3442e29897 in abort () from /lib64/libc.so.6 #7 0x7f34434bb4f9 in qt_message_fatal (message=..., context=...) at global/qlogging.cpp:1914 #8 QMessageLogger::fatal (this=this@entry=0x7ffe57a260b8, msg=msg@entry=0x7f34437d2000 "ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:893 #9 0x7f34434ba730 in qt_assert (assertion=, file=, line=) at global/qglobal.cpp:3391 #10 0x004b9a4a in ThumbnailView::ThumbnailModel::imageAt (this=0x155d550, index=-1) at /home/victor/Downloads/kphotoalbum/ThumbnailView/ThumbnailModel.cpp:267 #11 0x004c7cbc in ThumbnailView::ThumbnailFacade::currentItem (this=0x15d1030) at /home/victor/Downloads/kphotoalbum/ThumbnailView/ThumbnailFacade.cpp:86 #12 0x00540dc4 in MainWindow::Window::slotJumpToContext (this=0x13ccf00) at /home/victor/Downloads/kphotoalbum/MainWindow/Window.cpp:1669 #13 0x0054b202 in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (MainWindow::Window::*)()>::call(void (MainWindow::Window::*)(), MainWindow::Window*, void**) (f=(void (MainWindow::Window::*)(MainWindow::Window * const)) 0x540da0 , o=0x13ccf00, arg=0x7ffe57a26360) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #14 0x0054a97b in QtPrivate::FunctionPointer::call, void>(void (MainWindow::Window::*)(), MainWindow::Window*, void**) (f=(void (MainWindow::Window::*)(MainWindow::Window * const)) 0x540da0 , o=0x13ccf00, arg=0x7ffe57a26360) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #15 0x00549233 in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x15d4db0, r=0x13ccf00, a=0x7ffe57a26360, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #16 0x7f34437257a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffe57a26360, r=0x13ccf00, this=0x15d4db0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #17 doActivate (sender=0x15739c0, signal_index=4, argv=0x7ffe57a26360) at kernel/qobject.cpp:3925 #18 0x7f344371e40f in QMetaObject::activate (sender=sender@entry=0x15739c0, m=m@entry=0x7f34448bacc0 , local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffe57a26360) at kernel/qobject.cpp:3985 #19 0x7f344439e8b2 in QAction::triggered (this=this@entry=0x15739c0, _t1=) at .moc/moc_qaction.cpp:376 #20 0x7f34443a142f in QAction::activate (this=0x15739c0, event=) at kernel/qaction.cpp:1161 #21 0x7f3444525ef2 in QMenuPrivate::activateCausedStack (this=this@entry=0x1697300, causedStack=..., action=action@entry=0x15739c0, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1384 #22 0x7f344452dd23 in QMenuPrivate::activateAction (this=0x1697300, action=0x15739c0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1461 #23 0x7f34443e6d68 in QWidget::event (this=0x15d7150, event=0x7ffe57a26950) at kernel/qwidget.cpp:9045 #24 0x7f34443a519e in QApplicationPrivate::notify_helper (this=this@entry=0x10f8c90, receiver=receiver@entry=0x15d7150,
[kphotoalbum] [Bug 473231] KPhotoAlbum crashes when a invalid file name is provided in the Open List of Files window
https://bugs.kde.org/show_bug.cgi?id=473231 --- Comment #6 from Victor Lobo --- Thank you! Fix looks good. -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 473231] KPhotoAlbum crashes when a invalid file name is provided in the Open List of Files window
https://bugs.kde.org/show_bug.cgi?id=473231 Victor Lobo changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED|REOPENED --- Comment #3 from Victor Lobo --- Thank you! While testing the fix I noticed an edge case scenario which still causes the crash. Scenario is: 1. File exists on the disk, and 2. File exists under the KPA image root directory, but 3. File does not exist in KPA database Where #3 could be due to a. File exists in a directory under the KPA root but is excluded from new file search (via Settings). b. File has recently been added to KPA root and rescan has not been done. c. File exists under the KPA root but is not an image file. Easiest way to reproduce the crash in the fixed version is via 3.c: i. In the demo database enter "index.xml" without the quotes as the filename in Open List of Files. ii. KPhotoAlbum crashes. -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 473231] KPhotoAlbum crashes when a invalid file name is provided in the Open List of Files window
https://bugs.kde.org/show_bug.cgi?id=473231 Victor Lobo changed: What|Removed |Added CC||victor.ip.l...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 473231] New: KPhotoAlbum crashes when a invalid file name is provided in the Open List of Files window
https://bugs.kde.org/show_bug.cgi?id=473231 Bug ID: 473231 Summary: KPhotoAlbum crashes when a invalid file name is provided in the Open List of Files window Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Thumbnail Viewer Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- Created attachment 160877 --> https://bugs.kde.org/attachment.cgi?id=160877=edit Invalid value entered in Open List of Files Dialog SUMMARY KPhotoAlbum crashes when a invalid file name is provided in the Open List of Files window STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Click on Edit 3. Click on Open List of Files... 4. Enter an invalid file name (for example just the letter "a" or "1" or "not-a-valid-file.jpg") 5. Click OK 6. KPhotoAlbum crashes OBSERVED RESULT Crash EXPECTED RESULT No crash; KPhotoAlbum should ignore invalid value. SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230807; Kernel Version: 6.4.8-1-default (64-bit) KDE Plasma Version: 5.27.7 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-51-gc9fc8883 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash does not occur if the invalid file name has the "/" directory separator 3. Crash occurs even if the first file name is valid but the second file name is invalid. In this case Clicking OK in step 5 does not crash; however, clicking the empty second thumbnail in thumbnail view causes the crash. 4. Crash occurs even in the demo database GDB Backtrace: Application: KPhotoAlbum (kphotoalbum), signal: Segmentation fault [KCrash Handler] #4 QDateTime::Data::Data (other=..., this=0x7ffd79200a80) at time/qdatetime.cpp:3366 #5 QDateTime::QDateTime (this=0x7ffd79200a80, other=...) at time/qdatetime.cpp:3764 #6 0x0047bea9 in Utilities::FastDateTime::FastDateTime (this=0x7ffd79200a80, other=...) at /home/victor/Downloads/kphotoalbum/Utilities/FastDateTime.h:35 #7 0x004ae136 in ThumbnailView::ThumbnailWidget::emitDateChange (this=0x2027010) at /home/victor/Downloads/kphotoalbum/ThumbnailView/ThumbnailWidget.cpp:237 #8 0x004b345f in QtPrivate::FunctorCall, QtPrivate::List<>, void, void (ThumbnailView::ThumbnailWidget::*)()>::call(void (ThumbnailView::ThumbnailWidget::*)(), ThumbnailView::ThumbnailWidget*, void**) (f=(void (ThumbnailView::ThumbnailWidget::*)(ThumbnailView::ThumbnailWidget * const)) 0x4adff8 , o=0x2027010, arg=0x7ffd79200ca0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152 #9 0x004b2a85 in QtPrivate::FunctionPointer::call, void>(void (ThumbnailView::ThumbnailWidget::*)(), ThumbnailView::ThumbnailWidget*, void**) (f=(void (ThumbnailView::ThumbnailWidget::*)(ThumbnailView::ThumbnailWidget * const)) 0x4adff8 , o=0x2027010, arg=0x7ffd79200ca0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185 #10 0x004b22e1 in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x2054790, r=0x2027010, a=0x7ffd79200ca0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418 #11 0x7f76e83257a2 in QtPrivate::QSlotObjectBase::call (a=0x7ffd79200ca0, r=0x2027010, this=0x2054790) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #12 doActivate (sender=0x2054670, signal_index=3, argv=0x7ffd79200ca0) at kernel/qobject.cpp:3925 #13 0x7f76e831e40f in QMetaObject::activate (sender=, m=m@entry=0x7f76e85c79a0 , local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd79200ca0) at kernel/qobject.cpp:3985 #14 0x7f76e832957a in QTimer::timeout (this=, _t1=...) at .moc/moc_qtimer.cpp:205 #15 0x7f76e83191bb in QObject::event (this=0x2054670, e=0x7ffd79200df0) at kernel/qobject.cpp:1369 #16 0x7f76e8fa519e in QApplicationPrivate::notify_helper (this=, receiver=0x2054670, e=0x7ffd79200df0) at kernel/qapplication.cpp:3640 #17 0x7f76e82ed4f8 in QCoreApplication::notifyInternal2 (receiver=0x2054670, event=0x7ffd79200df0) at kernel/qcoreapplication.cpp:1064 #18 0x7f76e82ed6be in QCoreApplication::sendEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1462 #19 0x7f76e8345889 in QTimerInfoList::activateTimers (this=0x1c36f70) at kernel/qtimerinfo_unix.cpp:643 #20 0x7f76e8346134 in timerSourceDispatch (source=) at kernel/qeventdispatcher_glib.cpp:183 #21 0x7f76e5b16988 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #22 0x7f76e5b16d98 in ?? () from /lib64/libglib-2.0.so.0 #23 0x7f76e5b16e2c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #24 0x7f76e8346496 in QEventDispatcherGlib::processEvents (this=0x1c386c0, flags=...) at
[kphotoalbum] [Bug 472523] KPhotoAlbum crashes when right clicking in the empty space below category tags in Annotations window
https://bugs.kde.org/show_bug.cgi?id=472523 --- Comment #3 from Victor Lobo --- Thank you! A very quick response again. I tested the fix and it works well. -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 472523] KPhotoAlbum crashes when right clicking in the empty space below category tags in Annotations window
https://bugs.kde.org/show_bug.cgi?id=472523 Victor Lobo changed: What|Removed |Added CC||victor.ip.l...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 472523] New: KPhotoAlbum crashes when right clicking in the empty space below category tags in Annotations window
https://bugs.kde.org/show_bug.cgi?id=472523 Bug ID: 472523 Summary: KPhotoAlbum crashes when right clicking in the empty space below category tags in Annotations window Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: Annotation Dialog Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- Created attachment 160462 --> https://bugs.kde.org/attachment.cgi?id=160462=edit Screenshot of where to right click to induce crash SUMMARY KPhotoAlbum crashes when right clicking in the empty space below category (people, places, events etc.) tag names in Annotations window (see empty space in screenshot attached) STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Click on Show Thumbnails 3. Open the Annotations window (Ctrl + 1 on any image/video) 4. Annotations window opens 5. Right Click in empty space below tags displayed for people (or places or events etc.) 6. KPhotoAlbum crashes Screenshot of where to right click to induce crash is attached. OBSERVED RESULT Crash EXPECTED RESULT No crash; ignore right click and remain on Annotations screen. SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230714; Kernel Version: 6.4.2-1-default (64-bit) KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 KPhotoAlbum Version 5.11.0 (as installed from Opensuse Tumbleweed repository) Also occurs in latest git version v5.11.0-14-g7821c840 ADDITIONAL INFORMATION 1. Crash is reproducible every time the steps are followed. 2. Crash occurs in Annotations window and Search window 3. Crash occurs even in the demo database and is regardless of picture or video selected. GDB Backtrace for current thread: #0 QAction::setEnabled (this=0x0, b=false) at kernel/qaction.cpp:1016 #1 0x005e5cd6 in AnnotationDialog::ListSelect::showContextMenu(QPoint const&) () #2 0x005eb1c4 in QtPrivate::FunctorCall, QtPrivate::List, void, void (AnnotationDialog::ListSelect::*)(QPoint const&)>::call(void (AnnotationDialog::ListSelect::*)(QPoint const&), AnnotationDialog::ListSelect*, void**) () #3 0x005eafff in void QtPrivate::FunctionPointer::call, void>(void (AnnotationDialog::ListSelect::*)(QPoint const&), AnnotationDialog::ListSelect*, void**) () #4 0x005eaced in QtPrivate::QSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () #5 0x7fffec7257a2 in QtPrivate::QSlotObjectBase::call (a=0x7fffab50, r=0x1ed4010, this=0x1ee54a0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398 #6 doActivate (sender=0x1ed6120, signal_index=6, argv=0x7fffab50) at kernel/qobject.cpp:3925 #7 0x7fffec71e40f in QMetaObject::activate (sender=sender@entry=0x1ed6120, m=m@entry=0x7fffed8bc2c0 , local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffab50) at kernel/qobject.cpp:3985 #8 0x7fffed3cc2a5 in QWidget::customContextMenuRequested (this=this@entry=0x1ed6120, _t1=...) at .moc/moc_qwidget.cpp:653 #9 0x7fffed3e7a79 in QWidget::event (this=this@entry=0x1ed6120, event=event@entry=0x7fffaf90) at kernel/qwidget.cpp:8852 #10 0x7fffed491f7e in QFrame::event (this=0x1ed6120, e=0x7fffaf90) at widgets/qframe.cpp:550 #11 0x7fffec6ed27b in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x1ed6ea0, event=event@entry=0x7fffaf90) at kernel/qcoreapplication.cpp:1190 #12 0x7fffed3a518e in QApplicationPrivate::notify_helper (this=this@entry=0x837080, receiver=receiver@entry=0x1ed6ea0, e=e@entry=0x7fffaf90) at kernel/qapplication.cpp:3634 #13 0x7fffed3adaaa in QApplication::notify (this=, receiver=, e=0x7fffaf90) at kernel/qapplication.cpp:3246 #14 0x7fffec6ed4f8 in QCoreApplication::notifyInternal2 (receiver=0x1ed6ea0, event=0x7fffaf90) at kernel/qcoreapplication.cpp:1064 #15 0x7fffec6ed542 in QCoreApplication::forwardEvent (receiver=, event=, originatingEvent=) at kernel/qcoreapplication.cpp:1079 #16 0x7fffed3fff59 in QWidgetWindow::handleMouseEvent (this=this@entry=0x20d3e00, event=event@entry=0x7fffb280) at kernel/qwidgetwindow.cpp:692 #17 0x7fffed402d1f in QWidgetWindow::event (this=0x20d3e00, event=0x7fffb280) at kernel/qwidgetwindow.cpp:300 #18 0x7fffed3a519e in QApplicationPrivate::notify_helper (this=, receiver=0x20d3e00, e=0x7fffb280) at kernel/qapplication.cpp:3640 #19 0x7fffec6ed4f8 in QCoreApplication::notifyInternal2 (receiver=0x20d3e00, event=0x7fffb280) at kernel/qcoreapplication.cpp:1064 #20 0x7fffec6ed6ce in QCoreApplication::sendSpontaneousEvent (receiver=, event=) at kernel/qcoreapplication.cpp:1474 #21 0x7fffecb7d12b in QGuiApplicationPrivate::processMouseEvent (e=0x1ec80f0) at
[kphotoalbum] [Bug 472520] Date for Videos should be sourced from Video metadata instead of filesystem file modify date
https://bugs.kde.org/show_bug.cgi?id=472520 Victor Lobo changed: What|Removed |Added CC||victor.ip.l...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 472520] New: Date for Videos should be sourced from Video metadata instead of filesystem file modify date
https://bugs.kde.org/show_bug.cgi?id=472520 Bug ID: 472520 Summary: Date for Videos should be sourced from Video metadata instead of filesystem file modify date Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Backend Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- SUMMARY On initial setup, KPhotoAlbum processed my photos and videos. For each video that it found KPhotoAlbum assigned it the filesystem File Modify date. My expectation is that KPhotoAlbum would assign a date from the video metadata (CreateDate, DateTimeOriginal etc.) since most of my videos have that populated and those dates are correct (as compared to file modify date). This behavior can also be observed in the KPhotoAlbum demo. The demo contains a video "movie.avi" with DateTimeOriginal value "2006:10:29 14:33:55" reported by ExifTool. digiKam also displays "2006:10:29 14:33:55". If I do one of the below then KPhotoAlbum assigns the file system file modify date (current date) to the video instead of "2006:10:29 14:33:55": 1. Select the movie file in the demo and then do (Maintenance --> Read Exif Info from Files... --> Check ONLY "Update Image Date" --> OK) OR 2. Copy the movie file from the demo to a new KPhotoAlbum database OBSERVED RESULT After processing video files KPhotoAlbum assigns the file system file modify to the videos EXPECTED RESULT After processing video files KPhotoAlbum assigns the appropriate date time from video metadata (CreateDate, DateTimeOriginal etc.) SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230714; Kernel Version: 6.4.2-1-default (64-bit) KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.108.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION 1. Opening this as a bug as per discussion on the KPhotoAlbum mailing list: https://mail.kde.org/pipermail/kphotoalbum/2023-July/007002.html 2. Note that the video date may be captured in different metadata tags in different files (for example QuickTime:CreateDate, XMP-exif:DateTimeOriginal etc.) 3. Workaround suggested by Johannes Zarl-Zierl: Adjust your file modification dates exiftool -FileModifyDate\
[kphotoalbum] [Bug 470889] KPhotoAlbum crashes when closing the Annotations window if previous Viewer window is already closed
https://bugs.kde.org/show_bug.cgi?id=470889 --- Comment #4 from Victor Lobo --- Wow, such a quick response. I tested, and the fix works correctly. Thank you. -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 470889] KPhotoAlbum crashes when closing the Annotations window if previous Viewer window is already closed
https://bugs.kde.org/show_bug.cgi?id=470889 Victor Lobo changed: What|Removed |Added CC||victor.ip.l...@gmail.com -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 470889] KPhotoAlbum crashes when closing the Annotations window if previous Viewer window is already closed
https://bugs.kde.org/show_bug.cgi?id=470889 --- Comment #1 from Victor Lobo --- Created attachment 159590 --> https://bugs.kde.org/attachment.cgi?id=159590=edit GDB Backtrace for all threads -- You are receiving this mail because: You are watching all bug changes.
[kphotoalbum] [Bug 470889] New: KPhotoAlbum crashes when closing the Annotations window if previous Viewer window is already closed
https://bugs.kde.org/show_bug.cgi?id=470889 Bug ID: 470889 Summary: KPhotoAlbum crashes when closing the Annotations window if previous Viewer window is already closed Classification: Applications Product: kphotoalbum Version: GIT master Platform: openSUSE OS: Linux Status: REPORTED Severity: crash Priority: NOR Component: general Assignee: kpab...@willden.org Reporter: victor.ip.l...@gmail.com Target Milestone: --- Created attachment 159589 --> https://bugs.kde.org/attachment.cgi?id=159589=edit Screen video recording showing steps to reproduce crash SUMMARY KPhotoAlbum crashes when closing the Annotations window if the previous window was the Viewer window that is already closed. Viewer --> Annotations --> Close Viewer --> Close Annotations --> Crash STEPS TO REPRODUCE 1. Open KPhotoAlbum 2. Click on Show Thumbnails 3. Double Click on any photo to View 4. Viewer window opens 5. Right Click on the photo in Viewer window and select Annotate.. 6. Annotations window opens 7. Click the Close (X) button on the Titlebar of the Viewer window (note this is the previous Viewer window and not the new Annotations window that opens) 8. Click the Close (X) button on the Titlebar of the Annotations window 9. KPhotoAlbum crashes Screen video recording is attached OBSERVED RESULT Crash EXPECTED RESULT No crash; return back to main window. SOFTWARE/OS VERSIONS Linux: openSUSE Tumbleweed 20230608; Kernel Version: 6.3.6-1-default (64-bit) KDE Plasma Version: 5.27.5 KDE Frameworks Version: 5.106.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION 1. Crash is reproducible in most cases. Occasionally it does not crash initially at step 9 but repeating 3-8 will result in a crash at step 9. 2. Crash occurs even in the demo database and is regardless of picture or video selected. 3. drkonqi fails to start as seen from command line output. Including gdb backtrace. Command line output: victor@localhost:~> kphotoalbum Map theme file does not exist: "" No plugins loaded. Please check if the plugins were installed in the correct path, or if any errors occurred while loading plugins. Map theme file does not exist: "" Falling back to default theme: "earth/srtm/srtm.dgml" Map theme file does not exist: "" Couldn't find a valid DGML map. QImage::scaled: Image is a null image QImage::scaled: Image is a null image malloc(): unaligned fastbin chunk detected 40 -- exe=/home/victor/.local/bin/kphotoalbum 13 -- platform=xcb 11 -- display=:0 20 -- appname=kphotoalbum 32 -- apppath=/home/victor/.local/bin 9 -- signal=6 9 -- pid=7418 32 -- appversion=v5.10.0-77-g471c4c2f 24 -- programname=KPhotoAlbum 31 -- bugaddress=sub...@bugs.kde.org KCrash: Application 'kphotoalbum' crashing... KCrash: Attempting to start /usr/libexec/drkonqi Alarm clock victor@localhost:~> GDB Backtrace for current thread: #0 __pthread_kill_implementation (threadid=, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x7fffec092b03 in __pthread_kill_internal (signo=6, threadid=) at pthread_kill.c:78 #2 0x7fffec041226 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x7fffec029897 in __GI_abort () at abort.c:79 #4 0x7fffec02a611 in __libc_message (fmt=fmt@entry=0x7fffec1b0532 "%s\n") at ../sysdeps/posix/libc_fatal.c:150 #5 0x7fffec09d417 in malloc_printerr (str=str@entry=0x7fffec1b3780 "malloc(): unaligned fastbin chunk detected") at malloc.c:5651 #6 0x7fffec0a0a2c in _int_malloc (av=av@entry=0x7fffd430, bytes=bytes@entry=16) at malloc.c:3839 #7 0x7fffec0a19bd in __GI___libc_malloc (bytes=bytes@entry=16) at malloc.c:3305 #8 0x7fffea0132ff in read_packet (c=0x837800) at /usr/src/debug/libxcb-1.15/src/xcb_in.c:314 #9 _xcb_in_read (c=c@entry=0x837800) at /usr/src/debug/libxcb-1.15/src/xcb_in.c:1042 #10 0x7fffea013a1e in _xcb_conn_wait (c=0x837800, vector=0x0, count=0x0, cond=) at /usr/src/debug/libxcb-1.15/src/xcb_conn.c:544 #11 0x7fffea01513c in _xcb_conn_wait (count=0x0, vector=0x0, cond=0x837840, c=0x837800) at /usr/src/debug/libxcb-1.15/src/xcb_conn.c:474 #12 xcb_wait_for_event (c=0x837800) at /usr/src/debug/libxcb-1.15/src/xcb_in.c:703 #13 0x7fffe0d191a0 in QXcbEventQueue::run (this=0x8228e0) at qxcbeventqueue.cpp:228 #14 0x7fffec703b7d in operator() (__closure=) at thread/qthread_unix.cpp:350 #15 (anonymous namespace)::terminate_on_exception > (t=...) at thread/qthread_unix.cpp:287 #16 QThreadPrivate::start (arg=0x8228e0) at thread/qthread_unix.cpp:310 #17 0x7fffec090c24 in start_thread (arg=) at pthread_create.c:444 #18 0x7fffec118510 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81 -- You are receiving this mail because: You are watching all bug changes.