Bug 251293 - graphics/gimp-app: segmentation fault using tone mapping filter
Summary: graphics/gimp-app: segmentation fault using tone mapping filter
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-21 17:00 UTC by serpent7776
Modified: 2020-11-21 17:00 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description serpent7776 2020-11-21 17:00:47 UTC
I encountered a segmentation fault when using `colours / tone mappings` plugin - I think it was `Fattal et al`, but I'm not sure.

```
GNU Image Manipulation Program version 2.10.20
git-describe: GIMP_2_10_18-332-g68d21512bf
Build: unknown rev 0 for other
# C compiler #
	FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git llvmorg-10.0.0-0-gd32170dbd5b)
	Target: x86_64-unknown-freebsd11.4
	Thread model: posix
	InstalledDir: /usr/bin

# Libraries #
using babl version 0.1.82 (compiled against version 0.1.82)
using GEGL version 0.4.26 (compiled against version 0.4.26)
using GLib version 2.66.2 (compiled against version 2.66.2)
using GdkPixbuf version 2.40.0 (compiled against version 2.40.0)
using GTK+ version 2.24.32 (compiled against version 2.24.32)
using Pango version 1.42.3 (compiled against version 1.42.3)
using Fontconfig version 2.13.92 (compiled against version 2.13.92)
using Cairo version 1.16.0 (compiled against version 1.16.0)

```
> fatal error: Segmentation fault

Stack trace:
```

# Stack traces obtained from PID 45829 - Thread 100313 #

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

Executable module set to "/usr/local/bin/gimp-2.10".
Architecture set to: x86_64--freebsd11.4.
(lldb) thread list
Process 45829 stopped
* thread #1: tid = 100313, 0x00000008070c98f8 libc.so.7`__sys_read + 8, name = 'gimp-2.10'
  thread #2: tid = 100378, 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92, name = 'worker'
  thread #3: tid = 100713, 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92, name = 'pool-spawner'
  thread #4: tid = 100730, 0x000000080706c94a libc.so.7`__sys_poll + 10, name = 'gmain'
  thread #5: tid = 100741, 0x000000080706c94a libc.so.7`__sys_poll + 10, name = 'gdbus'
  thread #6: tid = 101557, 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92, name = 'async'
  thread #7: tid = 101220, 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92, name = 'swap writer'
  thread #8: tid = 100407, 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92, name = 'paint'
