Bug 325879 - Gwenview crashed after cropping two images
Summary: Gwenview crashed after cropping two images
Status: RESOLVED NOT A BUG
Alias: None
Product: gwenview
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.11.2
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
: 345705 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-11 10:38 UTC by Diego
Modified: 2017-09-09 02:27 UTC (History)
3 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 Diego 2013-10-11 10:38:01 UTC
Application: gwenview (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.11.3-201.fc19.x86_64 x86_64
Distribution: "Fedora release 19 (Schrödinger’s Cat)"

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

This is what I did before getting the crash:
1) opened an image from the Mass Storage provided by my Android phone with the sd card;
2) cropped, resized and saved to my home dir
3) changed image, cropped and...
4) ... crash!

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7ff8a57518c0 (LWP 4096))]

Thread 4 (Thread 0x7ff884c21700 (LWP 4102)):
#0  g_mutex_get_impl (mutex=0x7ff8780009a0) at gthread-posix.c:121
#1  0x00007ff89c911279 in g_mutex_unlock (mutex=mutex@entry=0x7ff8780009a0) at gthread-posix.c:229
#2  0x00007ff89c8d1280 in g_main_context_acquire (context=0x7ff8780009a0) at gmain.c:3129
#3  0x00007ff89c8d1fb5 in g_main_context_iterate (context=context@entry=0x7ff8780009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3651
#4  0x00007ff89c8d21fc in g_main_context_iteration (context=0x7ff8780009a0, may_block=1) at gmain.c:3762
#5  0x00007ff8a42b1166 in QEventDispatcherGlib::processEvents (this=0x7ff8780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007ff8a4282ecf in QEventLoop::processEvents (this=this@entry=0x7ff884c20ce0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff8a42831c5 in QEventLoop::exec (this=this@entry=0x7ff884c20ce0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff8a418266f in QThread::exec (this=this@entry=0x16e08f0) at thread/qthread.cpp:536
#9  0x00007ff8a4264733 in QInotifyFileSystemWatcherEngine::run (this=0x16e08f0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007ff8a4184d0f in QThreadPrivate::start (arg=0x16e08f0) at thread/qthread_unix.cpp:338
#11 0x00007ff8a3ef5c53 in start_thread (arg=0x7ff884c21700) at pthread_create.c:308
#12 0x00007ff8a0a81e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7ff87d6e8700 (LWP 4110)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff8a41851e6 in wait (time=18446744073709551615, this=0x1468ca0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x14bcc50, mutex=mutex@entry=0x14bcc48, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff8a50b1cb6 in Gwenview::SemanticInfoThread::run (this=0x14bcc30) at /usr/src/debug/gwenview-4.11.2/lib/semanticinfo/nepomuksemanticinfobackend.cpp:145
#4  0x00007ff8a4184d0f in QThreadPrivate::start (arg=0x14bcc30) at thread/qthread_unix.cpp:338
#5  0x00007ff8a3ef5c53 in start_thread (arg=0x7ff87d6e8700) at pthread_create.c:308
#6  0x00007ff8a0a81e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7ff87cee7700 (LWP 4123)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff8a41851e6 in wait (time=18446744073709551615, this=0x1586430) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x13aafa0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff8a5091803 in Gwenview::ThumbnailGenerator::run (this=0x13aaf40) at /usr/src/debug/gwenview-4.11.2/lib/thumbnailprovider/thumbnailgenerator.cpp:209
#4  0x00007ff8a4184d0f in QThreadPrivate::start (arg=0x13aaf40) at thread/qthread_unix.cpp:338
#5  0x00007ff8a3ef5c53 in start_thread (arg=0x7ff87cee7700) at pthread_create.c:308
#6  0x00007ff8a0a81e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7ff8a57518c0 (LWP 4096)):
[KCrash Handler]
#6  Gwenview::Document::url (this=0x0) at /usr/src/debug/gwenview-4.11.2/lib/document/document.cpp:271
#7  0x00007ff8a50613b4 in Gwenview::AbstractImageOperation::applyToDocument (this=this@entry=0x1cae350, doc=...) at /usr/src/debug/gwenview-4.11.2/lib/abstractimageoperation.cpp:76
#8  0x0000000000442641 in Gwenview::ImageOpsContextManagerItem::applyImageOperation (this=<optimized out>, op=0x1cae350) at /usr/src/debug/gwenview-4.11.2/app/imageopscontextmanageritem.cpp:284
#9  0x00007ff8a4297f78 in QMetaObject::activate (sender=0x2683060, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffdebd040) at kernel/qobject.cpp:3547
#10 0x00007ff8a503dba2 in Gwenview::CropTool::imageOperationRequested (this=<optimized out>, _t1=0x1cae350) at /usr/src/debug/gwenview-4.11.2/x86_64-redhat-linux-gnu/lib/croptool.moc:122
#11 0x00007ff8a503e091 in Gwenview::CropTool::slotCropRequested (this=0x2683060) at /usr/src/debug/gwenview-4.11.2/lib/crop/croptool.cpp:413
#12 0x00007ff8a4297f78 in QMetaObject::activate (sender=0x15196a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#13 0x00007ff8a4297f78 in QMetaObject::activate (sender=0x14deac0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#14 0x00007ff8a4297f78 in QMetaObject::activate (sender=sender@entry=0x1c37160, m=m@entry=0x7ff8a2ba1400 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffffdebd390) at kernel/qobject.cpp:3547
#15 0x00007ff8a271eb22 in QAbstractButton::clicked (this=this@entry=0x1c37160, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:219
#16 0x00007ff8a2484703 in QAbstractButtonPrivate::emitClicked (this=this@entry=0x2a10790) at widgets/qabstractbutton.cpp:548
#17 0x00007ff8a2485903 in QAbstractButtonPrivate::click (this=this@entry=0x2a10790) at widgets/qabstractbutton.cpp:541
#18 0x00007ff8a24859ec in QAbstractButton::mouseReleaseEvent (this=0x1c37160, e=0x7ffffdebd880) at widgets/qabstractbutton.cpp:1123
#19 0x00007ff8a2127b1e in QWidget::event (this=0x1c37160, event=0x7ffffdebd880) at kernel/qwidget.cpp:8376
#20 0x00007ff8a20d84dc in QApplicationPrivate::notify_helper (this=0x12be360, receiver=0x1c37160, e=0x7ffffdebd880) at kernel/qapplication.cpp:4562
#21 0x00007ff8a20debdd in QApplication::notify (this=this@entry=0x7ffffdebe030, receiver=receiver@entry=0x1c37160, e=e@entry=0x7ffffdebd880) at kernel/qapplication.cpp:4105
#22 0x00007ff8a2df6e9a in KApplication::notify (this=0x7ffffdebe030, receiver=0x1c37160, event=0x7ffffdebd880) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/kapplication.cpp:311
#23 0x00007ff8a428426d in QCoreApplication::notifyInternal (this=0x7ffffdebe030, receiver=0x1c37160, event=0x7ffffdebd880) at kernel/qcoreapplication.cpp:949
#24 0x00007ff8a20de393 in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x1c37160, event=event@entry=0x7ffffdebd880, alienWidget=alienWidget@entry=0x1c37160, nativeWidget=nativeWidget@entry=0x13646c0, buttonDown=buttonDown@entry=0x7ff8a2bb3258 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at ../../src/corelib/kernel/qcoreapplication.h:231
#25 0x00007ff8a214f92b in QETWidget::translateMouseEvent (this=this@entry=0x13646c0, event=event@entry=0x7ffffdebdbf0) at kernel/qapplication_x11.cpp:4538
#26 0x00007ff8a214e39c in QApplication::x11ProcessEvent (this=0x7ffffdebe030, event=event@entry=0x7ffffdebdbf0) at kernel/qapplication_x11.cpp:3661
#27 0x00007ff8a2174e54 in x11EventSourceDispatch (s=s@entry=0x12c0270, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#28 0x00007ff89c8d1e06 in g_main_dispatch (context=0x12ba130) at gmain.c:3054
#29 g_main_context_dispatch (context=context@entry=0x12ba130) at gmain.c:3630
#30 0x00007ff89c8d2158 in g_main_context_iterate (context=context@entry=0x12ba130, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3701
#31 0x00007ff89c8d21fc in g_main_context_iteration (context=0x12ba130, may_block=1) at gmain.c:3762
#32 0x00007ff8a42b1145 in QEventDispatcherGlib::processEvents (this=0x1284e70, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#33 0x00007ff8a2174fc6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#34 0x00007ff8a4282ecf in QEventLoop::processEvents (this=this@entry=0x7ffffdebdfd0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007ff8a42831c5 in QEventLoop::exec (this=this@entry=0x7ffffdebdfd0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007ff8a428845b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#37 0x00007ff8a20d6c9c in QApplication::exec () at kernel/qapplication.cpp:3823
#38 0x0000000000427ced in main (argc=<optimized out>, argv=0x7ffffdebe178) at /usr/src/debug/gwenview-4.11.2/app/main.cpp:139

Reported using DrKonqi
Comment 1 Shlomi Fish 2015-01-07 13:51:53 UTC
I was able to crop two images in succession fine using :

«
shlomif@telaviv1:~/Docs/Images/Photos/Test-gwenview-crash-bug-305222$ gwenview --version
Qt: 4.8.6
KDE Development Platform: 4.14.3
Gwenview: 4.14.0 pre
shlomif@telaviv1:~/Docs/Images/Photos/Test-gwenview-crash-bug-305222$ 
»

I'm closing this bug, because it seems fixed since then, but feel free to reopen if you can provide offending images and a reproducing recipe with recent gwenview.
Comment 2 Nate Graham 2017-09-09 02:27:26 UTC
*** Bug 345705 has been marked as a duplicate of this bug. ***