Bug 282165 - Crash during exploring and moving JPG files
Summary: Crash during exploring and moving JPG files
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 1.6.1
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 19:59 UTC by Krzysztof Marczak
Modified: 2011-09-16 20:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.7.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Krzysztof Marczak 2011-09-16 19:59:16 UTC
Application: dolphin (1.6.1)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (wheezy)

-- Information about the crash:
- What I was doing when the application crashed:

I explored directories where ware  JPG files taken from digital camera. Thumbnails for JPG files were enabled. In some folders there were also RAW files (*.CR2) (from Canon EOS), but thumbnals for this type of files were disabled.
This crash repeat randomly many times.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f5c857c6760 (LWP 6436))]

Thread 3 (Thread 0x7f5c707db700 (LWP 6440)):
#0  __pthread_mutex_lock (mutex=0x7f5c680009a8) at pthread_mutex_lock.c:125
#1  0x00007f5c7d56e986 in g_main_context_prepare (context=0x7f5c680009a0, priority=0x7f5c707daccc) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2763
#2  0x00007f5c7d56f879 in g_main_context_iterate (context=0x7f5c680009a0, block=1, dispatch=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3071
#3  0x00007f5c7d56ff1d in g_main_context_iteration (context=0x7f5c680009a0, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007f5c81478b26 in QEventDispatcherGlib::processEvents (this=0x7f5c680008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f5c8144d1c2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f5c8144d3bf in QEventLoop::exec (this=0x7f5c707dadf0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f5c813651ef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:492
#8  0x00007f5c814301ef in QInotifyFileSystemWatcherEngine::run (this=0xdf6e80) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f5c81367c05 in QThreadPrivate::start (arg=0xdf6e80) at thread/qthread_unix.cpp:320
#10 0x00007f5c7da3ab40 in start_thread (arg=<optimized out>) at pthread_create.c:304
#11 0x00007f5c850b036d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5c6fc3d700 (LWP 6540)):
[KCrash Handler]
#6  __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:119
#7  0x00007f5c6639d699 in (anonymous namespace)::strigi_tiffReadProc (handle=<optimized out>, buf=0x7f5c60081118, size=<optimized out>) at ../../../strigi-analyzer/tiff/tiffendanalyzer.cpp:39
#8  0x00007f5c737a13cc in OJPEGReadBufferFill (sp=0x7f5c60080b20) at tif_ojpeg.c:1884
#9  0x00007f5c737a186d in OJPEGReadBytePeek (sp=0x7f5c60080b20, byte=0x7f5c6fc3c43e "") at tif_ojpeg.c:1970
#10 0x00007f5c7379f70b in OJPEGReadHeaderInfoSec (tif=0x7f5c6009ab20) at tif_ojpeg.c:1231
#11 0x00007f5c7379e3f2 in OJPEGSubsamplingCorrect (tif=0x7f5c6009ab20) at tif_ojpeg.c:959
#12 0x00007f5c7379c758 in OJPEGVGetField (tif=0x7f5c6009ab20, tag=530, ap=0x7f5c6fc3c580) at tif_ojpeg.c:466
#13 0x00007f5c73774b83 in TIFFVGetField (tif=0x7f5c6009ab20, tag=530, ap=0x7f5c6fc3c580) at tif_dir.c:975
#14 0x00007f5c7376d657 in TIFFVGetFieldDefaulted (tif=0x7f5c6009ab20, tag=530, ap=0x7f5c6fc3c580) at tif_aux.c:147
#15 0x00007f5c7376e52b in TIFFGetFieldDefaulted (tif=0x7f5c6009ab20, tag=530) at tif_aux.c:278
#16 0x00007f5c737af749 in TIFFScanlineSize (tif=0x7f5c6009ab20) at tif_strip.c:237
#17 0x00007f5c73778230 in TIFFReadDirectory (tif=0x7f5c6009ab20) at tif_dirread.c:800
#18 0x00007f5c737a35d3 in TIFFClientOpen (name=0x7f5c60011178 "IMG_400D_09020.CR2", mode=0x7f5c6639e42e "r", clientdata=0x7f5c600125c0, readproc=0x7f5c6639d660 <(anonymous namespace)::strigi_tiffReadProc(thandle_t, tdata_t, tsize_t)>, writeproc=0x7f5c6639d530 <(anonymous namespace)::strigi_tiffWriteProc(thandle_t, tdata_t, tsize_t)>, seekproc=0x7f5c6639d540 <(anonymous namespace)::strigi_tiffSeekProc(thandle_t, toff_t, int)>, closeproc=0x7f5c6639d590 <(anonymous namespace)::strigi_tiffCloseProc(thandle_t)>, sizeproc=0x7f5c6639d5a0 <(anonymous namespace)::strigi_tiffSizeProc(thandle_t)>, mapproc=0x7f5c6639d5b0 <(anonymous namespace)::strigi_tiffMapProc(thandle_t, tdata_t*, toff_t*)>, unmapproc=0x7f5c6639d5c0 <(anonymous namespace)::strigi_tiffUnmapProc(thandle_t, tdata_t, toff_t)>) at tif_open.c:436
#19 0x00007f5c6639dd70 in TiffEndAnalyzer::analyze (this=0x7f5c60012800, ar=..., in=0x7f5c600125c0) at ../../../strigi-analyzer/tiff/tiffendanalyzer.cpp:201
#20 0x00007f5c7f1f8e7a in ?? () from /usr/lib/libstreamanalyzer.so.0
#21 0x00007f5c8311224f in KFileMetaInfoPrivate::init (this=0x7f5c60003fe0, stream=..., url=<optimized out>, mtime=1284136252, w=<optimized out>) at ../../kio/kio/kfilemetainfo.cpp:257
#22 0x00007f5c83112fa7 in KFileMetaInfo::KFileMetaInfo (this=0x7f5c6fc3cd20, path=<optimized out>, w=...) at ../../kio/kio/kfilemetainfo.cpp:286
#23 0x00007f5c831e0c24 in KLoadFileMetaDataThread::run (this=0x157b350) at ../../kio/kfile/kloadfilemetadatathread.cpp:143
#24 0x00007f5c81367c05 in QThreadPrivate::start (arg=0x157b350) at thread/qthread_unix.cpp:320
#25 0x00007f5c7da3ab40 in start_thread (arg=<optimized out>) at pthread_create.c:304
#26 0x00007f5c850b036d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5c857c6760 (LWP 6436)):
#0  0x00007f5c850a5723 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5c7b54bc32 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f5c7b54d1df in xcb_wait_for_reply () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f5c7e92edbd in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007f5c7e92be7d in XTranslateCoordinates () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007f5c81eff8e9 in QWidget::mapFromGlobal (this=<optimized out>, pos=<optimized out>) at kernel/qwidget_x11.cpp:1328
#6  0x00007f5c81eff942 in QWidget::mapFromGlobal (this=0x13ccdd0, pos=...) at kernel/qwidget_x11.cpp:1321
#7  0x00007f5c81eff942 in QWidget::mapFromGlobal (this=0x13cebf0, pos=...) at kernel/qwidget_x11.cpp:1321
#8  0x00007f5c81eff942 in QWidget::mapFromGlobal (this=0x13cecd0, pos=...) at kernel/qwidget_x11.cpp:1321
#9  0x00007f5c81e6dd80 in QApplicationPrivate::pickMouseReceiver (candidate=0x131ee90, globalPos=..., pos=..., type=QEvent::MouseMove, buttons=<optimized out>, buttonDown=0x0, alienWidget=<optimized out>) at kernel/qapplication.cpp:3054
#10 0x00007f5c81eead62 in QETWidget::translateMouseEvent (this=0x131ee90, event=<optimized out>) at kernel/qapplication_x11.cpp:4455
#11 0x00007f5c81ee9bea in QApplication::x11ProcessEvent (this=0x7fff0e393fc0, event=0x7fff0e393b70) at kernel/qapplication_x11.cpp:3591
#12 0x00007f5c81f11d32 in x11EventSourceDispatch (s=0xd08ab0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#13 0x00007f5c7d56f4a3 in g_main_dispatch (context=0xd078e0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#14 g_main_context_dispatch (context=0xd078e0) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#15 0x00007f5c7d56fc80 in g_main_context_iterate (context=0xd078e0, block=1, dispatch=1, self=<optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#16 0x00007f5c7d56ff1d in g_main_context_iteration (context=0xd078e0, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#17 0x00007f5c81478abf in QEventDispatcherGlib::processEvents (this=0xcdfc20, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#18 0x00007f5c81f119ce in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#19 0x00007f5c8144d1c2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#20 0x00007f5c8144d3bf in QEventLoop::exec (this=0x7fff0e393f40, flags=...) at kernel/qeventloop.cpp:201
#21 0x00007f5c81451567 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#22 0x00007f5c853aad98 in kdemain (argc=5, argv=0x7fff0e3944f8) at ../../../dolphin/src/main.cpp:98
#23 0x0000000000400786 in main (argc=5, argv=0x7fff0e3944f8) at dolphin_dummy.cpp:3

Possible duplicates by query: bug 273760.

Reported using DrKonqi
Comment 1 Peter Penz 2011-09-16 20:13:19 UTC
Thanks for the report. This is an issue in the corresponding Strigi analyzer
that Dolphin uses to get the metadata of a file. Dolphin for KDE 4.7 won't
crash anymore in this case (see
http://ppenz.blogspot.com/2011/03/dont-crash-when-reading-metadata.html for
details).