Bug 237642 - digiKam crashes while renaming several files
Summary: digiKam crashes while renaming several files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: AdvancedRename-engine (show other bugs)
Version: 1.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-14 16:57 UTC by Bitta Jam
Modified: 2017-07-24 09:04 UTC (History)
17 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.7.0


Attachments
Folder containing 2 JPEG files that will make digiKam crash when using the Rename feature (284.20 KB, application/gzip)
2010-05-21 18:26 UTC, Samuel Gilbert
Details
Stdout and stderr of a debug build of digiKam when the crash occurs (9.09 KB, application/gzip)
2010-05-21 18:29 UTC, Samuel Gilbert
Details
New crash information added by DrKonqi (19.61 KB, text/plain)
2010-06-02 22:12 UTC, rexxy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bitta Jam 2010-05-14 16:57:56 UTC
Application: digikam (1.2.0)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I've been working with digiKam for the whole day and everything was just fine.
What i have been doing: 
- open a folder
- select all the pictures
- resize them and save to another folder
- select all the new pictures in a certain order
- autorename them according to selection (01, 02, 03 etc)
- open another folder and do all these things with photos there....
Suddenly digiKam has crashed after pressing OK in the renaming dialog.
Since that time I can't rename several photos at a time, cause it keeps on crashing. 
If I rename a single file, it works. But two or more - no way.

The crash can be reproduced every time.

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

