[Stackless] Stackless 2.5 branch updated for Python 2.5.1c1

Hieu Hoang hieu.d.hoang at gmail.com
Wed Apr 18 14:30:39 CEST 2007


Hi Richard,
On 4/16/07, Richard Tew <richard.m.tew at gmail.com> wrote:
> How about trying to set REGS_TO_SAVE to the following to match
> Kristjáns masm file:
>
> #define REGS_TO_SAVE "rdi", "rsi", "rbp", "rbx", "r12", "r13", "r14",
> "r15", "xmm6", "xmm7", "xmm8", "xmm9", "xmm10", "xmm11", "xmm12",
> "xmm13", "xmm14", "xmm15"

With the above copied verbatim:

./Stackless/core/slp_transfer.c: In function 'slp_transfer':
./Stackless/core/slp_transfer.c:150: error: bp cannot be used in asm here
make: *** [Stackless/core/slp_transfer.o] Error 1

After I removed "rbp", it finished compiling:

$> ../../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.413s

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 1.875s

FAILED (failures=1, errors=1)

I can set up ssh access to this machine any  time now.

  Hieu
_______________________________________________
Stackless mailing list
Stackless at stackless.com
http://www.stackless.com/mailman/listinfo/stackless


More information about the Stackless mailing list