Bug 298429 - Import from N900 crashes when thumbnails is about to show
Summary: Import from N900 crashes when thumbnails is about to show
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Import-IconView (show other bugs)
Version: 2.2.0
Platform: openSUSE Linux
: NOR major
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-19 17:19 UTC by Roger Larsson
Modified: 2017-08-16 05:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roger Larsson 2012-04-19 17:19:01 UTC
I see the thumbnails begins to view and then it crashes.
100% reproduceable.

Interesting: not only image files are stored in the directory mp3 and other files are mixed in... (In the DCIM directory there are only .jpg and .mp4 but Digikam import lists all directories...)

Full -debuginfo is installed, but somehow it is not enough for the wizard

Application: Digikam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fad9a6f17c0 (LWP 11625))]

Thread 6 (Thread 0x7fad7de7a700 (LWP 11626)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fad958804bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00000000005d09d0 in ?? ()
#3  0x00007fad95880025 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fad91c2ff05 in start_thread (arg=0x7fad7de7a700) at pthread_create.c:301
#5  0x00007fad93ec110d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fad7d679700 (LWP 11627)):
#0  0x00007fad93eb7ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fad8c136a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fad8c136f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fad95991586 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007fad95965a32 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007fad95965c2f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007fad9587d5df in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007fad95948aff in ?? () from /usr/lib64/libQtCore.so.4
#8  0x00007fad95880025 in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007fad91c2ff05 in start_thread (arg=0x7fad7d679700) at pthread_create.c:301
#10 0x00007fad93ec110d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fad7ce78700 (LWP 11629)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fad958804bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x00007fad97fa0d67 in ?? () from /usr/lib64/libdigikamcore.so.2
#3  0x00007fad95880025 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fad91c2ff05 in start_thread (arg=0x7fad7ce78700) at pthread_create.c:301
#5  0x00007fad93ec110d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fad3bfff700 (LWP 11662)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fad958804bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000000078d783 in ?? ()
#3  0x00007fad95880025 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fad91c2ff05 in start_thread (arg=0x7fad3bfff700) at pthread_create.c:301
#5  0x00007fad93ec110d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fad4e1d9700 (LWP 11663)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fad958804bb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4
#2  0x000000000079416b in ?? ()
#3  0x00007fad95880025 in ?? () from /usr/lib64/libQtCore.so.4
#4  0x00007fad91c2ff05 in start_thread (arg=0x7fad4e1d9700) at pthread_create.c:301
#5  0x00007fad93ec110d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fad9a6f17c0 (LWP 11625)):
[KCrash Handler]
#6  0x00000000007a3522 in ?? ()
#7  0x00000000007a38e1 in ?? ()
#8  0x00000000007a5408 in ?? ()
#9  0x00007fad959795aa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#10 0x0000000000791230 in ?? ()
#11 0x0000000000792218 in ?? ()
#12 0x000000000079266a in ?? ()
#13 0x0000000000792a51 in ?? ()
#14 0x00007fad959795aa in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#15 0x00007fad96babc75 in KIO::PreviewJob::failed(KFileItem const&) () from /usr/lib64/libkio.so.5
#16 0x00007fad96bae3e1 in ?? () from /usr/lib64/libkio.so.5
#17 0x00007fad96baee5d in KIO::PreviewJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#18 0x00007fad9597d15a in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#19 0x00007fad94abdc34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007fad94ac2ac1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#21 0x00007fad963b7e36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#22 0x00007fad9596682c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#23 0x00007fad95969c08 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#24 0x00007fad959910c3 in ?? () from /usr/lib64/libQtCore.so.4
#25 0x00007fad8c13658d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fad8c136d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fad8c136f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fad9599151f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007fad94b60f9e in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00007fad95965a32 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#31 0x00007fad95965c2f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#32 0x00007fad95969df7 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#33 0x000000000049407d in ?? ()
#34 0x00007fad93e0723d in __libc_start_main (main=0x492f90, argc=5, ubp_av=0x7fff99f75c68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff99f75c58) at libc-start.c:226
#35 0x0000000000495855 in _start ()


Reproducible: Always

Steps to Reproduce:
1. Connect N900, select Mass Storage mode
2. Start Digikam
3. Choose Import USB

Actual Results:  
Directly when thumbnails starts to show up digikam crashes...

Expected Results:  
All media should be shown and I should be able to import selected media

Work around:

Open import tool toward other memory.
Select "JPG/TIFF-files" or "Video-files"
Close that.

Now open N900 again - no crash (the filetype setting helps).
Comment 1 caulier.gilles 2012-04-19 21:16:28 UTC
Sound like an old problem fixed with 2.5.0 release. Please update and try again.

Also previewjob from KDE, is used here to display video thumbs. I suspect a video codec problem on your computer.

Here i use a N900 too, without any problem...

Gilles Caulier
Comment 2 Roger Larsson 2012-04-19 22:31:55 UTC
Forgot to mention that I usually have had no problem with N900.
But I guess that some file gives me trouble...
Nice to hear that the problem most likely have been fixed in 2.5.0
Comment 3 caulier.gilles 2015-06-26 13:44:13 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier
Comment 4 caulier.gilles 2015-08-22 06:41:04 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 5 caulier.gilles 2016-07-15 16:15:30 UTC
With digiKam 5.0.0, this problem is not reproducible.
I close this file now. Don't hesitate to re-open if necessary.
Gilles Caulier