Error when running examples: "Segmentation fault: 11" from gevent
Opened this issue · 0 comments
SeventhHelix commented
Hello,
I've installed your library and am trying to run the examples given, but am getting a gevent
-related segmentation fault error immediately when running it. My terminal is cleared, this error printed, and I'm brought back to bash.
I'm running Python 2.7.9 on a mac, and pip freeze
reports:
cursed==0.2.0
gevent==1.2.0
greenlet==0.4.11
six==1.10.0
This is the line it's failing on:
https://github.com/johannestaas/cursed/blob/master/cursed/app.py#L255
def _run_windows(self):
CursedWindowClass._fix_windows(self.MAX_WIDTH, self.MAX_HEIGHT)
self.windows = CursedWindowClass.WINDOWS
self.active_window = None
for i, cw in enumerate(self.windows):
thread = gevent.spawn(cw._cw_run, self, self.window) # crash
cw.THREAD = thread
self.threads += [thread]
Might be an issue with gevent on my system, but I figured I'd report it just in case.
Thanks for your hard work on the project, it looks very useful!