Bug 277384 - Gwenview crashes while saving a bunch of pictures [ Gwenview::JpegContent::rawData, Gwenview::JpegDocumentLoadedImpl::rawData ]
Summary: Gwenview crashes while saving a bunch of pictures [ Gwenview::JpegContent::ra...
Status: REPORTED
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: 2.6
Platform: Ubuntu Linux
: HI crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords:
: 261899 290211 328210 332175 389486 475875 479305 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-08 20:22 UTC by Kalsan
Modified: 2024-01-02 16:47 UTC (History)
15 users (show)

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


Attachments
New crash information added by DrKonqi (12.44 KB, text/plain)
2011-08-19 16:42 UTC, Kalsan
Details
New crash information added by DrKonqi (15.89 KB, text/plain)
2012-08-17 14:31 UTC, Avihay
Details
New crash information added by DrKonqi (12.87 KB, text/plain)
2012-10-07 11:05 UTC, Timon Zielonka
Details
New crash information added by DrKonqi (11.61 KB, text/plain)
2012-10-22 06:29 UTC, sergio
Details
New crash information added by DrKonqi (11.55 KB, text/plain)
2014-05-30 02:26 UTC, mauroredin
Details
New crash information added by DrKonqi (19.30 KB, text/plain)
2020-02-15 11:03 UTC, Jonáš Vidra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kalsan 2011-07-08 20:22:03 UTC
Application: gwenview (2.6.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I rotated a bunch of pictures and cropped one, then I saved all the pictures at once. While saving the last one, Gwenview crashed. The last DSCN...new.jpg file did not get deleted, and the corresponding picture was not touched.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0xb76f1930 (LWP 2655))]