(lldb) thread backtrace all
* thread #1, name = 'gimp-2.10'
  * frame #0: 0x00000008070c98f8 libc.so.7`__sys_read + 8
    frame #1: 0x0000000803f9cbe6 libthr.so.3`___lldb_unnamed_symbol40$$libthr.so.3 + 54
    frame #2: 0x00000008029c00a0 libgimpbase-2.0.so.0`gimp_stack_trace_print + 528
    frame #3: 0x00000000004b8a6e gimp-2.10`___lldb_unnamed_symbol6$$gimp-2.10 + 350
    frame #4: 0x00000000004b8906 gimp-2.10`gimp_fatal_error + 22
    frame #5: 0x00000000004b959d gimp-2.10`___lldb_unnamed_symbol7$$gimp-2.10 + 45
    frame #6: 0x0000000803f9fc80 libthr.so.3`___lldb_unnamed_symbol101$$libthr.so.3 + 208
    frame #7: 0x0000000803f9f24f libthr.so.3`___lldb_unnamed_symbol82$$libthr.so.3 + 319
    frame #8: 0x00007ffffffff193
    frame #9: 0x0000000804238846 libgegl-0.4.so.0`___lldb_unnamed_symbol415$$libgegl-0.4.so.0 + 262
    frame #10: 0x000000080423c30b libgegl-0.4.so.0`gegl_operation_process + 427
    frame #11: 0x0000000804240127 libgegl-0.4.so.0`gegl_graph_process + 647
    frame #12: 0x000000080423f29a libgegl-0.4.so.0`gegl_eval_manager_apply + 378
    frame #13: 0x0000000804228312 libgegl-0.4.so.0`gegl_node_blit_buffer + 210
    frame #14: 0x00000000008e557b gimp`text_editor_actions_update + 75
    frame #15: 0x000000000085b28e gimp
    frame #16: 0x000000000085a63b gimp
    frame #17: 0x000000000085b30e gimp
    frame #18: 0x0000000805eef4ce libglib-2.0.so.0`g_main_context_dispatch + 366
    frame #19: 0x0000000805eef874 libglib-2.0.so.0`___lldb_unnamed_symbol121$$libglib-2.0.so.0 + 548
    frame #20: 0x0000000805eefbca libglib-2.0.so.0`g_main_loop_run + 250
    frame #21: 0x00000000004b82c2 gimp-2.10`app_run + 1058
    frame #22: 0x00000000004bb22a gimp-2.10`main + 858
    frame #23: 0x00000000004b7bcb gimp-2.10`_start + 155
  thread #2, name = 'worker'
    frame #0: 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92
    frame #1: 0x0000000803fa5c9b libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 491
    frame #2: 0x0000000805f430a5 libglib-2.0.so.0`g_cond_wait + 37
    frame #3: 0x00000008041e2c73 libgegl-0.4.so.0`___lldb_unnamed_symbol55$$libgegl-0.4.so.0 + 99
    frame #4: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #5: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #3, name = 'pool-spawner'
    frame #0: 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92
    frame #1: 0x0000000803fa5c9b libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 491
    frame #2: 0x0000000805f430a5 libglib-2.0.so.0`g_cond_wait + 37
    frame #3: 0x0000000805ebb4c5 libglib-2.0.so.0`___lldb_unnamed_symbol17$$libglib-2.0.so.0 + 133
    frame #4: 0x0000000805f1a448 libglib-2.0.so.0`___lldb_unnamed_symbol234$$libglib-2.0.so.0 + 72
    frame #5: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #6: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #4, name = 'gmain'
    frame #0: 0x000000080706c94a libc.so.7`__sys_poll + 10
    frame #1: 0x0000000803f9cb06 libthr.so.3`___lldb_unnamed_symbol38$$libthr.so.3 + 54
    frame #2: 0x0000000805eef811 libglib-2.0.so.0`___lldb_unnamed_symbol121$$libglib-2.0.so.0 + 449
    frame #3: 0x0000000805eef936 libglib-2.0.so.0`g_main_context_iteration + 102
    frame #4: 0x0000000805ef1971 libglib-2.0.so.0`___lldb_unnamed_symbol126$$libglib-2.0.so.0 + 33
    frame #5: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #6: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #5, name = 'gdbus'
    frame #0: 0x000000080706c94a libc.so.7`__sys_poll + 10
    frame #1: 0x0000000803f9cb06 libthr.so.3`___lldb_unnamed_symbol38$$libthr.so.3 + 54
    frame #2: 0x0000000805eef811 libglib-2.0.so.0`___lldb_unnamed_symbol121$$libglib-2.0.so.0 + 449
    frame #3: 0x0000000805eefbca libglib-2.0.so.0`g_main_loop_run + 250
    frame #4: 0x00000008053572db libgio-2.0.so.0`___lldb_unnamed_symbol2761$$libgio-2.0.so.0 + 27
    frame #5: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #6: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #6, name = 'async'
    frame #0: 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92
    frame #1: 0x0000000803fa5c9b libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 491
    frame #2: 0x0000000805f430a5 libglib-2.0.so.0`g_cond_wait + 37
    frame #3: 0x0000000000798016 gimp-2.10`___lldb_unnamed_symbol5902$$gimp-2.10 + 358
    frame #4: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #5: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #7, name = 'swap writer'
    frame #0: 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92
    frame #1: 0x0000000803fa5c9b libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 491
    frame #2: 0x0000000805f430a5 libglib-2.0.so.0`g_cond_wait + 37
    frame #3: 0x000000080421ea7d libgegl-0.4.so.0`___lldb_unnamed_symbol237$$libgegl-0.4.so.0 + 125
    frame #4: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #5: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #8, name = 'paint'
    frame #0: 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92
    frame #1: 0x0000000803fa5c9b libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 491
    frame #2: 0x0000000805f430a5 libglib-2.0.so.0`g_cond_wait + 37
    frame #3: 0x000000000054dbff gimp-2.10`___lldb_unnamed_symbol1034$$gimp-2.10 + 191
    frame #4: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #5: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
