Bug 309506 - cropping a cropped but not saved image
Summary: cropping a cropped but not saved image
Status: RESOLVED FIXED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.8.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-04 03:02 UTC by ilpo1lehto
Modified: 2018-09-27 06:30 UTC (History)
3 users (show)

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


Attachments
New crash information added by DrKonqi (10.66 KB, text/plain)
2013-01-25 08:38 UTC, Alexey Shildyakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ilpo1lehto 2012-11-04 03:02:55 UTC
Application: gwenview (2.8.5)
KDE Platform Version: 4.8.5 (4.8.5) (Compiled from sources)
Qt Version: 4.8.2
Operating System: Linux 3.6.2-1.fc16.i686 i686
Distribution: "Fedora release 16 (Verne)"

-- Information about the crash:
I was trying to cropped a cropped but unsaved image when it crashed.

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

Thread 3 (Thread 0xb57a7b40 (LWP 6987)):
#0  __pthread_getspecific (key=2) at pthread_getspecific.c:27
#1  0x4ee2aea4 in g_private_get_posix_impl (private_key=0x8442e50) at gthread-posix.c:290
#2  0x4ed7156c in g_thread_self () at gthread.c:2178
#3  0x4ed494d9 in g_main_context_iteration (context=0xb4e004e0, may_block=1) at gmain.c:3152
#4  0x4148ce27 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x41458c8e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x41458f39 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x413400dc in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x41435bde in ?? () from /usr/lib/libQtCore.so.4
#9  0x41343661 in ?? () from /usr/lib/libQtCore.so.4
#10 0x4ec38cd3 in start_thread (arg=0xb57a7b40) at pthread_create.c:309
#11 0x4eb75d7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb3effb40 (LWP 6995)):
#0  0xb774b424 in __kernel_vsyscall ()
#1  0x4ec3c85c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:172
#2  0x41343be8 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x421366fb in ?? () from /usr/lib/libgwenviewlib.so.4
#4  0x41343661 in ?? () from /usr/lib/libQtCore.so.4
#5  0x4ec38cd3 in start_thread (arg=0xb3effb40) at pthread_create.c:309
#6  0x4eb75d7e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb7719780 (LWP 6985)):
[KCrash Handler]
#7  __memcpy_ssse3 () at ../sysdeps/i386/i686/multiarch/memcpy-ssse3.S:160
#8  0x4408f2e4 in QImage::copy(QRect const&) const () from /usr/lib/libQtGui.so.4
#9  0x420f934d in Gwenview::ImageScaler::scaleRect(QRect const&) () from /usr/lib/libgwenviewlib.so.4
#10 0x420f98c2 in Gwenview::ImageScaler::doScale() () from /usr/lib/libgwenviewlib.so.4
#11 0x420f99b2 in Gwenview::ImageScaler::setDestinationRegion(QRegion const&) () from /usr/lib/libgwenviewlib.so.4
#12 0x420d75d7 in Gwenview::RasterImageView::updateBuffer(QRegion const&) () from /usr/lib/libgwenviewlib.so.4
#13 0x420d76f8 in Gwenview::RasterImageView::resizeEvent(QGraphicsSceneResizeEvent*) () from /usr/lib/libgwenviewlib.so.4
#14 0x446a287f in QGraphicsWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#15 0x43fc1264 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x43fc6633 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x44b652f2 in KApplication::notify (this=0xbfed7ba8, receiver=0x8688bf8, event=0xbfed5f54) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#18 0x4145a09e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x446a3f07 in QGraphicsWidget::setGeometry(QRectF const&) () from /usr/lib/libQtGui.so.4
#20 0x420cca2a in Gwenview::DocumentView::setGeometry(QRectF const&) () from /usr/lib/libgwenviewlib.so.4
#21 0x420cf9d7 in Gwenview::DocumentView::moveTo(QRect const&) () from /usr/lib/libgwenviewlib.so.4
#22 0x420dc438 in Gwenview::DocumentViewContainer::updateLayout() () from /usr/lib/libgwenviewlib.so.4
#23 0x420dcd4a in Gwenview::DocumentViewContainer::resizeEvent(QResizeEvent*) () from /usr/lib/libgwenviewlib.so.4
#24 0x4401bf9f in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#25 0x44437a66 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#26 0x444cb642 in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#27 0x446a080c in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#28 0x444cde06 in ?? () from /usr/lib/libQtGui.so.4
#29 0x4145a246 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#30 0x43fc1233 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#31 0x43fc66db in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x44b652f2 in KApplication::notify (this=0xbfed7ba8, receiver=0x8674090, event=0xbfed68f8) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#33 0x4145a09e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#34 0x4406761e in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) () from /usr/lib/libQtGui.so.4
#35 0x44016825 in QWidget::setGeometry(QRect const&) () from /usr/lib/libQtGui.so.4
#36 0x444cc1cb in QAbstractScrollAreaPrivate::layoutChildren() () from /usr/lib/libQtGui.so.4
#37 0x444cd3ad in QAbstractScrollArea::event(QEvent*) () from /usr/lib/libQtGui.so.4
#38 0x44692b59 in QGraphicsView::event(QEvent*) () from /usr/lib/libQtGui.so.4
#39 0x43fc1264 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#40 0x43fc66db in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#41 0x44b652f2 in KApplication::notify (this=0xbfed7ba8, receiver=0x86611c0, event=0xbfed70a8) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#42 0x4145a09e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#43 0x4406761e in QWidgetPrivate::setGeometry_sys(int, int, int, int, bool) () from /usr/lib/libQtGui.so.4
#44 0x44016825 in QWidget::setGeometry(QRect const&) () from /usr/lib/libQtGui.so.4
#45 0x43ff4789 in QWidgetItem::setGeometry(QRect const&) () from /usr/lib/libQtGui.so.4
#46 0x43fd1bc4 in QBoxLayout::setGeometry(QRect const&) () from /usr/lib/libQtGui.so.4
#47 0x43ff0653 in QLayoutPrivate::doResize(QSize const&) () from /usr/lib/libQtGui.so.4
#48 0x43ff1c3e in QLayout::activate() () from /usr/lib/libQtGui.so.4
#49 0x43ff2006 in QLayout::widgetEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#50 0x43fc1223 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#51 0x43fc66db in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#52 0x44b652f2 in KApplication::notify (this=0xbfed7ba8, receiver=0x8660f40, event=0x859d6a0) at /usr/src/debug/kdelibs-4.8.5/kdeui/kernel/kapplication.cpp:311
#53 0x4145a09e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#54 0x4145dff8 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#55 0x4145e32d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#56 0x4148c9c5 in ?? () from /usr/lib/libQtCore.so.4
#57 0x4ed48aff in g_main_dispatch (context=0x8446c60) at gmain.c:2441
#58 g_main_context_dispatch (context=0x8446c60) at gmain.c:3011
#59 0x4ed49240 in g_main_context_iterate (context=0x8446c60, block=1322614032, dispatch=1, self=0x8447a50) at gmain.c:3089
#60 0x4ed494ef in g_main_context_iteration (context=0x8446c60, may_block=1) at gmain.c:3152
#61 0x4148cdc8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#62 0x44075d1b in ?? () from /usr/lib/libQtGui.so.4
#63 0x41458c8e in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#64 0x41458f39 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#65 0x4145e3db in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#66 0x43fbf095 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#67 0x080662f6 in ?? ()
#68 0x4ea986b3 in __libc_start_main (main=0x8065d70, argc=5, ubp_av=0xbfed7cf4, init=0x80ad280 <__libc_csu_init>, fini=0x80ad2f0 <__libc_csu_fini>, rtld_fini=0x4ea6a2c0 <_dl_fini>, stack_end=0xbfed7cec) at libc-start.c:226
#69 0x0806665d in _start ()