Thread 4 (Thread 0xb5572b70 (LWP 2659)):
#0  0x00d17416 in __kernel_vsyscall ()
#1  0x00dd9f76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0370284b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x036f21af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x036f2524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0050a577 in QEventDispatcherGlib::processEvents (this=0x8ab0a20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x004dc289 in QEventLoop::processEvents (this=0xb5572290, flags=...) at kernel/qeventloop.cpp:149
#7  0x004dc522 in QEventLoop::exec (this=0xb5572290, flags=...) at kernel/qeventloop.cpp:201
#8  0x003e62a0 in QThread::exec (this=0x8aa3a40) at thread/qthread.cpp:492
#9  0x004bdfdb in QInotifyFileSystemWatcherEngine::run (this=0x8aa3a40) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x003e8da2 in QThreadPrivate::start (arg=0x8aa3a40) at thread/qthread_unix.cpp:320
#11 0x0063be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x00de873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb3378b70 (LWP 2664)):
#0  0x00d17416 in __kernel_vsyscall ()
#1  0x0064048c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x00df63fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x003e9467 in wait (this=0x8a1e8e8, mutex=0x8a1e8e4, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x8a1e8e8, mutex=0x8a1e8e4, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x001b97ff in Gwenview::SemanticInfoThread::run (this=0x8a1e8d8) at ../../../gwenview/lib/semanticinfo/nepomuksemanticinfobackend.cpp:135
#6  0x003e8da2 in QThreadPrivate::start (arg=0x8a1e8d8) at thread/qthread_unix.cpp:320
#7  0x0063be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x00de873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xb05dfb70 (LWP 2666)):
#0  0x00df67ba in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0x00dd9f60 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0370284b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x036f21af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x036f2524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0050a577 in QEventDispatcherGlib::processEvents (this=0x8ffc500, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x004dc289 in QEventLoop::processEvents (this=0xb05df290, flags=...) at kernel/qeventloop.cpp:149
#7  0x004dc522 in QEventLoop::exec (this=0xb05df290, flags=...) at kernel/qeventloop.cpp:201
#8  0x003e62a0 in QThread::exec (this=0x9003100) at thread/qthread.cpp:492
#9  0x004bdfdb in QInotifyFileSystemWatcherEngine::run (this=0x9003100) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x003e8da2 in QThreadPrivate::start (arg=0x9003100) at thread/qthread_unix.cpp:320
#11 0x0063be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x00de873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb76f1930 (LWP 2655)):
[KCrash Handler]
#7  ref (this=0xb48a1278) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QByteArray (this=0xb48a1278) at /usr/include/qt4/QtCore/qbytearray.h:422
#9  Gwenview::JpegContent::rawData (this=0xb48a1278) at ../../../gwenview/lib/jpegcontent.cpp:254
#10 0x0015c12e in Gwenview::JpegDocumentLoadedImpl::rawData (this=0x9ac38b0) at ../../../gwenview/lib/document/jpegdocumentloadedimpl.cpp:87
#11 0x0015700e in Gwenview::Document::rawData (this=0x95ba558) at ../../../gwenview/lib/document/document.cpp:199
#12 0x001571bc in Gwenview::Document::memoryUsage (this=0x95ba558) at ../../../gwenview/lib/document/document.cpp:294
#13 0x0808f5ad in updateTooManyChangesFrame (this=0x89f6168) at ../../../gwenview/app/savebar.cpp:160
#14 Gwenview::SaveBar::updateContent (this=0x89f6168) at ../../../gwenview/app/savebar.cpp:342
#15 0x08090013 in Gwenview::SaveBar::qt_metacall (this=0x89f6168, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfdcebcc) at ./savebar.moc:81
#16 0x004e36ba in QMetaObject::metacall (object=0x89f6168, cl=QMetaObject::InvokeMetaMethod, idx=33, argv=0xbfdcebcc) at kernel/qmetaobject.cpp:237
#17 0x004f34ff in QMetaObject::activate (sender=0x1d0a48, m=0x1cb408, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#18 0x001596c7 in Gwenview::DocumentFactory::modifiedDocumentListChanged (this=0x1d0a48) at ./documentfactory.moc:102
#19 0x0015a500 in Gwenview::DocumentFactory::slotSaved (this=0x1d0a48, oldUrl=..., newUrl=...) at ../../../gwenview/lib/document/documentfactory.cpp:210
#20 0x0015a8ec in Gwenview::DocumentFactory::qt_metacall (this=0x1d0a48, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfdcedb4) at ./documentfactory.moc:89
#21 0x004e36ba in QMetaObject::metacall (object=0x1d0a48, cl=QMetaObject::InvokeMetaMethod, idx=8, argv=0xbfdcedb4) at kernel/qmetaobject.cpp:237
#22 0x004f34ff in QMetaObject::activate (sender=0x94a6278, m=0x1cb388, local_signal_index=6, argv=0xbfdcedb4) at kernel/qobject.cpp:3287
#23 0x00156cc9 in Gwenview::Document::saved (this=0x94a6278, _t1=..., _t2=...) at ./document.moc:172
#24 0x0015743c in Gwenview::Document::slotSaveResult (this=0x94a6278, job=0x9002d68) at ../../../gwenview/lib/document/document.cpp:250
#25 0x00158e4f in Gwenview::Document::qt_metacall (this=0x94a6278, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfdcef38) at ./document.moc:118
#26 0x004e36ba in QMetaObject::metacall (object=0x94a6278, cl=QMetaObject::InvokeMetaMethod, idx=20, argv=0xbfdcef38) at kernel/qmetaobject.cpp:237
#27 0x004f34ff in QMetaObject::activate (sender=0x9002d68, m=0xbd6548, local_signal_index=3, argv=0xbfdcef38) at kernel/qobject.cpp:3287
#28 0x00a81e93 in KJob::result (this=0x9002d68, _t1=0x9002d68) at ./kjob.moc:194
#29 0x00a81ee8 in KJob::emitResult (this=0x9002d68) at ../../kdecore/jobs/kjob.cpp:312
#30 0x00160d90 in emitResult (this=0x9002d68) at ../../../gwenview/lib/../lib/document/documentjob.h:77
#31 Gwenview::SaveJob::finishSave (this=0x9002d68) at ../../../gwenview/lib/document/savejob.cpp:134
#32 0x0014df6b in Gwenview::SaveJob::qt_metacall (this=0x9002d68, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfdcf0bc) at moc_savejob.cpp:77
#33 0x004e36ba in QMetaObject::metacall (object=0x9002d68, cl=QMetaObject::InvokeMetaMethod, idx=32, argv=0xbfdcf0bc) at kernel/qmetaobject.cpp:237
#34 0x004f34ff in QMetaObject::activate (sender=0x9c64e48, m=0x617a68, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3287
#35 0x0053cf37 in QFutureWatcherBase::finished (this=0x9c64e48) at .moc/release-shared/moc_qfuturewatcher.cpp:127
#36 0x003d8ef4 in QFutureWatcherBasePrivate::sendCallOutEvent (this=0x9c58c98, event=0xadb18ed8) at concurrent/qfuturewatcher.cpp:430
#37 0x003d91ca in QFutureWatcherBase::event (this=0x9c64e48, event=0xadb18ed8) at concurrent/qfuturewatcher.cpp:344
#38 0x04dead24 in QApplicationPrivate::notify_helper (this=0x89a0ed0, receiver=0x9c64e48, e=0xadb18ed8) at kernel/qapplication.cpp:4462
#39 0x04def8ce in QApplication::notify (this=0xbfdd0b98, receiver=0x9c64e48, e=0xadb18ed8) at kernel/qapplication.cpp:3862
#40 0x010a63ca in KApplication::notify (this=0xbfdd0b98, receiver=0x9c64e48, event=0xadb18ed8) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x004dd0bb in QCoreApplication::notifyInternal (this=0xbfdd0b98, receiver=0x9c64e48, event=0xadb18ed8) at kernel/qcoreapplication.cpp:731
#42 0x004e0c79 in sendEvent (receiver=0x0, event_type=0, data=0x8968f68) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8968f68) at kernel/qcoreapplication.cpp:1372
#44 0x004e0e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#45 0x0050a3c4 in sendPostedEvents (s=0x89a3a70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=0x89a3a70) at kernel/qeventdispatcher_glib.cpp:277
#47 0x036f1aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#48 0x036f2270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#49 0x036f2524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#50 0x0050a53c in QEventDispatcherGlib::processEvents (this=0x8968ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#51 0x04e9e775 in QGuiEventDispatcherGlib::processEvents (this=0x8968ac0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x004dc289 in QEventLoop::processEvents (this=0xbfdcf840, flags=...) at kernel/qeventloop.cpp:149
#53 0x004dc522 in QEventLoop::exec (this=0xbfdcf840, flags=...) at kernel/qeventloop.cpp:201
#54 0x05308003 in QDialog::exec (this=0x9c88b80) at dialogs/qdialog.cpp:552
#55 0x0808d829 in Gwenview::SaveAllHelper::save (this=0xbfdcf944) at ../../../gwenview/app/saveallhelper.cpp:79
#56 0x08067b57 in Gwenview::GvCore::saveAll (this=0x8a34218) at ../../../gwenview/app/gvcore.cpp:166
#57 0x0806272b in Gwenview::GvCore::qt_metacall (this=0x8a34218, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfdcfa2c) at moc_gvcore.cpp:82
#58 0x004e36ba in QMetaObject::metacall (object=0x8a34218, cl=QMetaObject::InvokeMetaMethod, idx=4, argv=0xbfdcfa2c) at kernel/qmetaobject.cpp:237
#59 0x004f34ff in QMetaObject::activate (sender=0x89f6168, m=0x80a8440, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#60 0x0808e299 in Gwenview::SaveBar::requestSaveAll (this=0x89f6168) at ./savebar.moc:93
#61 0x0809003f in Gwenview::SaveBar::qt_metacall (this=0x89f6168, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfdcfb88) at ./savebar.moc:79
#62 0x004e36ba in QMetaObject::metacall (object=0x89f6168, cl=QMetaObject::InvokeMetaMethod, idx=31, argv=0xbfdcfb88) at kernel/qmetaobject.cpp:237
#63 0x004f34ff in QMetaObject::activate (sender=0x8a3a4f0, m=0x572e884, local_signal_index=2, argv=0xbfdcfb88) at kernel/qobject.cpp:3287
#64 0x054d3d39 in QAbstractButton::clicked (this=0x8a3a4f0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#65 0x051eb896 in QAbstractButtonPrivate::emitClicked (this=0x8a3a508) at widgets/qabstractbutton.cpp:546
#66 0x051ed104 in QAbstractButtonPrivate::click (this=0x8a3a508) at widgets/qabstractbutton.cpp:539
#67 0x051ed3be in QAbstractButton::mouseReleaseEvent (this=0x8a3a4f0, e=0xbfdd02f4) at widgets/qabstractbutton.cpp:1121
#68 0x052be33c in QToolButton::mouseReleaseEvent (this=0x8a3a4f0, e=0xbfdd02f4) at widgets/qtoolbutton.cpp:721
#69 0x04e4313a in QWidget::event (this=0x8a3a4f0, event=0xbfdd02f4) at kernel/qwidget.cpp:8259
#70 0x051ec40e in QAbstractButton::event (this=0x8a3a4f0, e=0xbfdd02f4) at widgets/qabstractbutton.cpp:1080
#71 0x052bfa6a in QToolButton::event (this=0x8a3a4f0, event=0xbfdd02f4) at widgets/qtoolbutton.cpp:1163
#72 0x04dead24 in QApplicationPrivate::notify_helper (this=0x89a0ed0, receiver=0x8a3a4f0, e=0xbfdd02f4) at kernel/qapplication.cpp:4462
#73 0x04df0201 in QApplication::notify (this=0xbfdd0b98, receiver=0x8a3a4f0, e=0xbfdd02f4) at kernel/qapplication.cpp:4023
#74 0x010a63ca in KApplication::notify (this=0xbfdd0b98, receiver=0x8a3a4f0, event=0xbfdd02f4) at ../../kdeui/kernel/kapplication.cpp:311
#75 0x004dd0bb in QCoreApplication::notifyInternal (this=0xbfdd0b98, receiver=0x8a3a4f0, event=0xbfdd02f4) at kernel/qcoreapplication.cpp:731
#76 0x04debc3b in sendSpontaneousEvent (receiver=0x8a3a4f0, event=0xbfdd02f4, alienWidget=0x8a3a4f0, nativeWidget=0x89f6598, buttonDown=0x5737c60, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#77 QApplicationPrivate::sendMouseEvent (receiver=0x8a3a4f0, event=0xbfdd02f4, alienWidget=0x8a3a4f0, nativeWidget=0x89f6598, buttonDown=0x5737c60, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3120
#78 0x04e752bc in QETWidget::translateMouseEvent (this=0x89f6598, event=0xbfdd081c) at kernel/qapplication_x11.cpp:4556
#79 0x04e73746 in QApplication::x11ProcessEvent (this=0xbfdd0b98, event=0xbfdd081c) at kernel/qapplication_x11.cpp:3678
#80 0x04e9eb84 in x11EventSourceDispatch (s=0x89a3f40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#81 0x036f1aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#82 0x036f2270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#83 0x036f2524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#84 0x0050a53c in QEventDispatcherGlib::processEvents (this=0x8968ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#85 0x04e9e775 in QGuiEventDispatcherGlib::processEvents (this=0x8968ac0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#86 0x004dc289 in QEventLoop::processEvents (this=0xbfdd0ae4, flags=...) at kernel/qeventloop.cpp:149
#87 0x004dc522 in QEventLoop::exec (this=0xbfdd0ae4, flags=...) at kernel/qeventloop.cpp:201
#88 0x004e0ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#89 0x04de88e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#90 0x0807f401 in main (argc=0, argv=0x0) at ../../../gwenview/app/main.cpp:139

