[Digikam-devel] [digikam] [Bug 345044] New: Digikam crashes when closing editor

Luc Sierens luc at sierens.com
Wed Mar 11 10:10:43 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=345044

            Bug ID: 345044
           Summary: Digikam crashes when closing editor
           Product: digikam
           Version: 4.0.0
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: digikam-devel at kde.org
          Reporter: luc at sierens.com

Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Linux Mint 17.1 Rebecca

-- Information about the crash:
- What I was doing when the application crashed:
I finished editing a picture. I clicked on "close editor" button.

The crash can be reproduced sometimes.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f706dd18ac0 (LWP 5553))]

Thread 6 (Thread 0x7f7049f7f700 (LWP 5554)):
#0  0x00007f7066e0d12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f704e986248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f70632a0182 in start_thread (arg=0x7f7049f7f700) at
pthread_create.c:312
#3  0x00007f7066e1a47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f7040847700 (LWP 5555)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7068b0b816 in wait (time=18446744073709551615, this=0x2c22620) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x2c22530,
mutex=mutex at entry=0x2c22528, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x2c222a0) at
/build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f7068b0b32f in QThreadPrivate::start (arg=0x2c222a0) at
thread/qthread_unix.cpp:349
#5  0x00007f70632a0182 in start_thread (arg=0x7f7040847700) at
pthread_create.c:312
#6  0x00007f7066e1a47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f703bfff700 (LWP 5556)):
#0  0x00007f7066e0d12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f705fd80fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f705fd810ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7068c3a7be in QEventDispatcherGlib::processEvents
(this=0x7f70340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f7068c0c0af in QEventLoop::processEvents
(this=this at entry=0x7f703bffeae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7068c0c3a5 in QEventLoop::exec (this=this at entry=0x7f703bffeae0,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7068b08c5f in QThread::exec (this=this at entry=0x2bf5d60) at
thread/qthread.cpp:537
#7  0x00007f7068bed823 in QInotifyFileSystemWatcherEngine::run (this=0x2bf5d60)
at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f7068b0b32f in QThreadPrivate::start (arg=0x2bf5d60) at
thread/qthread_unix.cpp:349
#9  0x00007f70632a0182 in start_thread (arg=0x7f703bfff700) at
pthread_create.c:312
#10 0x00007f7066e1a47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f703b7fe700 (LWP 5558)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7068b0b816 in wait (time=18446744073709551615, this=0x2f1fca0) at
thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this at entry=0x2f19990,
mutex=mutex at entry=0x2f19988, time=time at entry=18446744073709551615) at
thread/qwaitcondition_unix.cpp:158
#3  0x00007f706b35f8aa in Digikam::ParkingThread::run (this=0x2f19970) at
/build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f7068b0b32f in QThreadPrivate::start (arg=0x2f19970) at
thread/qthread_unix.cpp:349
#5  0x00007f70632a0182 in start_thread (arg=0x7f703b7fe700) at
pthread_create.c:312
#6  0x00007f7066e1a47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f7025a18700 (LWP 5614)):
#0  0x00007f7066e0d12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f705fd80fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f705fd810ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7068c3a7be in QEventDispatcherGlib::processEvents
(this=0x7f7008037110, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f7068c0c0af in QEventLoop::processEvents
(this=this at entry=0x7f7025a17aa0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7068c0c3a5 in QEventLoop::exec (this=this at entry=0x7f7025a17aa0,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f706b35ef73 in Digikam::WorkerObjectRunnable::run (this=0x3293ef0)
at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:196
#7  0x00007f7068afefee in QThreadPoolThread::run (this=0x7f6ff4013060) at
concurrent/qthreadpool.cpp:108
#8  0x00007f7068b0b32f in QThreadPrivate::start (arg=0x7f6ff4013060) at
thread/qthread_unix.cpp:349
#9  0x00007f70632a0182 in start_thread (arg=0x7f7025a18700) at
pthread_create.c:312
#10 0x00007f7066e1a47d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f706dd18ac0 (LWP 5553)):
[KCrash Handler]
#6  0x0000000000000030 in ?? ()
#7  0x00007f7052cf7dac in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#8  0x00007f7052cf7f63 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#9  0x00007f7052d0c579 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#10 0x00007f7052d349c5 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#11 0x00007f7052d3ced7 in sqlite3_step () from
/usr/lib/x86_64-linux-gnu/libsqlite3.so.0
#12 0x00007f703adf811c in QSQLiteResultPrivate::fetchNext
(this=this at entry=0x6248cb0, values=..., idx=idx at entry=0,
initialFetch=initialFetch at entry=true) at
../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#13 0x00007f703adf8e48 in QSQLiteResult::exec (this=0x6326820) at
../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#14 0x00007f706d940b7d in QSqlQuery::exec (this=this at entry=0x7ffff51ccca8) at
kernel/qsqlquery.cpp:949
#15 0x00007f706b318a46 in Digikam::DatabaseCoreBackend::exec (this=0x2b9d590,
query=...) at
/build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1415
#16 0x00007f706b318acc in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0x2b9d590, query=..., boundValue1=...) at
/build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1057
#17 0x00007f706b319b70 in Digikam::DatabaseCoreBackend::execQuery
(this=this at entry=0x2b9d590, sql=..., boundValue1=...) at
/build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1006
#18 0x00007f706b319bb9 in Digikam::DatabaseCoreBackend::execSql
(this=0x2b9d590, sql=..., boundValue1=..., values=values at entry=0x7ffff51cccf0,
lastInsertId=lastInsertId at entry=0x0) at
/build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:903
#19 0x00007f706acdae2e in Digikam::AlbumDB::getSetting
(this=this at entry=0x2c347d0, keyword=...) at
/build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:972
#20 0x00007f706acdb75c in Digikam::AlbumDB::getFilterSettings (this=0x2c347d0,
imageFilter=imageFilter at entry=0x7ffff51ccf40,
videoFilter=videoFilter at entry=0x7ffff51ccf60,
audioFilter=audioFilter at entry=0x7ffff51ccf50) at
/build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:1017
#21 0x00007f706acf0eaa in Digikam::CollectionScanner::loadNameFilters
(this=this at entry=0x7ffff51cd140) at
/build/buildd/digikam-4.0.0/core/libs/database/collectionscanner.cpp:408
#22 0x00007f706acf15e3 in Digikam::CollectionScanner::mainEntryPoint
(this=this at entry=0x7ffff51cd140, complete=complete at entry=false) at
/build/buildd/digikam-4.0.0/core/libs/database/collectionscanner.cpp:806
#23 0x00007f706acf3c64 in Digikam::CollectionScanner::scanFile
(this=this at entry=0x7ffff51cd140, fi=..., albumId=456,
imageId=imageId at entry=57274,
mode=mode at entry=Digikam::CollectionScanner::NormalScan) at
/build/buildd/digikam-4.0.0/core/libs/database/collectionscanner.cpp:767
#24 0x00007f706acf3e93 in Digikam::CollectionScanner::scanFile
(this=this at entry=0x7ffff51cd140, info=...,
mode=Digikam::CollectionScanner::NormalScan) at
/build/buildd/digikam-4.0.0/core/libs/database/collectionscanner.cpp:762
#25 0x00000000005e315d in Digikam::ScanController::scannedInfo (this=0x2c222a0,
filePath=...) at
/build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:560
#26 0x000000000049f6f8 in Digikam::ImageWindow::saveIsComplete (this=0x4be8ad0)
at
/build/buildd/digikam-4.0.0/core/utilities/imageeditor/main/imagewindow.cpp:961
#27 0x00007f706b443411 in Digikam::EditorWindow::movingSaveFileFinished
(this=this at entry=0x4be8ad0, successful=successful at entry=true) at
/build/buildd/digikam-4.0.0/core/utilities/imageeditor/editor/editorwindow.cpp:1805
#28 0x00007f706b4512fb in Digikam::EditorWindow::moveFile
(this=this at entry=0x4be8ad0) at
/build/buildd/digikam-4.0.0/core/utilities/imageeditor/editor/editorwindow.cpp:2649
#29 0x00007f706b451988 in Digikam::EditorWindow::slotSavingFinished
(this=0x4be8ad0, filename=..., success=<optimized out>) at
/build/buildd/digikam-4.0.0/core/utilities/imageeditor/editor/editorwindow.cpp:1771
#30 0x00007f7068c2187a in QMetaObject::activate (sender=0x4bf5230,
m=m at entry=0x7f706b75fc60 <Digikam::Canvas::staticMetaObject>,
local_signal_index=local_signal_index at entry=10, argv=argv at entry=0x7ffff51cd550)
at kernel/qobject.cpp:3539
#31 0x00007f706b3bbc16 in Digikam::Canvas::signalSavingFinished
(this=<optimized out>, _t1=..., _t2=true) at
/build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/canvas.moc:271
#32 0x00007f7068c2187a in QMetaObject::activate (sender=sender at entry=0x3e0b670,
m=m at entry=0x7f706b766a80 <Digikam::EditorCore::staticMetaObject>,
local_signal_index=local_signal_index at entry=8, argv=argv at entry=0x7ffff51cd690)
at kernel/qobject.cpp:3539
#33 0x00007f706b41a876 in Digikam::EditorCore::signalImageSaved
(this=this at entry=0x3e0b670, _t1=..., _t2=_t2 at entry=true) at
/build/buildd/digikam-4.0.0/obj-x86_64-linux-gnu/core/digikam/editorcore.moc:197
#34 0x00007f706b4224f3 in Digikam::EditorCore::slotImageSaved (this=0x3e0b670,
filePath=..., success=<optimized out>) at
/build/buildd/digikam-4.0.0/core/utilities/imageeditor/core/editorcore.cpp:451
#35 0x00007f7068c25c1e in QObject::event (this=0x3e0b670, e=<optimized out>) at
kernel/qobject.cpp:1194
#36 0x00007f7067d21e2c in QApplicationPrivate::notify_helper
(this=this at entry=0x2947930, receiver=receiver at entry=0x3e0b670,
e=e at entry=0x7f6ffc27a2a0) at kernel/qapplication.cpp:4567
#37 0x00007f7067d284a0 in QApplication::notify (this=this at entry=0x7ffff51ce440,
receiver=receiver at entry=0x3e0b670, e=e at entry=0x7f6ffc27a2a0) at
kernel/qapplication.cpp:4353
#38 0x00007f7069661cca in KApplication::notify (this=0x7ffff51ce440,
receiver=0x3e0b670, event=0x7f6ffc27a2a0) at
../../kdeui/kernel/kapplication.cpp:311
#39 0x00007f7068c0d4dd in QCoreApplication::notifyInternal
(this=0x7ffff51ce440, receiver=receiver at entry=0x3e0b670,
event=event at entry=0x7f6ffc27a2a0) at kernel/qcoreapplication.cpp:953
#40 0x00007f7068c10b3d in sendEvent (event=0x7f6ffc27a2a0, receiver=0x3e0b670)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x28ba1f0) at
kernel/qcoreapplication.cpp:1577
#42 0x00007f7068c10fe3 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1470
#43 0x00007f7068c3af83 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=0x294b780) at
kernel/qeventdispatcher_glib.cpp:287
#45 0x00007f705fd80e04 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f705fd81048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f705fd810ec in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f7068c3a7a1 in QEventDispatcherGlib::processEvents (this=0x28709f0,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#49 0x00007f7067dc3bb6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f7068c0c0af in QEventLoop::processEvents
(this=this at entry=0x7ffff51cdf20, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f7068c0c3a5 in QEventLoop::exec (this=this at entry=0x7ffff51cdf20,
flags=...) at kernel/qeventloop.cpp:204
#52 0x00007f7068c11b79 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#53 0x00007f7067d2037c in QApplication::exec () at kernel/qapplication.cpp:3828
#54 0x00000000004948f0 in main (argc=<optimized out>, argv=<optimized out>) at
/build/buildd/digikam-4.0.0/core/digikam/main/main.cpp:236

Possible duplicates by query: bug 344587, bug 344216, bug 343314, bug 343243,
bug 343014.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list