New comment - [#50488] Re: Segmentation fault in 2.7.8 on Ubuntu while 2.7.2 works fine

"Team at TruBrain" <team-LJteGl3ps1pWk0Htik3J/[email protected]> Mon, 18 Sep 2017 14:24:48 +0000 (UTC)
Newsgroups gmane.comp.python.stackless
Message-ID <59bfd72ff176f_390066e8cf4313746d3.email-sidekiq-2@notification.freshdesk.com>
--===============1997491264135036433==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8

<div style=3D"font-family:Helvetica Neue, Helvetica, Arial, sans-serif; fon=
t-size:13px;">
=09
<p>There is a new comment in the ticket submitted by The Stackless Python M=
ailing List to TruBrain</p><br> Comment added by : The Stackless Python Mai=
ling List<br><br>Comment Content: <br><div dir=3D"ltr">Hi there Andreas.<di=
v>What kind of socket solution are you using?=C2=A0 I.e. I'm assuming that =
you are using "tasklet blocking" to juggle IO over sockets.=C2=A0 What modu=
les are you using?</div>
<div>On Linux, that ultimatyly is achieved by using select()/poll() system =
calls.=C2=A0 It is possible that something changed on the lower level causi=
ng unexpected behaviour.=C2=A0 Possibly there are unexpected wakeups happen=
ing, i.e. the process thinks there are data to be read from the socket (bec=
ause of some select/poll notifiation) but when it tries to get it, there is=
 nothing.</div>
<div><br></div>
<div>If you can distill some dummy code to demonstrate the problem, i.e. wi=
thout all your "game" stuff, perhaps only listening on a socket, or somethi=
ng, that would be helpful.</div>
<div>Cheers!</div>
<div><br></div>
<div>K</div>
<div><br></div>
<div><br></div>
</div>
<div class=3D"gmail_extra">
<br><div class=3D"gmail_quote"></div>
</div>
<div class=3D"freshdesk_quote"><blockquote class=3D"freshdesk_quote">
<div>On 15 September 2017 at 22:30, Andreas Olsson <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:[email protected]" target=3D"_blank" rel=3D"norefe=
rrer">[email protected]</a>&gt;</span> wrote:<br>
</div>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
<div dir=3D"ltr">Hello<div><br></div>
<div class=3D"gmail_extra">
<div class=3D"gmail_quote">Not sure if this mail list is still active, but =
I need a nudge in the right direction, so I give it a try. :-)</div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote">I have developed a small game using stackless + =
pygame. For the development, I am switching between Windows, Ubuntu, and Ma=
c OS. Most of the time, this works pretty well.</div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote">Ever since my Macbook Pro upgraded to MacOS Sier=
ra, I have had problems with Stackless. When running activities that involv=
es sockets and stackless tasklets everything becomes extremely slow, and th=
e 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 i=
nstaller, and build from source, but no luck. The same Python source code r=
uns fine on Windows and Ubuntu.</div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote">I am completely lost, it would be very grateful =
if anyone could nudge me in the right direction for what this could be :-)<=
/div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote">Thank you in advance and best regards,</div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote">Andreas</div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote">PS</div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote">The game got invited to IndieCade as a "Festival=
 2017 Selection", which I am rather exited about as this is our first game =
(<a href=3D"http://jeromegames.com" target=3D"_blank" rel=3D"noreferrer">je=
romegames.com</a>). This is also the reason I am trying to fix this, as I n=
eed to bring a few laptops to the festival.<br>
</div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote"><br></div>
<div class=3D"gmail_quote"><br></div>
</div>
</div>
<br>______________________________<wbr>_________________<br>
Stackless mailing list<br>
<a href=3D"mailto:[email protected]" rel=3D"noreferrer">Stackless@sta=
ckless.com</a><br>
<a href=3D"http://www.stackless.com/mailman/listinfo/stackless" rel=3D"nore=
ferrer" target=3D"_blank">http://www.stackless.com/<wbr>mailman/listinfo/st=
ackless</wbr></a><br></wbr>
</blockquote>

<br>

<br>
</blockquote></div>



=09
	<br/>



<span title=3D"fd_tkt_identifier" style=3D'font-size:0px; font-family:"fdtk=
tid"; min-height:0px; height:0px; opacity:0; max-height:0px; line-height:0p=
x; color:#ffffff'>50488:553856</span>

</div>=


--===============1997491264135036433==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KU3RhY2tsZXNz
IG1haWxpbmcgbGlzdApTdGFja2xlc3NAc3RhY2tsZXNzLmNvbQpodHRwOi8vd3d3LnN0YWNrbGVz
cy5jb20vbWFpbG1hbi9saXN0aW5mby9zdGFja2xlc3M=

--===============1997491264135036433==--