Bug 303743 - Gwenview crashes when saving images to a different folder after modifying them
Summary: Gwenview crashes when saving images to a different folder after modifying them
Status: RESOLVED DUPLICATE of bug 302136
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.9.0
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-18 14:51 UTC by Janek Bevendorff
Modified: 2012-10-19 13:26 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Bevendorff 2012-07-18 14:51:04 UTC
When opening an image, modifying it (e.g. mirror, flip, resize, crop) and saving it to a different folder, Gwenview crashes.

Reproducible: Always

Steps to Reproduce:
1. Open an image (JPEG, PNG, doesn't matter) in Gwenview
2. Modify the image in Gwenview (e.g. use the flip tool)
3. In the upcoming popup bar choose "Save As" and save the file to a different folder (NOT the folder where it's already located in!)
Actual Results:  
Gwenview crashes


Backtrace:

Application: Gwenview (gwenview), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f9a05928360 in QUrl::QUrl(QUrl const&) () from /usr/lib64/qt4/libQtCore.so.4
#7  0x00007f9a03b639d9 in KUrl::KUrl (this=0x7fff5b0a1120, _u=...) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/kdecore/io/kurl.cpp:490
#8  0x00007f9a0604ad08 in KFileItem::url (this=<optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/kio/kio/kfileitem.cpp:1368
#9  0x00007f9a064de7de in Gwenview::ThumbnailView::setThumbnail (this=0x145f1f0, item=..., pixmap=..., size=...) at /var/tmp/portage/kde-base/gwenview-4.8.95/work/gwenview-4.8.95/lib/thumbnailview/thumbnailview.cpp:585
#10 0x00007f9a059886a1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007f9a064d08ac in Gwenview::ThumbnailLoadJob::thumbnailLoaded (this=<optimized out>, _t1=..., _t2=..., _t3=...) at /var/tmp/portage/kde-base/gwenview-4.8.95/work/gwenview-4.8.95_build/lib/thumbnailloadjob.moc:282
#12 0x00007f9a064d0d7a in Gwenview::ThumbnailLoadJob::emitThumbnailLoaded (this=0x1c36080, img=..., size=...) at /var/tmp/portage/kde-base/gwenview-4.8.95/work/gwenview-4.8.95/lib/thumbnailloadjob.cpp:706
#13 0x00007f9a064d2e22 in Gwenview::ThumbnailLoadJob::checkThumbnail (this=0x1c36080) at /var/tmp/portage/kde-base/gwenview-4.8.95/work/gwenview-4.8.95/lib/thumbnailloadjob.cpp:636
#14 0x00007f9a0598d866 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007f9a04109b54 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f9a0410e9d3 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007f9a04e3668d in KApplication::notify (this=0x7fff5b0a1fc0, receiver=0x1c36080, event=0x1bf1020) at /var/tmp/portage/kde-base/kdelibs-4.8.95/work/kdelibs-4.8.95/kdeui/kernel/kapplication.cpp:311
#18 0x00007f9a0597491c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#19 0x00007f9a059781ba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007f9a059a33a3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f99ffe5f43a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#22 0x00007f99ffe5f800 in g_main_context_iterate.isra.23 () from /usr/lib64/libglib-2.0.so.0
#23 0x00007f99ffe5f8c4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f9a059a37cf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f9a041ac71e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f9a05973702 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#27 0x00007f9a05973957 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007f9a059784b5 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#29 0x000000000042b690 in main (argc=6, argv=0x7fff5b0a22e8) at /var/tmp/portage/kde-base/gwenview-4.8.95/work/gwenview-4.8.95/app/main.cpp:142
Comment 1 Jekyll Wu 2012-07-18 15:14:13 UTC
The fix should be contain in 4.8.97 (RC2)

*** This bug has been marked as a duplicate of bug 302136 ***