[OpenIndiana-discuss] DKIM violationRe: GIMP issues loading jpg and png
Carsten Grzemba
grzemba at contac-dt.de
Fri Jan 20 09:55:44 UTC 2023
Am 19.01.23 07:18 schrieb Carsten Grzemba via openindiana-discuss <openindiana-discuss at openindiana.org>:
>
>
>
> Am 18.01.23 18:25 schrieb Andreas Wacknitz <A.Wacknitz at gmx.de>:
> >
> > Am 18.01.23 um 16:05 schrieb Udo Grabowski (IMK):
> > >On 17/01/2023 07:32, russell wrote:
> > >>...
> > >>GIMP Message
> > >>
> > >>Plug-in crashed: "file-jpeg"
> > >>(/usr/lib/amd64/gimp/2.0/plug-ins/file-jpeg/file-jpeg)
> > >>...
> > >>
> > >>GIMP Message
> > >>
> > >>...
> > >>Plug-in crashed: "file-png"
> > >>(/usr/lib/amd64/gimp/2.0/plug-ins/file-png/file-png)
> > >>...
> > >>
> > >>Has anyone else noticed this?
> > >>
> > >
> > >Yes, same problem here. Both plugins crash with a segfault, while
> > >a gif-file loads without problems:
> > >
> > >ts(~) gimp
> > >GIMP-Message: Some fonts failed to load:
> > >- /usr/share/gimp/2.0/fonts/
> > >
> > >Plug-in "gtkam-gimp"
> > >(/usr/lib/amd64/gimp/2.0/plug-ins/gtkam-gimp) is installing procedure
> > >"gtkam-capture" with a full menu path "<Toolbox>/File/Acquire/Capture
> > >from Camera..." as menu label, this deprecated and will be an error in
> > >GIMP 3.0
> > >Plug-in "gtkam-gimp"
> > >(/usr/lib/amd64/gimp/2.0/plug-ins/gtkam-gimp) is installing procedure
> > >"gtkam-load" with a full menu path "<Toolbox>/File/Acquire/Load from
> > >Camera..." as menu label, this deprecated and will be an error in GIMP
> > >3.0
> > >/usr/lib/amd64/gimp/2.0/plug-ins/file-png/file-png: fatal error:
> > >Segmentation Fault
> > >/usr/lib/amd64/gimp/2.0/plug-ins/file-jpeg/file-jpeg: fatal error:
> > >Segmentation Fault
> > >/usr/lib/amd64/gimp/2.0/plug-ins/file-jpeg/file-jpeg: fatal error:
> > >Segmentation Fault
> > >/usr/lib/amd64/gimp/2.0/plug-ins/file-jpeg/file-jpeg: fatal error:
> > >Segmentation Fault
> > >/usr/lib/amd64/gimp/2.0/plug-ins/file-png/file-png: fatal error:
> > >Segmentation Fault
> > >/usr/lib/amd64/gimp/2.0/plug-ins/file-png/file-png: fatal error:
> > >Segmentation Fault
> > >/usr/lib/amd64/gimp/2.0/plug-ins/file-jpeg/file-jpeg: fatal error:
> > >Segmentation Fault
> > >/usr/lib/amd64/gimp/2.0/plug-ins/file-jpeg/file-jpeg: fatal error:
> > >Segmentation Fault
> > >/usr/lib/amd64/gimp/2.0/plug-ins/file-jpeg/file-jpeg: fatal error:
> > >Segmentation Fault
> > >gimp: GEGL-WARNING:
> > >(../../gegl-0.4.40/gegl/buffer/gegl-tile-handler-cache.c:1076):gegl_tile_cache_destroy:
> > >runtime check failed: (g_queue_is_empty (&cache_queue))
> > >EEEEeEeek! 14 GeglBuffers leaked
> > >
> > >_______________________________________________
> > >openindiana-discuss mailing list
> > >openindiana-discuss at openindiana.org
> > >https://openindiana.org/mailman/listinfo/openindiana-discuss
> > I can confirm the problem but alas I don't get a core file which would
> > be helpful to locate the problem.
> > Can anybody provide a core dump?
> >
>
>
> Gimp do not dump. It has a code for backtracing but not for OI.
>
>
> That is what I could grab with gdb
>
>
> Thread 2 received signal SIGSEGV, Segmentation fault.
> 0x00007fffbffff070 in ?? ()
> (gdb) bt
> #0 0x00007fffbffff070 in ()
> #1 0x00007fffaf3f5e35 in _Unwind_ForcedUnwind_Body () at /lib/64/libc.so.1
> #2 0x00007fffaf3f608f in _Unwind_Resume () at /lib/64/libc.so.1
> #3 0x00007fffa2cb81fc in Exiv2::XmpProperties::nsInfo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .cold] ()
> at /usr/lib/64/libexiv2.so.27
> #4 0x00007fffa2cb3d58 in Exiv2::XmpProperties::ns(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
> at /usr/lib/64/libexiv2.so.27
> #5 0x00007fffa2ef6262 in gexiv2_metadata_register_xmp_namespace ()
> at /usr/lib/64/libgexiv2.so.2
> #6 0x00007fffa3458baf in gimp_metadata_class_init (klass=0x5c74a0)
> at /ws/grzemba/oi-userland/components/image/gimp/gimp-2.10.32/libgimpbase/gimpmetadata.c:205
> #7 0x00007fffa3458baf in gimp_metadata_class_intern_init (klass=0x5c74a0)
> at /ws/grzemba/oi-userland/components/image/gimp/gimp-2.10.32/libgimpbase/gimpmetadata.c:199
> #8 0x00007fffac1f3132 in g_type_class_ref.localalias ()
> at /usr/lib/64/libgobject-2.0.so.0
> #9 0x00007fffac1d2288 in g_object_new_with_properties ()
> at /usr/lib/64/libgobject-2.0.so.0
> #10 0x00007fffac1d31a9 in g_object_new () at /usr/lib/64/libgobject-2.0.so.0
> #11 0x00007fffa3459dc1 in gimp_metadata_load_from_file (file=file at entry=0x56f160, error=error at entry=0x0)
> at /ws/grzemba/oi-userland/components/image/gimp/gimp-2.10.32/libgimpbase/gimpmetadata.c:992
> #12 0x00007fff9fe5e25b in gimp_image_metadata_load_prepare (image_ID=<optimized out>, mime_type=mime_type at entry=0x40ca7b "image/png", file=file at entry=0x56f160, error=error at entry=0x0)
> at /ws/grzemba/oi-userland/components/image/gimp/gimp-2.10.32/libgimp/gimpimagemetadata.c:86
> #13 0x000000000040a428 in run (name=<optimized out>, nparams=3, param=0x4594b0, nreturn_vals=0x7fffbffff654, return_vals=<optimized out>)
> at /ws/grzemba/oi-userland/components/image/gimp/gimp-2.10.32/plug-ins/common/file-png.c:481
> #14 0x00007fffa17f7e11 in gimp_proc_run (proc_run=<optimized out>)
> at /ws/grzemba/oi-userland/components/image/gimp/gimp-2.10.32/libgimp/gimp.c---Type <return> to continue, or q <return> to quit---
> :2460
> #15 0x00007fffa17f7e11 in gimp_loop ()
> at /ws/grzemba/oi-userland/components/image/gimp/gimp-2.10.32/libgimp/gimp.c:2272
> #16 0x00007fffa17f7e11 in gimp_main (info=<optimized out>, argc=<optimized out>, argv=<optimized out>)
> at /ws/grzemba/oi-userland/components/image/gimp/gimp-2.10.32/libgimp/gimp.c:678
> #17 0x00000000004063f7 in _start_crt ()
> #18 0x0000000000406358 in _start ()
> (gdb)
>
>
I can break down the problem to:
https://github.com/Exiv2/exiv2/pull/959
The with G++10 compiled test programm 'jens' crashs with segfault.
More information about the openindiana-discuss
mailing list