Opened 9 years ago
Closed 7 years ago
#49321 closed defect (wontfix)
Dreampie crashes with segmentation fault.
Reported by: | afluriach@… | Owned by: | g5pw (Aljaž Srebrnič) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | dreampie |
Description
Dreampie crashes with a segmentation fault upon launch. The crash appears to happen in PyGTK:
This is using the latest py27-pygtk @2.24.0_3+x11.
** (process:19041): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags' ** (process:19041): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum when in fact it is of type 'GFlags' ** (process:19041): 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) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: Warning: invalid (NULL) pointer instance return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: Warning: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: GtkWarning: gtk_settings_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: Warning: g_object_get: assertion 'G_IS_OBJECT (object)' failed return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: Warning: value "TRUE" of type 'gboolean' is invalid or out of range for property 'visible' of type 'gboolean' return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: GtkWarning: gdk_pango_context_get_for_screen: assertion 'GDK_IS_SCREEN (screen)' failed return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: PangoWarning: pango_context_set_font_description: assertion 'context != NULL' failed return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: PangoWarning: pango_context_set_base_dir: assertion 'context != NULL' failed return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: PangoWarning: pango_context_set_language: assertion 'context != NULL' failed return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: Warning: g_object_unref: assertion 'G_IS_OBJECT (object)' failed return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: GtkWarning: gdk_screen_get_display: assertion 'GDK_IS_SCREEN (screen)' failed return gtk.glade.XML(glade_path, root, domain) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/dreampielib/gui/SimpleGladeApp.py:336: GtkWarning: gdk_keymap_get_for_display: assertion 'GDK_IS_DISPLAY (display)' failed return gtk.glade.XML(glade_path, root, domain) Segmentation fault: 11
Change History (4)
comment:1 follow-up: 2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | PyGT segmentation fault removed |
---|---|
Owner: | changed from macports-tickets@… to g5pw@… |
comment:2 Changed 9 years ago by afluriach@…
comment:3 Changed 9 years ago by g5pw (Aljaž Srebrnič)
Ok, so I guess this is solved? Maybe add a port note about needing to have XQuartz?
comment:4 Changed 7 years ago by g5pw (Aljaž Srebrnič)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Port removed, closing.
Note: See
TracTickets for help on using
tickets.
The root cause was the lack of an X11 server (and thus no $DISPLAY). I fixed this by installing XQuartz (xorg-server).