cht電腦資訊gcin已解決問題
adm Find login register

奇怪的 runtime critical warning

caleb
joined: 2007-09-22
posted: 630
promoted: 134
bookmarked: 90
1subject: 奇怪的 runtime critical warningPromote 0 Bookmark 02011-09-17quote  

1.6.9.pre1 執行 gcin -v 會跳出下面一串訊息,而且不顯示 gcin 版本, 也沒跳 Aborted 。

(process:24205): GLib-GObject-CRITICAL **: /home/foo/glib-2.29.90/./gobject/gtype.c:2708: You forgot to call g_type_init()
(process:24205): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
(process:24205): GLib-GObject-WARNING **: cannot add class private field to invalid type '<invalid>'
(process:24205): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(process:24205): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed

1.6.8 執行 gcin -v 跳的是:

gcin: version 1.6.8

Aborted

看起來 1.6.9.pre1 為此加了一大堆 gtk_init? 但 gcin binary 應該本來就有 gtk_init, 不知為啥會這樣跳。

eliu

joined: 2007-08-09
posted: 11480
promoted: 617
bookmarked: 187
新竹, 台灣
2subject: Promote 0 Bookmark 02011-09-17quote  

把 gtk_init 搬到前面就 ok

因為有些 critical 的 error 沒有 dialog 看不到,所以改成用 dialog 顯示

cht電腦資訊gcin已解決問題
adm Find login register
views:6554