分段错误:11 - python意外退出

时间:2015-03-09 17:49:10

标签: python gtk

我试图运行我下载的程序,并在安装了我所指示的所有内容后,这就是终端给我的,在python意外退出之前:

** (process:18933): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'

** (process:18933): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags'

** (process:18933): WARNING **: Trying to register gtype 'GSocketMsgFlags' as enum when in fact it is of type 'GFlags'
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
start.py:29: Warning: invalid (NULL) pointer instance
start.py:29: Warning: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
start.py:29: GtkWarning: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
start.py:29: Warning: g_object_get: assertion 'G_IS_OBJECT (object)' failed
start.py:29: GtkWarning: gdk_screen_get_display: assertion 'GDK_IS_SCREEN (screen)' failed
start.py:29: Warning: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
start.py:29: GtkWarning: gdk_pango_context_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed
start.py:29: PangoWarning: pango_context_set_font_description: assertion 'context != NULL' failed
start.py:29: PangoWarning: pango_context_set_base_dir: assertion 'context != NULL' failed
start.py:29: PangoWarning: pango_context_set_language: assertion 'context != NULL' failed
start.py:29: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
start.py:29: GtkWarning: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
Segmentation fault: 11

我做错了什么?

0 个答案:

没有答案