FS#61290 - [gimp] crashes on opening .jpg image (from file manager dolphin; open with)

Attached to Project: Arch Linux
Opened by Bob English (MacZoid) - Sunday, 06 January 2019, 09:05 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 16:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
Levente Polyak (anthraxx)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:GIMP fatal error: Segmentation fault


Additional info:
* package version(s)
GIMP_2_10_6-294-ga967e8d2c2
* config and/or log files etc.

```
GNU Image Manipulation Program version 2.10.8
git-describe: GIMP_2_10_6-294-ga967e8d2c2
C compiler:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto
Thread model: posix
gcc version 8.2.1 20180831 (GCC)

using GEGL version 0.4.12 (compiled against version 0.4.12)
using GLib version 2.58.2 (compiled against version 2.58.1)
using GdkPixbuf version 2.38.0 (compiled against version 2.38.0)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.43.0 (compiled against version 1.42.3)
using Fontconfig version 2.13.1 (compiled against version 2.13.1)
using Cairo version 1.16.0 (compiled against version 1.16.0)

```
> fatal error: Segmentation fault

Stack trace:
```

# Stack traces obtained from PID 16978 - Thread 16978 #

[New LWP 16980]
[New LWP 16981]
[New LWP 16990]
[New LWP 16991]
[New LWP 16992]
[New LWP 16993]
[New LWP 16994]
[New LWP 16995]
[New LWP 16996]
[New LWP 16997]
[New LWP 16998]
[New LWP 16999]
[New LWP 17000]
[New LWP 17001]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0x00007fe6d8e63184 in read () from /usr/lib/libpthread.so.0
Id Target Id Frame
* 1 Thread 0x7fe6d6652200 (LWP 16978) "gimp-2.10" 0x00007fe6d8e63184 in read () from /usr/lib/libpthread.so.0
2 Thread 0x7fe6d587e700 (LWP 16980) "gmain" 0x00007fe6d8d7ec21 in poll () from /usr/lib/libc.so.6
3 Thread 0x7fe6d507d700 (LWP 16981) "gdbus" 0x00007fe6d8d7ec21 in poll () from /usr/lib/libc.so.6
4 Thread 0x7fe6b8695700 (LWP 16990) "gimp-2.10" 0x00007fe6d8d7ec21 in poll () from /usr/lib/libc.so.6
5 Thread 0x7fe6b8e96700 (LWP 16991) "gimp-2.10" 0x00007fe6d8e5fe5b in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
6 Thread 0x7fe6b9697700 (LWP 16992) "gimp-2.10" 0x00007fe6d8e62436 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
7 Thread 0x7fe6b9e98700 (LWP 16993) "gimp-2.10" 0x00007fe6d8e62436 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
8 Thread 0x7fe6b6da1700 (LWP 16994) "gimp-2.10" 0x00007fe6d8e62436 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
9 Thread 0x7fe6b65a0700 (LWP 16995) "gimp-2.10" 0x00007fe6d8e62436 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
10 Thread 0x7fe6b5d9f700 (LWP 16996) "gimp-2.10" 0x00007fe6d8e62436 in do_futex_wait.constprop () from /usr/lib/libpthread.so.0
11 Thread 0x7fe6b559e700 (LWP 16997) "async" 0x00007fe6d8d844ed in syscall () from /usr/lib/libc.so.6
12 Thread 0x7fe6b4d9d700 (LWP 16998) "worker" 0x00007fe6d8d844ed in syscall () from /usr/lib/libc.so.6
13 Thread 0x7fe6a5fff700 (LWP 16999) "worker" 0x00007fe6d8d844ed in syscall () from /usr/lib/libc.so.6
14 Thread 0x7fe6a57fe700 (LWP 17000) "worker" 0x00007fe6d8d844ed in syscall () from /usr/lib/libc.so.6
15 Thread 0x7fe6a4ffd700 (LWP 17001) "pool" 0x00007fe6d8d844ed in syscall () from /usr/lib/libc.so.6

Thread 15 (Thread 0x7fe6a4ffd700 (LWP 17001)):
#0 0x00007fe6d8d844ed in syscall () at /usr/lib/libc.so.6
#1 0x00007fe6d9016151 in g_cond_wait_until () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe6d90942c3 in () at /usr/lib/libglib-2.0.so.0
#3 0x00007fe6d90944c3 in g_async_queue_timeout_pop () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe6d903954a in () at /usr/lib/libglib-2.0.so.0
#5 0x00007fe6d904267b in () at /usr/lib/libglib-2.0.so.0
#6 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#7 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7fe6a57fe700 (LWP 17000)):
#0 0x00007fe6d8d844ed in syscall () at /usr/lib/libc.so.6
#1 0x00007fe6d9015471 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x000055599b57fae4 in ()
#3 0x00007fe6d904267b in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7fe6a5fff700 (LWP 16999)):
#0 0x00007fe6d8d844ed in syscall () at /usr/lib/libc.so.6
#1 0x00007fe6d9015471 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x000055599b57fae4 in ()
#3 0x00007fe6d904267b in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fe6b4d9d700 (LWP 16998)):
#0 0x00007fe6d8d844ed in syscall () at /usr/lib/libc.so.6
#1 0x00007fe6d9015471 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x000055599b57fae4 in ()
#3 0x00007fe6d904267b in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fe6b559e700 (LWP 16997)):
#0 0x00007fe6d8d844ed in syscall () at /usr/lib/libc.so.6
#1 0x00007fe6d9015471 in g_cond_wait () at /usr/lib/libglib-2.0.so.0
#2 0x000055599b57fd55 in ()
#3 0x00007fe6d904267b in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fe6b5d9f700 (LWP 16996)):
#0 0x00007fe6d8e62436 in do_futex_wait.constprop () at /usr/lib/libpthread.so.0
#1 0x00007fe6d8e62538 in __new_sem_wait_slow.constprop.0 () at /usr/lib/libpthread.so.0
#2 0x00007fe6c4257e67 in () at /usr/lib/libnvidia-opencl.so.1
#3 0x00007fe6c41354d6 in () at /usr/lib/libnvidia-opencl.so.1
#4 0x00007fe6c4259e98 in () at /usr/lib/libnvidia-opencl.so.1
#5 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fe6b65a0700 (LWP 16995)):
#0 0x00007fe6d8e62436 in do_futex_wait.constprop () at /usr/lib/libpthread.so.0
#1 0x00007fe6d8e62538 in __new_sem_wait_slow.constprop.0 () at /usr/lib/libpthread.so.0
#2 0x00007fe6c4257e67 in () at /usr/lib/libnvidia-opencl.so.1
#3 0x00007fe6c41354d6 in () at /usr/lib/libnvidia-opencl.so.1
#4 0x00007fe6c4259e98 in () at /usr/lib/libnvidia-opencl.so.1
#5 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fe6b6da1700 (LWP 16994)):
#0 0x00007fe6d8e62436 in do_futex_wait.constprop () at /usr/lib/libpthread.so.0
#1 0x00007fe6d8e62538 in __new_sem_wait_slow.constprop.0 () at /usr/lib/libpthread.so.0
#2 0x00007fe6c4257e67 in () at /usr/lib/libnvidia-opencl.so.1
#3 0x00007fe6c41354d6 in () at /usr/lib/libnvidia-opencl.so.1
#4 0x00007fe6c4259e98 in () at /usr/lib/libnvidia-opencl.so.1
#5 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fe6b9e98700 (LWP 16993)):
#0 0x00007fe6d8e62436 in do_futex_wait.constprop () at /usr/lib/libpthread.so.0
#1 0x00007fe6d8e62538 in __new_sem_wait_slow.constprop.0 () at /usr/lib/libpthread.so.0
#2 0x00007fe6c4257e67 in () at /usr/lib/libnvidia-opencl.so.1
#3 0x00007fe6c41354d6 in () at /usr/lib/libnvidia-opencl.so.1
#4 0x00007fe6c4259e98 in () at /usr/lib/libnvidia-opencl.so.1
#5 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fe6b9697700 (LWP 16992)):
#0 0x00007fe6d8e62436 in do_futex_wait.constprop () at /usr/lib/libpthread.so.0
#1 0x00007fe6d8e62538 in __new_sem_wait_slow.constprop.0 () at /usr/lib/libpthread.so.0
#2 0x00007fe6c4257e67 in () at /usr/lib/libnvidia-opencl.so.1
#3 0x00007fe6c41354d6 in () at /usr/lib/libnvidia-opencl.so.1
#4 0x00007fe6c4259e98 in () at /usr/lib/libnvidia-opencl.so.1
#5 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fe6b8e96700 (LWP 16991)):
#0 0x00007fe6d8e5fe5b in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1 0x00007fe6c425ac17 in () at /usr/lib/libnvidia-opencl.so.1
#2 0x00007fe6c4203717 in () at /usr/lib/libnvidia-opencl.so.1
#3 0x00007fe6c4259e98 in () at /usr/lib/libnvidia-opencl.so.1
#4 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fe6b8695700 (LWP 16990)):
#0 0x00007fe6d8d7ec21 in poll () at /usr/lib/libc.so.6
#1 0x00007fe6c4257843 in () at /usr/lib/libnvidia-opencl.so.1
#2 0x00007fe6c42b9ffd in () at /usr/lib/libnvidia-opencl.so.1
#3 0x00007fe6c4259e98 in () at /usr/lib/libnvidia-opencl.so.1
#4 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#5 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7fe6d507d700 (LWP 16981)):
#0 0x00007fe6d8d7ec21 in poll () at /usr/lib/libc.so.6
#1 0x00007fe6d9067540 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe6d90685c2 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#3 0x00007fe6d93eccb8 in () at /usr/lib/libgio-2.0.so.0
#4 0x00007fe6d904267b in () at /usr/lib/libglib-2.0.so.0
#5 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fe6d587e700 (LWP 16980)):
#0 0x00007fe6d8d7ec21 in poll () at /usr/lib/libc.so.6
#1 0x00007fe6d9067540 in () at /usr/lib/libglib-2.0.so.0
#2 0x00007fe6d906762e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3 0x00007fe6d9067682 in () at /usr/lib/libglib-2.0.so.0
#4 0x00007fe6d904267b in () at /usr/lib/libglib-2.0.so.0
#5 0x00007fe6d8e59a9d in start_thread () at /usr/lib/libpthread.so.0
#6 0x00007fe6d8d89b23 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fe6d6652200 (LWP 16978)):
#0 0x00007fe6d8e63184 in read () at /usr/lib/libpthread.so.0
#1 0x00007fe6dac5ae01 in gimp_stack_trace_print () at /usr/lib/libgimpbase-2.0.so.0
#2 0x000055599b29f400 in ()
#3 0x000055599b29f858 in ()
#4 0x000055599b29ffc9 in ()
#5 0x00007fe6d8e643c0 in <signal handler called> () at /usr/lib/libpthread.so.0
#6 0x00007fe6d907b4c8 in () at /usr/lib/libglib-2.0.so.0
#7 0x00007fe6d907b7a5 in g_build_filename () at /usr/lib/libglib-2.0.so.0
#8 0x00007fe6da22e6e0 in () at /usr/lib/libgtk-x11-2.0.so.0
#9 0x00007fe6da22fc3f in () at /usr/lib/libgtk-x11-2.0.so.0
#10 0x00007fe6da22ff55 in () at /usr/lib/libgtk-x11-2.0.so.0
#11 0x00007fe6da22e71e in () at /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007fe6da22fc3f in () at /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007fe6da22ff55 in () at /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007fe6da230015 in gtk_rc_parse () at /usr/lib/libgtk-x11-2.0.so.0
#15 0x000055599b2a761f in themes_init ()
#16 0x000055599b2a280f in gui_init ()
#17 0x000055599b29ecf0 in app_run ()
#18 0x000055599b29e471 in main ()
[Inferior 1 (process 16978) detached]

```

Steps to reproduce: Open .jpg image

Also tried opening GIMP first, then open image within, and got this error:

GIMP Message
Plug-in crashed: "file-jpeg"
(/usr/lib/gimp/2.0/plug-ins/file-jpeg/file-jpeg)

The dying plug-in may have messed up GIMP's internal state. You may want to save your images and restart GIMP to be on the safe side.

GIMP Message
Opening '/home/___/___/___.JPG' failed:

Procedure 'file-jpeg-load' returned no return values


This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 04 May 2021, 16:07 GMT
Reason for closing:  No response
Additional comments about closing:  Old report, assuming it has been fixed with some update meanwhile.
Comment by Stefan Schick (pommes_) - Monday, 12 August 2019, 22:10 GMT
I tested with current Gimp Version (>=2.10.12) and wasn't able to reproduce. Did you use a special jpg-file, which might have been corrupted in some way?
Does this crash still occur on your machine with the current Gimp Version (>=2.10.12) in the repositories?

Might be related to the following upstream bug report: https://gitlab.gnome.org/GNOME/gimp/issues/3707
Comment by Andreas Radke (AndyRTR) - Tuesday, 10 December 2019, 13:01 GMT
Is this still an issue?

Loading...