Web lists-archives.com

gtk missing image and seg-fault




Hello gtk people,

I use Linux Mint 19.1 with Gtk 2.24. I get this when trying to use GTK-MISSING-IMAGE:

(imagination:13358): GdkPixbuf-CRITICAL **: 16:31:12.117: gdk_pixbuf_new_from_file_at_scale: assertion 'height > 0 || height == -1' failed
Can't load image /usr/share/icons/gnome/256x256/status/gtk-missing-image.png

I can see the above file with ls in the usr folder. So why do I get that error message and then the seg-fault as follows?

#0  0x00007ffff58336ef in _int_malloc (av=av@entry=0x7ffff5b8ac40 <main_arena>, bytes=bytes@entry=72) at malloc.c:3646
#1  0x00007ffff58390b1 in __libc_calloc (n=<optimised out>, elem_size=<optimised out>) at malloc.c:3436
#2  0x00007ffff662a931 in g_malloc0 () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffff68fdcdb in g_closure_new_simple () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4  0x00007ffff68ff490 in g_cclosure_new () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5  0x00007ffff6918629 in g_signal_connect_data () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x00007ffff6d9c65c in gdk_pixbuf_get_file_info () at /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0
#7  0x00005555555648de in img_scale_image (filename=0x555556024c80 "/usr/share/icons/gnome/256x256/status/gtk-missing-image.png", ratio=-nan(0x8000000000000), width=88, height=0, distort=1, color=0x555555829518, pixbuf=0x7fffffffe328, surface=0x0) at support.c:773
#8  0x000055555557e0a2 in img_load_slideshow (img=0x555555829230, input=0x7fffffffe909 "sample_ss/imagination_2_features.imag") at slideshow_project.c:402
#9  0x0000555555562883 in main (argc=2, argv=0x7fffffffe588) at imagination.c:61

Can you please help? Thanks.

Giutor


_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
https://mail.gnome.org/mailman/listinfo/gtk-list