[Bug 262221] /graphics/gimp Segmentation fault

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 27 Feb 2022 04:50:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262221

            Bug ID: 262221
           Summary: /graphics/gimp Segmentation fault
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: m.fujimoto@yandex.ru
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

% cd /usr/ports/graphics/gimp
% doas make install clean
% rehash 
% gimp
gimp: fatal error: Segmentation fault


<!-- Copy-paste this whole debug data to report to developers -->


```
GNU Image Manipulation Program version 2.10.30
git-describe: GIMP_2_10_30
Build: unknown rev 0 for other
# C compiler #
        FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git
llvmorg-11.0.1-0-g43ff75f2c3fe)
        Target: i386-unknown-freebsd13.0
        Thread model: posix
        InstalledDir: /usr/bin

# Libraries #
using babl version 0.1.88 (compiled against version 0.1.88)
using GEGL version 0.4.34 (compiled against version 0.4.34)
using GLib version 2.70.4 (compiled against version 2.70.4)
using GdkPixbuf version 2.40.0 (compiled against version 2.40.0)
using GTK+ version 2.24.33 (compiled against version 2.24.33)
using Pango version 1.48.11 (compiled against version 1.48.11)
using Fontconfig version 2.13.94 (compiled against version 2.13.94)
using Cairo version 1.17.4 (compiled against version 1.17.4)

```
> fatal error: Segmentation fault

Stack trace:
```

# Stack traces obtained from PID 2872 - Thread 100117 #

(lldb) process attach --pid 2872
Process 2872 stopped

Executable module set to "/usr/local/bin/gimp-2.10".
Architecture set to: i386--freebsd13.0.
(lldb) thread list
Process 2872 stopped
* thread #1: tid = 100117, 0x21e15cad libc.so.7`__sys_read + 5, name =
'gimp-2.10'
  thread #2: tid = 101614, 0x2161178b
libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 7, name = 'pool-spawner'
  thread #3: tid = 101615, 0x21e15c6f libc.so.7`__sys_poll + 7, name = 'gmain'
  thread #4: tid = 101616, 0x21e15c6f libc.so.7`__sys_poll + 7, name = 'gdbus'
  thread #5: tid = 101617, 0x2161178b
libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 7, name = 'async'
  thread #6: tid = 101618, 0x2161178b
libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 7, name = 'pool-gimp'
(lldb) thread backtrace all
* thread #1, name = 'gimp-2.10'
  * frame #0: 0x21e15cad libc.so.7`__sys_read + 5
    frame #1: 0x21620411 libthr.so.3`___lldb_unnamed_symbol156$$libthr.so.3 +
49
    frame #2: 0x21e1400f libc.so.7`read + 31
    frame #3: 0x21249ee8 libgimpbase-2.0.so.0`gimp_stack_trace_print + 520
    frame #4: 0x0082d685 gimp-2.10`___lldb_unnamed_symbol6$$gimp-2.10 + 277
    frame #5: 0x0082d562 gimp-2.10`gimp_fatal_error + 18
    frame #6: 0x0082dfa3 gimp-2.10`___lldb_unnamed_symbol7$$gimp-2.10 + 51
    frame #7: 0x2161e319 libthr.so.3`___lldb_unnamed_symbol124$$libthr.so.3 +
201
    frame #8: 0x2161d8be libthr.so.3`___lldb_unnamed_symbol105$$libthr.so.3 +
366
    frame #9: 0xffbff004
    frame #10: 0x21e9da55 libc.so.7`strxfrm + 69
    frame #11: 0x21bec71b libglib-2.0.so.0`g_utf8_collate_key + 91
    frame #12: 0x00b7865a gimp-2.10`gimp_object_name_collate + 106
    frame #13: 0x21bc94ea libglib-2.0.so.0`g_queue_insert_sorted + 58
    frame #14: 0x00b76362 gimp-2.10`___lldb_unnamed_symbol6888$$gimp-2.10 + 146
    frame #15: 0x21abd8cf libgobject-2.0.so.0`g_cclosure_marshal_VOID__OBJECT +
95
    frame #16: 0x21abaabc
libgobject-2.0.so.0`___lldb_unnamed_symbol72$$libgobject-2.0.so.0 + 60
    frame #17: 0x21aba50b libgobject-2.0.so.0`g_closure_invoke + 187
    frame #18: 0x21ace623
