Re: GLib-GIO-CRITICAL **: This application can not open files.



The message "GLib-GIO-CRITICAL **: This application can not open files." comes from g_application_real_local_command_line(). I can see at https://developer.gnome.org/gtk3/3.8/gtk-running.html that all gtk+ programs understand the command line option --g-fatal-warnings (two leading hyphens). You have written -g-fatal-warnings (one leading hyphen). Probably that's interpreted as a filename, and you have not specified the flag Gio::APPLICATION_HANDLES_OPEN in Gtk::Application::create().

An alternative way to make the program stop at the "GTK_IS_BUTTON (button) failed" message is to set a breakpoint at g_log():
  break g_log

Kjell

2013-06-17 21:02, Glus Xof skrev:
Sorry guys,

I need to post again another question...

I'm locked in gdb trying to debugging one "Gtk-CRITICAL **: gtk_button_set_label: assertion `GTK_IS_BUTTON (button)' failed"...

but when start executing with "run -g-fatal-warnings", the program stops suddenly with the messages,

warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?

GLib-GIO-CRITICAL **: This application can not open files.

I Googled but I didn't unterstand what should I do to solve this loading problem...

I'm working on an updated testing Debian GNU/Linux distro.

Could help ?

Glus




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]