Thread 12 (Thread 0xb5f7bb70 (LWP 20236)):
#0  0x00e1d422 in __kernel_vsyscall ()
#1  0x00664015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x03eaa287 in QWaitConditionPrivate::wait (this=0x9e700e8, mutex=0x9e700e4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x9e700e8, mutex=0x9e700e4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x08321fb4 in Digikam::ScanController::run (this=0x9e8c4e0) at /build/buildd/digikam-1.2.0/digikam/scancontroller.cpp:516
#5  0x03ea932e in QThreadPrivate::start (arg=0x9e8c4e0) at thread/qthread_unix.cpp:248
#6  0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xb56b2b70 (LWP 20238)):
#0  0x07dcee16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x03fd46fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x03fd9825 in QTimerInfoList::updateCurrentTime (this=0xa0a70d4) at kernel/qeventdispatcher_unix.cpp:340
#3  0x03fd986a in QTimerInfoList::timerWait (this=0xa0a70d4, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x03fd7818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb56b20bc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x03fd78a5 in timerSourcePrepare (source=0x0, timeout=0x7dd2ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x0577eaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0577eee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x0577f4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x03fd760f in QEventDispatcherGlib::processEvents (this=0x9eea678, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x03faa059 in QEventLoop::processEvents (this=0xb56b2280, flags=) at kernel/qeventloop.cpp:149
#11 0x03faa4aa in QEventLoop::exec (this=0xb56b2280, flags=...) at kernel/qeventloop.cpp:201
#12 0x03ea65a8 in QThread::exec (this=0xa0a71e0) at thread/qthread.cpp:487
#13 0x00778ced in Digikam::ImageFilterModelWorker::Thread::run (this=0xa0a71e0) at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#14 0x03ea932e in QThreadPrivate::start (arg=0xa0a71e0) at thread/qthread_unix.cpp:248
#15 0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xb4cffb70 (LWP 20239)):
#0  0x00e1d422 in __kernel_vsyscall ()
#1  0x0626ab86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0578c4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x0577f0ac in ?? () from /lib/libglib-2.0.so.0
#4  0x0577f4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x03fd760f in QEventDispatcherGlib::processEvents (this=0xb4300468, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x03faa059 in QEventLoop::processEvents (this=0xb4cff280, flags=) at kernel/qeventloop.cpp:149
#7  0x03faa4aa in QEventLoop::exec (this=0xb4cff280, flags=...) at kernel/qeventloop.cpp:201
#8  0x03ea65a8 in QThread::exec (this=0x9e92988) at thread/qthread.cpp:487
#9  0x00778ced in Digikam::ImageFilterModelWorker::Thread::run (this=0x9e92988) at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/../../libs/models/imagefiltermodelthreads.h:66
#10 0x03ea932e in QThreadPrivate::start (arg=0x9e92988) at thread/qthread_unix.cpp:248
#11 0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb42ffb70 (LWP 20240)):
#0  0x00e1d422 in __kernel_vsyscall ()
#1  0x00664015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x03eaa287 in QWaitConditionPrivate::wait (this=0xa09b028, mutex=0xa09b024, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa09b028, mutex=0xa09b024, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x05cc110a in Digikam::LoadSaveThread::run (this=0xa09b018) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x03ea932e in QThreadPrivate::start (arg=0xa09b018) at thread/qthread_unix.cpp:248
#6  0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb3afeb70 (LWP 20241)):
#0  0x00e1d422 in __kernel_vsyscall ()
#1  0x0626ab86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0578c4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x0577f0ac in ?? () from /lib/libglib-2.0.so.0
#4  0x0577f4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x03fd760f in QEventDispatcherGlib::processEvents (this=0xa0f7640, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x03faa059 in QEventLoop::processEvents (this=0xb3afe2a0, flags=) at kernel/qeventloop.cpp:149
#7  0x03faa4aa in QEventLoop::exec (this=0xb3afe2a0, flags=...) at kernel/qeventloop.cpp:201
#8  0x03ea65a8 in QThread::exec (this=0xa0f7230) at thread/qthread.cpp:487
#9  0x03ea932e in QThreadPrivate::start (arg=0xa0f7230) at thread/qthread_unix.cpp:248
#10 0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb32fdb70 (LWP 20242)):
#0  0x00e1d422 in __kernel_vsyscall ()
#1  0x0626ab86 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0578c4eb in g_poll () from /lib/libglib-2.0.so.0
#3  0x0577f0ac in ?? () from /lib/libglib-2.0.so.0
#4  0x0577f4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x03fd760f in QEventDispatcherGlib::processEvents (this=0xb4301e68, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x03faa059 in QEventLoop::processEvents (this=0xb32fd2a0, flags=) at kernel/qeventloop.cpp:149
#7  0x03faa4aa in QEventLoop::exec (this=0xb32fd2a0, flags=...) at kernel/qeventloop.cpp:201
#8  0x03ea65a8 in QThread::exec (this=0xa0f8410) at thread/qthread.cpp:487
#9  0x03ea932e in QThreadPrivate::start (arg=0xa0f8410) at thread/qthread_unix.cpp:248
#10 0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#11 0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xaff59b70 (LWP 20244)):
#0  0x00e1d422 in __kernel_vsyscall ()
#1  0x00664015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x03eaa287 in QWaitConditionPrivate::wait (this=0xa550268, mutex=0xa550264, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa550268, mutex=0xa550264, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x05cc110a in Digikam::LoadSaveThread::run (this=0xa550258) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x03ea932e in QThreadPrivate::start (arg=0xa550258) at thread/qthread_unix.cpp:248
#6  0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xaf758b70 (LWP 20251)):
#0  0x00e1d422 in __kernel_vsyscall ()
#1  0x00664015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x03eaa287 in QWaitConditionPrivate::wait (this=0xa79f5c8, mutex=0xa79f5c4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa79f5c8, mutex=0xa79f5c4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x05cc110a in Digikam::LoadSaveThread::run (this=0xa79f5b8) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x03ea932e in QThreadPrivate::start (arg=0xa79f5b8) at thread/qthread_unix.cpp:248
#6  0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xacf53b70 (LWP 20252)):
#0  0x00e1d422 in __kernel_vsyscall ()
#1  0x00664015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x03eaa287 in QWaitConditionPrivate::wait (this=0xa7fd640, mutex=0xa7fd63c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xa7fd640, mutex=0xa7fd63c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x05cc110a in Digikam::LoadSaveThread::run (this=0xa7fd630) at /build/buildd/digikam-1.2.0/libs/threadimageio/loadsavethread.cpp:131
#5  0x03ea932e in QThreadPrivate::start (arg=0xa7fd630) at thread/qthread_unix.cpp:248
#6  0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xad754b70 (LWP 20253)):
#0  0x07dcee16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x03fd46fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x03fd9825 in QTimerInfoList::updateCurrentTime (this=0xb488a34) at kernel/qeventdispatcher_unix.cpp:340
#3  0x03fd986a in QTimerInfoList::timerWait (this=0xb488a34, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x03fd7818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xad75407c) at kernel/qeventdispatcher_glib.cpp:136
#5  0x03fd78a5 in timerSourcePrepare (source=0x0, timeout=0x7dd2ff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x0577eaca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x0577eee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x0577f4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x03fd760f in QEventDispatcherGlib::processEvents (this=0xb483dc0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x03faa059 in QEventLoop::processEvents (this=0xad754240, flags=) at kernel/qeventloop.cpp:149
#11 0x03faa4aa in QEventLoop::exec (this=0xad754240, flags=...) at kernel/qeventloop.cpp:201
#12 0x03ea65a8 in QThread::exec (this=0xb453d18) at thread/qthread.cpp:487
#13 0x03f89c1b in QInotifyFileSystemWatcherEngine::run (this=0xb453d18) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x03ea932e in QThreadPrivate::start (arg=0xb453d18) at thread/qthread_unix.cpp:248
#15 0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xadf55b70 (LWP 20305)):
#0  0x00e1d422 in __kernel_vsyscall ()
#1  0x00664015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x03eaa287 in QWaitConditionPrivate::wait (this=0xc2d2998, mutex=0xc2d2994, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0xc2d2998, mutex=0xc2d2994, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x083a5e67 in Digikam::RenameThread::run (this=0xb372508) at /build/buildd/digikam-1.2.0/utilities/advancedrename/common/renamethread.cpp:105
#5  0x03ea932e in QThreadPrivate::start (arg=0xb372508) at thread/qthread_unix.cpp:248
#6  0x0065f96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x06278a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb76dc760 (LWP 20235)):
[KCrash Handler]
#6  QBasicAtomicInt::ref (this=0xc49be78, settings=...) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#7  QList (this=0xc49be78, settings=...) at /usr/include/qt4/QtCore/qlist.h:114
#8  QForeachContainer (this=0xc49be78, settings=...) at /usr/include/qt4/QtCore/qglobal.h:2231
#9  Digikam::Parser::parse (this=0xc49be78, settings=...) at /build/buildd/digikam-1.2.0/utilities/advancedrename/common/parser.cpp:153
#10 0x083a3524 in Digikam::Parser::invalidModifiers (this=0xc49be78, settings=...) at /build/buildd/digikam-1.2.0/utilities/advancedrename/common/parser.cpp:135
#11 0x0839c866 in Digikam::Highlighter::highlightBlock (this=0xc49d480, text=...) at /build/buildd/digikam-1.2.0/utilities/advancedrename/common/highlighter.cpp:95
#12 0x01bc53ad in QSyntaxHighlighterPrivate::reformatBlock (this=0xc49d4d0, block=) at text/qsyntaxhighlighter.cpp:204
#13 0x01bc5567 in QSyntaxHighlighterPrivate::_q_reformatBlocks (this=0xc49d4d0, from=0, charsRemoved=6, charsAdded=6) at text/qsyntaxhighlighter.cpp:184
#14 0x01bc5ddc in QSyntaxHighlighter::qt_metacall (this=0xc49d480, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf813200) at .moc/release-shared/moc_qsyntaxhighlighter.cpp:81
#15 0x03fb0c9a in QMetaObject::metacall (object=0xc49d480, cl=3212914564, idx=6, argv=0xbf813200) at kernel/qmetaobject.cpp:237
#16 0x03fbf3d5 in QMetaObject::activate (sender=0xc23f990, m=0x2209edc, local_signal_index=0, argv=0xbf813200) at kernel/qobject.cpp:3293
#17 0x01ff812f in QTextDocument::contentsChange (this=0xc23f990, _t1=0, _t2=6, _t3=6) at .moc/release-shared/moc_qtextdocument.cpp:188
#18 0x01b830ee in QTextDocumentPrivate::finishEdit (this=0xc40dad0) at text/qtextdocument_p.cpp:1149
#19 0x01bb178b in QTextCursor::endEditBlock (this=0xbf81330c) at text/qtextcursor.cpp:2387
#20 0x01bc4cc3 in QSyntaxHighlighter::setDocument (this=0xc463290, doc=0x0) at text/qsyntaxhighlighter.cpp:346
#21 0x01bc4e45 in ~QSyntaxHighlighter (this=0xc463290, __in_chrg=<value optimized out>) at text/qsyntaxhighlighter.cpp:328
#22 0x09656567 in ~Highlighter (this=0xc463290, __in_chrg=<value optimized out>) at ../../kdeui/sonnet/highlighter.cpp:138
#23 0x096fd9a4 in ~Private (this=0xc4c7068, __in_chrg=<value optimized out>) at ../../kdeui/widgets/ktextedit.cpp:82
#24 ~KTextEdit (this=0xc4c7068, __in_chrg=<value optimized out>) at ../../kdeui/widgets/ktextedit.cpp:276
#25 0x0839746a in ~AdvancedRenameLineEdit (this=0xc4c7068, __in_chrg=<value optimized out>) at /build/buildd/digikam-1.2.0/utilities/advancedrename/advancedrenameinput.cpp:161
#26 0x03fbb18f in QObjectPrivate::deleteChildren (this=0xc390378) at kernel/qobject.cpp:1986
#27 0x019353d3 in ~QWidget (this=0xc203f78, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#28 0x01d3a801 in ~QLineEdit (this=0xc203f78, __in_chrg=<value optimized out>) at widgets/qlineedit.cpp:356
#29 0x096c7844 in ~KLineEdit (this=0xc203f78, __in_chrg=<value optimized out>) at ../../kdeui/widgets/klineedit.cpp:215
#30 0x08399506 in ~ProxyLineEdit (this=0xc203f78, __in_chrg=<value optimized out>) at /build/buildd/digikam-1.2.0/digikam/../libs/widgets/common/comboboxutilities.h:50
#31 ~AdvancedRenameLineEditProxy (this=0xc203f78, __in_chrg=<value optimized out>) at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/../../utilities/advancedrename/advancedrenameinput.h:49
#32 0x03fbb18f in QObjectPrivate::deleteChildren (this=0xc390140) at kernel/qobject.cpp:1986
#33 0x019353d3 in ~QWidget (this=0xb467a50, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#34 0x01cf47ae in ~QComboBox (this=0xb467a50, __in_chrg=<value optimized out>) at widgets/qcombobox.cpp:1263
#35 0x096a6598 in ~KComboBox (this=0xb467a50, __in_chrg=<value optimized out>) at ../../kdeui/widgets/kcombobox.cpp:73
#36 0x08399235 in ~AdvancedRenameInput (this=0xb467a50, __in_chrg=<value optimized out>) at /build/buildd/digikam-1.2.0/utilities/advancedrename/advancedrenameinput.cpp:338
#37 0x03fbb18f in QObjectPrivate::deleteChildren (this=0xc366c98) at kernel/qobject.cpp:1986
#38 0x019353d3 in ~QWidget (this=0xa61cbb0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#39 0x0839b19e in ~AdvancedRenameWidget (this=0xa61cbb0, __in_chrg=<value optimized out>) at /build/buildd/digikam-1.2.0/utilities/advancedrename/advancedrenamewidget.cpp:113
#40 0x03fbb18f in QObjectPrivate::deleteChildren (this=0xc201e70) at kernel/qobject.cpp:1986
#41 0x01934873 in ~QWidget (this=0xc202920, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#42 0x03fbb18f in QObjectPrivate::deleteChildren (this=0xc313aa8) at kernel/qobject.cpp:1986
#43 0x019353d3 in ~QWidget (this=0xb459fe0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1469
#44 0x01e0d734 in ~QDialog (this=0xb459fe0, __in_chrg=<value optimized out>) at dialogs/qdialog.cpp:328
#45 0x0953efa4 in ~KDialog (this=0xb459fe0, __in_chrg=<value optimized out>) at ../../kdeui/dialogs/kdialog.cpp:205
#46 0x08395bdf in ~AdvancedRenameDialog (this=0xb459fe0, __in_chrg=<value optimized out>) at /build/buildd/digikam-1.2.0/utilities/advancedrename/advancedrenamedialog.cpp:229
#47 0x082d2dd6 in Digikam::DigikamImageView::rename (this=0x9ffcbb8) at /build/buildd/digikam-1.2.0/digikam/digikamimageview.cpp:401
#48 0x082de864 in Digikam::DigikamView::slotImageRename (this=0x9fff598, _c=QMetaObject::InvokeMetaMethod, _id=86, _a=0xbf813a28) at /build/buildd/digikam-1.2.0/digikam/digikamview.cpp:1359
#49 Digikam::DigikamView::qt_metacall (this=0x9fff598, _c=QMetaObject::InvokeMetaMethod, _id=86, _a=0xbf813a28) at /build/buildd/digikam-1.2.0/obj-i486-linux-gnu/digikam/digikamview.moc:321
#50 0x03fb0c9a in QMetaObject::metacall (object=0x9fff598, cl=3212914564, idx=86, argv=0xbf813a28) at kernel/qmetaobject.cpp:237
#51 0x03fbf3d5 in QMetaObject::activate (sender=0xa8dc1a8, m=0x84ce258, local_signal_index=1, argv=0xbf813a28) at kernel/qobject.cpp:3293
#52 0x018c8bd9 in QAction::triggered (this=0xa8dc1a8, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#53 0x018cadcc in QAction::activate (this=0xa8dc1a8, event=QAction::Trigger) at kernel/qaction.cpp:1255
#54 0x01d6e60c in QMenuPrivate::activateCausedStack (this=0xc2b8188, causedStack=..., action=0xa8dc1a8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1011
#55 0x01d74abb in QMenuPrivate::activateAction (this=0xc2b8188, action=0xa8dc1a8, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1103
#56 0x01d75ac7 in QMenu::mouseReleaseEvent (this=0xbf814b84, e=0xbf8142c0) at widgets/qmenu.cpp:2312
#57 0x096d4f65 in KMenu::mouseReleaseEvent (this=0xbf814b84, e=0xbf8142c0) at ../../kdeui/widgets/kmenu.cpp:471
#58 0x0192d7f8 in QWidget::event (this=0xbf814b84, event=0xbf8142c0) at kernel/qwidget.cpp:7998
#59 0x01d770cc in QMenu::event (this=0xbf814b84, e=0xbf8142c0) at widgets/qmenu.cpp:2414
#60 0x018cf4dc in QApplicationPrivate::notify_helper (this=0x9dda4b0, receiver=0xbf814b84, e=0xbf8142c0) at kernel/qapplication.cpp:4300
#61 0x018d69f7 in QApplication::notify (this=0xbf815e68, receiver=0xbf814b84, e=0xbf8142c0) at kernel/qapplication.cpp:3865
#62 0x095def2a in KApplication::notify (this=0xbf815e68, receiver=0xbf814b84, event=0xbf8142c0) at ../../kdeui/kernel/kapplication.cpp:302
#63 0x03faba3b in QCoreApplication::notifyInternal (this=0xbf815e68, receiver=0xbf814b84, event=0xbf8142c0) at kernel/qcoreapplication.cpp:704
#64 0x018d5952 in QCoreApplication::sendEvent (receiver=0xbf814b84, event=0xbf8142c0, alienWidget=0x0, nativeWidget=0xbf814b84, buttonDown=0x2213058, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#65 QApplicationPrivate::sendMouseEvent (receiver=0xbf814b84, event=0xbf8142c0, alienWidget=0x0, nativeWidget=0xbf814b84, buttonDown=0x2213058, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#66 0x019615cf in QETWidget::translateMouseEvent (this=0xbf814b84, event=0xbf8147dc) at kernel/qapplication_x11.cpp:4302
#67 0x01960511 in QApplication::x11ProcessEvent (this=0xbf815e68, event=0xbf8147dc) at kernel/qapplication_x11.cpp:3379
#68 0x0198f60a in x11EventSourceDispatch (s=0x9ddd740, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#69 0x0577b5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#70 0x0577f2d8 in ?? () from /lib/libglib-2.0.so.0
#71 0x0577f4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#72 0x03fd75d5 in QEventDispatcherGlib::processEvents (this=0x9dafc08, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#73 0x0198f135 in QGuiEventDispatcherGlib::processEvents (this=0x9dafc08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#74 0x03faa059 in QEventLoop::processEvents (this=0xbf814ad0, flags=) at kernel/qeventloop.cpp:149
#75 0x03faa4aa in QEventLoop::exec (this=0xbf814ad0, flags=...) at kernel/qeventloop.cpp:201
#76 0x01d71dde in QMenu::exec (this=0xbf814b84, p=..., action=0x0) at widgets/qmenu.cpp:2063
#77 0x082a70b8 in Digikam::ContextMenuHelper::exec (this=0xbf814bb0, pos=..., at=0x0) at /build/buildd/digikam-1.2.0/digikam/contextmenuhelper.cpp:680
#78 0x082d2a82 in Digikam::DigikamImageView::showContextMenuOnInfo (this=0x9ffcbb8, event=0xbf8155c8, info=...) at /build/buildd/digikam-1.2.0/digikam/digikamimageview.cpp:246
#79 0x082e8d74 in Digikam::ImageCategorizedView::showContextMenuOnIndex (this=0x9ffcbb8, event=0xbf8155c8, index=...) at /build/buildd/digikam-1.2.0/digikam/imagecategorizedview.cpp:490
#80 0x05d17c92 in Digikam::DCategorizedView::contextMenuEvent (this=0x9ffcbb8, event=0xbf8155c8) at /build/buildd/digikam-1.2.0/libs/widgets/common/dcategorizedview.cpp:537
#81 0x0192df38 in QWidget::event (this=0x9ffcbb8, event=0xbf8155c8) at kernel/qwidget.cpp:8165
#82 0x01d29fd3 in QFrame::event (this=0x9ffcbb8, e=0xbf8155c8) at widgets/qframe.cpp:557
#83 0x01dc4382 in QAbstractScrollArea::viewportEvent (this=0xbf812f84, e=0xc4fc179) at widgets/qabstractscrollarea.cpp:1036
#84 0x01e78bd7 in QAbstractItemView::viewportEvent (this=0x9ffcbb8, event=0xbf8155c8) at itemviews/qabstractitemview.cpp:1610
#85 0x05d1a45d in Digikam::DCategorizedView::viewportEvent (this=0x9ffcbb8, event=0xbf8155c8) at /build/buildd/digikam-1.2.0/libs/widgets/common/dcategorizedview.cpp:704
#86 0x01dc6c65 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9eb2850, o=0xa091640, e=0xbf8155c8) at widgets/qabstractscrollarea_p.h:100
#87 QAbstractScrollAreaFilter::eventFilter (this=0x9eb2850, o=0xa091640, e=0xbf8155c8) at widgets/qabstractscrollarea_p.h:116
#88 0x03faacda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9dda4b0, receiver=0xa091640, event=0xbf8155c8) at kernel/qcoreapplication.cpp:819
#89 0x018cf4b9 in QApplicationPrivate::notify_helper (this=0x9dda4b0, receiver=0xa091640, e=0xbf8155c8) at kernel/qapplication.cpp:4296
#90 0x018d6470 in QApplication::notify (this=0xbf815e68, receiver=0xa091640, e=0xbf8155c8) at kernel/qapplication.cpp:3944
#91 0x095def2a in KApplication::notify (this=0xbf815e68, receiver=0xa091640, event=0xbf8155c8) at ../../kdeui/kernel/kapplication.cpp:302
#92 0x03faba3b in QCoreApplication::notifyInternal (this=0xbf815e68, receiver=0xa091640, event=0xbf8155c8) at kernel/qcoreapplication.cpp:704
#93 0x01966dfe in QCoreApplication::sendSpontaneousEvent (receiver=0xa091640, event=0xc4fc179) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#94 0x019610f4 in QETWidget::translateMouseEvent (this=0xa091640, event=0xbf815abc) at kernel/qapplication_x11.cpp:4373
#95 0x01960511 in QApplication::x11ProcessEvent (this=0xbf815e68, event=0xbf815abc) at kernel/qapplication_x11.cpp:3379
#96 0x0198f60a in x11EventSourceDispatch (s=0x9ddd740, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#97 0x0577b5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#98 0x0577f2d8 in ?? () from /lib/libglib-2.0.so.0
#99 0x0577f4b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#100 0x03fd75d5 in QEventDispatcherGlib::processEvents (this=0x9dafc08, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#101 0x0198f135 in QGuiEventDispatcherGlib::processEvents (this=0x9dafc08, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#102 0x03faa059 in QEventLoop::processEvents (this=0xbf815db4, flags=) at kernel/qeventloop.cpp:149
#103 0x03faa4aa in QEventLoop::exec (this=0xbf815db4, flags=...) at kernel/qeventloop.cpp:201
#104 0x03fae69f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#105 0x018cf577 in QApplication::exec () at kernel/qapplication.cpp:3579
#106 0x083c2c35 in main (argc=5, argv=0xbf8162b4) at /build/buildd/digikam-1.2.0/digikam/main.cpp:193