libgobject-2.0.so.0`___lldb_unnamed_symbol248$$libgobject-2.0.so.0 + 867
    frame #19: 0x21acf7f8 libgobject-2.0.so.0`g_signal_emit_valist + 2680
    frame #20: 0x21acfb98 libgobject-2.0.so.0`g_signal_emit + 56
    frame #21: 0x00afbf3d gimp-2.10`gimp_container_add + 365
    frame #22: 0x0099e107 gimp-2.10`___lldb_unnamed_symbol3172$$gimp-2.10 + 199
    frame #23: 0x0099ddc9 gimp-2.10`___lldb_unnamed_symbol3167$$gimp-2.10 + 201
    frame #24: 0x21ac0277
libgobject-2.0.so.0`___lldb_unnamed_symbol103$$libgobject-2.0.so.0 + 263
    frame #25: 0x21abffcf libgobject-2.0.so.0`g_object_new_valist + 1055
    frame #26: 0x21abf918 libgobject-2.0.so.0`g_object_new + 56
    frame #27: 0x0099d891 gimp-2.10`gimp_device_manager_new + 145
    frame #28: 0x0099e37c gimp-2.10`gimp_devices_init + 76
    frame #29: 0x008306c8 gimp-2.10`___lldb_unnamed_symbol26$$gimp-2.10 + 568
    frame #30: 0x21abd7bf libgobject-2.0.so.0`g_cclosure_marshal_VOID__POINTER
+ 95
    frame #31: 0x21aba50b libgobject-2.0.so.0`g_closure_invoke + 187
    frame #32: 0x21acea01
libgobject-2.0.so.0`___lldb_unnamed_symbol248$$libgobject-2.0.so.0 + 1857
    frame #33: 0x21acf7f8 libgobject-2.0.so.0`g_signal_emit_valist + 2680
    frame #34: 0x21acfb98 libgobject-2.0.so.0`g_signal_emit + 56
    frame #35: 0x00aceedb gimp-2.10`gimp_restore + 283
    frame #36: 0x0082cddf gimp-2.10`app_run + 463
    frame #37: 0x0082fb27 gimp-2.10`main + 759
    frame #38: 0x0082c966 gimp-2.10
    frame #39: 0x0082cac0 gimp-2.10`_start + 24
  thread #2, name = 'pool-spawner'
    frame #0: 0x2161178b libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 7
    frame #1: 0x21621b27 libthr.so.3`___lldb_unnamed_symbol186$$libthr.so.3 +
103
    frame #2: 0x21618306 libthr.so.3`___lldb_unnamed_symbol54$$libthr.so.3 + 54
    frame #3: 0x21613459 libthr.so.3`___lldb_unnamed_symbol7$$libthr.so.3 + 601
    frame #4: 0x216136cf libthr.so.3`pthread_cond_wait + 31
    frame #5: 0x21c096ac libglib-2.0.so.0`g_cond_wait + 44
    frame #6: 0x21b85edb
libglib-2.0.so.0`___lldb_unnamed_symbol17$$libglib-2.0.so.0 + 155
    frame #7: 0x21b85f55 libglib-2.0.so.0`g_async_queue_pop_unlocked + 37
    frame #8: 0x21be17b9
libglib-2.0.so.0`___lldb_unnamed_symbol244$$libglib-2.0.so.0 + 89
    frame #9: 0x21be108f
libglib-2.0.so.0`___lldb_unnamed_symbol239$$libglib-2.0.so.0 + 79
    frame #10: 0x2161458c libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 +
364
  thread #3, name = 'gmain'
    frame #0: 0x21e15c6f libc.so.7`__sys_poll + 7
    frame #1: 0x21620361 libthr.so.3`___lldb_unnamed_symbol154$$libthr.so.3 +
49
    frame #2: 0x21e13f3f libc.so.7`poll + 31
    frame #3: 0x21bc733e libglib-2.0.so.0`g_poll + 30
    frame #4: 0x21bb7e01
libglib-2.0.so.0`___lldb_unnamed_symbol128$$libglib-2.0.so.0 + 449
    frame #5: 0x21bb7f27 libglib-2.0.so.0`g_main_context_iteration + 103
    frame #6: 0x21bba07d
libglib-2.0.so.0`___lldb_unnamed_symbol133$$libglib-2.0.so.0 + 45
    frame #7: 0x21be108f
libglib-2.0.so.0`___lldb_unnamed_symbol239$$libglib-2.0.so.0 + 79
    frame #8: 0x2161458c libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 +
