Stefan Behnel wrote:
> Dag Sverre Seljebotn wrote:
>> I don't have time for fixing it, but old_temp in NewTempsExprNode was
>> introduced solely to do "print self.old_temp" during debugging. Sorry,
>> there should have beena comment.
>
> I fixed the crash (but not the underlying temp problem).
Thanks
> You should at
> least get a meaningful error message out of it now.
Now the first file in the Sage library builds, but the second one from
3.2.3 fails:
python2.5 `which cython` --embed-positions --incref-local-binop
-I/scratch/mabshoff/junk/sage-3.2.3/devel/sage-main -o
sage/categories/action.c sage/categories/action.pyx
Traceback (most recent call last):
File "/scratch/mabshoff/junk/sage-3.2.3/local/bin//cython", line 8,
in <module>
main(command_line = 1)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 730, in main
result = compile(sources, options)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 707, in compile
return compile_multiple(source, options)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 677, in compile_multiple
result = run_pipeline(source, options)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 539, in run_pipeline
err, enddata = context.run_pipeline(pipeline, source)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 198, in run_pipeline
data = phase(data)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 139, in generate_pyx_code
module_node.process_implementation(options, result)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/ModuleNode.py",
line 71, in process_implementation
self.generate_c_code(env, options, result)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/ModuleNode.py",
line 266, in generate_c_code
self.body.generate_function_definitions(env, code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Nodes.py",
line 325, in generate_function_definitions
stat.generate_function_definitions(env, code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Nodes.py",
line 325, in generate_function_definitions
stat.generate_function_definitions(env, code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Nodes.py",
line 2620, in generate_function_definitions
self.entry.type.scope, code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Nodes.py",
line 325, in generate_function_definitions
stat.generate_function_definitions(env, code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Nodes.py",
line 1049, in generate_function_definitions
self.body.generate_execution_code(code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Nodes.py",
line 331, in generate_execution_code
stat.generate_execution_code(code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Nodes.py",
line 3558, in generate_execution_code
if_clause.generate_execution_code(code, end_label)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Nodes.py",
line 3600, in generate_execution_code
self.body.generate_execution_code(code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Nodes.py",
line 331, in generate_execution_code
stat.generate_execution_code(code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/Nodes.py",
line 3076, in generate_execution_code
self.dup.free_temps(code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/ExprNodes.py",
line 713, in free_temps
self.release_temp_result(code)
File
"/scratch/mabshoff/junk/sage-3.2.3/local/lib/python2.5/site-packages/Cython/Compiler/ExprNodes.py",
line 672, in release_temp_result
self.__class__.__name__))
RuntimeError: no temp, but release requested in CoerceToTempNode
I am not quite sure what to do next, but I am hoping RobertWB or
somwbody else has an idea what the problem might be :)
> Stefan
Cheers,
Michael
> _______________________________________________
> Cython-dev mailing list
> [email protected]
> http://codespeak.net/mailman/listinfo/cython-dev
>
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev