Ticket #232 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

Segfault after creating additional soy.Window objects on X11

Reported by: ArcRiley Owned by: ZachMiller
Priority: High Milestone: beta1
Component: _core Version: Trunk
Keywords: Cc:

Description

>>> import soy
>>> w1 = soy.Window('foo')
>>> w2 = soy.Window('bar')
>>> Segmentation fault

The segfault takes place reliably when one or more windows are created, then the glutMainLoopEvent renders the window(s), then one or more additional windows are created. It seems almost certain this is a bug internal to freeglut.

Proposed solution is to migrate away from glut/freeglut due to this and the limitations they impose; no supporting borderless windows, not providing direct control over render timing, limited support for USB HID devices, etc.

Change History

comment:1 Changed 6 years ago by anonymous

  • Milestone 1.0 deleted

Milestone 1.0 deleted

comment:2 Changed 6 years ago by ArcRiley

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to beta1

This was fixed by switching from GLUT to GLX.

comment:3 Changed 6 years ago by ArcRiley

  • Component changed from Unknown to _core-x11

comment:4 Changed 5 years ago by ArcRiley

  • Component changed from _core-x11 to _core
  • Summary changed from Segfault after creating additional soy.Window objects to Segfault after creating additional soy.Window objects on X11
Note: See TracTickets for help on using tickets.