![启动时发生 GTK 关键断言错误](https://linux22.com/image/997841/%E5%90%AF%E5%8A%A8%E6%97%B6%E5%8F%91%E7%94%9F%20GTK%20%E5%85%B3%E9%94%AE%E6%96%AD%E8%A8%80%E9%94%99%E8%AF%AF.png)
最近我安装了 TrackVis 软件工具,但是每当我尝试加载 GUI 界面时,我都会收到 GTK_Critical 错误,请告诉我这个错误的具体原因以及如何解决它。
dev@dev-OptiPlex-780:~/Documents/TrackVis_v0.6.0.1_x86_64$ ./trackvis
(trackvis:26847): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion 'GTK_IS_WIDGET (widget)' failed
(trackvis:26847): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion 'GTK_IS_WIDGET (widget)' failed
(trackvis:26847): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion 'GTK_IS_WIDGET (widget)' failed
(trackvis:26847): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion 'GTK_IS_WIDGET (widget)' failed
(trackvis:26847): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion 'GTK_IS_WIDGET (widget)' failed
答案1
这是 TrackVis 软件工具或 GTK 本身的一个错误,很可能是前者。请将其报告为错误。