Bug 215662 - digikam crash on close beta6
Summary: digikam crash on close beta6
Status: RESOLVED DOWNSTREAM
Alias: None
Product: digikam
Classification: Applications
Component: ImageEditor-Canvas (show other bugs)
Version: 1.0.0
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-22 13:06 UTC by talentedchimp-noreply
Modified: 2017-08-08 09:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.0.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description talentedchimp-noreply 2009-11-22 13:06:46 UTC
Application that crashed: digikam
Version of the application: 1.0.0-beta6
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Digikam 1.0.0-beta6 crashes on exit. OS Ubuntu 9.10, Gnome desktop, KDE environment 4.3.2. Databse used (digikam4.db) is from 1.0.0-beta5.

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb68e0700 (LWP 18284))]

Thread 7 (Thread 0xb22d1b70 (LWP 18370)):
#0  0x01db3e06 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x0444fbf3 in QTimerInfoList::getTime (this=0x8953dcc, t=...) at kernel/qeventdispatcher_unix.cpp:339
#2  0x0444fde1 in QTimerInfoList::updateCurrentTime (this=0x8953dcc) at kernel/qeventdispatcher_unix.cpp:297
#3  0x0445088c in QTimerInfoList::timerWait (this=0x8953dcc, tm=...) at kernel/qeventdispatcher_unix.cpp:420
#4  0x0444e210 in timerSourcePrepare (source=0x8953d98, timeout=0xb22d113c) at kernel/qeventdispatcher_glib.cpp:141
#5  0x01d2ff80 in IA__g_main_context_prepare (context=0x8e03778, priority=0xb22d11bc) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2280
#6  0x01d30341 in g_main_context_iterate (context=0x8e03778, block=<value optimized out>, dispatch=1, self=0x89ff600) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2571
#7  0x01d30853 in IA__g_main_context_iteration (context=0x8e03778, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#8  0x0444e067 in QEventDispatcherGlib::processEvents (this=0x8a4aef0, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#9  0x04421c79 in QEventLoop::processEvents (this=0xb22d1304, flags=) at kernel/qeventloop.cpp:149
#10 0x044220ca in QEventLoop::exec (this=0xb22d1304, flags=...) at kernel/qeventloop.cpp:201
#11 0x0432fb73 in QThread::exec (this=0x899eab0) at thread/qthread.cpp:487
#12 0x04332e32 in QThreadPrivate::start (arg=0x899eab0) at thread/qthread_unix.cpp:188
#13 0x00de680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x029c57ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb1ad0b70 (LWP 18371)):
#0  0x0444e32c in socketNotifierSourceCheck (source=0x8948200) at kernel/qeventdispatcher_glib.cpp:90
#1  0x01d2fcc1 in IA__g_main_context_check (context=0x8953988, max_priority=2147483647, fds=0x8983e68, n_fds=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2469
#2  0x01d3046c in g_main_context_iterate (context=0x8953988, block=<value optimized out>, dispatch=1, self=0x8983e40) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2588
#3  0x01d30853 in IA__g_main_context_iteration (context=0x8953988, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#4  0x0444e067 in QEventDispatcherGlib::processEvents (this=0x8a2b798, flags=...) at kernel/qeventdispatcher_glib.cpp:329
#5  0x04421c79 in QEventLoop::processEvents (this=0xb1ad0304, flags=) at kernel/qeventloop.cpp:149
#6  0x044220ca in QEventLoop::exec (this=0xb1ad0304, flags=...) at kernel/qeventloop.cpp:201
#7  0x0432fb73 in QThread::exec (this=0x89e3170) at thread/qthread.cpp:487
#8  0x04332e32 in QThreadPrivate::start (arg=0x89e3170) at thread/qthread_unix.cpp:188
#9  0x00de680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#10 0x029c57ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xaee19b70 (LWP 18373)):
#0  0x00dfe422 in __kernel_vsyscall ()
#1  0x00deb142 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x029d27e4 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02c359ff in metronom_sync_loop (this=0x90b91f8) at metronom.c:870
#4  0x00de680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x029c57ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xada0cb70 (LWP 18375)):
#0  0x00dfe422 in __kernel_vsyscall ()
#1  0x029b7ba6 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x01dc0d80 in ?? () from /usr/lib/libxcb.so.1
#3  0x01dc12eb in ?? () from /usr/lib/libxcb.so.1
#4  0x01dc1489 in ?? () from /usr/lib/libxcb.so.1
#5  0x01dc2a70 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#6  0x01dcd12b in xcb_intern_atom_reply () from /usr/lib/libxcb.so.1
#7  0x031d5735 in xv_restore_port_attributes (this_gen=0x90bc7d0) at video_out_xcbxv.c:1049
#8  xv_dispose (this_gen=0x90bc7d0) at video_out_xcbxv.c:1070
#9  0x02c41323 in vo_exit (this_gen=0x90bcf98) at video_out.c:1615
#10 0x02c3915e in xine_close_video_driver (this=0x9063918, vo_port=0x1) at load_plugins.c:1855
#11 0x02c10c7a in ~VideoWidgetXT (this=0xb9823d0, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at ../../xine/videowidget.cpp:241
#12 0x02bd2498 in ~QExplicitlySharedDataPointer (this=0xbca67b0, data=0x9c40250) at /usr/include/qt4/QtCore/qshareddata.h:152
#13 QList<QExplicitlySharedDataPointer<Phonon::Xine::SharedData> >::node_destruct (this=0xbca67b0, data=0x9c40250) at /usr/include/qt4/QtCore/qlist.h:367
#14 QList<QExplicitlySharedDataPointer<Phonon::Xine::SharedData> >::free (this=0xbca67b0, data=0x9c40250) at /usr/include/qt4/QtCore/qlist.h:559
#15 0x02be8be1 in ~QList (this=0xbca67a8, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qlist.h:534
#16 ~KeepReference (this=0xbca67a8, __in_chrg=<value optimized out>) at ../../xine/keepreference.h:45
#17 0x04432135 in qDeleteInEventHandler (o=0x1) at kernel/qobject.cpp:3815
#18 0x0443362b in QObject::event (this=0xbca67a8, e=0xba31e40) at kernel/qobject.cpp:1094
#19 0x02be86cc in Phonon::Xine::KeepReference<10000>::event (this=0xffffffff, e=0x1) at ../../xine/keepreference.h:61
#20 0x01206f54 in QApplicationPrivate::notify_helper (this=0x87c1cf0, receiver=0xbca67a8, e=0xba31e40) at kernel/qapplication.cpp:4056
#21 0x0120e67c in QApplication::notify (this=0xbfd70bd8, receiver=0xbca67a8, e=0xba31e40) at kernel/qapplication.cpp:3603
#22 0x034e1bfa in KApplication::notify (this=0xbfd70bd8, receiver=0xbca67a8, event=0xba31e40) at ../../kdeui/kernel/kapplication.cpp:302
#23 0x044236cb in QCoreApplication::notifyInternal (this=0xbfd70bd8, receiver=0xbca67a8, event=0xba31e40) at kernel/qcoreapplication.cpp:610
#24 0x044242b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8962a48) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8962a48) at kernel/qcoreapplication.cpp:1247
#26 0x0442447d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#27 0x0444e3ff in QCoreApplication::sendPostedEvents (s=0x94d0f18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#28 postEventSourceDispatch (s=0x94d0f18) at kernel/qeventdispatcher_glib.cpp:210
#29 0x01d2ce78 in g_main_dispatch (context=0x94d0698) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#30 IA__g_main_context_dispatch (context=0x94d0698) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#31 0x01d30720 in g_main_context_iterate (context=0x94d0698, block=<value optimized out>, dispatch=1, self=0x94d1cb8) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#32 0x01d30853 in IA__g_main_context_iteration (context=0x94d0698, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#33 0x0444e02c in QEventDispatcherGlib::processEvents (this=0x94d0628, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#34 0x04421c79 in QEventLoop::processEvents (this=0xada0c2b4, flags=) at kernel/qeventloop.cpp:149
#35 0x044220ca in QEventLoop::exec (this=0xada0c2b4, flags=...) at kernel/qeventloop.cpp:201
#36 0x0432fb73 in QThread::exec (this=0x94d0250) at thread/qthread.cpp:487
#37 0x02bd420a in Phonon::Xine::XineThread::run (this=0x94d0250) at ../../xine/xinethread.cpp:143
#38 0x04332e32 in QThreadPrivate::start (arg=0x94d0250) at thread/qthread_unix.cpp:188
#39 0x00de680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#40 0x029c57ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa920ab70 (LWP 18428)):
#0  0x00dfe422 in __kernel_vsyscall ()
#1  0x00deae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x029d278d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x04333e67 in QWaitConditionPrivate::wait (this=0x9a52af8, mutex=0x9a52af4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9a52af8, mutex=0x9a52af4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x078f845a in Digikam::LoadSaveThread::run (this=0x9a52ae8) at /home/paul/Applications/digikam-1.0.0-beta6/libs/threadimageio/loadsavethread.cpp:132
#6  0x04332e32 in QThreadPrivate::start (arg=0x9a52ae8) at thread/qthread_unix.cpp:188
#7  0x00de680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x029c57ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa8208b70 (LWP 18436)):
#0  0x00dfe422 in __kernel_vsyscall ()
#1  0x00deae15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x029d278d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x04333e67 in QWaitConditionPrivate::wait (this=0xaadc9d8, mutex=0xaadc9d4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xaadc9d8, mutex=0xaadc9d4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x078f845a in Digikam::LoadSaveThread::run (this=0xaadc9c8) at /home/paul/Applications/digikam-1.0.0-beta6/libs/threadimageio/loadsavethread.cpp:132
#6  0x04332e32 in QThreadPrivate::start (arg=0xaadc9c8) at thread/qthread_unix.cpp:188
#7  0x00de680e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x029c57ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb68e0700 (LWP 18284)):
[KCrash Handler]
#6  QBasicAtomicInt::deref (this=0x8a06eb8, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qatomic_i386.h:132
#7  ~QString (this=0x8a06eb8, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qstring.h:866
#8  ~ImagePluginPriv (this=0x8a06eb8, __in_chrg=<value optimized out>) at /home/paul/Applications/digikam-1.0.0-beta6/utilities/imageeditor/canvas/imageplugin.cpp:37
#9  ~ImagePlugin (this=0x8a06eb8, __in_chrg=<value optimized out>) at /home/paul/Applications/digikam-1.0.0-beta6/utilities/imageeditor/canvas/imageplugin.cpp:54
#10 0x07c23b90 in ~ImagePlugin_AdjustCurves (this=0x8a06eb8, __in_chrg=<value optimized out>) at /build/buildd/digikam-1.0.0~beta5/imageplugins/adjustcurves/imageplugin_adjustcurves.cpp:65
#11 0x07a06f9b in ~ImagePluginLoader (this=0xba1ad68, __in_chrg=<value optimized out>) at /home/paul/Applications/digikam-1.0.0-beta6/utilities/imageeditor/canvas/imagepluginloader.cpp:125
#12 0x0443246f in QObjectPrivate::deleteChildren (this=0x8933128) at kernel/qobject.cpp:1847
#13 0x0125785b in ~QWidget (this=0x89f3e78, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1367
#14 0x016283e1 in ~QMainWindow (this=0x89f3e78, __in_chrg=<value optimized out>) at widgets/qmainwindow.cpp:331
#15 0x035cad84 in ~KMainWindow (this=0x89f3e78, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kmainwindow.cpp:467
#16 0x0360da88 in ~KXmlGuiWindow (this=0x89f3e78, __vtt_parm=0x83ed73c, __in_chrg=<value optimized out>) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:127
#17 0x0829c5ac in ~DigikamApp (this=0x89f3e78, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /home/paul/Applications/digikam-1.0.0-beta6/digikam/digikamapp.cpp:324
#18 0x04432135 in qDeleteInEventHandler (o=0x368b688) at kernel/qobject.cpp:3815
#19 0x0443362b in QObject::event (this=0x89f3e78, e=0x8e2ed30) at kernel/qobject.cpp:1094
#20 0x0125b906 in QWidget::event (this=0x89f3e78, event=0x8e2ed30) at kernel/qwidget.cpp:7946
#21 0x01629297 in QMainWindow::event (this=0x89f3e78, event=0x8e2ed30) at widgets/qmainwindow.cpp:1399
#22 0x035c7dc4 in KMainWindow::event (this=0x89f3e78, ev=0x8e2ed30) at ../../kdeui/widgets/kmainwindow.cpp:1094
#23 0x0360e30f in KXmlGuiWindow::event (this=0x89f3e78, ev=0x8e2ed30) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#24 0x01206f54 in QApplicationPrivate::notify_helper (this=0x87c1cf0, receiver=0x89f3e78, e=0x8e2ed30) at kernel/qapplication.cpp:4056
#25 0x0120e5ca in QApplication::notify (this=0xbfd70bd8, receiver=0x89f3e78, e=0x8e2ed30) at kernel/qapplication.cpp:4021
#26 0x034e1bfa in KApplication::notify (this=0xbfd70bd8, receiver=0x89f3e78, event=0x8e2ed30) at ../../kdeui/kernel/kapplication.cpp:302
#27 0x044236cb in QCoreApplication::notifyInternal (this=0xbfd70bd8, receiver=0x89f3e78, event=0x8e2ed30) at kernel/qcoreapplication.cpp:610
#28 0x044242b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x879bca8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x879bca8) at kernel/qcoreapplication.cpp:1247
#30 0x0442447d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#31 0x0444e3ff in QCoreApplication::sendPostedEvents (s=0x87c4110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#32 postEventSourceDispatch (s=0x87c4110) at kernel/qeventdispatcher_glib.cpp:210
#33 0x01d2ce78 in g_main_dispatch (context=0x87c4090) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:1960
#34 IA__g_main_context_dispatch (context=0x87c4090) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2513
#35 0x01d30720 in g_main_context_iterate (context=0x87c4090, block=<value optimized out>, dispatch=1, self=0x87c1f90) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2591
#36 0x01d30853 in IA__g_main_context_iteration (context=0x87c4090, may_block=1) at /build/buildd/glib2.0-2.22.2/glib/gmain.c:2654
#37 0x0444e02c in QEventDispatcherGlib::processEvents (this=0x879be80, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#38 0x012a7be5 in QGuiEventDispatcherGlib::processEvents (this=0x879be80, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#39 0x04421c79 in QEventLoop::processEvents (this=0xbfd70b24, flags=) at kernel/qeventloop.cpp:149
#40 0x044220ca in QEventLoop::exec (this=0xbfd70b24, flags=...) at kernel/qeventloop.cpp:201
#41 0x0442453f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#42 0x01206dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#43 0x083af70b in main (argc=5, argv=0xbfd71044) at /home/paul/Applications/digikam-1.0.0-beta6/digikam/main.cpp:195

