Bug 270305

Summary: gwenview crashes when loading PSD file [ LoadPSD, PSDHandler::read, QImageReader::read ]
Product: [Applications] gwenview Reporter: A.Bakker <a.bk>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: benni
Priority: NOR Keywords: triaged
Version First Reported In: 2.6   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description A.Bakker 2011-04-07 11:41:01 UTC
Application: gwenview (2.6.0)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.11-83.fc14.i686 i686
Distribution: "Fedora release 14 (Laughlin)"

-- Information about the crash:
- What I was doing when the application crashed:
segmentation fault after every time loading a .PSD file
( sometimes after rotate a couple of pictures in brouwse mode )

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77bc780 (LWP 2925))]

Thread 2 (Thread 0xb54b5b70 (LWP 2934)):
[KCrash Handler]
#7  QDataStream::operator>> (this=0xb54b4f88, i=@0x2) at io/qdatastream.cpp:652
#8  0x00c31342 in operator>> (this=0xb4b0e480, image=0x9c11ad8) at /usr/include/QtCore/qdatastream.h:217
#9  LoadPSD (this=0xb4b0e480, image=0x9c11ad8) at /usr/src/debug/kdelibs-4.6.1/kimgio/psd.cpp:187
#10 PSDHandler::read (this=0xb4b0e480, image=0x9c11ad8) at /usr/src/debug/kdelibs-4.6.1/kimgio/psd.cpp:273
#11 0x0221f58c in QImageReader::read (this=0xb54b51f8, image=0x9c11ad8) at image/qimagereader.cpp:1205
#12 0x058e749b in ?? () from /usr/lib/libgwenviewlib.so.4
#13 0x058e6d0d in ?? () from /usr/lib/libgwenviewlib.so.4
#14 0x058ddecf in ?? () from /usr/lib/libgwenviewlib.so.4
#15 0x06ae5bbe in QThreadPoolThread::run (this=0x9c1d8a8) at concurrent/qthreadpool.cpp:106
#16 0x06aefe6a in QThreadPrivate::start (arg=0x9c1d8a8) at thread/qthread_unix.cpp:285
#17 0x00aa0e99 in start_thread (arg=0xb54b5b70) at pthread_create.c:301
#18 0x009dfd2e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb77bc780 (LWP 2925)):
#0  0x00b3e416 in __kernel_vsyscall ()
#1  0x00aa539b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:169
#2  0x06af0567 in wait (this=0x9c12944, mutex=0x9c12930, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#3  QWaitCondition::wait (this=0x9c12944, mutex=0x9c12930, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#4  0x06ae5274 in QThreadPoolPrivate::waitForDone (this=0x9c128e0) at concurrent/qthreadpool.cpp:295
#5  0x06ae61b1 in QThreadPool::~QThreadPool (this=0x9b41400, __in_chrg=<value optimized out>) at concurrent/qthreadpool.cpp:428
#6  0x06ae6213 in QThreadPool::~QThreadPool (this=0x9b41400, __in_chrg=<value optimized out>) at concurrent/qthreadpool.cpp:430
#7  0x06ae673b in QGlobalStaticDeleter<QThreadPool>::~QGlobalStaticDeleter (this=0x6d24b18, __in_chrg=<value optimized out>) at ../../src/corelib/global/qglobal.h:1820
#8  0x00936cdf in __run_exit_handlers (status=1) at exit.c:78
#9  exit (status=1) at exit.c:100
#10 0x003f8eba in _IceDefaultIOErrorHandler (iceConn=<value optimized out>) at error.c:605
#11 0x004012cb in _IceRead (iceConn=<value optimized out>, nbytes=<value optimized out>, ptr=<value optimized out>) at misc.c:294
#12 0x00405900 in IceProcessMessages (iceConn=<value optimized out>, replyWait=<value optimized out>, replyReadyRet=<value optimized out>) at process.c:153
#13 0x021bed39 in QSmSocketReceiver::socketActivated (this=0x995b9e8) at kernel/qapplication_x11.cpp:5751
#14 0x021bed9e in QSmSocketReceiver::qt_metacall (this=0x995b9e8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfc383f8) at .moc/release-shared/qapplication_x11.moc:71
#15 0x06bedbeb in QMetaObject::metacall (object=0x995b9e8, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfc383f8) at kernel/qmetaobject.cpp:237
#16 0x06bfd0c7 in QMetaObject::activate (sender=0x9951e98, m=0x6d23a70, local_signal_index=0, argv=0xbfc383f8) at kernel/qobject.cpp:3272
#17 0x06c4b6a4 in QSocketNotifier::activated (this=0x9951e98, _t1=9) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#18 0x06c038cf in QSocketNotifier::event (this=0x9951e98, e=0xbfc38884) at kernel/qsocketnotifier.cpp:317
#19 0x0214726c in QApplicationPrivate::notify_helper (this=0x99097f8, receiver=0x9951e98, e=0xbfc38884) at kernel/qapplication.cpp:4445
#20 0x0214bed2 in QApplication::notify (this=0xbfc38bb8, receiver=0x9951e98, e=0xbfc38884) at kernel/qapplication.cpp:3845
#21 0x06fca92b in KApplication::notify (this=0xbfc38bb8, receiver=0x9951e98, event=0xbfc38884) at /usr/src/debug/kdelibs-4.6.1/kdeui/kernel/kapplication.cpp:311
#22 0x06be73b3 in QCoreApplication::notifyInternal (this=0xbfc38bb8, receiver=0x9951e98, event=0xbfc38884) at kernel/qcoreapplication.cpp:732
#23 0x06c14a2f in sendEvent (source=0x990f200) at kernel/qcoreapplication.h:215
#24 socketNotifierSourceDispatch (source=0x990f200) at kernel/qeventdispatcher_glib.cpp:110
#25 0x0044e192 in g_main_dispatch (context=0x990e690) at gmain.c:2149
#26 g_main_context_dispatch (context=0x990e690) at gmain.c:2702
#27 0x0044e978 in g_main_context_iterate (context=0x990e690, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#28 0x0044ec35 in g_main_context_iteration (context=0x990e690, may_block=1) at gmain.c:2843
#29 0x06c150ad in QEventDispatcherGlib::processEvents (this=0x98f19a0, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#30 0x021fa406 in QGuiEventDispatcherGlib::processEvents (this=0x98f19a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#31 0x06be654a in QEventLoop::processEvents (this=0xbfc38b04, flags=...) at kernel/qeventloop.cpp:149
#32 0x06be67fa in QEventLoop::exec (this=0xbfc38b04, flags=...) at kernel/qeventloop.cpp:201
#33 0x06beb3a7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#34 0x02145078 in QApplication::exec () at kernel/qapplication.cpp:3719
#35 0x0807fa1a in _start ()

Reported using DrKonqi
Comment 1 Benni Hill 2012-12-27 12:16:52 UTC
Can you still reproduce this with a current version of Gwenview? If yes, please
follow these instructions and send us a complete backtrace:
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
(Debug packages for gwenview were missing.)
Comment 2 Andrew Crouthamel 2018-09-24 02:15:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-27 02:22:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!