Hi Andreas,

an example would really helpful. Another thing: we fixed many bugs between 
Stackless 2.7.2 and the current versions 2.7.13 or 2.7.14. Can you test with 
any of these versions?

Regards,
  Anselm

Von: Stackless [mailto:[email protected]] Im Auftrag von Kristján 
Valur Jónsson
Gesendet: Montag, 18. September 2017 16:15
An: The Stackless Python Mailing List
Betreff: Re: [Stackless] Segmentation fault in 2.7.8 on Ubuntu while 2.7.2 
works fine

Hi there Andreas.
What kind of socket solution are you using?  I.e. I'm assuming that you are 
using "tasklet blocking" to juggle IO over sockets.  What modules are you using?
On Linux, that ultimatyly is achieved by using select()/poll() system calls.  
It is possible that something changed on the lower level causing unexpected 
behaviour.  Possibly there are unexpected wakeups happening, i.e. the process 
thinks there are data to be read from the socket (because of some select/poll 
notifiation) but when it tries to get it, there is nothing.

If you can distill some dummy code to demonstrate the problem, i.e. without all 
your "game" stuff, perhaps only listening on a socket, or something, that would 
be helpful.
Cheers!

K



On 15 September 2017 at 22:30, Andreas Olsson 
<[email protected]<mailto:[email protected]>> wrote:
Hello

Not sure if this mail list is still active, but I need a nudge in the right 
direction, so I give it a try. :-)

I have developed a small game using stackless + pygame. For the development, I 
am switching between Windows, Ubuntu, and Mac OS. Most of the time, this works 
pretty well.

Ever since my Macbook Pro upgraded to MacOS Sierra, I have had problems with 
Stackless. When running activities that involves sockets and stackless tasklets 
everything becomes extremely slow, and the CPU load of the Python pocess goes 
up to between 120 and 130 %. This also happens when running without Pygame. I 
have tried to download the latest installer, and build from source, but no 
luck. The same Python source code runs fine on Windows and Ubuntu.

I am completely lost, it would be very grateful if anyone could nudge me in the 
right direction for what this could be :-)

Thank you in advance and best regards,

Andreas




PS

The game got invited to IndieCade as a "Festival 2017 Selection", which I am 
rather exited about as this is our first game 
(jeromegames.com<http://jeromegames.com>). This is also the reason I am trying 
to fix this, as I need to bring a few laptops to the festival.




_______________________________________________
Stackless mailing list
[email protected]<mailto:[email protected]>
http://www.stackless.com/mailman/listinfo/stackless

_______________________________________________
Stackless mailing list
[email protected]
http://www.stackless.com/mailman/listinfo/stackless

Reply via email to