364
  thread #4, name = 'gdbus'
    frame #0: 0x21e15c6f libc.so.7`__sys_poll + 7
    frame #1: 0x21620361 libthr.so.3`___lldb_unnamed_symbol154$$libthr.so.3 +
49
    frame #2: 0x21e13f3f libc.so.7`poll + 31
    frame #3: 0x21bc733e libglib-2.0.so.0`g_poll + 30
    frame #4: 0x21bb7e01
libglib-2.0.so.0`___lldb_unnamed_symbol128$$libglib-2.0.so.0 + 449
    frame #5: 0x21bb8195 libglib-2.0.so.0`g_main_loop_run + 213
    frame #6: 0x21a161c7
libgio-2.0.so.0`___lldb_unnamed_symbol2781$$libgio-2.0.so.0 + 39
    frame #7: 0x21be108f
libglib-2.0.so.0`___lldb_unnamed_symbol239$$libglib-2.0.so.0 + 79
    frame #8: 0x2161458c libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 +
364
  thread #5, name = 'async'
    frame #0: 0x2161178b libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 7
    frame #1: 0x21621b27 libthr.so.3`___lldb_unnamed_symbol186$$libthr.so.3 +
103
    frame #2: 0x21618306 libthr.so.3`___lldb_unnamed_symbol54$$libthr.so.3 + 54
    frame #3: 0x21613459 libthr.so.3`___lldb_unnamed_symbol7$$libthr.so.3 + 601
    frame #4: 0x216136cf libthr.so.3`pthread_cond_wait + 31
    frame #5: 0x21c096ac libglib-2.0.so.0`g_cond_wait + 44
    frame #6: 0x00ad80f5 gimp-2.10`___lldb_unnamed_symbol5910$$gimp-2.10 + 389
    frame #7: 0x21be108f
libglib-2.0.so.0`___lldb_unnamed_symbol239$$libglib-2.0.so.0 + 79
    frame #8: 0x2161458c libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 +
364
  thread #6, name = 'pool-gimp'
    frame #0: 0x2161178b libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 7
    frame #1: 0x21621b27 libthr.so.3`___lldb_unnamed_symbol186$$libthr.so.3 +
103
    frame #2: 0x21618306 libthr.so.3`___lldb_unnamed_symbol54$$libthr.so.3 + 54
    frame #3: 0x21613459 libthr.so.3`___lldb_unnamed_symbol7$$libthr.so.3 + 601
    frame #4: 0x2161375a libthr.so.3`__pthread_cond_timedwait + 58
    frame #5: 0x21c09850 libglib-2.0.so.0`g_cond_wait_until + 112
    frame #6: 0x21b85f01
libglib-2.0.so.0`___lldb_unnamed_symbol17$$libglib-2.0.so.0 + 193
    frame #7: 0x21b86090 libglib-2.0.so.0`g_async_queue_timeout_pop + 64
    frame #8: 0x21be2516
libglib-2.0.so.0`___lldb_unnamed_symbol247$$libglib-2.0.so.0 + 470
    frame #9: 0x21be108f
libglib-2.0.so.0`___lldb_unnamed_symbol239$$libglib-2.0.so.0 + 79
    frame #10: 0x2161458c libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 +
364
(lldb) bt all
* thread #1, name = 'gimp-2.10'
  * frame #0: 0x21e15cad libc.so.7`__sys_read + 5
    frame #1: 0x21620411 libthr.so.3`___lldb_unnamed_symbol156$$libthr.so.3 +
49
    frame #2: 0x21e1400f libc.so.7`read + 31
    frame #3: 0x21249ee8 libgimpbase-2.0.so.0`gimp_stack_trace_print + 520
    frame #4: 0x0082d685 gimp-2.10`___lldb_unnamed_symbol6$$gimp-2.10 + 277
    frame #5: 0x0082d562 gimp-2.10`gimp_fatal_error + 18
    frame #6: 0x0082dfa3 gimp-2.10`___lldb_unnamed_symbol7$$gimp-2.10 + 51
    frame #7: 0x2161e319 libthr.so.3`___lldb_unnamed_symbol124$$libthr.so.3 +
201
    frame #8: 0x2161d8be libthr.so.3`___lldb_unnamed_symbol105$$libthr.so.3 +
