[Digikam-devel] Model View Port Testing

Andi Clemens andi.clemens at gmx.net
Sun Jan 10 13:38:15 GMT 2010


Tag management seems to be broken.

I have the following hierarchy:

My Tags
|- Personen
  |- Person 1
  |- Person 2

I add a tag to "Personen", then I move it to "Person1" by D&D.
Seems to work.

Now the first problem:
Moving this new tag back to "Personen" is not working, because
a) D&D seems to be disabled now
b) the parent tag is collapsed when moving over it

Additionally, when I now right click on a tag, digiKam crashes with the 
attached backtrace.

Andi Clemens
-----------------
www.digikam.org

On Saturday 09 January 2010 22:57:07 Johannes Wienke wrote:
> Hi,
> 
> Marcel and I will meet next saturday to fix the last obvious bugs and
> implement missing features in the model view port branch. It would be
> nice if others could test the branch before and report problems here so
> taht we don't run out of work. :P
> 
> Johannes
> 
-------------- next part --------------
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb2ee8960 (LWP 16346))]

Thread 18 (Thread 0xb16adb70 (LWP 16347)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4cc0e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4d43937 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x082e05b8 in Digikam::ScanController::run (this=0x9c9e658) at /home/andi/Programmieren/KDE/digikam/digikam/scancontroller.cpp:502
#4  0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#6  0xb4b0601e in clone () from /lib/libc.so.6

Thread 17 (Thread 0xb08ffb70 (LWP 16349)):
#0  0xb326c4b6 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#1  0xb326c811 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#2  0xb326cd23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0xb4e5b62f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0xb4e2f479 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0xb4e2f8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0xb4d3f6b3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0xb66baa65 in Digikam::ImageFilterModelWorker::Thread::run (this=0x9cccce0) at /home/andi/Programmieren/KDE/digikam/digikam/../libs/models/imagefiltermodelthreads.h:66
#8  0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#9  0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#10 0xb4b0601e in clone () from /lib/libc.so.6

Thread 16 (Thread 0xb00feb70 (LWP 16350)):
#0  0xb31c8de6 in clock_gettime () from /lib/librt.so.1
#1  0xb4e5d393 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb4e5d581 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb4e5d71a in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4e5b7d8 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4e5b86d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb326c470 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb326c811 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#8  0xb326cd23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb4e5b62f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb4e2f479 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb4e2f8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb4d3f6b3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0xb66baa65 in Digikam::ImageFilterModelWorker::Thread::run (this=0x9ccf388) at /home/andi/Programmieren/KDE/digikam/digikam/../libs/models/imagefiltermodelthreads.h:66
#14 0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#15 0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#16 0xb4b0601e in clone () from /lib/libc.so.6

Thread 15 (Thread 0xaf8fdb70 (LWP 16351)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4cc0e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4d43937 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6916a7b in Digikam::LoadSaveThread::run (this=0x9cf0918) at /home/andi/Programmieren/KDE/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#6  0xb4b0601e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xaf0fcb70 (LWP 16352)):
#0  0xb31c8de6 in clock_gettime () from /lib/librt.so.1
#1  0xb4e5d393 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb4e5d581 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb4e5d71a in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4e5b7d8 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4e5b86d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb326c470 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb326c811 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#8  0xb326cd23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb4e5b62f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb4e2f479 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb4e2f8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb4d3f6b3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x082d7b1f in Digikam::MetadataManagerWorker::Thread::run (this=0x9d222c8) at /home/andi/Programmieren/KDE/digikam/digikam/metadatamanager_p.h:143
#14 0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#15 0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#16 0xb4b0601e in clone () from /lib/libc.so.6

Thread 13 (Thread 0xae8fbb70 (LWP 16353)):
#0  0xb31c8de6 in clock_gettime () from /lib/librt.so.1
#1  0xb4e5d393 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb4e5d581 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb4e5d71a in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4e5b7d8 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4e5b86d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb326c470 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb326c811 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#8  0xb326cd23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb4e5b62f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb4e2f479 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb4e2f8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb4d3f6b3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0x082d7b1f in Digikam::MetadataManagerWorker::Thread::run (this=0x9cc46f8) at /home/andi/Programmieren/KDE/digikam/digikam/metadatamanager_p.h:143
#14 0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#15 0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#16 0xb4b0601e in clone () from /lib/libc.so.6

Thread 12 (Thread 0xae0fab70 (LWP 16354)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4cc0e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4d43937 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6916a7b in Digikam::LoadSaveThread::run (this=0xa0c2498) at /home/andi/Programmieren/KDE/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#6  0xb4b0601e in clone () from /lib/libc.so.6

Thread 11 (Thread 0xab4ddb70 (LWP 16355)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4cc1182 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xac297ba5 in metronom_sync_loop () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 10 (Thread 0xaa882b70 (LWP 16356)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4afef41 in select () from /lib/libc.so.6
#2  0xac2c1e88 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 9 (Thread 0xaa081b70 (LWP 16357)):
#0  0xb31c8de6 in clock_gettime () from /lib/librt.so.1
#1  0xb4e5d393 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb4e5d581 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb4e5d71a in ?? () from /usr/lib/libQtCore.so.4
#4  0xb4e5b7d8 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb326c470 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb326c811 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#7  0xb326cd23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb4e5b62f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0xb4e2f479 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb4e2f8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb4d3f6b3 in QThread::exec() () from /usr/lib/libQtCore.so.4
#12 0xb0c41419 in Phonon::Xine::XineThread::run() () from /usr/lib/qt/plugins/phonon_backend/phonon_xine.so
#13 0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#15 0xb4b0601e in clone () from /lib/libc.so.6

Thread 8 (Thread 0xa9880b70 (LWP 16360)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4afbeb6 in poll () from /lib/libc.so.6
#2  0xaaccdd91 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#3  0x00000000 in ?? ()

Thread 7 (Thread 0xa907fb70 (LWP 16361)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4cc0e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xac2a98fc in ao_loop () from /usr/lib/libxine.so.1
#3  0xa907f300 in ?? ()

Thread 6 (Thread 0xa8038b70 (LWP 16372)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4cc0e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4d43937 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6916a7b in Digikam::LoadSaveThread::run (this=0xaeb0c38) at /home/andi/Programmieren/KDE/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#6  0xb4b0601e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa5fddb70 (LWP 16378)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4cc0e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4d43937 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6916a7b in Digikam::LoadSaveThread::run (this=0xaf97850) at /home/andi/Programmieren/KDE/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#6  0xb4b0601e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa8839b70 (LWP 16379)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4cc0e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4d43937 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6916a7b in Digikam::LoadSaveThread::run (this=0xb1e1758) at /home/andi/Programmieren/KDE/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#6  0xb4b0601e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa68feb70 (LWP 16382)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4cc0e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4d43937 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6916a7b in Digikam::LoadSaveThread::run (this=0xbbdb610) at /home/andi/Programmieren/KDE/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#6  0xb4b0601e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa26fdb70 (LWP 16406)):
#0  0xb77f8424 in __kernel_vsyscall ()
#1  0xb4cc0e55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4d43937 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6916a7b in Digikam::LoadSaveThread::run (this=0xbbbfd08) at /home/andi/Programmieren/KDE/digikam/libs/threadimageio/loadsavethread.cpp:131
#4  0xb4d42922 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4cbc8ac in start_thread () from /lib/libpthread.so.0
#6  0xb4b0601e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb2ee8960 (LWP 16346)):
[KCrash Handler]
#6  0xb4c7c74c in __dynamic_cast () from /usr/lib/libstdc++.so.6
#7  0x082ef332 in Digikam::TagFolderViewNew::handleCustomContextMenuAction (this=0xaf73f18, action=0xb12ccf8, album=0xcbc9720) at /home/andi/Programmieren/KDE/digikam/digikam/tagfolderview.cpp:135
#8  0x0824c519 in Digikam::AbstractAlbumTreeView::contextMenuEvent (this=0xaf73f18, event=0xbfdb50dc) at /home/andi/Programmieren/KDE/digikam/digikam/albumtreeview.cpp:658
#9  0xb53442df in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#10 0xb56e9cd3 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#11 0xb5787454 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#12 0xb583a9e7 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#13 0xb5875ab4 in QTreeView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0xb5789a45 in ?? () from /usr/lib/libQtGui.so.4
#15 0xb4e3003a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#16 0xb52ef37c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb52f6ed6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#18 0xb5ed15ca in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#19 0xb4e30e8b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#20 0xb5369afe in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0xb53644fd in ?? () from /usr/lib/libQtGui.so.4
#22 0xb5363365 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#23 0xb538da52 in ?? () from /usr/lib/libQtGui.so.4
#24 0xb3269378 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#25 0xb326cbf0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#26 0xb326cd23 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#27 0xb4e5b5f5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb538d185 in ?? () from /usr/lib/libQtGui.so.4
#29 0xb4e2f479 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0xb4e2f8ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0xb4e31d3f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#32 0xb52ef227 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#33 0x08369636 in main (argc=5, argv=0xbfdb6bf4) at /home/andi/Programmieren/KDE/digikam/digikam/main.cpp:195


More information about the Digikam-devel mailing list