[Stackless] Stackless 2.5 branch updated for Python 2.5.1c1

Hieu Hoang hieu.d.hoang at gmail.com
Sun Apr 15 18:18:59 CEST 2007


Here comes the s file, not a very obvious ext for annotated assembly
:) Produced with your command, except for the path to slp_transfer.c.

Reading the switch_x64_masm.asm and switch_amd64_unix.h doesn't give
me any idea which registers to save. I added rdi rsi, in that order,
to REGS_TO_SAVE. Doesn't look better to me:


$> ../../python runAll.py
.......E.........E....F.F.........
======================================================================
ERROR: Same as 1, but with a pickled unrun tasklet.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_miscell.py", line 62, in test_aliveness2
    self.lifecycle(t_new)
  File "./test_miscell.py", line 31, in lifecycle
    res = stackless.run(10)
RuntimeError: cannot execute invalid frame with 'run_cframe': frame
had a C state that can't be restored.

======================================================================
ERROR: testGeneratorScheduling (test_pickle.TestConcretePickledTasklets)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_pickle.py", line 228, in testGeneratorScheduling
    self.run_pickled(genschedoutertest, 20, 13)
  File "./test_pickle.py", line 156, in run_pickled
    ip.run()
  File "./test_pickle.py", line 17, in accumulate
    rval = (ident, func(*args))
  File "./test_pickle.py", line 103, in genschedoutertest
    for x in genschedinnertest(n, when):
RuntimeError: cannot execute invalid frame with
'gen_iternext_callback': frame had a C state that can't be restored.

======================================================================
FAIL: testSet (test_pickle.TestConcretePickledTasklets)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_pickle.py", line 218, in testSet
    self.run_pickled(settest, 20, 13)
  File "./test_pickle.py", line 164, in run_pickled
    self.assertEquals(new_rval, old_rval)
AssertionError: 13 != 19

======================================================================
FAIL: testXrange (test_pickle.TestConcretePickledTasklets)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_pickle.py", line 197, in testXrange
    self.run_pickled(xrangetest, 20, 13)
  File "./test_pickle.py", line 164, in run_pickled
    self.assertEquals(new_rval, old_rval)
AssertionError: -352583151047933933 != 19

----------------------------------------------------------------------
Ran 34 tests in 2.341s

FAILED (failures=2, errors=2)
.......EF.........................
======================================================================
ERROR: Same as 1, but with a pickled unrun tasklet.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_miscell.py", line 62, in test_aliveness2
    self.lifecycle(t_new)
  File "./test_miscell.py", line 31, in lifecycle
    res = stackless.run(10)
RuntimeError: cannot execute invalid frame with 'run_cframe': frame
had a C state that can't be restored.

======================================================================
FAIL: Same as 1, but with a pickled run(slightly) tasklet.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_miscell.py", line 107, in test_aliveness3
    self.assertEquals(t.recursion_depth, 0)
AssertionError: -1 != 0

----------------------------------------------------------------------
Ran 34 tests in 2.020s

FAILED (failures=1, errors=1)


Maybe in 2 or 3 days I can set up for an ssh access to my machine.

  Hieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: slp_transfer.s
Type: application/octet-stream
Size: 6082 bytes
Desc: not available
URL: <http://www.stackless.com/pipermail/stackless/attachments/20070416/b9184a44/attachment.obj>
-------------- next part --------------
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless


More information about the Stackless mailing list