366
    frame #9: 0xffbff004
    frame #10: 0x21e9da55 libc.so.7`strxfrm + 69
    frame #11: 0x21bec71b libglib-2.0.so.0`g_utf8_collate_key + 91
    frame #12: 0x00b7865a gimp-2.10`gimp_object_name_collate + 106
    frame #13: 0x21bc94ea libglib-2.0.so.0`g_queue_insert_sorted + 58
    frame #14: 0x00b76362 gimp-2.10`___lldb_unnamed_symbol6888$$gimp-2.10 + 146
    frame #15: 0x21abd8cf libgobject-2.0.so.0`g_cclosure_marshal_VOID__OBJECT +
95
    frame #16: 0x21abaabc
libgobject-2.0.so.0`___lldb_unnamed_symbol72$$libgobject-2.0.so.0 + 60
    frame #17: 0x21aba50b libgobject-2.0.so.0`g_closure_invoke + 187
    frame #18: 0x21ace623
libgobject-2.0.so.0`___lldb_unnamed_symbol248$$libgobject-2.0.so.0 + 867
    frame #19: 0x21acf7f8 libgobject-2.0.so.0`g_signal_emit_valist + 2680
    frame #20: 0x21acfb98 libgobject-2.0.so.0`g_signal_emit + 56
    frame #21: 0x00afbf3d gimp-2.10`gimp_container_add + 365
    frame #22: 0x0099e107 gimp-2.10`___lldb_unnamed_symbol3172$$gimp-2.10 + 199
    frame #23: 0x0099ddc9 gimp-2.10`___lldb_unnamed_symbol3167$$gimp-2.10 + 201
    frame #24: 0x21ac0277
libgobject-2.0.so.0`___lldb_unnamed_symbol103$$libgobject-2.0.so.0 + 263
    frame #25: 0x21abffcf libgobject-2.0.so.0`g_object_new_valist + 1055
    frame #26: 0x21abf918 libgobject-2.0.so.0`g_object_new + 56
    frame #27: 0x0099d891 gimp-2.10`gimp_device_manager_new + 145
    frame #28: 0x0099e37c gimp-2.10`gimp_devices_init + 76
    frame #29: 0x008306c8 gimp-2.10`___lldb_unnamed_symbol26$$gimp-2.10 + 568
    frame #30: 0x21abd7bf libgobject-2.0.so.0`g_cclosure_marshal_VOID__POINTER
+ 95
    frame #31: 0x21aba50b libgobject-2.0.so.0`g_closure_invoke + 187
    frame #32: 0x21acea01
libgobject-2.0.so.0`___lldb_unnamed_symbol248$$libgobject-2.0.so.0 + 1857
    frame #33: 0x21acf7f8 libgobject-2.0.so.0`g_signal_emit_valist + 2680
    frame #34: 0x21acfb98 libgobject-2.0.so.0`g_signal_emit + 56
    frame #35: 0x00aceedb gimp-2.10`gimp_restore + 283
    frame #36: 0x0082cddf gimp-2.10`app_run + 463
    frame #37: 0x0082fb27 gimp-2.10`main + 759
    frame #38: 0x0082c966 gimp-2.10
    frame #39: 0x0082cac0 gimp-2.10`_start + 24
  thread #2, name = 'pool-spawner'
    frame #0: 0x2161178b libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 7
    frame #1: 0x21621b27 libthr.so.3`___lldb_unnamed_symbol186$$libthr.so.3 +
103
    frame #2: 0x21618306 libthr.so.3`___lldb_unnamed_symbol54$$libthr.so.3 + 54
    frame #3: 0x21613459 libthr.so.3`___lldb_unnamed_symbol7$$libthr.so.3 + 601
    frame #4: 0x216136cf libthr.so.3`pthread_cond_wait + 31
    frame #5: 0x21c096ac libglib-2.0.so.0`g_cond_wait + 44
    frame #6: 0x21b85edb
libglib-2.0.so.0`___lldb_unnamed_symbol17$$libglib-2.0.so.0 + 155
    frame #7: 0x21b85f55 libglib-2.0.so.0`g_async_queue_pop_unlocked + 37
    frame #8: 0x21be17b9
libglib-2.0.so.0`___lldb_unnamed_symbol244$$libglib-2.0.so.0 + 89
    frame #9: 0x21be108f
libglib-2.0.so.0`___lldb_unnamed_symbol239$$libglib-2.0.so.0 + 79
    frame #10: 0x2161458c libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 +
