I should have forwarded this along sooner, but I've been letting my
inbox fill up.
Anyone using a Mac who wants to take a look into this?
http://code.google.com/p/stacklessexamples/issues/detail?id=7
---------- Forwarded message ----------
From: <stacklessexamples at googlecode.com>
Date: Sat, Jul 31, 2010 at 11:09 AM
Subject: Issue 7 in stacklessexamples: possible bug w/ del_post_switch
assertion + asyncore
To: stackless-examples-updates at googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 7 by flywheelnetworks: possible bug w/ del_post_switch
assertion + asyncore
http://code.google.com/p/stacklessexamples/issues/detail?id=7
I'm running stackless python 3.1.2, and i manually converted the
sample code to python3 (see attached files).
I ran app_comet.py on my mac (with stackless compiled w/ --py-debug
flag) and it works fine for the most part. However, there is a special
case where I can repeatedly get an assertion error:
Assertion failed: (ts->st.del_post_switch == NULL), function
PyStackless_Schedule, file Stackless/module/stacklessmodule.c, line
65.
Abort trap
To replicate, install stackless 3.1.2 on Mac w/ --py-debug, run the
attached files, and make a request to localhost:8080 but close the
connection (say close the browser tab on Chrome) before the request
gets a chance to finish.
Perhaps this is a bug in app_commet.py, but I would expect to get a
Python exception (one that I can catch) if this were the case.
- J
Attachments:
app_comet.py 4.0 KB
stacklesswsgi.py 33.0 KB