pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: 'gegl' segfault breaks "gimp" build
Same failure on netbsd-9/i386:
[...]
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
Again rebuilding "graphics/{bab,geg}l" with:
CFLAGS+= -ggdb
CXXFLAGS+= -ggdb
the resulting backtrace from 'gdb' is:
[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=0xbf7a072c, v_in=0xbf7a072c, mat=0xa30b6020) at ../babl/base/babl-rgb-converter.c:245
#2 universal_nonlinear_rgb_u8_converter_sse2 (conversion=0xa3069b80, src_char=0xb7a89560 "\343\340\366[\252\326\372\\\240", dst_char=0xa311a6a0 "", samples=32, data=0xa30b6020) at ../babl/base/babl-rgb-converter.c:318
#3 0xb83fd854 in _babl_process (n=32, destination=0xa311a6a0, source=0xb7a89560, cbabl=0xa3069b80) at ../babl/babl-fish-path.c:1323
#4 babl_process (babl=0xa3069b80, source=source@entry=0xb7a89560, destination=destination@entry=0xa311a6a0, n=n@entry=32) at ../babl/babl-fish-path.c:1333
#5 0xb83f9228 in babl_conversion_error (conversion=0xaa6dc100) at ../babl/babl-conversion.c:504
#6 0xb83fc0db in get_conversion_path (pc=pc@entry=0xbf7a0d40, current_format=current_format@entry=0xb7d2eb40, 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 0xb83fc03b in get_conversion_path (pc=pc@entry=0xbf7a0d40, current_format=current_format@entry=0xb7d071a0, 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 0xb83fc03b in get_conversion_path (pc=pc@entry=0xbf7a0d40, current_format=current_format@entry=0xa310da20, 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 0xb83fc03b in get_conversion_path (pc=pc@entry=0xbf7a0d40, current_format=current_format@entry=0xaa64c120, 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 0xb83fd44b in babl_fish_path2 (source=source@entry=0xaa64c120, destination=destination@entry=0xb7d2eb40, tolerance=<optimized out>, tolerance@entry=0) at ../babl/babl-fish-path.c:1137
#11 0xb83fd825 in babl_fish_path (source=source@entry=0xaa64c120, destination=destination@entry=0xb7d2eb40) at ../babl/babl-fish-path.c:1209
#12 0xb840206d in babl_fish (source=0xaa64c120, destination=destination@entry=0xb7d2eb40) at ../babl/babl-fish.c:304
#13 0xb852c106 in gegl_buffer_iterate_read_simple (buffer=buffer@entry=0xaa64e0e0, roi=roi@entry=0xbf7a12b4, buf=buf@entry=0xa1ffef80 <error: Cannot access memory at address 0xa1ffef80>, buf_stride=buf_stride@entry=1024, format=format@entry=0xb7d2eb40, level=level@entry=0) at ../gegl/buffer/gegl-buffer-access.c:971
#14 0xb852d3ca in gegl_buffer_iterate_read_dispatch (buffer=buffer@entry=0xaa64e0e0, roi=roi@entry=0xbf7a13c8, buf=0xa1ffef80 <error: Cannot access memory at address 0xa1ffef80>, rowstride=1024, rowstride@entry=0, format=0xb7d2eb40, level=level@entry=0, repeat_mode=repeat_mode@entry=GEGL_ABYSS_NONE) at ../gegl/buffer/gegl-buffer-access.c:1864
#15 0xb852f385 in gegl_buffer_copy2 (src=src@entry=0xaa64e0e0, repeat_mode=repeat_mode@entry=GEGL_ABYSS_NONE, dst=dst@entry=0xaa64e850, dst_rect=dst_rect@entry=0xbf7a1458, src_rect=<optimized out>, src_rect=<optimized out>) at ../gegl/buffer/gegl-buffer-access.c:2374
#16 0xb85308c3 in gegl_buffer_copy (src=src@entry=0xaa64e0e0, src_rect=0xbf7a1448, src_rect@entry=0xb7d224e8, repeat_mode=repeat_mode@entry=GEGL_ABYSS_NONE, dst=dst@entry=0xaa64e850, dst_rect=0xbf7a1458, dst_rect@entry=0xb7d224e8) at ../gegl/buffer/gegl-buffer-access.c:2646
#17 0xb7a4d476 in process (operation=0xb7d6a978, context=0xb7d224e0, output_prop=<optimized out>, roi=0xb7d224e8, level=0) at ../operations/core/cast-format.c:89
#18 0xb856ee49 in gegl_operation_process (operation=operation@entry=0xb7d6a978, context=context@entry=0xb7d224e0, output_pad=<optimized out>, output_pad@entry=0xb857e9c4 "output", result=result@entry=0xb7d224e8, level=level@entry=0) at ../gegl/operation/gegl-operation.c:176
#19 0xb857110d in gegl_graph_process (path=0xb7d6b2c0, level=level@entry=0) at ../gegl/process/gegl-graph-traversal.c:486
#20 0xb857013a in gegl_eval_manager_apply (self=0xaa6ef8e0, roi=roi@entry=0xbf7a162c, level=level@entry=0) at ../gegl/process/gegl-eval-manager.c:128
#21 0xb8556ca6 in gegl_node_blit_buffer (self=self@entry=0xb7a64440, buffer=buffer@entry=0xaa64e018, roi=roi@entry=0xaa64cdc0, level=level@entry=0, abyss_policy=abyss_policy@entry=GEGL_ABYSS_NONE) at ../gegl/graph/gegl-node.c:1139
#22 0xb8557496 in gegl_node_blit (self=0xb7a64440, scale=scale@entry=1, roi=roi@entry=0xaa64cdc0, format=format@entry=0xb7d2eb40, 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 0xb85726ea in render_rectangle (processor=0xaa66b108) at ../gegl/process/gegl-processor.c:513
#24 gegl_processor_render (progress=0x0, rectangle=0xaa66b11c, processor=0xaa66b108) at ../gegl/process/gegl-processor.c:647
#25 gegl_processor_work (processor=processor@entry=0xaa66b108, progress=progress@entry=0x0) at ../gegl/process/gegl-processor.c:781
#26 0xb8556ee8 in gegl_node_process (self=0xb7a64698) at ../gegl/graph/gegl-node.c:1861
#27 0x00adb2dc in main (argc=<optimized out>, argv=<optimized out>) at ../bin/gegl.c:379
--
|/"\ 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