Digikam crashes in import dialog when selecting filter on videos

Bug #907246 reported by Thibault Godouet
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
digikam (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Application: digikam (2.1.1)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

To reproduce:
1) change the video import filter to include .MTS files (with the
appropriate the MIME type) (I'm not actually sure this step is required)
2) start the importation tool for the SD card containing pictures/videos taken with my Sony
DSC-HX5V camera
3) select the filter "videos" at the bottom of the window: Digikam crashes.

This is on Ubuntu 11.10.
I tested this on ubuntu 12.04 and it didn't crash. I also raised it https://bugs.kde.org/show_bug.cgi?id=289006 but it looks like they don't maintain digikam 2.1.1 anymore.

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

Thread 8 (Thread 0x7fad5d47b700 (LWP 3354)):
#0 0x00007fad791bb773 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007fad72d3ff68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fad72d40792 in g_main_loop_run () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fad68fee516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4 0x00007fad72d652b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007fad74c62efc in start_thread (arg=0x7fad5d47b700) at
pthread_create.c:304
#6 0x00007fad791c789d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fad54a91700 (LWP 3355)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007fad79f251ab in wait (time=18446744073709551615, this=0x294b980) at
thread/qwaitcondition_unix.cpp:88
#2 QWaitCondition::wait (this=<optimized out>, mutex=0x294b828,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3 0x00000000005c2e20 in Digikam::ScanController::run (this=0x294b4a0) at
/build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#4 0x00007fad79f24d05 in QThreadPrivate::start (arg=0x294b4a0) at
thread/qthread_unix.cpp:331
#5 0x00007fad74c62efc in start_thread (arg=0x7fad54a91700) at
pthread_create.c:304
#6 0x00007fad791c789d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fad4ffff700 (LWP 3356)):
#0 0x00007fad74c65034 in __pthread_mutex_lock (mutex=0x29655e8) at
pthread_mutex_lock.c:61
#1 0x00007fad72d3f361 in g_main_context_query () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fad72d3fe6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fad72d40429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007fad7a036f3e in QEventDispatcherGlib::processEvents (this=0x2965180,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5 0x00007fad7a00acf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#6 0x00007fad7a00aef7 in QEventLoop::exec (this=0x7fad4fffeb30, flags=...) at
kernel/qeventloop.cpp:201
#7 0x00007fad79f2227f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#8 0x00007fad79fedcbf in QInotifyFileSystemWatcherEngine::run (this=0x2964910)
at io/qfilesystemwatcher_inotify.cpp:248
#9 0x00007fad79f24d05 in QThreadPrivate::start (arg=0x2964910) at
thread/qthread_unix.cpp:331
#10 0x00007fad74c62efc in start_thread (arg=0x7fad4ffff700) at
pthread_create.c:304
#11 0x00007fad791c789d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fad4f7fe700 (LWP 3358)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007fad79f251ab in wait (time=18446744073709551615, this=0x2f96610) at
thread/qwaitcondition_unix.cpp:88
#2 QWaitCondition::wait (this=<optimized out>, mutex=0x2f96198,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3 0x00007fad7ce69737 in Digikam::ParkingThread::run (this=0x2f96180) at
/build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4 0x00007fad79f24d05 in QThreadPrivate::start (arg=0x2f96180) at
thread/qthread_unix.cpp:331
#5 0x00007fad74c62efc in start_thread (arg=0x7fad4f7fe700) at
pthread_create.c:304
#6 0x00007fad791c789d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fad4d1b0700 (LWP 3359)):
#0 0x00007fad791bb773 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007fad72d3ff68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fad72d40429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fad7a036f3e in QEventDispatcherGlib::processEvents (this=0x28a3670,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4 0x00007fad7a00acf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5 0x00007fad7a00aef7 in QEventLoop::exec (this=0x7fad4d1afb30, flags=...) at
kernel/qeventloop.cpp:201
#6 0x00007fad79f2227f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#7 0x00007fad79fedcbf in QInotifyFileSystemWatcherEngine::run (this=0x28a94c0)
at io/qfilesystemwatcher_inotify.cpp:248
#8 0x00007fad79f24d05 in QThreadPrivate::start (arg=0x28a94c0) at
thread/qthread_unix.cpp:331
#9 0x00007fad74c62efc in start_thread (arg=0x7fad4d1b0700) at
pthread_create.c:304
#10 0x00007fad791c789d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fad37338700 (LWP 3870)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007fad79f251ab in wait (time=18446744073709551615, this=0x4fe7c90) at
thread/qwaitcondition_unix.cpp:88
#2 QWaitCondition::wait (this=<optimized out>, mutex=0x56fb338,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3 0x0000000000775ef3 in Digikam::CameraController::run (this=0x5622080) at
/build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/cameracontroller.cpp:385
#4 0x00007fad79f24d05 in QThreadPrivate::start (arg=0x5622080) at
thread/qthread_unix.cpp:331
#5 0x00007fad74c62efc in start_thread (arg=0x7fad37338700) at
pthread_create.c:304
#6 0x00007fad791c789d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fad3eef6700 (LWP 3871)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007fad79f251ab in wait (time=18446744073709551615, this=0x7fad300073d0)
at thread/qwaitcondition_unix.cpp:88
#2 QWaitCondition::wait (this=<optimized out>, mutex=0x7fad30000fa8,
time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3 0x000000000077cd5b in Digikam::CameraHistoryUpdater::run
(this=0x7fad300066b0) at
/build/buildd/digikam-2.1.1/core/utilities/cameragui/controller/camerahistoryupdater.cpp:118
#4 0x00007fad79f24d05 in QThreadPrivate::start (arg=0x7fad300066b0) at
thread/qthread_unix.cpp:331
#5 0x00007fad74c62efc in start_thread (arg=0x7fad3eef6700) at
pthread_create.c:304
#6 0x00007fad791c789d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fad7f5a8a20 (LWP 3352)):
[KCrash Handler]
#6 d_func (this=0x0) at ../../kdecore/services/kmimetype.h:48
#7 KMimeType::patterns (this=0x0) at ../../kdecore/services/kmimetype.cpp:586
#8 0x0000000000753bf1 in Digikam::FilterComboBox::mimeWildcards
(this=0x51745d0, mime=...) at
/build/buildd/digikam-2.1.1/core/utilities/cameragui/widgets/filtercombo.cpp:245
#9 0x00000000007541ab in Digikam::FilterComboBox::matchesCurrentFilter
(this=0x51745d0, item=...) at
/build/buildd/digikam-2.1.1/core/utilities/cameragui/widgets/filtercombo.cpp:294
#10 0x000000000075c7e4 in Digikam::CameraUI::slotRefreshIconView
(this=0x4467a60, map=<optimized out>) at
/build/buildd/digikam-2.1.1/core/utilities/cameragui/main/cameraui.cpp:1148
#11 0x0000000000765af7 in Digikam::CameraUI::qt_metacall (this=0x4467a60,
_c=QMetaObject::InvokeMetaMethod, _id=61, _a=0x7fad301b0070) at
/build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/utilities/cameragui/cameraui.moc:244
#12 0x00007fad7a022a5e in QObject::event (this=0x4467a60, e=<optimized out>) at
kernel/qobject.cpp:1217
#13 0x00007fad7aa5c6eb in QWidget::event (this=0x4467a60, event=0x7fad30227c70)
at kernel/qwidget.cpp:8754
#14 0x00007fad7ae1eceb in QMainWindow::event (this=0x4467a60,
event=0x7fad30227c70) at widgets/qmainwindow.cpp:1478
#15 0x00007fad7b81c638 in KXmlGuiWindow::event (this=0x4467a60,
ev=0x7fad30227c70) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:126
#16 0x00007fad7aa0c424 in notify_helper (e=0x7fad30227c70, receiver=0x4467a60,
this=0x2631570) at kernel/qapplication.cpp:4486
#17 QApplicationPrivate::notify_helper (this=0x2631570, receiver=0x4467a60,
e=0x7fad30227c70) at kernel/qapplication.cpp:4458
#18 0x00007fad7aa11291 in QApplication::notify (this=0x7fff90d522f0,
receiver=0x4467a60, e=0x7fad30227c70) at kernel/qapplication.cpp:4365
#19 0x00007fad7b720126 in KApplication::notify (this=0x7fff90d522f0,
receiver=0x4467a60, event=0x7fad30227c70) at
../../kdeui/kernel/kapplication.cpp:311
#20 0x00007fad7a00bafc in QCoreApplication::notifyInternal
(this=0x7fff90d522f0, receiver=0x4467a60, event=0x7fad30227c70) at
kernel/qcoreapplication.cpp:787
#21 0x00007fad7a00f51f in sendEvent (event=0x7fad30227c70, receiver=0x4467a60)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x25cfbb0) at kernel/qcoreapplication.cpp:1428
#23 0x00007fad7a036a73 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:277
#25 0x00007fad72d3fa5d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007fad72d40258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007fad72d40429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007fad7a036ed6 in QEventDispatcherGlib::processEvents (this=0x25d1250,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#29 0x00007fad7aab407e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007fad7a00acf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#31 0x00007fad7a00aef7 in QEventLoop::exec (this=0x7fff90d52170, flags=...) at
kernel/qeventloop.cpp:201
#32 0x00007fad7a00f789 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1064
#33 0x00000000004893fd in main (argc=1, argv=<optimized out>) at
/build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/907246/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
affects: ubuntu → digikam (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in digikam (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.