Bug 313309 - gv crashed when going full screen
Summary: gv crashed when going full screen
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.8.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 325027 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-15 16:20 UTC by Eric W
Modified: 2017-09-09 16:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-21372-0.html (1.56 KB, text/html)
2017-09-09 14:17 UTC, Eric W
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric W 2013-01-15 16:20:04 UTC
Application: gwenview (2.8.5)
KDE Platform Version: 4.8.5 (4.8.5) "release 2"
Qt Version: 4.8.1
Operating System: Linux 3.4.11-2.16-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
.. not very much. I opened a directory view containing ~80 large jpeg images ranging in size 7MB-12MB. When the application had opened, I selected "View full screen" .. and the program crash.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
[Current thread is 1 (Thread 0x7f20a7c1e7c0 (LWP 5851))]

Thread 6 (Thread 0x7f2094e6b700 (LWP 5853)):
#0  0x00007fffc61fd65e in clock_gettime ()
#1  0x00007f20a0ebaf7d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f20a69bda24 in do_gettime (frac=0x7f2094e6aa58, sec=0x7f2094e6aa50) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f20a6a9015d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f2090002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f20a6a904a3 in QTimerInfoList::timerWait (this=0x7f2090002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007f20a6a8f01c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f2094e6ab4c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007f20a6a8f0c5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007f20a0c09ebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007f20a0c0a5ab in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f20a0c0a7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f20a6a8f956 in QEventDispatcherGlib::processEvents (this=0x7f20900008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007f20a6a6073f in QEventLoop::processEvents (this=this@entry=0x7f2094e6acf0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f20a6a609c8 in QEventLoop::exec (this=0x7f2094e6acf0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f20a6964e40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007f20a6a4111f in QInotifyFileSystemWatcherEngine::run (this=0x1789f60) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007f20a6967ddb in QThreadPrivate::start (arg=0x1789f60) at thread/qthread_unix.cpp:298
#17 0x00007f209d44b764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#18 0x00007f20a2ddbe0e in start_thread (arg=0x7f2094e6b700) at pthread_create.c:305
#19 0x00007f20a46552cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f208ebfe700 (LWP 5863)):
#0  0x00007f20a464ef23 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f20a6a40752 in QProcessManager::run (this=0x7f20a6db84c0 <processManager()::processManager>) at io/qprocess_unix.cpp:245
#2  0x00007f20a6967ddb in QThreadPrivate::start (arg=0x7f20a6db84c0 <processManager()::processManager>) at thread/qthread_unix.cpp:298
#3  0x00007f209d44b764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#4  0x00007f20a2ddbe0e in start_thread (arg=0x7f208ebfe700) at pthread_create.c:305
#5  0x00007f20a46552cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f208e3fd700 (LWP 5866)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f20a69682db in wait (time=18446744073709551615, this=0x1739900) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1704ba8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f20a756eca6 in Gwenview::SemanticInfoThread::run (this=0x1704b90) at /usr/src/debug/gwenview-4.8.5/lib/semanticinfo/nepomuksemanticinfobackend.cpp:145
#4  0x00007f20a6967ddb in QThreadPrivate::start (arg=0x1704b90) at thread/qthread_unix.cpp:298
#5  0x00007f209d44b764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#6  0x00007f20a2ddbe0e in start_thread (arg=0x7f208e3fd700) at pthread_create.c:305
#7  0x00007f20a46552cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f208dbfc700 (LWP 5872)):
[KCrash Handler]
#5  size (this=0x7f2078a3f558) at /usr/include/c++/4.7/bits/basic_string.h:713
#6  compare (__str="http://ns.adobe.com/pdf/1.3/", this=0x7f2078a3f558) at /usr/include/c++/4.7/bits/basic_string.h:2224
#7  operator< <char, std::char_traits<char>, std::allocator<char> > (__rhs="http://ns.adobe.com/pdf/1.3/", __lhs=<error reading variable: Cannot access memory at address 0xffffffffffffffef>) at /usr/include/c++/4.7/bits/basic_string.h:2568
#8  operator() (__y="http://ns.adobe.com/pdf/1.3/", __x=<error reading variable: Cannot access memory at address 0xffffffffffffffef>, this=<optimized out>) at /usr/include/c++/4.7/bits/stl_function.h:237
#9  std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_insert_unique_ (this=0x7f2078a3f530, __position=..., __v=...) at /usr/include/c++/4.7/bits/stl_tree.h:1358
#10 0x00007f20a36959d2 in insert (__x=..., __position=..., this=0x7f2078a3f530) at /usr/include/c++/4.7/bits/stl_map.h:576
#11 operator[] (__k="http://ns.adobe.com/pdf/1.3/", this=0x7f2078a3f530) at /usr/include/c++/4.7/bits/stl_map.h:458
#12 XMPMeta::RegisterNamespace (namespaceURI=<optimized out>, prefix=<optimized out>) at XMPMeta.cpp:1048
#13 0x00007f20a3695f43 in XMPMeta::Initialize () at XMPMeta.cpp:670
#14 0x00007f20a36c1390 in WXMPMeta_Initialize_1 (wResult=0x7f208dbfae10) at WXMPMeta.cpp:53
#15 0x00007f20a368bb94 in TXMPMeta<std::string>::Initialize () at ../xmpsdk/include/client-glue/TXMPMeta.incl_cpp:81
#16 0x00007f20a36884a1 in Exiv2::XmpParser::initialize (xmpLockFct=xmpLockFct@entry=0x0, pLockData=pLockData@entry=0x0) at xmp.cpp:405
#17 0x00007f20a3688909 in Exiv2::XmpParser::decode (xmpData=..., xmpPacket="<?xpacket begin='\357\273\277' id='W5M0MpCehiHzreSzNTczkc9d'?>\n<x:xmpmeta xmlns:x='adobe:ns:meta/'>\n<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>\n\n <rdf:Description xmlns:exif='http://ns.adobe"...) at xmp.cpp:480
#18 0x00007f20a361acb0 in Exiv2::JpegBase::readMetadata (this=0x7f20780b9e60) at jpgimage.cpp:391
#19 0x00007f20a7529eab in Gwenview::Exiv2ImageLoader::load (this=0x7f208dbfbab0, data=...) at /usr/src/debug/gwenview-4.8.5/lib/exiv2imageloader.cpp:59
#20 0x00007f20a753f635 in Gwenview::JpegContent::loadFromData (this=this@entry=0x7f208dbfbbd0, data=...) at /usr/src/debug/gwenview-4.8.5/lib/jpegcontent.cpp:220
#21 0x00007f20a753f8ea in Gwenview::JpegContent::load (this=0x7f208dbfbbd0, path=...) at /usr/src/debug/gwenview-4.8.5/lib/jpegcontent.cpp:213
#22 0x00007f20a755146d in Gwenview::ThumbnailThread::loadThumbnail (this=this@entry=0x1efc088, needCaching=needCaching@entry=0x7f208dbfbcef) at /usr/src/debug/gwenview-4.8.5/lib/thumbnailloadjob.cpp:242
#23 0x00007f20a7551d33 in Gwenview::ThumbnailThread::run (this=0x1efc088) at /usr/src/debug/gwenview-4.8.5/lib/thumbnailloadjob.cpp:211
#24 0x00007f20a6967ddb in QThreadPrivate::start (arg=0x1efc088) at thread/qthread_unix.cpp:298
#25 0x00007f209d44b764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#26 0x00007f20a2ddbe0e in start_thread (arg=0x7f208dbfc700) at pthread_create.c:305
#27 0x00007f20a46552cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f208cb31700 (LWP 5874)):
[KCrash Handler]
#5  size (this=0x7f2078a3f558) at /usr/include/c++/4.7/bits/basic_string.h:713
#6  compare (__str="http://iptc.org/std/Iptc4xmpExt/2008-02-29/", this=0x7f2078a3f558) at /usr/include/c++/4.7/bits/basic_string.h:2224
#7  operator< <char, std::char_traits<char>, std::allocator<char> > (__rhs="http://iptc.org/std/Iptc4xmpExt/2008-02-29/", __lhs=<error reading variable: Cannot access memory at address 0xffffffffffffffef>) at /usr/include/c++/4.7/bits/basic_string.h:2568
#8  operator() (__y="http://iptc.org/std/Iptc4xmpExt/2008-02-29/", __x=<error reading variable: Cannot access memory at address 0xffffffffffffffef>, this=<optimized out>) at /usr/include/c++/4.7/bits/stl_function.h:237
#9  std::_Rb_tree<std::string, std::pair<std::string const, std::string>, std::_Select1st<std::pair<std::string const, std::string> >, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > >::_M_insert_unique_ (this=0x7f2078a3f530, __position=..., __v=...) at /usr/include/c++/4.7/bits/stl_tree.h:1358
#10 0x00007f20a36959d2 in insert (__x=..., __position=..., this=0x7f2078a3f530) at /usr/include/c++/4.7/bits/stl_map.h:576
#11 operator[] (__k="http://iptc.org/std/Iptc4xmpExt/2008-02-29/", this=0x7f2078a3f530) at /usr/include/c++/4.7/bits/stl_map.h:458
#12 XMPMeta::RegisterNamespace (namespaceURI=<optimized out>, prefix=<optimized out>) at XMPMeta.cpp:1048
#13 0x00007f20a36c1c2d in WXMPMeta_RegisterNamespace_1 (namespaceURI=0x7f20a36f5518 "http://iptc.org/std/Iptc4xmpExt/2008-02-29/", prefix=0x7f20a36ec31e "iptcExt", wResult=0x7f208cb2fe10) at WXMPMeta.cpp:228
#14 0x00007f20a368be04 in TXMPMeta<std::string>::RegisterNamespace (namespaceURI=namespaceURI@entry=0x7f20a36f5518 "http://iptc.org/std/Iptc4xmpExt/2008-02-29/", prefix=prefix@entry=0x7f20a36ec31e "iptcExt") at ../xmpsdk/include/client-glue/TXMPMeta.incl_cpp:240
#15 0x00007f20a36884ef in Exiv2::XmpParser::initialize (xmpLockFct=xmpLockFct@entry=0x0, pLockData=pLockData@entry=0x0) at xmp.cpp:409
#16 0x00007f20a3688909 in Exiv2::XmpParser::decode (xmpData=..., xmpPacket="<?xpacket begin='\357\273\277' id='W5M0MpCehiHzreSzNTczkc9d'?>\n<x:xmpmeta xmlns:x='adobe:ns:meta/'>\n<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'>\n\n <rdf:Description xmlns:exif='http://ns.adobe"...) at xmp.cpp:480
#17 0x00007f20a361acb0 in Exiv2::JpegBase::readMetadata (this=0x7f207c005da0) at jpgimage.cpp:391
#18 0x00007f20a7529eab in Gwenview::Exiv2ImageLoader::load (this=0x7f208cb30ab0, data=...) at /usr/src/debug/gwenview-4.8.5/lib/exiv2imageloader.cpp:59
#19 0x00007f20a753f635 in Gwenview::JpegContent::loadFromData (this=this@entry=0x7f208cb30bd0, data=...) at /usr/src/debug/gwenview-4.8.5/lib/jpegcontent.cpp:220
#20 0x00007f20a753f8ea in Gwenview::JpegContent::load (this=0x7f208cb30bd0, path=...) at /usr/src/debug/gwenview-4.8.5/lib/jpegcontent.cpp:213
#21 0x00007f20a755146d in Gwenview::ThumbnailThread::loadThumbnail (this=this@entry=0x20d46c8, needCaching=needCaching@entry=0x7f208cb30cef) at /usr/src/debug/gwenview-4.8.5/lib/thumbnailloadjob.cpp:242
#22 0x00007f20a7551d33 in Gwenview::ThumbnailThread::run (this=0x20d46c8) at /usr/src/debug/gwenview-4.8.5/lib/thumbnailloadjob.cpp:211
#23 0x00007f20a6967ddb in QThreadPrivate::start (arg=0x20d46c8) at thread/qthread_unix.cpp:298
#24 0x00007f209d44b764 in ?? () from /usr/X11R6/lib64/libGL.so.1
#25 0x00007f20a2ddbe0e in start_thread (arg=0x7f208cb31700) at pthread_create.c:305
#26 0x00007f20a46552cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f20a7c1e7c0 (LWP 5851)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f20a69682db in wait (time=18446744073709551615, this=0x157f5b0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x157f568, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f20a69679ec in QThread::wait (this=<optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:651
#4  0x00007f20a6a3f222 in QProcessManager::~QProcessManager (this=0x7f20a6db84c0 <processManager()::processManager>, __in_chrg=<optimized out>) at io/qprocess_unix.cpp:212
#5  0x00007f20a45a88b1 in __run_exit_handlers (status=1, listp=0x7f20a49105a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:78
#6  0x00007f20a45a8935 in __GI_exit (status=<optimized out>) at exit.c:100
#7  0x00007f20a4e66328 in ?? () from /usr/lib64/libQtGui.so.4
#8  0x00007f20a5fd7de8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#9  0x00007f20a2293c4e in _XIOError () from /usr/lib64/libX11.so.6
#10 0x00007f20a22916ed in _XEventsQueued () from /usr/lib64/libX11.so.6
#11 0x00007f20a2282bfb in XEventsQueued () from /usr/lib64/libX11.so.6
#12 0x00007f20a4e9c70c in ?? () from /usr/lib64/libQtGui.so.4
#13 0x00007f20a0c0a19b in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#14 0x00007f20a0c0a622 in ?? () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f20a0c0a7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f20a6a8f936 in QEventDispatcherGlib::processEvents (this=0x151fa70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#17 0x00007f20a4e9c8ae in ?? () from /usr/lib64/libQtGui.so.4
#18 0x00007f20a6a6073f in QEventLoop::processEvents (this=this@entry=0x7fffc6104750, flags=...) at kernel/qeventloop.cpp:149
#19 0x00007f20a6a609c8 in QEventLoop::exec (this=0x7fffc6104750, flags=...) at kernel/qeventloop.cpp:204
#20 0x00007f20a6a653a8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#21 0x0000000000428fa2 in main (argc=2, argv=0x7fffc61049d8) at /usr/src/debug/gwenview-4.8.5/app/main.cpp:142

