Bug 235158

Summary: Digikam crashes when setting the rating [database relevant, DatabaseCoreBackend::execQuery]
Product: [Applications] digikam Reporter: Frank Hommes <freanki>
Component: Database-MysqlAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, Hamsi2k
Priority: HI    
Version: 1.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 1.3.0
Sentry Crash Report:

Description Frank Hommes 2010-04-23 11:32:31 UTC
Application: digikam (1.3.0 (rev.: 1117432))
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-21-generic x86_64
Distribution: Ubuntu lucid (development branch)

-- Information about the crash:
I'm using digikam 1.3. I just compiled it yesterday again. The Bug has been since I'm using 1.3 (like a week).
Sometimes when I rate for the first time in a session, digikam crashes. When I restart digikam it mostly works.



The crash can be reproduced some of the time.

 -- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
[Current thread is 1 (Thread 0x7f24456bb7e0 (LWP 2558))]

Thread 16 (Thread 0x7f242d9d6710 (LWP 2559)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f243ebd172b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1329200, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1329200, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x0000000000720438 in Digikam::ScanController::run (this=0x134b9f0) at /root/graphics/digikam/digikam/scancontroller.cpp:516
#4  0x00007f243ebd0775 in QThreadPrivate::start (arg=0x134b9f0) at thread/qthread_unix.cpp:248
#5  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f242d1d5710 (LWP 2563)):
#0  0x00007f243ae47327 in ?? () from /lib/libglib-2.0.so.0
#1  0x00007f243ae478fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f243ecee566 in QEventDispatcherGlib::processEvents (this=0x1647ae0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#3  0x00007f243ecc3992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#4  0x00007f243ecc3d6c in QEventLoop::exec (this=0x7f242d1d4d50, flags=) at kernel/qeventloop.cpp:201
#5  0x00007f243ebcdd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#6  0x00007f2442086fe8 in Digikam::ImageFilterModelWorker::Thread::run (this=0x164a030) at /root/graphics/build/digikam/digikam/../../../digikam/libs/models/imagefiltermodelthreads.h:66
#7  0x00007f243ebd0775 in QThreadPrivate::start (arg=0x164a030) at thread/qthread_unix.cpp:248
#8  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f242c174710 (LWP 2564)):
#0  0x00007f243ae47001 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007f243ae47318 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f243ae478fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f243ecee566 in QEventDispatcherGlib::processEvents (this=0x7f242401b5d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f243ecc3992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f243ecc3d6c in QEventLoop::exec (this=0x7f242c173d50, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f243ebcdd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f2442086fe8 in Digikam::ImageFilterModelWorker::Thread::run (this=0x164d270) at /root/graphics/build/digikam/digikam/../../../digikam/libs/models/imagefiltermodelthreads.h:66
#8  0x00007f243ebd0775 in QThreadPrivate::start (arg=0x164d270) at thread/qthread_unix.cpp:248
#9  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f242a93e710 (LWP 2565)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f243ebd172b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x16beab8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x16beab8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2442603d4a in Digikam::LoadSaveThread::run (this=0x16beaa0) at /root/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f243ebd0775 in QThreadPrivate::start (arg=0x16beaa0) at thread/qthread_unix.cpp:248
#5  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f242a13d710 (LWP 2566)):
[KCrash Handler]
#5  memcpy () at ../sysdeps/x86_64/memcpy.S:504
#6  0x00007f243ec1558c in QString::realloc (this=0x7f242a13bd50, alloc=536870896) at /usr/include/bits/string3.h:52
#7  0x00007f243ec15bcf in QString::append (this=0x7f242a13bd50, str=...) at tools/qstring.cpp:1456
#8  0x00007f24425cd6c2 in QString::append (this=0x7f242a13bd50, s=0x7f24427d753e "= ?") at /usr/include/qt4/QtCore/qstring.h:431
#9  0x00007f24425dc1e9 in Digikam::DatabaseCoreBackend::execQuery (this=0x13631b0, sql=..., bindingMap=...) at /root/graphics/digikam/libs/database/databasecorebackend.cpp:857
#10 0x00007f24425db9b4 in Digikam::DatabaseCoreBackend::execSql (this=0x13631b0, sql=..., bindingMap=..., values=0x0, lastInsertId=0x0)
    at /root/graphics/digikam/libs/database/databasecorebackend.cpp:758
#11 0x00007f24425da498 in Digikam::DatabaseCoreBackend::execDBAction (this=0x13631b0, action=..., bindingMap=..., values=0x0, lastInsertId=0x0)
    at /root/graphics/digikam/libs/database/databasecorebackend.cpp:494
#12 0x00007f2441fe7230 in Digikam::AlbumDB::changeImageInformation (this=0x135dc30, imageId=240749, infos=..., fields=...) at /root/graphics/digikam/libs/database/albumdb.cpp:1275
#13 0x00007f2442030a55 in Digikam::ImageInfo::setRating (this=0x7f242a13c330, value=1) at /root/graphics/digikam/libs/database/imageinfo.cpp:574
#14 0x000000000070d7ce in Digikam::MetadataHub::write (this=0x7f242a13c320, info=..., writeMode=Digikam::MetadataHub::PartialWrite) at /root/graphics/digikam/digikam/metadatahub.cpp:429
#15 0x00000000007153d6 in Digikam::MetadataManagerDatabaseWorker::assignRating (this=0x16c60d0, infos=..., rating=1) at /root/graphics/digikam/digikam/metadatamanager.cpp:375
#16 0x0000000000712b5a in Digikam::MetadataManagerDatabaseWorker::qt_metacall (this=0x16c60d0, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0x36c9180)
    at /root/graphics/build/digikam/digikam/metadatamanager_p.moc:287
#17 0x00007f243ecd4d49 in QObject::event (this=0x16c60d0, e=0x7c2b410) at kernel/qobject.cpp:1248
#18 0x00007f243fbaf22c in QApplicationPrivate::notify_helper (this=0x11155e0, receiver=0x16c60d0, e=0x7c2b410) at kernel/qapplication.cpp:4300
#19 0x00007f243fbb56fb in QApplication::notify (this=0x7fff7d8aae90, receiver=0x16c60d0, e=0x7c2b410) at kernel/qapplication.cpp:4183
#20 0x00007f2440b15526 in KApplication::notify (this=0x7fff7d8aae90, receiver=0x16c60d0, event=0x7c2b410) at ../../kdeui/kernel/kapplication.cpp:302
#21 0x00007f243ecc506c in QCoreApplication::notifyInternal (this=0x7fff7d8aae90, receiver=0x16c60d0, event=0x7c2b410) at kernel/qcoreapplication.cpp:704
#22 0x00007f243ecc77e7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x16c9890) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x16c9890) at kernel/qcoreapplication.cpp:1345
#24 0x00007f243ecee9d3 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#26 0x00007f243ae438c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007f243ae47748 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007f243ae478fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007f243ecee513 in QEventDispatcherGlib::processEvents (this=0x16ca960, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#30 0x00007f243ecc3992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f243ecc3d6c in QEventLoop::exec (this=0x7f242a13cd50, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f243ebcdd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#33 0x000000000071653e in Digikam::MetadataManagerWorker::Thread::run (this=0x16b8c20) at /root/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:146
#34 0x00007f243ebd0775 in QThreadPrivate::start (arg=0x16b8c20) at thread/qthread_unix.cpp:248
#35 0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#36 0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#37 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f242993c710 (LWP 2567)):
#0  0x00007f243e9433ff in __pthread_mutex_lock (mutex=0x7f2424017098) at pthread_mutex_lock.c:62
#1  0x00007f243ae46d5f in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x00007f243ae47318 in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f243ae478fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f243ecee566 in QEventDispatcherGlib::processEvents (this=0x16d2040, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#5  0x00007f243ecc3992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#6  0x00007f243ecc3d6c in QEventLoop::exec (this=0x7f242993bd50, flags=) at kernel/qeventloop.cpp:201
#7  0x00007f243ebcdd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x000000000071653e in Digikam::MetadataManagerWorker::Thread::run (this=0x16ca5e0) at /root/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:146
#9  0x00007f243ebd0775 in QThreadPrivate::start (arg=0x16ca5e0) at thread/qthread_unix.cpp:248
#10 0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f241ddec710 (LWP 2568)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f24281dd081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f241c9b0710 (LWP 2569)):
#0  0x00007f243dc6ffb3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f24282062c5 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f24281eac99 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f241c1af710 (LWP 2570)):
#0  0x00007f243e944a2d in __pthread_mutex_unlock_usercnt (mutex=0x1874918) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1874918) at pthread_mutex_unlock.c:290
#2  0x00007f243ae46b01 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x00007f243ae474c3 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f243ae478fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f243ecee566 in QEventDispatcherGlib::processEvents (this=0x1874820, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00007f243ecc3992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007f243ecc3d6c in QEventLoop::exec (this=0x7f241c1aed10, flags=) at kernel/qeventloop.cpp:201
#8  0x00007f243ebcdd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007f2428439440 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0x00007f243ebd0775 in QThreadPrivate::start (arg=0x185fd70) at thread/qthread_unix.cpp:248
#11 0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f2416852710 (LWP 2576)):
#0  0x00007f243dc6af53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f241b7a9915 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f241a64d710 (LWP 2577)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f24281ede23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2419e4c710 (LWP 2578)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f243ebd172b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1e6a1e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e6a1e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2442603d4a in Digikam::LoadSaveThread::run (this=0x1e6a1d0) at /root/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f243ebd0775 in QThreadPrivate::start (arg=0x1e6a1d0) at thread/qthread_unix.cpp:248
#5  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f241504f710 (LWP 2585)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f243ebd172b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x21832e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x21832e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2442603d4a in Digikam::LoadSaveThread::run (this=0x21832d0) at /root/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f243ebd0775 in QThreadPrivate::start (arg=0x21832d0) at thread/qthread_unix.cpp:248
#5  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2417bb7710 (LWP 2658)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f243ebd172b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x4b4f5e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x4b4f5e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2442603d4a in Digikam::LoadSaveThread::run (this=0x4b4f5d0) at /root/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f243ebd0775 in QThreadPrivate::start (arg=0x4b4f5d0) at thread/qthread_unix.cpp:248
#5  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f240d909710 (LWP 2659)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f243ebd172b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x753c568, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x753c568, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f2442603d4a in Digikam::LoadSaveThread::run (this=0x753c550) at /root/graphics/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0x00007f243ebd0775 in QThreadPrivate::start (arg=0x753c550) at thread/qthread_unix.cpp:248
#5  0x00007f243e9409ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f243dc7769d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f24456bb7e0 (LWP 2558)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f243ebd00e5 in thread_sleep (ti=0x7fff7d8aa990) at thread/qthread_unix.cpp:398
#2  0x00007f243ebd0250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f2428460b8a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f2445073846 in ?? () from /usr/lib/libphonon.so.4
#5  0x00007f243dbca262 in __run_exit_handlers (status=1) at exit.c:78
#6  *__GI_exit (status=1) at exit.c:100
#7  0x00007f243fc25558 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:734
#8  0x00007f2440b15288 in KApplication::xioErrhandler (this=0x7fff7d8aae90, dpy=0x111aa30) at ../../kdeui/kernel/kapplication.cpp:408
#9  0x00007f243d00d7fe in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007f243d015355 in ?? () from /usr/lib/libX11.so.6
#11 0x00007f243d015c07 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f243cffe40b in XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007f243fc5f62c in x11EventSourceCheck (s=0x11192d0) at kernel/qguieventdispatcher_glib.cpp:87
#14 0x00007f243ae46b0a in g_main_context_check () from /lib/libglib-2.0.so.0
#15 0x00007f243ae474c3 in ?? () from /lib/libglib-2.0.so.0
#16 0x00007f243ae478fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x00007f243ecee566 in QEventDispatcherGlib::processEvents (this=0x10daaa0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#18 0x00007f243fc5f46e in QGuiEventDispatcherGlib::processEvents (this=0x7fff7d8aa914, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#19 0x00007f243ecc3992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007f243ecc3d6c in QEventLoop::exec (this=0x7fff7d8aad60, flags=) at kernel/qeventloop.cpp:201
#21 0x00007f243ecc7aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#22 0x00000000007a4c85 in main (argc=5, argv=0x7fff7d8ab4b8) at /root/graphics/digikam/digikam/main.cpp:196

Reported using DrKonqi
Comment 1 Frank Hommes 2010-04-23 11:40:42 UTC
At the moment I could reproduce the bug 5 times in a row... Each time with a different picture. The pictures are located on a network but the metadata should not be written to file at the moment.
So the crash seems to be related to the mysql part of digikam.
Comment 2 Quallenauge 2010-04-23 13:02:24 UTC
Can you please checkout
at least svn revision 1117680 and try it again?

I made some fixes yesterday in trunk.

If the error still remains,
can you please add the system output from the console?
Comment 3 Frank Hommes 2010-04-23 14:05:37 UTC
After updating the svn and rebuilding it seems to work.