364
  thread #3, name = 'gmain'
    frame #0: 0x21e15c6f libc.so.7`__sys_poll + 7
    frame #1: 0x21620361 libthr.so.3`___lldb_unnamed_symbol154$$libthr.so.3 +
49
    frame #2: 0x21e13f3f libc.so.7`poll + 31
    frame #3: 0x21bc733e libglib-2.0.so.0`g_poll + 30
    frame #4: 0x21bb7e01
libglib-2.0.so.0`___lldb_unnamed_symbol128$$libglib-2.0.so.0 + 449
    frame #5: 0x21bb7f27 libglib-2.0.so.0`g_main_context_iteration + 103
    frame #6: 0x21bba07d
libglib-2.0.so.0`___lldb_unnamed_symbol133$$libglib-2.0.so.0 + 45
    frame #7: 0x21be108f
libglib-2.0.so.0`___lldb_unnamed_symbol239$$libglib-2.0.so.0 + 79
    frame #8: 0x2161458c libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 +
364
  thread #4, name = 'gdbus'
    frame #0: 0x21e15c6f libc.so.7`__sys_poll + 7
    frame #1: 0x21620361 libthr.so.3`___lldb_unnamed_symbol154$$libthr.so.3 +
49
    frame #2: 0x21e13f3f libc.so.7`poll + 31
    frame #3: 0x21bc733e libglib-2.0.so.0`g_poll + 30
    frame #4: 0x21bb7e01
libglib-2.0.so.0`___lldb_unnamed_symbol128$$libglib-2.0.so.0 + 449
    frame #5: 0x21bb8195 libglib-2.0.so.0`g_main_loop_run + 213
    frame #6: 0x21a161c7
libgio-2.0.so.0`___lldb_unnamed_symbol2781$$libgio-2.0.so.0 + 39
    frame #7: 0x21be108f
libglib-2.0.so.0`___lldb_unnamed_symbol239$$libglib-2.0.so.0 + 79
    frame #8: 0x2161458c libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 +
364
  thread #5, name = 'async'
    frame #0: 0x2161178b libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 7
    frame #1: 0x21621b27 libthr.so.3`___lldb_unnamed_symbol186$$libthr.so.3 +
103
    frame #2: 0x21618306 libthr.so.3`___lldb_unnamed_symbol54$$libthr.so.3 + 54
    frame #3: 0x21613459 libthr.so.3`___lldb_unnamed_symbol7$$libthr.so.3 + 601
    frame #4: 0x216136cf libthr.so.3`pthread_cond_wait + 31
    frame #5: 0x21c096ac libglib-2.0.so.0`g_cond_wait + 44
    frame #6: 0x00ad80f5 gimp-2.10`___lldb_unnamed_symbol5910$$gimp-2.10 + 389
    frame #7: 0x21be108f
libglib-2.0.so.0`___lldb_unnamed_symbol239$$libglib-2.0.so.0 + 79
    frame #8: 0x2161458c libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 +
364
  thread #6, name = 'pool-gimp'
    frame #0: 0x2161178b libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 7
    frame #1: 0x21621b27 libthr.so.3`___lldb_unnamed_symbol186$$libthr.so.3 +
103
    frame #2: 0x21618306 libthr.so.3`___lldb_unnamed_symbol54$$libthr.so.3 + 54
    frame #3: 0x21613459 libthr.so.3`___lldb_unnamed_symbol7$$libthr.so.3 + 601
    frame #4: 0x2161375a libthr.so.3`__pthread_cond_timedwait + 58
    frame #5: 0x21c09850 libglib-2.0.so.0`g_cond_wait_until + 112
    frame #6: 0x21b85f01
libglib-2.0.so.0`___lldb_unnamed_symbol17$$libglib-2.0.so.0 + 193
    frame #7: 0x21b86090 libglib-2.0.so.0`g_async_queue_timeout_pop + 64
    frame #8: 0x21be2516
libglib-2.0.so.0`___lldb_unnamed_symbol247$$libglib-2.0.so.0 + 470
    frame #9: 0x21be108f
libglib-2.0.so.0`___lldb_unnamed_symbol239$$libglib-2.0.so.0 + 79
    frame #10: 0x2161458c libthr.so.3`___lldb_unnamed_symbol11$$libthr.so.3 +
364

```

-- 
You are receiving this mail because:
You are the assignee for the bug.