Possible duplicates by query: bug 235583, bug 229857, bug 229282, bug 228501, bug 227957.

Reported using DrKonqi
Comment 1 Samuel Gilbert 2010-05-19 19:57:38 UTC
I can confirm the exact same issue with digiKam 1.2.0 on KDE 4.4.3 using Archlinux.  It's 100% reproducible.
Comment 2 Samuel Gilbert 2010-05-19 21:16:04 UTC
Here is what you get when running digiKam from a terminal and trying to rename multiple images :

$ digikam
Time elapsed: 13 ms
Time elapsed: 4 ms
Model: Time elapsed: 27 ms
TextureColorizer: Time elapsed: 6 ms
Time elapsed: 5 ms
Time elapsed: 4 ms
Model: Time elapsed: 13 ms
digikam(12120)/digikam (core): ThumbnailLoadThread::load: No thumbnail size specified. Refusing to load thumbnail. 
digikam(12120)/digikam (core): ThumbnailLoadThread::load: No thumbnail size specified. Refusing to load thumbnail. 
digikam(12120)/digikam (core): ThumbnailLoadThread::load: No thumbnail size specified. Refusing to load thumbnail. 
Enchant dict for "en_US" 0x6b86370 
KCrash: Application 'digikam' crashing...
sock_file=/home/prozzaks/.kde4/socket-shinny/kdeinit4__0

