Bug 345705 - gwenview 4.14.0pre crashes after several subsequent crops
Summary: gwenview 4.14.0pre crashes after several subsequent crops
Status: RESOLVED DUPLICATE of bug 325879
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: Other (add details in bug description)
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-30 22:06 UTC by deviatov
Modified: 2017-09-09 02:27 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deviatov 2015-03-30 22:06:11 UTC
Application: gwenview (4.14.0 pre)
KDE Platform Version: 4.14.3 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.14.14-gentoo_build20141105 x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
I cropped an image several times. The image size was initially ~1600*900 (a screenshot), the final size was going to be 1024*768. I cropped it three times, subsequently decreasing the size, finally I tried to decrease the size to 1032*768, pressed the "crop" button and got a segfault.

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

Thread 2 (Thread 0x7f44bbf76700 (LWP 22249)):
#0  0x00007f44c92e229d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f44c5709e44 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f44b4003480, timeout=-1, context=0x7f44b40009a0) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7f44b40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3729
#3  0x00007f44c5709f4c in g_main_context_iteration (context=0x7f44b40009a0, may_block=1) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3795
#4  0x00007f44cb43357e in QEventDispatcherGlib::processEvents (this=0x7f44b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f44cb403d6f in QEventLoop::processEvents (this=this@entry=0x7f44bbf75dc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f44cb403ff8 in QEventLoop::exec (this=this@entry=0x7f44bbf75dc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f44cb307440 in QThread::exec (this=this@entry=0xfa8790) at thread/qthread.cpp:536
#8  0x00007f44cb3e5a9f in QInotifyFileSystemWatcherEngine::run (this=0xfa8790) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f44cb309bcc in QThreadPrivate::start (arg=0xfa8790) at thread/qthread_unix.cpp:338
#10 0x00007f44c5e6a1da in start_thread (arg=0x7f44bbf76700) at pthread_create.c:309
#11 0x00007f44c92ebd7d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f44cc5d1800 (LWP 22248)):
[KCrash Handler]
#6  Gwenview::Document::url (this=0x0) at /var/tmp/portage/kde-base/gwenview-4.14.3/work/gwenview-4.14.3/lib/document/document.cpp:271
#7  0x00007f44cbee6184 in Gwenview::AbstractImageOperation::applyToDocument (this=this@entry=0x12cc250, doc=...) at /var/tmp/portage/kde-base/gwenview-4.14.3/work/gwenview-4.14.3/lib/abstractimageoperation.cpp:76
#8  0x0000000000437c71 in Gwenview::ImageOpsContextManagerItem::applyImageOperation (this=<optimized out>, op=0x12cc250) at /var/tmp/portage/kde-base/gwenview-4.14.3/work/gwenview-4.14.3/app/imageopscontextmanageritem.cpp:296
#9  0x00007f44cb4194ef in QMetaObject::activate (sender=sender@entry=0x1088a20, m=m@entry=0x7f44cc15f3a0 <Gwenview::CropTool::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffeb7e2260) at kernel/qobject.cpp:3547
#10 0x00007f44cbec2952 in Gwenview::CropTool::imageOperationRequested (this=this@entry=0x1088a20, _t1=_t1@entry=0x12cc250) at /var/tmp/portage/kde-base/gwenview-4.14.3/work/gwenview-4.14.3_build/lib/croptool.moc:122
#11 0x00007f44cbec2e41 in Gwenview::CropTool::slotCropRequested (this=0x1088a20) at /var/tmp/portage/kde-base/gwenview-4.14.3/work/gwenview-4.14.3/lib/crop/croptool.cpp:413
#12 0x00007f44cb4194ef in QMetaObject::activate (sender=0x1880ab0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#13 0x00007f44cb4194ef in QMetaObject::activate (sender=0x185cb00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#14 0x00007f44cb4194ef in QMetaObject::activate (sender=sender@entry=0x185d080, m=m@entry=0x7f44ca9ecda0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffeb7e2640) at kernel/qobject.cpp:3547
#15 0x00007f44ca596382 in QAbstractButton::clicked (this=this@entry=0x185d080, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#16 0x00007f44ca2ed73e in QAbstractButtonPrivate::emitClicked (this=this@entry=0x185d0b0) at widgets/qabstractbutton.cpp:548
#17 0x00007f44ca2edf30 in QAbstractButtonPrivate::click (this=this@entry=0x185d0b0) at widgets/qabstractbutton.cpp:541
#18 0x00007f44ca2ee19c in QAbstractButton::mouseReleaseEvent (this=0x185d080, e=0x7fffeb7e2ee0) at widgets/qabstractbutton.cpp:1123
#19 0x00007f44c9fa43d9 in QWidget::event (this=0x185d080, event=0x7fffeb7e2ee0) at kernel/qwidget.cpp:8376
#20 0x00007f44c9f5722c in QApplicationPrivate::notify_helper (this=this@entry=0xead540, receiver=receiver@entry=0x185d080, e=e@entry=0x7fffeb7e2ee0) at kernel/qapplication.cpp:4562
#21 0x00007f44c9f5a3fb in QApplication::notify (this=this@entry=0x7fffeb7e3a50, receiver=receiver@entry=0x185d080, e=e@entry=0x7fffeb7e2ee0) at kernel/qapplication.cpp:4105
#22 0x00007f44cac4039a in KApplication::notify (this=0x7fffeb7e3a50, receiver=0x185d080, event=0x7fffeb7e2ee0) at /var/tmp/portage/kde-base/kdelibs-4.14.3-r1/work/kdelibs-4.14.3/kdeui/kernel/kapplication.cpp:311
#23 0x00007f44cb4050be in QCoreApplication::notifyInternal (this=0x7fffeb7e3a50, receiver=receiver@entry=0x185d080, event=event@entry=0x7fffeb7e2ee0) at kernel/qcoreapplication.cpp:949
#24 0x00007f44c9f5d2cb in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x185d080, event=event@entry=0x7fffeb7e2ee0, alienWidget=alienWidget@entry=0x185d080, nativeWidget=nativeWidget@entry=0xfc06e0, buttonDown=buttonDown@entry=0x7f44ca9ff1e8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#26 0x00007f44c9fcff04 in QETWidget::translateMouseEvent (this=this@entry=0xfc06e0, event=event@entry=0x7fffeb7e3630) at kernel/qapplication_x11.cpp:4517
#27 0x00007f44c9fce801 in QApplication::x11ProcessEvent (this=0x7fffeb7e3a50, event=event@entry=0x7fffeb7e3630) at kernel/qapplication_x11.cpp:3640
#28 0x00007f44c9ff71f2 in x11EventSourceDispatch (s=0xead3f0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0x00007f44c5709c64 in g_main_dispatch (context=0xeaf020) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3064
#30 g_main_context_dispatch (context=context@entry=0xeaf020) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3663
#31 0x00007f44c5709ea8 in g_main_context_iterate (context=context@entry=0xeaf020, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3734
#32 0x00007f44c5709f4c in g_main_context_iteration (context=0xeaf020, may_block=1) at /var/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gmain.c:3795
#33 0x00007f44cb43357e in QEventDispatcherGlib::processEvents (this=0xe86da0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#34 0x00007f44c9ff72ce in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f44cb403d6f in QEventLoop::processEvents (this=this@entry=0x7fffeb7e3a00, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f44cb403ff8 in QEventLoop::exec (this=this@entry=0x7fffeb7e3a00, flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f44cb409238 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#38 0x00007f44c9f55b9c in QApplication::exec () at kernel/qapplication.cpp:3823
#39 0x00000000004209ad in main (argc=<optimized out>, argv=0x7fffeb7e3b98) at /var/tmp/portage/kde-base/gwenview-4.14.3/work/gwenview-4.14.3/app/main.cpp:145

The reporter indicates this bug may be a duplicate of or related to bug 325879.

Possible duplicates by query: bug 325879.


Reproducible: Didn't try
Comment 1 Nate Graham 2017-09-09 02:27:26 UTC

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