Possible duplicates by query: bug 256705, bug 246136.

Reported using DrKonqi
Comment 1 Christoph Feck 2013-01-19 19:05:31 UTC
What's interesting here, is that two threads are crashing at the same time. Either Exiv2/XMP libraries are not thread-safe, and Gwenview should not use them from multiple threads, or this crash is caused by a bug in said libraries downstream.
Comment 2 Jekyll Wu 2013-09-18 10:18:37 UTC
*** Bug 325027 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2017-09-09 04:43:50 UTC
Is this reproducible with KF5 versions of Gwenview?
Comment 4 Eric W 2017-09-09 14:17:26 UTC
Created attachment 107773 [details]
attachment-21372-0.html

No idea... That is old.... and alas, for my workflow I have switched
over to Mac and Photoshop etc for my image work

Sorry...

--Eric


Nate Graham wrote:
>
> https://bugs.kde.org/show_bug.cgi?id=313309
>
> Nate Graham <pointedstick@zoho.com> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>          Resolution|---                         |WAITINGFORINFO
>                  CC|                            |pointedstick@zoho.com
>              Status|UNCONFIRMED                 |NEEDSINFO
>
> --- Comment #3 from Nate Graham <pointedstick@zoho.com> ---
> Is this reproducible with KF5 versions of Gwenview?