[1]+  Stopped                 digikam
Comment 3 Andi Clemens 2010-05-19 21:35:38 UTC
Hmm can not confirm this, 1.2.0 from the Archlinux repos as well as digiKam trunk are running fine here.
Comment 4 Samuel Gilbert 2010-05-21 18:26:49 UTC
Created attachment 43778 [details]
Folder containing 2 JPEG files that will make digiKam crash when using the Rename feature

Extract the content of the archive in a one of your digiKam collections and than use the digiKam rename feature.  Even clicking "Cancel" in the rename window will cause the crash.
Comment 5 Samuel Gilbert 2010-05-21 18:29:41 UTC
Created attachment 43779 [details]
Stdout and stderr of a debug build of digiKam when the crash occurs
Comment 6 Andi Clemens 2010-05-23 13:15:28 UTC
Hmm looks much more like a database problem to me, at least when I take a look at the log file you attached here.
Comment 7 Marcel Wiesweg 2010-05-23 15:42:27 UTC
Andi, if any database error messages as in the log above appear after the application crashed, then it's due to the crash. Sometimes a thread seems to continue to run, but the application is dead. It's not a database problem until the error messages appear before the crash.

Samuel: Is your backtrace identical to the one posted by Olga above?
Comment 8 rexxy 2010-06-02 22:12:27 UTC
Created attachment 47620 [details]
New crash information added by DrKonqi

