pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
'gegl' segfault breaks "gimp" build
With the freeze for 2022Q1 just days away, I've updated my pkgsrc tree
to head and have rebuilt nearly everything. The one failure I've
encountered on netbsd-9/amd64 (up-to-date 9.2_STABLE) is when building
"graphics/gimp". The following fails:
[...]
mkdir -p `dirname 64/gimp-texture.png` && GEGL_USE_OPENCL=no GEGL_SWAP=ram /usr/pkg/bin/gegl ../../icons/Symbolic/64/gimp-texture.png -o 64/gimp-texture.png -- cast-format input-format="R'G'B'A float" output-format="RGBA float" brightness-contrast contrast=1.5 cast-format input-format="RGBA float" output-format="R'G'B'A float"
gmake[3]: *** [Makefile:2433: 64/gimp-texture.png] Segmentation fault (core dumped)
gmake[3]: Leaving directory '/tmp/pkgsrc/graphics/gimp/work/gimp-2.10.30/icons/Symbolic-High-Contrast'
gmake[2]: *** [Makefile:658: all-recursive] Error 1
gmake[2]: Leaving directory '/tmp/pkgsrc/graphics/gimp/work/gimp-2.10.30/icons'
gmake[1]: *** [Makefile:849: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/pkgsrc/graphics/gimp/work/gimp-2.10.30'
gmake: *** [Makefile:750: all] Error 2
*** Error code 2
Stop.
make[1]: stopped in /x/pkgsrc/graphics/gimp
*** Error code 1
Stop.
make: stopped in /x/pkgsrc/graphics/gimp
Having rebuilt both "graphics/babl" and "graphics/gegl" with:
CFLAGS+= -ggdb
CXXFLAGS+= -ggdb
'gdb' shows the following backtrace:
[New process 1]
[New process 9]
[New process 4]
[New process 3]
[New process 2]
Core was generated by `gegl'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 _mm_shuffle_epi32 (__mask=0, __A=...) at /usr/include/gcc-7/emmintrin.h:1422
1422 return (__m128i)__builtin_ia32_pshufd ((__v4si)__A, __mask);
[Current thread is 1 (process 1)]
#0 _mm_shuffle_epi32 (__mask=0, __A=...) at /usr/include/gcc-7/emmintrin.h:1422
#1 babl_matrix_mul_vectorff_buf4_sse2 (samples=32, v_out=0x7f7fff5dc8c8, v_in=0x7f7fff5dc8c8, mat=0x7026bffec030) at ../babl/base/babl-rgb-converter.c:245
#2 universal_nonlinear_rgb_u8_converter_sse2 (conversion=<optimized out>, src_char=0x7026c0867190 "\343\340\366[\252\326\372\\\240", dst_char=0x7026c08670f0 "", samples=32, data=0x7026bffec030) at ../babl/base/babl-rgb-converter.c:318
#3 0x00007026c120a521 in _babl_process (n=32, destination=0x7026c1176430, source=0x7026c18fc520, cbabl=<optimized out>) at ../babl/babl-fish-path.c:1323
#4 babl_process (babl=<optimized out>, source=source@entry=0x7026c0867190, destination=destination@entry=0x7026c08670f0, n=n@entry=32) at ../babl/babl-fish-path.c:1333
#5 0x00007026c12066c0 in babl_conversion_error (conversion=0x7026c094d7b0) at ../babl/babl-conversion.c:504
#6 0x00007026c1208e38 in get_conversion_path (pc=pc@entry=0x7f7fff5dd020, current_format=current_format@entry=0x7026c15f5a30, current_length=current_length@entry=3, max_length=max_length@entry=3, legal_error=legal_error@entry=4.6999999999999999e-06) at ../babl/babl-fish-path.c:690
#7 0x00007026c1208dc6 in get_conversion_path (pc=pc@entry=0x7f7fff5dd020, current_format=current_format@entry=0x7026c15bb530, current_length=current_length@entry=2, max_length=max_length@entry=3, legal_error=legal_error@entry=4.6999999999999999e-06) at ../babl/babl-fish-path.c:749
#8 0x00007026c1208dc6 in get_conversion_path (pc=pc@entry=0x7f7fff5dd020, current_format=current_format@entry=0x7026c086e870, current_length=current_length@entry=1, max_length=max_length@entry=3, legal_error=legal_error@entry=4.6999999999999999e-06) at ../babl/babl-fish-path.c:749
#9 0x00007026c1208dc6 in get_conversion_path (pc=pc@entry=0x7f7fff5dd020, current_format=current_format@entry=0x7026c15a2ff0, current_length=current_length@entry=0, max_length=3, legal_error=legal_error@entry=4.6999999999999999e-06) at ../babl/babl-fish-path.c:749
#10 0x00007026c120a16f in babl_fish_path2 (source=source@entry=0x7026c15a2ff0, destination=destination@entry=0x7026c15f5a30, tolerance=4.6999999999999999e-06, tolerance@entry=0) at ../babl/babl-fish-path.c:1137
#11 0x00007026c120a513 in babl_fish_path (source=source@entry=0x7026c15a2ff0, destination=destination@entry=0x7026c15f5a30) at ../babl/babl-fish-path.c:1209
#12 0x00007026c120e9b7 in babl_fish (source=<optimized out>, destination=destination@entry=0x7026c15f5a30) at ../babl/babl-fish.c:304
#13 0x00007026c1640000 in gegl_buffer_iterate_read_simple (buffer=buffer@entry=0x7026c091d1a0, roi=roi@entry=0x7f7fff5dd680, buf=buf@entry=0x70269a3ffd50 "", buf_stride=buf_stride@entry=1024, format=format@entry=0x7026c15f5a30, level=level@entry=0) at ../gegl/buffer/gegl-buffer-access.c:971
#14 0x00007026c164116c in gegl_buffer_iterate_read_dispatch (buffer=buffer@entry=0x7026c091d1a0, roi=roi@entry=0x7f7fff5dd7c0, buf=0x70269a3ffd50 "", rowstride=1024, rowstride@entry=0, format=0x7026c15f5a30, level=level@entry=0, repeat_mode=repeat_mode@entry=GEGL_ABYSS_NONE) at ../gegl/buffer/gegl-buffer-access.c:1864
#15 0x00007026c1643081 in gegl_buffer_copy2 (src=src@entry=0x7026c091d1a0, repeat_mode=repeat_mode@entry=GEGL_ABYSS_NONE, dst=dst@entry=0x7026c08760d0, dst_rect=dst_rect@entry=0x7f7fff5dd880, src_rect=<optimized out>, src_rect=<optimized out>) at ../gegl/buffer/gegl-buffer-access.c:2374
#16 0x00007026c16442dd in gegl_buffer_copy (src=src@entry=0x7026c091d1a0, src_rect=0x7f7fff5dd870, src_rect@entry=0x7026c15698b0, repeat_mode=repeat_mode@entry=GEGL_ABYSS_NONE, dst=dst@entry=0x7026c08760d0, dst_rect=0x7f7fff5dd880, dst_rect@entry=0x7026c15698b0) at ../gegl/buffer/gegl-buffer-access.c:2646
#17 0x0000702684a055d4 in process (operation=<optimized out>, context=0x7026c15698a0, output_prop=<optimized out>, roi=0x7026c15698b0, level=<optimized out>) at ../operations/core/cast-format.c:89
#18 0x00007026c167c5e8 in gegl_operation_process (operation=0x7026c0d55990, context=0x7026c15698a0, output_pad=<optimized out>, result=0x7026c15698b0, level=0) at ../gegl/operation/gegl-operation.c:176
#19 0x00007026c167e181 in gegl_graph_process (path=0x7026c0d44930, level=level@entry=0) at ../gegl/process/gegl-graph-traversal.c:486
#20 0x00007026c167d512 in gegl_eval_manager_apply (self=self@entry=0x7026c156af00, roi=roi@entry=0x7f7fff5ddab0, level=level@entry=0) at ../gegl/process/gegl-eval-manager.c:128
#21 0x00007026c16672fa in gegl_node_blit_buffer (self=self@entry=0x7026c1913890, buffer=buffer@entry=0x7026c091d060, roi=roi@entry=0x7026c095b5c0, level=level@entry=0, abyss_policy=abyss_policy@entry=GEGL_ABYSS_NONE) at ../gegl/graph/gegl-node.c:1139
#22 0x00007026c1667ab1 in gegl_node_blit (self=0x7026c1913890, scale=1, roi=roi@entry=0x7026c095b5c0, format=format@entry=0x7026c15f5a30, destination_buf=destination_buf@entry=0x0, rowstride=1024, rowstride@entry=0, flags=flags@entry=GEGL_BLIT_CACHE) at ../gegl/graph/gegl-node.c:1215
#23 0x00007026c167f687 in render_rectangle (processor=0x7026c0d5def0) at ../gegl/process/gegl-processor.c:513
#24 gegl_processor_render (progress=0x0, rectangle=0x7026c0d5df18, processor=0x7026c0d5def0) at ../gegl/process/gegl-processor.c:647
#25 gegl_processor_work (processor=processor@entry=0x7026c0d5def0, progress=progress@entry=0x0) at ../gegl/process/gegl-processor.c:781
#26 0x00007026c16674d3 in gegl_node_process (self=<optimized out>) at ../gegl/graph/gegl-node.c:1861
#27 0x00000000ea6041cf in main (argc=<optimized out>, argv=<optimized out>) at ../bin/gegl.c:379
The most recent bulk-build of pkgsrc-current on NetBSD 9.0 amd64 is:
https://mail-index.netbsd.org/pkgsrc-bulk/2022/03/19/msg022209.html
which seems to indicate there was no problem building "graphics/gimp"
at that time.
Has anyone run into anything similar?
Thanks.
--
|/"\ John D. Baker, KN5UKS NetBSD Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net OpenBSD FreeBSD
| X No HTML/proprietary data in email. BSD just sits there and works!
|/ \ GPGkeyID: D703 4A7E 479F 63F8 D3F4 BD99 9572 8F23 E4AD 1645
Home |
Main Index |
Thread Index |
Old Index