[Stackless] Stackless 2.6.2/Win crash with very short script

Stefan Reich wertiges.produkt at googlemail.com
Thu Jul 30 17:11:12 CEST 2009


[hope this doesn't get double-posted, had some mail server issues]


Hi all,

I have been playing around with Stackless a bit. In doing so, I came
across what I assume is a bug in Stackless.

This script:

-----
# crash_stackless.py
# this crashes in:
# Python 2.6.2 Stackless 3.1b3 060516 (release26-maint, Apr 14 2009,
21:19:36) [MS
# C v.1500 32 bit (Intel)] on win32

import stackless

def f():
stackless.channel().receive()

stackless.tasklet(f)()
stackless.run()
-----

makes python.exe crash. Here's the Windows debug info (German, sorry):

Problemsignatur:
Problemereignisname:    APPCRASH
Anwendungsname:    python.exe
Anwendungsversion:    0.0.0.0
Anwendungszeitstempel:    49e4f549
Fehlermodulname:    python26.dll
Fehlermodulversion:    2.6.2150.1013
Fehlermodulzeitstempel:    49e53630
Ausnahmecode:    c0000005
Ausnahmeoffset:    000d46ea
Betriebsystemversion:    6.0.6002.2.2.0.768.3
Gebietsschema-ID:    1031
Zusatzinformation 1:    3689
Zusatzinformation 2:    442e5c01c0397870017f3c1fff4a54c5
Zusatzinformation 3:    44c7
Zusatzinformation 4:    9b746b79bc65a0f5763418d6c57103c9


Any thoughts? The code seems innocent enough to me. I have seen other
examples work, including some that sent data through a channel, so
apparently the bug only appears if you write your script in a certain way.

Cheers,
Stefan





More information about the Stackless mailing list