I confirm the reproducable crashes, after successful renaming of hundreds of jpeg-files I tried to rename multiple files of RAW type, too. No way to do that, only renaming raw-file by raw-file will work.
Comment 9 Marcel Wiesweg 2010-06-03 11:48:27 UTC
Andi, this one is for you:
#5  QBasicAtomicInt::ref (this=0x4d92000, settings=...) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#6  QList (this=0x4d92000, settings=...) at /usr/include/qt4/QtCore/qlist.h:114
#7  QForeachContainer (this=0x4d92000, settings=...) at /usr/include/qt4/QtCore/qglobal.h:2231
#8  Digikam::Parser::parse (this=0x4d92000, settings=...) at /build/buildd/digikam-1.2.0/utilities/advancedrename/common/parser.cpp:168
#9  0x000000000075f1e4 in Digikam::Parser::invalidModifiers (this=0x7fffc1a45c40, settings=...) at /build/buildd/digikam-1.2.0/utilities/advancedrename/common/parser.cpp:135
#10 0x0000000000758317 in Digikam::Highlighter::highlightBlock (this=0x6409c60, text=<value optimized out>) at /build/buildd/digikam-1.2.0/utilities/advancedrename/common/highlighter.cpp:95

Already fixed in trunk?
Comment 10 Andi Clemens 2010-06-03 12:27:54 UTC
Hm this backrace is rather old, the line mentioned in there doesn't contain any qlist related code. So I would say it is fixed, but to be sure a new backtrace should be made.
Comment 11 caulier.gilles 2010-09-13 05:23:30 UTC
*** Bug 249148 has been marked as a duplicate of this bug. ***
Comment 12 caulier.gilles 2010-10-06 09:49:03 UTC
Andy, 

Can we close this file as fixed for 1.5.0 ?

Gilles Caulier
Comment 13 caulier.gilles 2010-11-07 19:17:47 UTC
*** Bug 256314 has been marked as a duplicate of this bug. ***
Comment 14 caulier.gilles 2010-11-07 19:18:45 UTC
See #256314. It can be reproduced with 1.5.0 release

