← Back to team overview

ubuntustudio-bugs team mailing list archive

[Bug 31771] Re: gimp freezes, crashes on "open", "save as", "print"

 

```
GNU Image Manipulation Program version 2.10.14
git-describe: GIMP_2_10_12-511-ga4f55d6c7e
C compiler:
	Using built-in specs.
	COLLECT_GCC=gcc
	COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/7/lto-wrapper
	OFFLOAD_TARGET_NAMES=nvptx-none
	OFFLOAD_TARGET_DEFAULT=1
	Target: x86_64-linux-gnu
	Configured with: ../src/configure -v --with-pkgversion='Ubuntu 7.4.0-1ubuntu1~18.04.1' --with-bugurl=file:///usr/share/doc/gcc-7/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-7 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
	Thread model: posix
	gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1) 

using babl version 0.1.72 (compiled against version 0.1.72)
using GEGL version 0.4.18 (compiled against version 0.4.18)
using GLib version 2.56.4 (compiled against version 2.56.4)
using GdkPixbuf version 2.36.11 (compiled against version 2.36.11)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.40.14 (compiled against version 1.40.14)
using Fontconfig version 2.12.6 (compiled against version 2.12.6)
using Cairo version 1.15.10 (compiled against version 1.15.10)

```
> fatal error: Aborted

Stack trace:
```

# Stack traces obtained from PID 28388 - Thread 28388 #

[New LWP 28391]
[New LWP 28392]
[New LWP 28393]
[New LWP 28394]
[New LWP 28417]
[New LWP 28445]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f6c5914c384 in __libc_read (fd=16, buf=0x7fff98e0e910, nbytes=256) at ../sysdeps/unix/sysv/linux/read.c:27
  Id   Target Id         Frame 
* 1    Thread 0x7f6c5df7de00 (LWP 28388) "gimp-2.10" 0x00007f6c5914c384 in __libc_read (fd=16, buf=0x7fff98e0e910, nbytes=256) at ../sysdeps/unix/sysv/linux/read.c:27
  2    Thread 0x7f6c4fcf7700 (LWP 28391) "worker" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  3    Thread 0x7f6c4d177700 (LWP 28392) "gmain" 0x00007f6c58e5ebf9 in __GI___poll (fds=0x562278ec83e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  4    Thread 0x7f6c4c976700 (LWP 28393) "gdbus" 0x00007f6c58e5ebf9 in __GI___poll (fds=0x562278ed9cc0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
  5    Thread 0x7f6c31cbc700 (LWP 28394) "async" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  6    Thread 0x7f6c30846700 (LWP 28417) "swap writer" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  7    Thread 0x7f6c314bb700 (LWP 28445) "paint" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38

Thread 7 (Thread 0x7f6c314bb700 (LWP 28445)):
#0  0x00007f6c58e65839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6c5998e75f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x000056227821fccf in  ()
#3  0x00007f6c59970175 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c591426db in start_thread (arg=0x7f6c314bb700) at pthread_create.c:463
        pd = 0x7f6c314bb700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140102660241152, -3307457727248540821, 140102660237568, 0, 94706125326736, 140735758264976, 3225120697315154795, 3224927599809452907}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5  0x00007f6c58e6b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f6c30846700 (LWP 28417)):
#0  0x00007f6c58e65839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6c5998e75f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c5affcdad in  () at /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0
#3  0x00007f6c59970175 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c591426db in start_thread (arg=0x7f6c30846700) at pthread_create.c:463
        pd = 0x7f6c30846700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140102647179008, -3307457727248540821, 140102647175424, 0, 94706100961920, 140735758261376, 3225120149169953643, 3224927599809452907}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5  0x00007f6c58e6b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f6c31cbc700 (LWP 28394)):
#0  0x00007f6c58e65839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6c5998e75f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x000056227845d36c in  ()
#3  0x00007f6c59970175 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c591426db in start_thread (arg=0x7f6c31cbc700) at pthread_create.c:463
        pd = 0x7f6c31cbc700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140102668633856, -3307457727248540821, 140102668630272, 0, 94706059005952, 140735758267568, 3225121797363653483, 3224927599809452907}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5  0x00007f6c58e6b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f6c4c976700 (LWP 28393)):
#0  0x00007f6c58e5ebf9 in __GI___poll (fds=0x562278ed9cc0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007f6c599485c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c59948962 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c5aad1276 in  () at /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f6c59970175 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6c591426db in start_thread (arg=0x7f6c4c976700) at pthread_create.c:463
        pd = 0x7f6c4c976700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140103118186240, -3307457727248540821, 140103118182656, 0, 94706056423424, 140735758267648, 3224882542989204331, 3224927599809452907}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007f6c58e6b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f6c4d177700 (LWP 28392)):
#0  0x00007f6c58e5ebf9 in __GI___poll (fds=0x562278ec83e0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
#1  0x00007f6c599485c9 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c599486dc in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6c59948721 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c59970175 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6c591426db in start_thread (arg=0x7f6c4d177700) at pthread_create.c:463
        pd = 0x7f6c4d177700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140103126578944, -3307457727248540821, 140103126575360, 0, 94706056422176, 140735758267264, 3224883643037703019, 3224927599809452907}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#6  0x00007f6c58e6b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f6c4fcf7700 (LWP 28391)):
#0  0x00007f6c58e65839 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f6c5998e75f in g_cond_wait () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6c5afc4fc3 in  () at /usr/lib/x86_64-linux-gnu/libgegl-0.4.so.0
#3  0x00007f6c59970175 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6c591426db in start_thread (arg=0x7f6c4fcf7700) at pthread_create.c:463
        pd = 0x7f6c4fcf7700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140103172192000, -3307457727248540821, 140103172188416, 0, 94706056421376, 140735758267456, 3224879863466482539, 3224927599809452907}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
#5  0x00007f6c58e6b88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f6c5df7de00 (LWP 28388)):
#0  0x00007f6c5914c384 in __libc_read (fd=16, buf=0x7fff98e0e910, nbytes=256) at ../sysdeps/unix/sysv/linux/read.c:27
        resultvar = 18446744073709551104
        sc_cancel_oldtype = 1
        sc_ret = <optimized out>
        sc_ret = <optimized out>
        nbytes = 256
        fd = 16
        buf = 0x7fff98e0e910
#1  0x00007f6c5c5bdda0 in gimp_stack_trace_print () at /usr/lib/libgimpbase-2.0.so.0
#2  0x0000562278188ab4 in  ()
#3  0x00005622781890b8 in  ()
#4  0x00005622781897c7 in  ()
#5  0x00007f6c5914d890 in <signal handler called> () at /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f6c58d88e97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
        set = {__val = {0, 94706123198768, 140103396028448, 140103324083775, 140106055647232, 94706123198768, 94706123198869, 94706123198768, 94706123198768, 94706123198871, 94706123199068, 94706123198768, 94706123199068, 0, 0, 0}}
        pid = <optimized out>
        tid = <optimized out>
#7  0x00007f6c58d8a801 in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x56227b93faa0, sa_sigaction = 0x56227b93faa0}, sa_mask = {__val = {0, 94706102172320, 0, 0, 0, 140735758267208, 0, 140735758267040, 140103325340112, 21474836480, 140103325325272, 0, 10605799073432820736, 140103325310228, 0, 140103325325272}}, sa_flags = 1485557427, sa_restorer = 0x7f6c588bd048}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#8  0x00007f6c58d7a39a in __assert_fail_base (fmt=0x7f6c58f017d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7f6c588bd048 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x7f6c588bceb3 "../../src/xcb_io.c", line=line@entry=259, function=function@entry=0x7f6c588bd2f8 "poll_for_event") at assert.c:92
        str = 0x56227b93faa0 "\300a\271{\"V"
        total = 4096
#9  0x00007f6c58d7a412 in __GI___assert_fail (assertion=0x7f6c588bd048 "!xcb_xlib_threads_sequence_lost", file=0x7f6c588bceb3 "../../src/xcb_io.c", line=259, function=0x7f6c588bd2f8 "poll_for_event") at assert.c:101
#10 0x00007f6c5884be7a in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#11 0x00007f6c5884bf1e in  () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007f6c5884c20d in _XEventsQueued () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007f6c5883dd3d in XPending () at /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007f6c5d26f085 in  () at /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#15 0x00007f6c59947fe1 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f6c59948570 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f6c59948962 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x0000562278188470 in app_run ()
#19 0x0000562278187d3c in main ()

```

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to gimp in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/31771