Reported using DrKonqi
Comment 1 Benni Hill 2013-01-19 02:26:37 UTC
Hi,

could you have a look at
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
please, install the debug packages for gwenview and send us a new backtrace?
Thanks.
Comment 2 Alexey Shildyakov 2013-01-25 08:38:59 UTC
Created attachment 76699 [details]
New crash information added by DrKonqi

gwenview (2.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

Use advanced settings for crop. Try reproduce, but the crash didn't happen again.

-- Backtrace (Reduced):
#8  0x06ee4247 in QImage::copy (this=0xbff1d288, r=...) at /usr/include/i386-linux-gnu/bits/string3.h:52
#9  0x00da9ff8 in Gwenview::ImageScaler::scaleRect (this=0x8c6e880, rect=...) at ../../lib/imagescaler.cpp:191
#10 0x00daa552 in Gwenview::ImageScaler::doScale (this=0x8c6e880) at ../../lib/imagescaler.cpp:118
#11 0x00daa621 in Gwenview::ImageScaler::setDestinationRegion (this=0x8c6e880, region=...) at ../../lib/imagescaler.cpp:98
#12 0x00d88da4 in setScalerRegionToVisibleRect (this=0x8ce8ef8) at ../../lib/documentview/rasterimageview.cpp:101
Comment 3 Alexey Shildyakov 2013-01-25 08:43:07 UTC
I added new crash log with required debug symbols installed
Comment 4 Nate Graham 2017-09-10 04:05:10 UTC
Can you reproduce this with a more recent KF5 version of Gwenview?
Comment 5 Alexey Shildyakov 2018-09-27 06:30:58 UTC
Couldn't reproduce on the recent 17.12.3