Gilles Caulier
Comment 15 Andi Clemens 2010-11-08 08:19:14 UTC
I still can not confirm this, there must be something wrong on the target systems. I tried this with debug and release builds, with official packages (from Archlinux) etc... no crash.
Comment 16 Vojtěch Zeisek 2010-11-10 16:31:44 UTC
I have same problem. openSUSE 11.3 (64b), KDE 4.4.4 release 3, digiKam 1.5.0. When I select more than 1 file to rename, the program always crashes.

Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2ba5e657c0 (LWP 8081))]

Thread 13 (Thread 0x7f2b91c47710 (LWP 8082)):
#0  0x00007f2b9ddb539c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2ba05bb2bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000006b5a0d in ?? ()
#3  0x00007f2ba05babf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f2b91446710 (LWP 8085)):
#0  0x00007f2b9911e52e in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f2b9911fde5 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2b99120510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ba06ca6d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f2ba06a1292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f2ba06a1495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f2ba05b82cf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f2ba05babf5 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f2b90a38710 (LWP 8086)):
#0  0x00007f2ba06cb346 in ?? () from /usr/lib64/libQtCore.so.4
#1  0x00007f2ba06c9f0c in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00007f2ba06c9fb5 in ?? () from /usr/lib64/libQtCore.so.4
#3  0x00007f2b9911ef7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f2b9911fe69 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f2b99120510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f2ba06ca6d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f2ba06a1292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007f2ba06a1495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#9  0x00007f2ba05b82cf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#10 0x00007f2ba05babf5 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#12 0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f2b8d251710 (LWP 8087)):
#0  0x00007f2b9ddb539c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2ba05bb2bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007f2ba33b8d38 in ?? () from /usr/lib64/libdigikamcore.so.1
#3  0x00007f2ba05babf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f2b8ca50710 (LWP 8088)):
#0  0x00007f2b9ddb468e in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f2b9911ef72 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f2b9911fe69 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f2b99120510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f2ba06ca6d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f2ba06a1292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f2ba06a1495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f2ba05b82cf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#8  0x00007f2ba05babf5 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f2b87fff710 (LWP 8089)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff169707a1 in ?? ()
#2  0x00007f2b975582a3 in clock_gettime () from /lib64/librt.so.1
#3  0x00007f2ba06c75ff in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f2ba06caf4d in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007f2ba06cb2d5 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f2ba06c9f0c in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f2ba06c9fb5 in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007f2b9911ef7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f2b9911fe69 in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f2b99120510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f2ba06ca6d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#12 0x00007f2ba06a1292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#13 0x00007f2ba06a1495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#14 0x00007f2ba05b82cf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#15 0x00007f2ba05babf5 in ?? () from /usr/lib64/libQtCore.so.4
#16 0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#17 0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2b7fdf9710 (LWP 8090)):
#0  0x00007f2b9ddb5709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2b85add951 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f2b7e9bc710 (LWP 8091)):
#0  0x00007f2b9ddb5709 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2b85aeb98f in video_out_loop () from /usr/lib64/libxine.so.1
#2  0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2b7e1bb710 (LWP 8092)):
#0  0xffffffffff600177 in ?? ()
#1  0x00007fff169707a1 in ?? ()
#2  0x00007f2b975582a3 in clock_gettime () from /lib64/librt.so.1
#3  0x00007f2ba06c75ff in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f2ba06caf4d in ?? () from /usr/lib64/libQtCore.so.4
#5  0x00007f2ba06cb2d5 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f2ba06c9f0c in ?? () from /usr/lib64/libQtCore.so.4
#7  0x00007f2b9911ef7f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f2b9911fe69 in ?? () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f2b99120510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f2ba06ca6d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#11 0x00007f2ba06a1292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#12 0x00007f2ba06a1495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#13 0x00007f2ba05b82cf in QThread::exec() () from /usr/lib64/libQtCore.so.4
#14 0x00007f2b85d3b3b4 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#15 0x00007f2ba05babf5 in ?? () from /usr/lib64/libQtCore.so.4
#16 0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#17 0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#18 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f2b7d7b0710 (LWP 8095)):
#0  0x00007f2b9f8bd6b3 in poll () from /lib64/libc.so.6
#1  0x00007f2b7d7b59d7 in ao_alsa_handle_event_thread () from /usr/lib64/xine/plugins/1.29/xineplug_ao_out_alsa.so
#2  0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2b7cfaf710 (LWP 8096)):
#0  0x00007f2b9ddb539c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2b85aef96b in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2b79d19710 (LWP 8157)):
#0  0x00007f2b9ddb539c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f2ba05bb2bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000006ff72a in ?? ()
#3  0x00007f2ba05babf5 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007f2b9ddb0a4f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f2b9f8c682d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2ba5e657c0 (LWP 8081)):
[KCrash Handler]
#5  0x00000000006fc9b2 in ?? ()
#6  0x00000000006fcfa4 in ?? ()
#7  0x00000000006f775c in ?? ()
#8  0x00007f2ba12748e3 in ?? () from /usr/lib64/libQtGui.so.4
#9  0x00007f2ba1274aa0 in ?? () from /usr/lib64/libQtGui.so.4
#10 0x00007f2ba1274de2 in QSyntaxHighlighter::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libQtGui.so.4
#11 0x00007f2ba06b5a1f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#12 0x00007f2ba162447a in QTextDocument::contentsChange(int, int, int) () from /usr/lib64/libQtGui.so.4
#13 0x00007f2ba12374ca in ?? () from /usr/lib64/libQtGui.so.4
#14 0x00007f2ba1273dc8 in QSyntaxHighlighter::setDocument(QTextDocument*) () from /usr/lib64/libQtGui.so.4
#15 0x00007f2ba1273ebd in QSyntaxHighlighter::~QSyntaxHighlighter() () from /usr/lib64/libQtGui.so.4
#16 0x00007f2ba1ca7599 in Sonnet::Highlighter::~Highlighter() () from /usr/lib64/libkdeui.so.5
#17 0x00007f2ba1bc913d in KTextEdit::~KTextEdit() () from /usr/lib64/libkdeui.so.5
#18 0x00000000006f01f9 in ?? ()
#19 0x00007f2ba06b28b4 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#20 0x00007f2ba1024535 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#21 0x00000000006f1b10 in ?? ()
#22 0x00007f2ba06b28b4 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#23 0x00007f2ba1024535 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#24 0x00000000006f1149 in ?? ()
#25 0x00007f2ba06b28b4 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#26 0x00007f2ba1024535 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#27 0x00000000006f4d29 in ?? ()
#28 0x00007f2ba06b28b4 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#29 0x00007f2ba1024535 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#30 0x00007f2ba1024789 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#31 0x00007f2ba06b28b4 in QObjectPrivate::deleteChildren() () from /usr/lib64/libQtCore.so.4
#32 0x00007f2ba1024535 in QWidget::~QWidget() () from /usr/lib64/libQtGui.so.4
#33 0x00000000006eed79 in ?? ()
#34 0x00000000006721f4 in ?? ()
#35 0x000000000067c955 in ?? ()
#36 0x00007f2ba06b5a1f in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#37 0x00007f2ba0fcad12 in QAction::triggered(bool) () from /usr/lib64/libQtGui.so.4
#38 0x00007f2ba0fcaf0a in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQtGui.so.4
#39 0x00007f2ba0fcb087 in QAction::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#40 0x00007f2ba1d5980d in KAction::event(QEvent*) () from /usr/lib64/libkdeui.so.5
#41 0x00007f2ba0fd04d4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#42 0x00007f2ba0fd8aca in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#43 0x00007f2ba1bf4c06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#44 0x00007f2ba06a1e4c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#45 0x00007f2ba1001f00 in ?? () from /usr/lib64/libQtGui.so.4
#46 0x00007f2ba10033f8 in ?? () from /usr/lib64/libQtGui.so.4
#47 0x00007f2ba0fda715 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#48 0x00007f2ba1bf4c06 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#49 0x00007f2ba06a1e4c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#50 0x00007f2ba106deea in ?? () from /usr/lib64/libQtGui.so.4
#51 0x00007f2ba106e36f in ?? () from /usr/lib64/libQtGui.so.4
#52 0x00007f2ba104abd4 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#53 0x00007f2ba1071492 in ?? () from /usr/lib64/libQtGui.so.4
#54 0x00007f2b9911fa93 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#55 0x00007f2b99120270 in ?? () from /usr/lib64/libglib-2.0.so.0
#56 0x00007f2b99120510 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#57 0x00007f2ba06ca67f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#58 0x00007f2ba107114e in ?? () from /usr/lib64/libQtGui.so.4
#59 0x00007f2ba06a1292 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#60 0x00007f2ba06a1495 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#61 0x00007f2ba06a588b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#62 0x0000000000722fd5 in ?? ()
#63 0x00007f2b9f814b7d in __libc_start_main () from /lib64/libc.so.6
#64 0x000000000047bf89 in _start ()
Comment 17 caulier.gilles 2010-11-24 09:08:57 UTC
digiKam 1.6.0 is out:

http://www.digikam.org/drupal/node/550

Please update and check if this entry still valid.

Thanks in advance

Gilles Caulier
Comment 18 Samuel Gilbert 2010-11-24 21:28:09 UTC
I tested with digiKam 1.6.0 (Archlinux packages) and the crash still occurs.
Comment 19 Andi Clemens 2010-11-24 23:56:06 UTC
I develop on Archlinux, but I've never seen any crash. This crash is driving me crazy, I was never able to reproduce it.
Are you using an 64bit architecture?
Comment 20 Samuel Gilbert 2010-11-25 00:17:41 UTC
Yes, I'm running on x86_64.  The crash depends on the files being renamed.  Did you try with the sample pictures I joined to this bug report?

Reproducibility is 100% on my system with the sample I provided.
Comment 21 Andi Clemens 2010-11-25 00:25:56 UTC
Yes, I did, but it doesn't crash here. Maybe it is the architecture...? 

Gilles, Marcel,

don't you have a x64 system and if so, test the attached images?

Andi
Comment 22 caulier.gilles 2010-11-25 08:17:59 UTC
No 64 bits here :

Mac OS-X : 362 bits.
Mandriva : 32 bits.
Win7 : 32 bits.

Gilles
Comment 23 Marcel Wiesweg 2010-11-25 10:22:27 UTC
I downloaded the two JPEGs, selected them, click Rename, select something like [file]# , rename. No crash. 64bit.
Comment 24 Andi Clemens 2010-11-25 22:56:08 UTC
(In reply to comment #22)
> No 64 bits here :
> 
> Mac OS-X : 362 bits.
>

Wow, that much? :-)
Comment 25 Martin Klapetek 2010-11-25 23:42:17 UTC
I can't reproduce it either on Fedora 14 x86_64. Renaming two files at once and no crash at all.
Comment 26 Samuel Gilbert 2010-11-26 04:18:00 UTC
Hello Again,

As all of you, I don't like bugs especially the ones that only affect me.  Following Marcel Wiesweg comment, I tried renaming the files from my sample using the file naming scheme he used ([file]#) and it worked!

This means that this bugs depends on the naming scheme used.  Here is the one that causes a systematic crash : "[date:"yyyy-MM-dd_hh-mm-ss"]_Adam".

I hope that you will now be able to reproduce the crash.

