Bug 370250 - Gwenview crashed while cropping PNG picture
Summary: Gwenview crashed while cropping PNG picture
Status: RESOLVED DUPLICATE of bug 357548
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: Other (add details in bug description)
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-07 13:29 UTC by iyesin+kde
Modified: 2016-10-07 21:55 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Source file before crop (43.72 KB, image/png)
2016-10-07 13:30 UTC, iyesin+kde
Details
File I want to get but crash accured (16.55 KB, image/png)
2016-10-07 13:31 UTC, iyesin+kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description iyesin+kde 2016-10-07 13:29:30 UTC
Application: gwenview (15.12.3)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-38-generic x86_64
Distribution: Ubuntu 16.04.1 LTS

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

Tried to crop picture from form of test_src.png to test_res.png (this file was made with imagemagic).

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f69a88a8980 (LWP 15064))]

Thread 2 (Thread 0x7f69a6118700 (LWP 15065)):
#0  0x00007f69b5ebbe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f69aed92c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f69aed948d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f69a824c629 in QXcbEventReader::run (this=0x12cd780) at qxcbconnection.cpp:1253
#4  0x00007f69b65b184e in QThreadPrivate::start (arg=0x12cd780) at thread/qthread_unix.cpp:331
#5  0x00007f69b13c36fa in start_thread (arg=0x7f69a6118700) at pthread_create.c:333
#6  0x00007f69b5ec7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f69a88a8980 (LWP 15064)):
[KCrash Handler]
#6  0x00007f69b5270d60 in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#7  0x00007f69b5277bab in ?? () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2
#8  0x00007f69ba5b5c99 in Gwenview::RasterImageView::updateFromScaler (this=0x1845200, zoomedImageLeft=-360, zoomedImageTop=-202, image=...) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/documentview/rasterimageview.cpp:322
#9  0x00007f69b67c0e4f in QtPrivate::QSlotObjectBase::call (a=0x7ffcc8d37b00, r=0x1845200, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#10 QMetaObject::activate (sender=sender@entry=0x1530730, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcc8d37b00) at kernel/qobject.cpp:3698
#11 0x00007f69b67c17d7 in QMetaObject::activate (sender=sender@entry=0x1530730, m=m@entry=0x7f69ba85d800 <Gwenview::ImageScaler::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcc8d37b00) at kernel/qobject.cpp:3578
#12 0x00007f69ba619581 in Gwenview::ImageScaler::scaledRect (this=this@entry=0x1530730, _t1=-360, _t2=-202, _t3=...) at /build/gwenview-iJ9mAT/gwenview-15.12.3/obj-x86_64-linux-gnu/lib/moc_imagescaler.cpp:135
#13 0x00007f69ba5d6947 in Gwenview::ImageScaler::scaleRect (this=this@entry=0x1530730, rect=...) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/imagescaler.cpp:132
#14 0x00007f69ba5d70e7 in Gwenview::ImageScaler::doScale (this=0x1530730) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/imagescaler.cpp:122
#15 0x00007f69ba5d71a5 in Gwenview::ImageScaler::setDestinationRegion (this=<optimized out>, region=...) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/imagescaler.cpp:102
#16 0x00007f69ba5b4474 in Gwenview::RasterImageViewPrivate::setScalerRegionToVisibleRect (this=0x1b50340) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/documentview/rasterimageview.cpp:151
#17 Gwenview::RasterImageView::updateBuffer (this=<optimized out>, region=...) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/documentview/rasterimageview.cpp:443
#18 0x00007f69ba5b45e3 in Gwenview::RasterImageView::onZoomChanged (this=0x1845200) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/documentview/rasterimageview.cpp:434
#19 0x00007f69ba5a66b5 in Gwenview::AbstractImageView::setZoom (this=this@entry=0x1845200, zoom=<optimized out>, _center=..., updateType=updateType@entry=Gwenview::AbstractImageView::UpdateIfNecessary) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/documentview/abstractimageview.cpp:220
#20 0x00007f69ba5b3f79 in Gwenview::RasterImageView::updateImageRect (this=0x1845200, imageRect=...) at /build/gwenview-iJ9mAT/gwenview-15.12.3/lib/documentview/rasterimageview.cpp:303
#21 0x00007f69ba61bf39 in Gwenview::RasterImageView::qt_static_metacall (_o=_o@entry=0x1845200, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=5, _a=_a@entry=0x7ffcc8d38000) at /build/gwenview-iJ9mAT/gwenview-15.12.3/obj-x86_64-linux-gnu/lib/moc_rasterimageview.cpp:107
#22 0x00007f69b67c0fca in QMetaObject::activate (sender=0x174c590, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcc8d38000) at kernel/qobject.cpp:3713
#23 0x00007f69b67c17d7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f69ba85e040 <Gwenview::Document::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7ffcc8d38000) at kernel/qobject.cpp:3578
#24 0x00007f69ba618515 in Gwenview::Document::imageRectUpdated (this=<optimized out>, _t1=...) at /build/gwenview-iJ9mAT/gwenview-15.12.3/obj-x86_64-linux-gnu/lib/moc_document.cpp:281
#25 0x00007f69b67c1ea1 in QObject::event (this=0x174c590, e=<optimized out>) at kernel/qobject.cpp:1239
#26 0x00007f69b7a5505c in QApplicationPrivate::notify_helper (this=this@entry=0x12af2a0, receiver=receiver@entry=0x174c590, e=e@entry=0x7f6994008460) at kernel/qapplication.cpp:3716
#27 0x00007f69b7a5a516 in QApplication::notify (this=0x7ffcc8d38660, receiver=0x174c590, e=0x7f6994008460) at kernel/qapplication.cpp:3499
#28 0x00007f69b679262b in QCoreApplication::notifyInternal (this=0x7ffcc8d38660, receiver=0x174c590, event=event@entry=0x7f6994008460) at kernel/qcoreapplication.cpp:965
#29 0x00007f69b6794a26 in QCoreApplication::sendEvent (event=0x7f6994008460, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x12a3500) at kernel/qcoreapplication.cpp:1593
#31 0x00007f69b6794f08 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#32 0x00007f69b67e8673 in postEventSourceDispatch (s=0x12a3dd0) at kernel/qeventdispatcher_glib.cpp:271
#33 0x00007f69b0ea21a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f69b0ea2400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f69b0ea24ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f69b67e8a7f in QEventDispatcherGlib::processEvents (this=0x12f7720, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#37 0x00007f69b678fdea in QEventLoop::exec (this=this@entry=0x7ffcc8d38550, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#38 0x00007f69b6797e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#39 0x00007f69b6acbc3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1542
#40 0x00007f69b7a51495 in QApplication::exec () at kernel/qapplication.cpp:2976
#41 0x000000000044ba70 in main (argc=2, argv=<optimized out>) at /build/gwenview-iJ9mAT/gwenview-15.12.3/app/main.cpp:166

Possible duplicates by query: bug 367661, bug 366262, bug 362796, bug 358862, bug 357548.

Reported using DrKonqi
Comment 1 iyesin+kde 2016-10-07 13:30:52 UTC
Created attachment 101469 [details]
Source file before crop
Comment 2 iyesin+kde 2016-10-07 13:31:36 UTC
Created attachment 101470 [details]
File I want to get but crash accured
Comment 3 Christoph Feck 2016-10-07 21:55:49 UTC

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