This bug may be a duplicate of or related to bug 261899.

Possible duplicates by query: bug 261899.

Reported using DrKonqi
Comment 1 Kalsan 2011-08-19 16:42:26 UTC
Created attachment 62982 [details]
New crash information added by DrKonqi

gwenview (2.6.0) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
Cropping a pic and rotating some, than saving all -> crash while saving after a few pics. Shortly before, Gwenview overloaded my computer with processor and HDD activity without reason.

-- Backtrace (Reduced):
#7  ref (this=0xb3b79c68) at /usr/include/qt4/QtCore/qatomic_i386.h:120
#8  QByteArray (this=0xb3b79c68) at /usr/include/qt4/QtCore/qbytearray.h:422
#9  Gwenview::JpegContent::rawData (this=0xb3b79c68) at ../../../gwenview/lib/jpegcontent.cpp:254
#10 0x0036512e in Gwenview::JpegDocumentLoadedImpl::rawData (this=0xb3d134c0) at ../../../gwenview/lib/document/jpegdocumentloadedimpl.cpp:87
#11 0x0036000e in Gwenview::Document::rawData (this=0x86c7260) at ../../../gwenview/lib/document/document.cpp:199
Comment 2 Jekyll Wu 2011-11-10 15:43:11 UTC
*** Bug 261899 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2012-05-29 03:31:20 UTC
*** Bug 290211 has been marked as a duplicate of this bug. ***
Comment 4 Avihay 2012-08-17 14:31:27 UTC
Created attachment 73256 [details]
New crash information added by DrKonqi

