Bug 366760 - Gwenview crashes when trying to save jpg image after rotating.
Summary: Gwenview crashes when trying to save jpg image after rotating.
Status: RESOLVED WORKSFORME
Alias: None
Product: gwenview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Gwenview Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-08-14 18:29 UTC by cleitner
Modified: 2017-11-12 01:41 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cleitner 2016-08-14 18:29:22 UTC
Application: gwenview (15.12.3)

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

-- Information about the crash:
- What I was doing when the application crashed:
Saving a jpg image after rotating. Happens every time with the same image. Just open it, rotate it, click save in the drop-down bar, then crashes.

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

Thread 3 (Thread 0x7f8234058700 (LWP 14292)):
[KCrash Handler]
#6  0x00007f824f002418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f824f00401a in __GI_abort () at abort.c:89
#8  0x00007f824f42584d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f824f4236b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f824f423701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f824f423969 in __cxa_rethrow () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f824f7ba5c6 in QThreadPoolThread::run (this=0x1e5b840) at thread/qthreadpool.cpp:100
#13 0x00007f824f7bd84e in QThreadPrivate::start (arg=0x1e5b840) at thread/qthread_unix.cpp:331
#14 0x00007f824a5cf6fa in start_thread (arg=0x7f8234058700) at pthread_create.c:333
#15 0x00007f824f0d3b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f823e6a0700 (LWP 14291)):
#0  0x00007f824f0c7e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f8247fbcc62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f8247fbe8d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f82403cb629 in QXcbEventReader::run (this=0x18c5aa0) at qxcbconnection.cpp:1253
#4  0x00007f824f7bd84e in QThreadPrivate::start (arg=0x18c5aa0) at thread/qthread_unix.cpp:331
#5  0x00007f824a5cf6fa in start_thread (arg=0x7f823e6a0700) at pthread_create.c:333
#6  0x00007f824f0d3b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f82407789c0 (LWP 14290)):
#0  0x00007f824f0c3a2d in write () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f824a0f17e2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f824a0aa870 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f824a0ae1e0 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f824a0ae400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f824a0ae4ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f824f9f4a7f in QEventDispatcherGlib::processEvents (this=0x18a3850, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#7  0x00007f824f99bdea in QEventLoop::exec (this=this@entry=0x7ffef32eb140, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f824f9a3e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#9  0x000000000044ba70 in main ()

Possible duplicates by query: bug 365143, bug 354273, bug 352280.

Reported using DrKonqi
Comment 1 Nate Graham 2017-11-09 19:29:04 UTC

*** This bug has been marked as a duplicate of bug 354273 ***
Comment 2 null 2017-11-11 09:29:28 UTC
Nate: Are you sure this is one of the exiv crashers?
Comment 3 Nate Graham 2017-11-11 16:22:41 UTC
Hmm, on second look, you're right.
Comment 4 Morgan Leijström 2017-11-11 16:32:44 UTC
@Cleitner

1) Could you attach an example image that triggers this crash?

2) Any idea what is special about that image? Or how an such image can be made?  type, resolution, compression level... application that made that file...?
Comment 5 Nate Graham 2017-11-11 16:37:01 UTC
Cleitner, please attach the file that makes this happen.
Comment 6 cleitner 2017-11-12 01:40:24 UTC
Sorry, this was over a year ago, I do not have/remember what file caused the crash.
Comment 7 Nate Graham 2017-11-12 01:41:57 UTC
Ok, please feel free to re-open or re-report if you find it or experience the issue again. In the future, attaching the file causing is very helpful, and sometimes essential.