gtk3继续崩溃

时间:2013-03-20 02:48:05

标签: gtk3

尝试基于gtk-3的应用程序

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:289:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:323:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1828:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1845:21: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1861:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:2146:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:16:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:93:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:183:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:503:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:850:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:925:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:941:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:957:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:1012:21: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:1020:21: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:1034:21: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:1103:21: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gtk-widgets-backdrop.css:1237:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: gnome-panel.css:94:21: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: nautilus.css:18:18: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: nautilus.css:18:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: nautilus.css:81:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: nautilus.css:86:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Theme parsing error: nautilus.css:145:20: Not using units is deprecated. Assuming 'px'.

(audacious:10165): Gtk-WARNING **: Style property "border-top-left-radius" is not gettable

(audacious:10165): GLib-GObject-WARNING **: /build/buildd-glib2.0_2.35.8-1-amd64-lGLf9n/glib2.0-2.35.8/./gobject/gtype.c:4234: type id `0' is invalid

(audacious:10165): GLib-GObject-WARNING **: can't peek value table for type `' which is not currently referenced
Segmentation fault

任何帮助?

3 个答案:

答案 0 :(得分:1)

实际上重要的部分是:

(audacious:10165): GLib-GObject-WARNING **: /build/buildd-glib2.0_2.35.8-1-amd64-lGLf9n
/glib2.0-2.35.8/./gobject/gtype.c:4234: type id `0' is invalid

(audacious:10165): GLib-GObject-WARNING **: can't peek value table for type `' which is
not currently referenced Segmentation fault

表示代码正在尝试访问未知类型的实例。这很可能是一个大胆的错误,所以你应该问大胆的开发人员;如果您收集显示该特定警告的调用者列表的堆栈跟踪,将会更容易。您可以使用gdb和G_DEBUG环境变量来检索堆栈跟踪 - 只需按照GNOME wiki上提供的说明进行操作:https://live.gnome.org/GettingTraces

答案 1 :(得分:1)

可能是你的gtk-3主题与你的gtk-3库不兼容。尝试从.config / gtk-3.0 / settings.ini中删除主题并重新启动应用程序。

答案 2 :(得分:0)

我没有遇到任何崩溃,但这是我能找到的唯一一个问题,这个错误消息一直在惹恼我:

Gtk-WARNING **: Theme parsing error: nautilus.css:86:20: Not using units is deprecated. Assuming 'px'.

我目前正在使用C和Python编程,每次运行都会得到其中的几个。我已经找了一段时间的解决方案了,今天我终于因为堵塞了终端输出而感到沮丧。解决方案非常简单!!

我使用"黄昏主题"在Arch Linux上运行xfce4。我在第72行的gtk.css文件中收到此错误。 通过点击"找到"的输出,我在" /usr/share/themes/Xfce-dusk/gtk-3.0/gtk.css"中找到了该文件。我通过将线路向下移动2行确认,并再次运行我的程序。然后错误消息引用了第74行!

在第72行,我改变了它," text-shadow:1 1 white;" to" text-shadow:1px 1px white;"。

瞧!没有更烦人的错误消息!