(lldb) bt all
* thread #1, name = 'gimp-2.10'
  * frame #0: 0x00000008070c98f8 libc.so.7`__sys_read + 8
    frame #1: 0x0000000803f9cbe6 libthr.so.3`___lldb_unnamed_symbol40$$libthr.so.3 + 54
    frame #2: 0x00000008029c00a0 libgimpbase-2.0.so.0`gimp_stack_trace_print + 528
    frame #3: 0x00000000004b8a6e gimp-2.10`___lldb_unnamed_symbol6$$gimp-2.10 + 350
    frame #4: 0x00000000004b8906 gimp-2.10`gimp_fatal_error + 22
    frame #5: 0x00000000004b959d gimp-2.10`___lldb_unnamed_symbol7$$gimp-2.10 + 45
    frame #6: 0x0000000803f9fc80 libthr.so.3`___lldb_unnamed_symbol101$$libthr.so.3 + 208
    frame #7: 0x0000000803f9f24f libthr.so.3`___lldb_unnamed_symbol82$$libthr.so.3 + 319
    frame #8: 0x00007ffffffff193
    frame #9: 0x0000000804238846 libgegl-0.4.so.0`___lldb_unnamed_symbol415$$libgegl-0.4.so.0 + 262
    frame #10: 0x000000080423c30b libgegl-0.4.so.0`gegl_operation_process + 427
    frame #11: 0x0000000804240127 libgegl-0.4.so.0`gegl_graph_process + 647
    frame #12: 0x000000080423f29a libgegl-0.4.so.0`gegl_eval_manager_apply + 378
    frame #13: 0x0000000804228312 libgegl-0.4.so.0`gegl_node_blit_buffer + 210
    frame #14: 0x00000000008e557b gimp`text_editor_actions_update + 75
    frame #15: 0x000000000085b28e gimp
    frame #16: 0x000000000085a63b gimp
    frame #17: 0x000000000085b30e gimp
    frame #18: 0x0000000805eef4ce libglib-2.0.so.0`g_main_context_dispatch + 366
    frame #19: 0x0000000805eef874 libglib-2.0.so.0`___lldb_unnamed_symbol121$$libglib-2.0.so.0 + 548
    frame #20: 0x0000000805eefbca libglib-2.0.so.0`g_main_loop_run + 250
    frame #21: 0x00000000004b82c2 gimp-2.10`app_run + 1058
    frame #22: 0x00000000004bb22a gimp-2.10`main + 858
    frame #23: 0x00000000004b7bcb gimp-2.10`_start + 155
  thread #2, name = 'worker'
    frame #0: 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92
    frame #1: 0x0000000803fa5c9b libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 491
    frame #2: 0x0000000805f430a5 libglib-2.0.so.0`g_cond_wait + 37
    frame #3: 0x00000008041e2c73 libgegl-0.4.so.0`___lldb_unnamed_symbol55$$libgegl-0.4.so.0 + 99
    frame #4: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #5: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #3, name = 'pool-spawner'
    frame #0: 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92
    frame #1: 0x0000000803fa5c9b libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 491
    frame #2: 0x0000000805f430a5 libglib-2.0.so.0`g_cond_wait + 37
    frame #3: 0x0000000805ebb4c5 libglib-2.0.so.0`___lldb_unnamed_symbol17$$libglib-2.0.so.0 + 133
    frame #4: 0x0000000805f1a448 libglib-2.0.so.0`___lldb_unnamed_symbol234$$libglib-2.0.so.0 + 72
    frame #5: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #6: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #4, name = 'gmain'
    frame #0: 0x000000080706c94a libc.so.7`__sys_poll + 10
    frame #1: 0x0000000803f9cb06 libthr.so.3`___lldb_unnamed_symbol38$$libthr.so.3 + 54
    frame #2: 0x0000000805eef811 libglib-2.0.so.0`___lldb_unnamed_symbol121$$libglib-2.0.so.0 + 449
    frame #3: 0x0000000805eef936 libglib-2.0.so.0`g_main_context_iteration + 102
    frame #4: 0x0000000805ef1971 libglib-2.0.so.0`___lldb_unnamed_symbol126$$libglib-2.0.so.0 + 33
    frame #5: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #6: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #5, name = 'gdbus'
    frame #0: 0x000000080706c94a libc.so.7`__sys_poll + 10
    frame #1: 0x0000000803f9cb06 libthr.so.3`___lldb_unnamed_symbol38$$libthr.so.3 + 54
    frame #2: 0x0000000805eef811 libglib-2.0.so.0`___lldb_unnamed_symbol121$$libglib-2.0.so.0 + 449
    frame #3: 0x0000000805eefbca libglib-2.0.so.0`g_main_loop_run + 250
    frame #4: 0x00000008053572db libgio-2.0.so.0`___lldb_unnamed_symbol2761$$libgio-2.0.so.0 + 27
    frame #5: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #6: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #6, name = 'async'
    frame #0: 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92
    frame #1: 0x0000000803fa5c9b libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 491
    frame #2: 0x0000000805f430a5 libglib-2.0.so.0`g_cond_wait + 37
    frame #3: 0x0000000000798016 gimp-2.10`___lldb_unnamed_symbol5902$$gimp-2.10 + 358
    frame #4: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #5: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #7, name = 'swap writer'
    frame #0: 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92
    frame #1: 0x0000000803fa5c9b libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 491
    frame #2: 0x0000000805f430a5 libglib-2.0.so.0`g_cond_wait + 37
    frame #3: 0x000000080421ea7d libgegl-0.4.so.0`___lldb_unnamed_symbol237$$libgegl-0.4.so.0 + 125
    frame #4: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #5: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348
  thread #8, name = 'paint'
    frame #0: 0x0000000803fa7fac libthr.so.3`___lldb_unnamed_symbol182$$libthr.so.3 + 92
    frame #1: 0x0000000803fa5c9b libthr.so.3`___lldb_unnamed_symbol159$$libthr.so.3 + 491
    frame #2: 0x0000000805f430a5 libglib-2.0.so.0`g_cond_wait + 37
    frame #3: 0x000000000054dbff gimp-2.10`___lldb_unnamed_symbol1034$$gimp-2.10 + 191
    frame #4: 0x0000000805f19e42 libglib-2.0.so.0`___lldb_unnamed_symbol229$$libglib-2.0.so.0 + 66
    frame #5: 0x0000000803f9a08c libthr.so.3`___lldb_unnamed_symbol1$$libthr.so.3 + 348

```