Bug 373477 - Gwenview crashes with too many open files when tagging many photos
Summary: Gwenview crashes with too many open files when tagging many photos
Status: RESOLVED UNMAINTAINED
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-12-09 19:42 UTC by Andrew Findlay
Modified: 2016-12-12 23:41 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 Andrew Findlay 2016-12-09 19:42:35 UTC
Application: gwenview (4.14.0 pre)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 3.16.7-48-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
I was rating photos in a folder with 598 files. I had tagged about 210 images when the crash occurred.
Starting Gwenview again I noticed that every tag operation opens 4 Baloo files again rather than re-using the open file descriptors.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7efc88d03840 (LWP 21152))]

Thread 2 (Thread 0x7efc7088d700 (LWP 21153)):
#0  0x00007ffc66d3abb6 in  ()
#1  0x0000000000000000 in  ()

Thread 1 (Thread 0x7efc88d03840 (LWP 21152)):
[KCrash Handler]
#5  0x00007efc7d5a40d8 in Xapian::Database::get_document(unsigned int) const () at /usr/lib64/libxapian.so.22
#6  0x00007efc7d12f8a4 in Baloo::XapianDatabase::document(unsigned int) () at /usr/lib64/libbalooxapian.so.4
#7  0x00007efc836d92ed in Baloo::FileModifyJob::doStart() () at /usr/lib64/libbaloofiles.so.4
#8  0x00007efc87b2c59e in QObject::event(QEvent*) () at /usr/lib64/libQtCore.so.4
#9  0x00007efc8640c76c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#10 0x00007efc86412cad in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQtGui.so.4
#11 0x00007efc87124e0a in KApplication::notify(QObject*, QEvent*) () at /usr/lib64/libkdeui.so.5
#12 0x00007efc87b142ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQtCore.so.4
#13 0x00007efc87b1757d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#14 0x00007efc87b418fe in  () at /usr/lib64/libQtCore.so.4
#15 0x00007efc812d2a04 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#16 0x00007efc812d2c48 in  () at /usr/lib64/libglib-2.0.so.0
#17 0x00007efc812d2cec in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#18 0x00007efc87b410be in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#19 0x00007efc864a9676 in  () at /usr/lib64/libQtGui.so.4
#20 0x00007efc87b12e6f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#21 0x00007efc87b13165 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQtCore.so.4
#22 0x00007efc87b185b9 in QCoreApplication::exec() () at /usr/lib64/libQtCore.so.4
#23 0x0000000000429ded in  ()
#24 0x00007efc856d5b05 in __libc_start_main () at /lib64/libc.so.6
#25 0x000000000042a092 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 354329.

Possible duplicates by query: bug 354329, bug 347915.

Reported using DrKonqi
Comment 1 Christoph Feck 2016-12-12 23:41:12 UTC
The KDE4 version of Gwenview is no longer maintained; closing.