gwenview (2.8.2) on KDE Platform 4.8.2 (4.8.2) using Qt 4.8.1

- What I was doing when the application crashed:

I rotated a bunch of images, then hit the Save changes button, and let Gwenview do it's thing.
about half way through it crashed. I don't think any picture was corrupted, though I was left with a bunch of empty .new files there.
Among the .new files, there were actually two files with full size, and they both seem uncorrupted, as do their counterparts real images.

Re-rotated the rest of the pictures without any issue, and then deleted the .new  files.

-- Backtrace (Reduced):
#8  QByteArray (a=..., this=0xbf9ac4ec) at /usr/include/qt4/QtCore/qbytearray.h:422
#9  Gwenview::JpegContent::rawData (this=0xb4acffb8) at ../../lib/jpegcontent.cpp:261
#10 0x009349df in Gwenview::JpegDocumentLoadedImpl::rawData (this=0x9bc3420) at ../../lib/document/jpegdocumentloadedimpl.cpp:88
#11 0x0092f7cd in Gwenview::Document::rawData (this=0x9aa9678) at ../../lib/document/document.cpp:203
#12 0x0092f97e in Gwenview::Document::memoryUsage (this=0x9aa9678) at ../../lib/document/document.cpp:297
Comment 5 Timon Zielonka 2012-10-07 11:05:02 UTC
Created attachment 74385 [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:

Saving the second bound of changes (13 and than 4 crashed at the last picture)

-- Backtrace (Reduced):
#8  QByteArray (a=..., this=0xbfaf201c) at /usr/include/qt4/QtCore/qbytearray.h:440
#9  Gwenview::JpegContent::rawData (this=0xb1527e40) at ../../lib/jpegcontent.cpp:261
#10 0x00165f4f in Gwenview::JpegDocumentLoadedImpl::rawData (this=0x9e38418) at ../../lib/document/jpegdocumentloadedimpl.cpp:88
#11 0x001608cd in Gwenview::Document::rawData (this=0x9a28fd8) at ../../lib/document/document.cpp:203
#12 0x00160a7e in Gwenview::Document::memoryUsage (this=0x9a28fd8) at ../../lib/document/document.cpp:297
Comment 6 sergio 2012-10-22 06:29:41 UTC
Created attachment 74713 [details]
New crash information added by DrKonqi

gwenview (2.9.1) on KDE Platform 4.9.2 using Qt 4.8.2

- What I was doing when the application crashed:

I rotate seven images then when i click on "save all" Gwenwiew crashed

-- Backtrace (Reduced):
#8  QByteArray (a=..., this=0xbf91e51c) at /usr/include/qt4/QtCore/qbytearray.h:440
#9  Gwenview::JpegContent::rawData (this=0xb136b938) at ../../lib/jpegcontent.cpp:261
#10 0x005f364f in Gwenview::JpegDocumentLoadedImpl::rawData (this=0xa081808) at ../../lib/document/jpegdocumentloadedimpl.cpp:88
#11 0x005edfcd in Gwenview::Document::rawData (this=0x9f6d918) at ../../lib/document/document.cpp:203
#12 0x005ee17e in Gwenview::Document::memoryUsage (this=0x9f6d918) at ../../lib/document/document.cpp:297
Comment 7 Christoph Feck 2013-11-29 14:16:15 UTC
*** Bug 328210 has been marked as a duplicate of this bug. ***
Comment 8 Jekyll Wu 2014-03-15 14:10:09 UTC
*** Bug 332175 has been marked as a duplicate of this bug. ***
Comment 9 mauroredin 2014-05-30 02:26:43 UTC
Created attachment 86914 [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:
I was rotating the fotos and pictures with the Gwenview. Then get crashed, and no one get saved.

-- Backtrace (Reduced):
#8  QByteArray (a=..., this=0xbfef589c) at /usr/include/qt4/QtCore/qbytearray.h:440
#9  Gwenview::JpegContent::rawData (this=0xb3739cb0) at ../../lib/jpegcontent.cpp:261
#10 0x00823f4f in Gwenview::JpegDocumentLoadedImpl::rawData (this=0xa10c7f0) at ../../lib/document/jpegdocumentloadedimpl.cpp:88
#11 0x0081e8cd in Gwenview::Document::rawData (this=0xa20a3b8) at ../../lib/document/document.cpp:203
#12 0x0081ea7e in Gwenview::Document::memoryUsage (this=0xa20a3b8) at ../../lib/document/document.cpp:297
Comment 10 null 2018-01-27 07:30:39 UTC
*** Bug 389486 has been marked as a duplicate of this bug. ***
Comment 11 Peter Mühlenpfordt 2018-05-29 07:15:55 UTC
Is this still reproducible?
I tested actual versions from git master and v17.12.3 from Kubuntu 18.04 repository with 50 rotated jpg files, each 6000x4000 px, overall ~600 MB. `Save All` run through without any problems.
Comment 12 TuoDrable 2018-05-29 10:56:00 UTC
I haven't seen it anymore since Ubuntu 16.04 (Gwenview 4.15)
Save all now always works without issues.
Comment 13 null 2018-05-29 11:05:42 UTC
@TuoDrable: Your backtrace in Bug 290211 looks slightly different. I'm not confident yet that all saving related crashes have the same underlying reason.

@Peter: Thanks for trying to fix the last remaining bugs with crashes. I have some notes from when I started working on the topic. I'll try to find them in the evening and post them on Gwenview's workboard for better coordination.
Comment 14 Jonáš Vidra 2020-02-15 11:03:14 UTC
Created attachment 126056 [details]
New crash information added by DrKonqi

gwenview (19.08.3) using Qt 5.13.2

- What I was doing when the application crashed:

I resized three images and while still viewing the third one, I clicked on "Save all". Then, Gwenview crashed.


The backtrace seems very similar to the other ones reported in this thread, so I hope I'm filing the bug in the right place, even though the original report is rather old.

-- Backtrace (Reduced):
#7  std::__atomic_base<int>::load (__m=std::memory_order_relaxed, this=0x7fb37809c010) at /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/g++-v8/bits/atomic_base.h:390
#8  QAtomicOps<int>::load<int> (_q_value=...) at /usr/include/qt5/QtCore/qatomic_cxx11.h:227
#9  QBasicAtomicInteger<int>::load (this=0x7fb37809c010) at /usr/include/qt5/QtCore/qbasicatomic.h:103
[...]
#11 QByteArray::QByteArray (a=..., this=this@entry=0x7ffe79905d30) at /usr/include/qt5/QtCore/qbytearray.h:506
#12 Gwenview::JpegContent::rawData (this=0x7fb374055ff0) at /var/tmp/portage/kde-apps/gwenview-19.08.3/work/gwenview-19.08.3/lib/jpegcontent.cpp:292
Comment 15 Nicolas Fella 2024-01-02 16:46:52 UTC
*** Bug 475875 has been marked as a duplicate of this bug. ***
Comment 16 Nicolas Fella 2024-01-02 16:47:22 UTC
*** Bug 479305 has been marked as a duplicate of this bug. ***