gtk3 SIGFPE in msort_r
Folks; Have been struggling with this on OpenWrt/x86 for some time. It seems to be (lack of) configuration file related, but, should not SIGFPE if using defaults (bug). 'net search yields nada for SIGFPE msort_r Questions: 1 - Minimal configuration files / contents required? 2 - Should I be using different versions? Backtrace: glibc-2.13 gtk3-3.1.92 lxterminal-0.1.11 (gdb) cont Continuing. Program received signal SIGFPE, Arithmetic exception. 0xb772661c in msort_r () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libglib-2.0.so.0 (gdb) backtrace #0 0xb770861c in msort_r () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libglib-2.0.so.0 #1 0xb76d462c in g_array_sort () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libglib-2.0.so.0 #2 0xb7265eeb in gtk_css_provider_postprocess () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgtk-3.so.0 #3 0xb726607a in gtk_css_provider_load_internal () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgtk-3.so.0 #4 0xb7266208 in gtk_css_provider_load_from_data () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgtk-3.so.0 #5 0xb72664c6 in gtk_css_provider_get_default () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgtk-3.so.0 #6 0xb73aefdb in settings_init_style () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgtk-3.so.0 #7 0xb73af188 in gtk_settings_get_for_screen () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgtk-3.so.0 #8 0xb74ca822 in gtk_window_init () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgtk-3.so.0 #9 0xb6d4d94f in g_type_create_instance () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgobject-2.0.so.0 #10 0xb6d35b32 in g_object_constructor () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgobject-2.0.so.0 #11 0xb6d36ba1 in g_object_newv () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgobject-2.0.so.0 #12 0xb6d375a8 in g_object_new () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgobject-2.0.so.0 #13 0xb74cb78b in gtk_window_new () from /home/rossb/OpenWrt/x86/OpenWrt_r29322/scripts/../staging_dir/target-i386_gl ibc-2.13/root-x86/usr/lib/libgtk-3.so.0 #14 0x08050031 in lxterminal_initialize (lxtermwin=0x8989f38, arguments=0xbfa49228, setting=0x898a2c8) at lxterminal.c:1215 #15 0x0804cb6b in main (argc=1, argv=0xbfa492f4) at lxterminal.c:1381 ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
Re: gdk_pixbuf_new_from_file_at_scale() returning error saying Unrecognized image file format when loading png files
On Tue, 2012-06-12 at 14:40 +, avijit.ma...@wipro.com wrote: Hi, On further debugging I could see the below behaviour: 1. _gdk_pixbuf_get_module receives the buffer header as:89PNG 2. But when it fetch the mime_type on that buffer it is getting mime_type:application/octet-stream which should be image/png. Due to this there is a type mismatch in mime_type and hence it is returning error with Unrecognized image file format. Any idea which could be the reason for this mime_type mismatch? Gdk-pixbuf optionally uses gio to do mime sniffing, which requires the shared-mime-info package to be installed. However, the configure script for gdk-pixbuf explicitly tries to sniff the mimetype for some png data, and only enables this if that worked. Are you are building and deploying gdk-pixbuf in different contexts? ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list
RE: gdk_pixbuf_new_from_file_at_scale() returning error saying Unrecognized image file format when loading png files
HI Alexandar, Thanks for your input. I tried installing shared-mime-info package. But still it is not working. Below is the snippet how I configure and build shared-mime-info and gdk-pixbuf: cd shared-mime-info-0.90 ./configure --prefix=$WLD make make install cd .. # As of 2012-03-14, gtk git is saying: # Requested 'gdk-pixbuf-2.0 = 2.25.2' but version of GdkPixbuf is 2.24.0 cd gdk-pixbuf ./configure --prefix=$WLD --without-libtiff # Is it worth grabbing libtiff? make make install cd .. Do I need to export any variable also? Regards, Avijit From: Alexander Larsson [al...@redhat.com] Sent: Wednesday, June 13, 2012 2:06 PM To: Avijit Manna (WT01 - PES) Cc: gtk-devel-list@gnome.org Subject: Re: gdk_pixbuf_new_from_file_at_scale() returning error saying Unrecognized image file format when loading png files On Tue, 2012-06-12 at 14:40 +, avijit.ma...@wipro.com wrote: Hi, On further debugging I could see the below behaviour: 1. _gdk_pixbuf_get_module receives the buffer header as:89PNG 2. But when it fetch the mime_type on that buffer it is getting mime_type:application/octet-stream which should be image/png. Due to this there is a type mismatch in mime_type and hence it is returning error with Unrecognized image file format. Any idea which could be the reason for this mime_type mismatch? Gdk-pixbuf optionally uses gio to do mime sniffing, which requires the shared-mime-info package to be installed. However, the configure script for gdk-pixbuf explicitly tries to sniff the mimetype for some png data, and only enables this if that worked. Are you are building and deploying gdk-pixbuf in different contexts? ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list
Re: gdk_pixbuf_new_from_file_at_scale() returning error saying Unrecognized image file format when loading png files
On Wed, 2012-06-13 at 10:16 +, avijit.ma...@wipro.com wrote: Do I need to export any variable also? XDG_DATA_DIRS=$WLD/share:/usr/share You probably also want XDG_CONFIG_DIRS, and obviously things like LD_LIBRARY_PATH and PATH. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list
RE: gdk_pixbuf_new_from_file_at_scale() returning error saying Unrecognized image file format when loading png files
Hi Alexander, There was some issue with the setting of XDG_DATA_DIRS which I could resolve. Thanks for your valuable inputs. Regards, Avijit From: Alexander Larsson [al...@redhat.com] Sent: Wednesday, June 13, 2012 5:10 PM To: Avijit Manna (WT01 - PES) Cc: gtk-devel-list@gnome.org Subject: Re: gdk_pixbuf_new_from_file_at_scale() returning error saying Unrecognized image file format when loading png files On Wed, 2012-06-13 at 10:16 +, avijit.ma...@wipro.com wrote: Do I need to export any variable also? XDG_DATA_DIRS=$WLD/share:/usr/share You probably also want XDG_CONFIG_DIRS, and obviously things like LD_LIBRARY_PATH and PATH. ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list
Drag and Drop is not working in GtkLauncher when running with Wayland back end
Hello, I have built webkit-1.8.0 with wayland (wayland 0.85) backend for my Ubuntu 11.10. I tried testing the Drag and drop feature of HTML5 in GtkLauncher while running in Wayland back end. Unfortunately drag and drop feature is not working. I am getting below error: (GtkLauncher:2302): Gdk-CRITICAL **: gdk_drag_get_selection: assertion `context-source_window != NULL' failed Is there any path to solve this issue? Regards, Avijit ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list