Thank you for your help!
Comment 27 Vojtěch Zeisek 2010-11-26 04:41:33 UTC
When renaming files with date pattern (as comment above or similar), it crashes EVERY time... openSUSE 11.3 64b
Comment 28 Andi Clemens 2010-11-26 09:05:02 UTC
(In reply to comment #26)
> Hello Again,
> 
> As all of you, I don't like bugs especially the ones that only affect me. 
> Following Marcel Wiesweg comment, I tried renaming the files from my sample
> using the file naming scheme he used ([file]#) and it worked!
> 
> This means that this bugs depends on the naming scheme used.  Here is the one
> that causes a systematic crash : "[date:"yyyy-MM-dd_hh-mm-ss"]_Adam".
> 
> I hope that you will now be able to reproduce the crash.
> 
> Thank you for your help!

And again, it doesn't crash here with
[date:"yyyy-MM-dd_hh-mm-ss"]_Adam

I'm sorry but I can not fix something that doesn't produce errors on my machine.
I hope some other developer can create the crash once.
Since only Qt functions are used (and no pointers are involved when using the date rename option), I still believe that the installed Qt version is broken (on x64?)...
Comment 29 Andi Clemens 2010-11-26 09:11:18 UTC
Another problem: All backtraces I get are rather old, I need some fresh report from current SVN, otherwise I can not detect the bug either. The lines in the above backtraces are not in sync with trunk.
So please could all of you who can reproduce the crash compile the latest code from subversion?

Thanks.

Andi
Comment 30 Julien Narboux 2010-11-26 09:26:30 UTC
I can not repoduce the crash. I am using a 32bits system, KDE 4.4.2 and Digikam 1.6.0 rev1198069.

Julien
Comment 31 Marcel Wiesweg 2010-11-26 10:48:37 UTC
Samuel, does valgrind give you more information before or when the crash happens? For me, no crash and everything is clean in valgrind.
Comment 32 Martin Klapetek 2010-11-26 13:50:00 UTC
I can't crash it either with the exact same string as Samuel provided, Qt 4.7.1 & KDE 4.5.3, all 64bit. So maybe it really is a Qt bug and was resolved in 4.7. Although I tried with the GSoC branch, but this component should be the same, right?
Comment 33 Andi Clemens 2010-11-26 21:26:58 UTC
Yes, it is the same component (if syncing with trunk didn't fail)
Comment 34 Christoph Feck 2010-11-27 16:37:30 UTC
*** Bug 252557 has been marked as a duplicate of this bug. ***
Comment 35 Christoph Feck 2010-11-27 16:37:59 UTC
*** Bug 257099 has been marked as a duplicate of this bug. ***
Comment 36 Christoph Feck 2010-11-27 16:38:24 UTC
*** Bug 257676 has been marked as a duplicate of this bug. ***
Comment 37 Christoph Feck 2010-11-27 16:38:57 UTC
*** Bug 257788 has been marked as a duplicate of this bug. ***
Comment 38 Christoph Feck 2010-11-27 16:39:20 UTC
*** Bug 258045 has been marked as a duplicate of this bug. ***
Comment 39 Christoph Feck 2010-11-27 16:42:15 UTC
This crash is caused by some QTextDocument that gets created as a child of a widget and gets deleted before the KTextEdit ("ProxyLineEdit") gets deleted.

Please check where you are creating a QTextDocument. It is also possible that this is a bug in Sonnet (spell checking), as the document is still referred by the Sonnet syntax highlighter. But after checking bugzilla, I only found duplicates from Digikam.
Comment 40 Andi Clemens 2010-11-27 16:45:16 UTC
But why is it crashing now? And only on some machines?
But I will take a look, thanks for the comment.

Andi
Comment 41 Christoph Feck 2010-11-27 16:48:02 UTC
*** Bug 233987 has been marked as a duplicate of this bug. ***
Comment 42 Christoph Feck 2010-11-27 16:52:04 UTC
Possibly because the system wide default for spell checking changed from disabled to enabled in KDE. Anyone who can reproduce the crash should try disabling spell checking in system settings.
Comment 43 Andi Clemens 2010-11-27 16:59:04 UTC
Yep, that's it! Enabling spell-checking crashes digiKam.
Comment 44 Andi Clemens 2010-11-27 17:31:36 UTC
SVN commit 1201406 by aclemens:

Implement createHighlighter() with an empty body, to avoid the creation of a
default highlighter object.
I would prefer a way where we can disable the SpellChecking completely, but
this doesn't seem to be possible.
Another solution might be to convert the class to QTextEdit instead.

CCBUG:237642

 M  +6 -1      advancedrenameinput.cpp  
 M  +7 -0      advancedrenameinput.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1201406
Comment 45 Christoph Feck 2010-11-27 17:37:48 UTC
Try KTextEdit::setCheckSpellingEnabled(false);

You can also listen to the checkSpellingChanged signal, in case the user tries to trick you :)
Comment 46 Andi Clemens 2010-11-27 17:40:57 UTC
SVN commit 1201408 by aclemens:

Better yet, use a QTextEdit as the base class, to avoid the hack that has been
committed before.
Although we break with the layout here (not using K* classes whenever
possible), I like this version a lot better.
If there is a way to disable spell checking (I have not found one), we should
revert to the KTextEdit class again...

BUG:237642

 M  +3 -7      advancedrenameinput.cpp  
 M  +2 -9      advancedrenameinput.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1201408
Comment 47 Andi Clemens 2010-11-27 17:53:36 UTC
(In reply to comment #45)
> Try KTextEdit::setCheckSpellingEnabled(false);
> 
> You can also listen to the checkSpellingChanged signal, in case the user tries
> to trick you :)

I did this, but it still crashed.
So I guess I will keep the QTextEdit as the base class. For "auto spell checking" to work, misspelled words need to be highlighted (the red, curly line).
But I guess I'm not able to combine my highlighter with this default one?
Comment 48 Andi Clemens 2010-11-27 17:54:20 UTC
*** Bug 248882 has been marked as a duplicate of this bug. ***
Comment 49 Andi Clemens 2010-11-27 18:02:27 UTC
*** Bug 255830 has been marked as a duplicate of this bug. ***
Comment 50 Freek de Kruijf 2010-11-30 11:48:13 UTC
I read this thread and in contrary to what I reported in Bug 248882 the problem is still there, in openSUSE 11.4 Milestone 4 with Digikam 1.6.0, when I enable spell checking in System Settings.
In case you need more information, please let me know.
Comment 51 Martin Klapetek 2010-11-30 11:50:29 UTC
Yes, this was fixed only recently in svn. This fix will be included in next release in three weeks.
Comment 52 Dario Andres 2011-01-30 23:56:49 UTC
*** Bug 264019 has been marked as a duplicate of this bug. ***