Bug 246506

Summary: Digikam crashes if I close the program
Product: [Applications] digikam Reporter: Tom <tom4512>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.3.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Tom 2010-08-02 13:08:35 UTC
Version:           1.3.0 (using KDE 4.4.4) 
OS:                Linux

I do something and than I close the program, it will crash

Reproducible: Always

Steps to Reproduce:
Open the program and than close it.



Application: digiKam (digikam), signal: Aborted
[Current thread is 1 (Thread 0xb2068a70 (LWP 26489))]

Thread 10 (Thread 0xb09deb70 (LWP 26490)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb450fd95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb49ff27c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4c238d0 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0x0835c0fa in Digikam::ScanController::run (this=0x85c8ae8) at /usr/src/debug/digikam-1.3.0/digikam/scancontroller.cpp:516
#6  0xb4c227cf in QThreadPrivate::start (arg=0x85c8ae8) at thread/qthread_unix.cpp:248
#7  0xb450b6e5 in start_thread () from /lib/libpthread.so.0
#8  0xb450b600 in ?? () from /lib/libpthread.so.0

Thread 9 (Thread 0xaee86b70 (LWP 26496)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb450fd95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb49ff27c in pthread_cond_wait () from /lib/libc.so.6
#3  0xb4c238d0 in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#5  0xb695da6c in Digikam::ParkingThread::run (this=0x865bc78) at /usr/src/debug/digikam-1.3.0/libs/threads/threadmanager.cpp:101
#6  0xb4c227cf in QThreadPrivate::start (arg=0x865bc78) at thread/qthread_unix.cpp:248
#7  0xb450b6e5 in start_thread () from /lib/libpthread.so.0
#8  0xb450b600 in ?? () from /lib/libpthread.so.0

Thread 8 (Thread 0xae685b70 (LWP 26497)):
#0  0xb2dc5fb6 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#1  0xb2dc790d in ?? () from /usr/lib/libglib-2.0.so.0
#2  0xb2dc7ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb4d543cf in QEventDispatcherGlib::processEvents (this=0x869d898, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#4  0xb4d25d8d in QEventLoop::processEvents (this=0xae6852e0, flags=) at kernel/qeventloop.cpp:149
#5  0xb4d261d9 in QEventLoop::exec (this=0xae6852e0, flags=...) at kernel/qeventloop.cpp:201
#6  0xb4c1f8e3 in QThread::exec (this=0x864c948) at thread/qthread.cpp:487
#7  0xb4c227cf in QThreadPrivate::start (arg=0x864c948) at thread/qthread_unix.cpp:248
#8  0xb450b6e5 in start_thread () from /lib/libpthread.so.0
#9  0xb450b600 in ?? () from /lib/libpthread.so.0

Thread 7 (Thread 0xade84b70 (LWP 26498)):
#0  0xb4c0455a in __i686.get_pc_thunk.bx () from /usr/lib/libQtCore.so.4
#1  0xb4d548bc in postEventSourcePrepare (s=0x89136c0, timeout=0xade8414c) at kernel/qeventdispatcher_glib.cpp:252
#2  0xb2dc7618 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0xb2dc7999 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb2dc7ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb4d543cf in QEventDispatcherGlib::processEvents (this=0x89180d8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0xb4d25d8d in QEventLoop::processEvents (this=0xade842e0, flags=) at kernel/qeventloop.cpp:149
#7  0xb4d261d9 in QEventLoop::exec (this=0xade842e0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb4c1f8e3 in QThread::exec (this=0x864c980) at thread/qthread.cpp:487
#9  0xb4c227cf in QThreadPrivate::start (arg=0x864c980) at thread/qthread_unix.cpp:248
#10 0xb450b6e5 in start_thread () from /lib/libpthread.so.0
#11 0xb450b600 in ?? () from /lib/libpthread.so.0

Thread 6 (Thread 0xaacc9b70 (LWP 26500)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb45100c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb49ff2d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xabe9a1db in metronom_sync_loop () from /usr/lib/libxine.so.1
#4  0xb450b6e5 in start_thread () from /lib/libpthread.so.0
#5  0xb450b600 in ?? () from /lib/libpthread.so.0

Thread 5 (Thread 0xaa0bdb70 (LWP 26501)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb45100c2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb49ff2d4 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0xabea62cb in interruptable_sleep () from /usr/lib/libxine.so.1
#4  0xabea8c7e in video_out_loop () from /usr/lib/libxine.so.1
#5  0xb450b6e5 in start_thread () from /lib/libpthread.so.0
#6  0xb450b600 in ?? () from /lib/libpthread.so.0

Thread 4 (Thread 0xa98bcb70 (LWP 26502)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb49ff5e3 in ?? () from /lib/libc.so.6
#2  0xb499298c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 0xa90b1b70 (LWP 26505)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb49e6d5e in poll () from /lib/libc.so.6
#2  0xa90b7349 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_alsa.so
#3  0xb450b6e5 in start_thread () from /lib/libpthread.so.0
#4  0xb450b600 in ?? () from /lib/libpthread.so.0

Thread 2 (Thread 0xa88b0b70 (LWP 26506)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb450fd95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb49ff27c in pthread_cond_wait () from /lib/libc.so.6
#3  0xabeac390 in ao_loop () from /usr/lib/libxine.so.1
#4  0xb450b6e5 in start_thread () from /lib/libpthread.so.0
#5  0xb450b600 in ?? () from /lib/libpthread.so.0

Thread 1 (Thread 0xb2068a70 (LWP 26489)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb494a0cf in raise () from /lib/libc.so.6
#8  0xb494b9e7 in abort () from /lib/libc.so.6
#9  0xb49864ed in ?? () from /lib/libc.so.6
#10 0xb498c50b in ?? () from /lib/libc.so.6
#11 0xb498dde4 in ?? () from /lib/libc.so.6
#12 0xb4990fdd in free () from /lib/libc.so.6
#13 0xb4b82f4f in operator delete(void*) () from /usr/lib/libstdc++.so.6
#14 0xb5d1280d in KCategoryDrawer::~KCategoryDrawer (this=0x86a14e8, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdeui/itemviews/kcategorydrawer.cpp:58
#15 0x08322316 in Digikam::ImageCategoryDrawer::~ImageCategoryDrawer (this=0x86a14e8, __in_chrg=<value optimized out>) at /usr/src/debug/digikam-1.3.0/digikam/imagecategorydrawer.cpp:78
#16 0x083250a3 in Digikam::ImageDelegate::~ImageDelegate (this=0x8657a48, __in_chrg=<value optimized out>) at /usr/src/debug/digikam-1.3.0/digikam/imagedelegate.cpp:83
#17 0x0830a066 in Digikam::DigikamImageDelegate::~DigikamImageDelegate (this=0x8657a48, __in_chrg=<value optimized out>) at /usr/src/debug/digikam-1.3.0/digikam/digikamimagedelegate.cpp:71
#18 0xb4d3735c in QObjectPrivate::deleteChildren (this=0x892d250) at kernel/qobject.cpp:1986
#19 0xb52e3340 in QWidget::~QWidget (this=0x862a6b0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1476
#20 0xb56e943f in QFrame::~QFrame (this=0x862a6b0, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#21 0xb5787de4 in QAbstractScrollArea::~QAbstractScrollArea (this=0x862a6b0, __in_chrg=<value optimized out>) at widgets/qabstractscrollarea.cpp:524
#22 0xb58316ef in QAbstractItemView::~QAbstractItemView (this=0x862a6b0, __in_chrg=<value optimized out>) at itemviews/qabstractitemview.cpp:598
#23 0xb585564f in QListView::~QListView (this=0x862a6b0, __in_chrg=<value optimized out>) at itemviews/qlistview.cpp:207
#24 0xb699e61f in KCategorizedView::~KCategorizedView (this=0x862a6b0, __in_chrg=<value optimized out>) at /usr/src/debug/digikam-1.3.0/libs/widgets/common/kcategorizedview.cpp:525
#25 0xb6971747 in Digikam::DCategorizedView::~DCategorizedView (this=0x862a6b0, __in_chrg=<value optimized out>) at /usr/src/debug/digikam-1.3.0/libs/widgets/common/dcategorizedview.cpp:124
#26 0x0830766c in Digikam::DigikamImageView::~DigikamImageView (this=0x862a6b0, __in_chrg=<value optimized out>) at /usr/src/debug/digikam-1.3.0/digikam/digikamimageview.cpp:132
#27 0xb4d3735c in QObjectPrivate::deleteChildren (this=0x8658320) at kernel/qobject.cpp:1986
#28 0xb52e3340 in QWidget::~QWidget (this=0x8639800, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1476
#29 0xb56e943f in QFrame::~QFrame (this=0x8639800, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#30 0xb575754f in QStackedWidget::~QStackedWidget (this=0x8639800, __in_chrg=<value optimized out>) at widgets/qstackedwidget.cpp:151
#31 0x082d6a88 in Digikam::AlbumWidgetStack::~AlbumWidgetStack (this=0x8639800, __in_chrg=<value optimized out>) at /usr/src/debug/digikam-1.3.0/digikam/albumwidgetstack.cpp:203
#32 0xb4d3735c in QObjectPrivate::deleteChildren (this=0x8638810) at kernel/qobject.cpp:1986
#33 0xb52e3340 in QWidget::~QWidget (this=0x8613208, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1476
#34 0xb57074d5 in QMainWindow::~QMainWindow (this=0x8613208, __in_chrg=<value optimized out>) at widgets/qmainwindow.cpp:329
#35 0xb4d3735c in QObjectPrivate::deleteChildren (this=0x866b5f0) at kernel/qobject.cpp:1986
#36 0xb52e3340 in QWidget::~QWidget (this=0x86637e8, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1476
#37 0xb56e943f in QFrame::~QFrame (this=0x86637e8, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#38 0xb57555c4 in QSplitter::~QSplitter (this=0x86637e8, __in_chrg=<value optimized out>) at widgets/qsplitter.cpp:1029
#39 0xb69b7f59 in Digikam::SidebarSplitter::~SidebarSplitter (this=0x86637e8, __in_chrg=<value optimized out>) at /usr/src/debug/digikam-1.3.0/libs/widgets/common/sidebar.cpp:453
#40 0xb4d3735c in QObjectPrivate::deleteChildren (this=0x869dec0) at kernel/qobject.cpp:1986
#41 0xb52e3340 in QWidget::~QWidget (this=0x864b300, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1476
#42 0xb56e943f in QFrame::~QFrame (this=0x864b300, __in_chrg=<value optimized out>) at widgets/qframe.cpp:242
#43 0xb5d1705f in KHBox::~KHBox (this=0x864b300, __in_chrg=<value optimized out>) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/khbox.cpp:51
#44 0x0830fd5c in Digikam::DigikamView::~DigikamView (this=0x864b300, __in_chrg=<value optimized out>) at /usr/src/debug/digikam-1.3.0/digikam/digikamview.cpp:258
#45 0x082ece6c in Digikam::DigikamApp::~DigikamApp (this=0x8614958, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /usr/src/debug/digikam-1.3.0/digikam/digikamapp.cpp:293
#46 0xb4d36f23 in qDeleteInEventHandler (o=0x0) at kernel/qobject.cpp:4001
#47 0xb4d386c8 in QObject::event (this=0x8614958, e=0x6) at kernel/qobject.cpp:1231
#48 0xb52dafd0 in QWidget::event (this=0x8614958, event=0x90f9b88) at kernel/qwidget.cpp:8501
#49 0xb5708484 in QMainWindow::event (this=0x8614958, event=0x90f9b88) at widgets/qmainwindow.cpp:1414
#50 0xb5e60834 in KMainWindow::event (this=0x8614958, ev=0x90f9b88) at /usr/src/debug/kdelibs-4.4.4/kdeui/widgets/kmainwindow.cpp:1103
#51 0xb5e835a2 in KXmlGuiWindow::event (this=0x8614958, ev=0x90f9b88) at /usr/src/debug/kdelibs-4.4.4/kdeui/xmlgui/kxmlguiwindow.cpp:131
#52 0xb527ae3c in QApplicationPrivate::notify_helper (this=0x8525fc0, receiver=0x8614958, e=0x90f9b88) at kernel/qapplication.cpp:4302
#53 0xb5281d08 in QApplication::notify (this=0x8614958, receiver=0x8614958, e=0x90f9b88) at kernel/qapplication.cpp:4267
#54 0xb5da5d21 in KApplication::notify (this=0xbfa0b76c, receiver=0x8614958, event=0x90f9b88) at /usr/src/debug/kdelibs-4.4.4/kdeui/kernel/kapplication.cpp:302
#55 0xb4d2771e in QCoreApplication::notifyInternal (this=0xbfa0b76c, receiver=0x8614958, event=0x90f9b88) at kernel/qcoreapplication.cpp:726
#56 0xb4d2b227 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#57 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1367
#58 0xb4d2b3ac in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#59 0xb4d5489d in sendPostedEvents () at kernel/qcoreapplication.h:220
#60 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#61 0xb2dc44c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#62 0xb2dc7d98 in ?? () from /usr/lib/libglib-2.0.so.0
#63 0xb2dc7ebe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#64 0xb4d54381 in QEventDispatcherGlib::processEvents (this=0x84faa30, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#65 0xb533bc3a in QGuiEventDispatcherGlib::processEvents (this=0x84faa30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#66 0xb4d25d8d in QEventLoop::processEvents (this=0xbfa0b654, flags=) at kernel/qeventloop.cpp:149
#67 0xb4d261d9 in QEventLoop::exec (this=0xbfa0b654, flags=...) at kernel/qeventloop.cpp:201
#68 0xb4d2b480 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#69 0xb527aee4 in QApplication::exec () at kernel/qapplication.cpp:3581
#70 0x083ea9eb in main (argc=5, argv=0xbfa0b9e4) at /usr/src/debug/digikam-1.3.0/digikam/main.cpp:195
Comment 1 Marcel Wiesweg 2010-08-13 11:22:20 UTC
Please read my comment #21 on bug 230515, which is asking for help debugging this.

*** This bug has been marked as a duplicate of bug 230515 ***
Comment 2 caulier.gilles 2022-01-21 08:04:41 UTC
Fixed With https://bugs.kde.org/show_bug.cgi?id=230515