This bug may be a duplicate of or related to bug 214676

Reported using DrKonqi
Comment 1 caulier.gilles 2009-11-23 06:39:23 UTC
Andi,

Another 64 bits issues ?

Gilles Caulier
Comment 2 Andi Clemens 2009-11-23 09:50:56 UTC
I really don't understand this bug. It complains about dereferencing a QString when deleting the ImagePlugin class. But why?
I never had a crash, maybe it is a Qt problem. We don't save the string as a pointer somewhere, so what is the problem? It can't be deleted twice?

Maybe ImagePlugin::actionCategory() is called while the d pointer is being deleted?
But now with all those checks this shouldn't be a problem either.

Has anyone an idea?
Comment 3 Marcel Wiesweg 2009-11-23 19:41:47 UTC
The plugin is from beta5 sources (stack #10), the main application is beta6.
Dear reporter of this bug, please ensure that you uninstall image plugins from beta5 and install those of beta6 and report back if you still get the crash from within beta6 plugin source.
Comment 4 talentedchimp-noreply 2009-11-24 02:03:10 UTC
(In reply to comment #3)
> The plugin is from beta5 sources (stack #10), the main application is beta6.
> Dear reporter of this bug, please ensure that you uninstall image plugins from
> beta5 and install those of beta6 and report back if you still get the crash
> from within beta6 plugin source.

Thankyou.
Comment 5 Marcel Wiesweg 2009-12-20 16:09:47 UTC
Assuming it can be closed.