Title:
  gimp freezes, crashes on "open", "save as", "print"

Status in gimp package in Ubuntu:
  Invalid

Bug description:
  gimp freezes, using 80% CPU, when a user attempts Open, Save As, or
  Print.  Must kill process.

  gimp 2.2.2-1ubuntu
  libgnomevfs2-0  2.10.0-0ubuntu55
  libgtk2.0-0     2.6.4-0ubuntu5
  libgnomeui-0    2.10.0-0ubuntu1
  Ubuntu (hoary)

  I know this is reported in several similar bugs, but here's some
  additional info.  On our systems, this behavior happens for ldap user
  accounts (libnss-ldap, libpam-ldap).  It _does_not_ happen for local
  accounts in /etc/passwd.

  Workaround
  If the ldap user has a local account entry in /etc/passwd, this bug disappears and gimp works fine.  The user does not need entries in /etc/shadow or /etc/group.

  nsswitch.conf specifies files first:
  passwd:         files ldap
  group:          files ldap
  shadow:         files ldap

  several related bugs:
  1) https://launchpad.net/distros/ubuntu/+source/gimp/+bug/28136
  2) http://bugzilla.gnome.org/show_bug.cgi?id=170367
  3) http://bugzilla.gnome.org/show_bug.cgi?id=326218
  4) http://bugzilla.gnome.org/show_bug.cgi?id=305206

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gimp/+bug/31771/+subscriptions