Bug 444091 - Gwenview segfaults when closing the Tag Editor
Summary: Gwenview segfaults when closing the Tag Editor
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.08.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-10-20 08:47 UTC by Ryan Plant
Modified: 2025-09-18 03:48 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Plant 2021-10-20 08:47:10 UTC
Application: gwenview (21.08.1)

Qt Version: 5.15.2
Frameworks Version: 5.86.0
Operating System: Linux 5.13.0-20-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.5
Distribution: Ubuntu 21.10

-- Information about the crash:
This crash occurs when closing the Tag Editor view, regardless of whether any tags were added or removed.  It happens every time without fail.

Adding and removing tags does work: any changes made in the editor are visible when you re-launch the application. It only crashes when you close the editor.

It isn't affected by the image file (I tried a dozen, from different sources), the file permissions, or whether the file is stored in the home folder, a mounted USB drive, or a network share. The problem persists after resetting Gwenview to default settings and deleting ~/.config/gwenviewrc.

Other subwindows, like Configure Toolbars and Configure Gwenview, close without issue.

Video: https://i.imgur.com/3cAvqcb.mp4

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Content of s_kcrashErrorMessage: [Current thread is 1 (Thread 0x7ff254586c40 (LWP 43543))]
[KCrash Handler]
#6  0x00007ff25a376485 in indexOfMethodRelative<4> (types=0x7ffe75e38760, argc=3, name=..., baseObject=0x7ffe75e38710) at kernel/qmetaobject.cpp:613
#7  QMetaObjectPrivate::indexOfSignalRelative (baseObject=baseObject@entry=0x7ffe75e38710, name=..., argc=3, types=0x7ffe75e38760) at kernel/qmetaobject.cpp:741
#8  0x00007ff25a39d497 in QObject::disconnect (sender=0x55d1862d3fe0, signal=0x7ff24c00c0e9 "rowsInserted(QModelIndex,int,int)", signal@entry=0x7ff2591adbb8 "2rowsInserted(QModelIndex,int,int)", receiver=0x55d1861588b0, method=0x55d1862823e9 "_k_slotRowsInserted(QModelIndex,int,int)", method@entry=0x7ff2591adb88 "1_k_slotRowsInserted(QModelIndex,int,int)") at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:119
#9  0x00007ff2591a4582 in KWidgetItemDelegatePrivate::eventFilter (this=0x55d186192a60, watched=0x55d1862298f0, event=0x7ffe75e38b90) at ./src/kwidgetitemdelegate.cpp:224
#10 0x00007ff25a36ceca in QCoreApplicationPrivate::sendThroughObjectEventFilters (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1189
#11 QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x55d1862298f0, event=event@entry=0x7ffe75e38b90) at kernel/qcoreapplication.cpp:1178
#12 0x00007ff25b0d36a2 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d1862298f0, e=0x7ffe75e38b90) at kernel/qapplication.cpp:3626
#13 0x00007ff25a36d16a in QCoreApplication::notifyInternal2 (receiver=0x55d1862298f0, event=0x7ffe75e38b90) at kernel/qcoreapplication.cpp:1063
#14 0x00007ff25a3a2707 in QObjectPrivate::setParent_helper (this=0x55d1862fb000, o=0x0) at kernel/qobject.cpp:2149
#15 0x00007ff25a3a2c18 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1093
#16 0x00007ff25b47846d in QScroller::~QScroller (this=0x55d1862faca0, __in_chrg=<optimized out>) at util/qscroller.cpp:499
#17 QScrollerPrivate::targetDestroyed (this=0x55d1862ea570) at util/qscroller.cpp:938
#18 QScrollerPrivate::qt_static_metacall (_o=0x55d1862ea570, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qscroller_p.cpp:72
#19 0x00007ff25a3a4a88 in doActivate<false> (sender=0x55d1862298f0, signal_index=0, argv=0x7ffe75e38da0) at kernel/qobject.cpp:3898
#20 0x00007ff25a39dd67 in QMetaObject::activate (sender=sender@entry=0x55d1862298f0, m=m@entry=0x7ff25a601120 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffe75e38da0) at kernel/qobject.cpp:3946
#21 0x00007ff25a39de23 in QObject::destroyed (this=this@entry=0x55d1862298f0, _t1=<optimized out>, _t1@entry=0x55d1862298f0) at .moc/moc_qobject.cpp:219
#22 0x00007ff25b111b13 in QWidget::~QWidget (this=0x55d1862298f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1497
#23 0x00007ff25b111bad in QWidget::~QWidget (this=0x55d1862298f0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1546
#24 0x00007ff25a397d9e in QObjectPrivate::deleteChildren (this=this@entry=0x55d1862f8c00) at kernel/qobject.cpp:2104
#25 0x00007ff25b111856 in QWidget::~QWidget (this=0x55d18626dc10, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#26 0x00007ff25b3850ad in QListView::~QListView (this=0x55d18626dc10, __in_chrg=<optimized out>) at itemviews/qlistview.cpp:209
#27 0x00007ff25a397d9e in QObjectPrivate::deleteChildren (this=this@entry=0x55d18623a530) at kernel/qobject.cpp:2104
#28 0x00007ff25b111856 in QWidget::~QWidget (this=0x55d1861d9080, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#29 0x00007ff25c01bcbd in Gwenview::TagWidget::~TagWidget (this=<optimized out>, this=<optimized out>) at ./lib/semanticinfo/tagwidget.cpp:209
#30 0x00007ff25a397d9e in QObjectPrivate::deleteChildren (this=this@entry=0x55d186242f50) at kernel/qobject.cpp:2104
#31 0x00007ff25b111856 in QWidget::~QWidget (this=0x55d186135dc0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#32 0x00007ff25b111bad in QWidget::~QWidget (this=0x55d186135dc0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1546
#33 0x00007ff25a397d9e in QObjectPrivate::deleteChildren (this=this@entry=0x55d1862ecff0) at kernel/qobject.cpp:2104
#34 0x00007ff25b111856 in QWidget::~QWidget (this=this@entry=0x55d186239ce0, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1522
#35 0x00007ff25b2e1bae in QDialog::~QDialog (this=this@entry=0x55d186239ce0, __in_chrg=<optimized out>) at dialogs/qdialog.cpp:426
#36 0x000055d184835bcb in Gwenview::SemanticInfoDialog::~SemanticInfoDialog (this=<optimized out>, this=<optimized out>) at ./app/semanticinfocontextmanageritem.cpp:83
#37 Gwenview::SemanticInfoDialog::~SemanticInfoDialog (this=<optimized out>, this=<optimized out>) at ./app/semanticinfocontextmanageritem.cpp:83
#38 0x00007ff25a39a4e3 in QObject::event (this=0x55d186239ce0, e=0x55d185e62570) at kernel/qobject.cpp:1301
#39 0x00007ff25b0d36b3 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55d186239ce0, e=0x55d185e62570) at kernel/qapplication.cpp:3632
#40 0x00007ff25a36d16a in QCoreApplication::notifyInternal2 (receiver=0x55d186239ce0, event=0x55d185e62570) at kernel/qcoreapplication.cpp:1063
#41 0x00007ff25a370257 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x55d18581b130) at kernel/qcoreapplication.cpp:1817
#42 0x00007ff25a3c6ef7 in postEventSourceDispatch (s=0x55d185921f40) at kernel/qeventdispatcher_glib.cpp:277
#43 0x00007ff257a548bb in g_main_dispatch (context=0x7ff24c005000) at ../../../glib/gmain.c:3337
#44 g_main_context_dispatch (context=0x7ff24c005000) at ../../../glib/gmain.c:4055
#45 0x00007ff257aa7f08 in g_main_context_iterate.constprop.0 (context=context@entry=0x7ff24c005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4131
#46 0x00007ff257a52003 in g_main_context_iteration (context=0x7ff24c005000, may_block=1) at ../../../glib/gmain.c:4196
#47 0x00007ff25a3c6548 in QEventDispatcherGlib::processEvents (this=0x55d185921fc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#48 0x00007ff25a36ba9b in QEventLoop::exec (this=this@entry=0x7ffe75e394c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#49 0x00007ff25a374024 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#50 0x00007ff25a9bfd10 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#51 0x00007ff25b0d3629 in QApplication::exec () at kernel/qapplication.cpp:2824
#52 0x000055d1847ef553 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:202
[Inferior 1 (process 43543) detached]

Possible duplicates by query: bug 400970, bug 400304, bug 394865, bug 366151, bug 361213.

Reported using DrKonqi
Comment 1 A Linux User 2025-08-19 17:19:25 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0 (the latest released version)?
Comment 2 Bug Janitor Service 2025-09-03 03:48:00 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-09-18 03:48:30 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.