[SciPy-dev] openopt and algencan

Nils Wagner nwagner@iam.uni-stuttgart...
Thu Mar 20 11:38:16 CDT 2008


Hi all,

I encountered a problem related to the python interface of 
algencan. See http://www.ime.usp.br/~egbirgin/tango/py.php

The backtrace of my small test (comparison.py) is
as follows:

  
starting solver ALGENCAN (license: GPL) with problem 
unnamed
*** glibc detected *** double free or corruption (out): 
0x0000000000e17a40 ***

PYTHON INTERFACE ERROR: in inip, PyEval_CallFunction 
returned NULL


Program received signal SIGABRT, Aborted.
[Switching to Thread 182894186368 (LWP 5735)]
0x0000003390e2e21d in raise () from /lib64/tls/libc.so.6
(gdb) bt
#0 0x0000003390e2e21d in raise () from 
/lib64/tls/libc.so.6
#1 0x0000003390e2fa1e in abort () from 
/lib64/tls/libc.so.6
#2 0x0000003390e63291 in __libc_message () from 
/lib64/tls/libc.so.6
#3 0x0000003390e68eae in _int_free () from 
/lib64/tls/libc.so.6
#4 0x0000003390e691f6 in free () from /lib64/tls/libc.so.6
#5 0x0000002a9df3bd71 in memFree () from 
/data/home/nwagner/TANGO/pywrapper.so
#6 0x0000002a9df3dc6b in pywrapper_solver () from 
/data/home/nwagner/TANGO/pywrapper.so
#7 0x000000000048994b in PyEval_EvalFrameEx (f=0x1234c30, 
throwflag=Variable "throwflag" is not available.
) at Python/ceval.c:3564
#8 0x000000000048a205 in PyEval_EvalFrameEx (f=0x124f6b0, 
throwflag=Variable "throwflag" is not available.
) at Python/ceval.c:3650
#9 0x000000000048b791 in PyEval_EvalCodeEx 
(co=0x2a9d6ff288, globals=Variable "globals" is not 
available.
) at Python/ceval.c:2831
#10 0x00000000004894d1 in PyEval_EvalFrameEx (f=0x120f9e0, 
throwflag=Variable "throwflag" is not available.
) at Python/ceval.c:3659
#11 0x000000000048b791 in PyEval_EvalCodeEx 
(co=0x2a9c911918, globals=Variable "globals" is not 
available.
) at Python/ceval.c:2831
#12 0x00000000004d8ab8 in function_call 
(func=0x2a9c911aa0, arg=0x2a9cc91200, kw=0x12393f0) at 
Objects/funcobject.c:517
#13 0x00000000004194c3 in PyObject_Call (func=Variable 
"func" is not available.
) at Objects/abstract.c:1860
#14 0x0000000000487f3b in PyEval_EvalFrameEx (f=0x1210980, 
throwflag=Variable "throwflag" is not available.
) at Python/ceval.c:3844
#15 0x000000000048b791 in PyEval_EvalCodeEx 
(co=0x2a9b6b93f0, globals=Variable "globals" is not 
available.
) at Python/ceval.c:2831
#16 0x00000000004894d1 in PyEval_EvalFrameEx (f=0x6d2690, 
throwflag=Variable "throwflag" is not available.
) at Python/ceval.c:3659
#17 0x000000000048b791 in PyEval_EvalCodeEx 
(co=0x2a955fec60, globals=Variable "globals" is not 
available.
) at Python/ceval.c:2831
#18 0x000000000048b902 in PyEval_EvalCode (co=Variable 
"co" is not available.
) at Python/ceval.c:494
#19 0x00000000004adc9e in PyRun_FileExFlags (fp=0x65c010, 
filename=0x7fbffffa2c "comparison.py", start=Variable 
"start" is not available.
)
     at Python/pythonrun.c:1271
#20 0x00000000004aeb1f in PyRun_SimpleFileExFlags 
(fp=0x65c010, filename=0x7fbffffa2c "comparison.py", 
closeit=1,
     flags=0x7fbffff5dc) at Python/pythonrun.c:877
#21 0x0000000000411f77 in Py_Main (argc=-1073743316, 
argv=Variable "argv" is not available.
) at Modules/main.c:523
#22 0x0000003390e1c3fb in __libc_start_main () from 
/lib64/tls/libc.so.6
#23 0x000000000041163a in _start ()

How can I resolve the problem ?

Any pointer would be appreciated.

Thanks in advance

                        Nils

-------------- next part --------------
A non-text attachment was scrubbed...
Name: comparison.py
Type: application/x-python
Size: 2724 bytes
Desc: not available
Url : http://projects.scipy.org/pipermail/scipy-dev/attachments/20080320/0041feed/attachment.bin 


More information about the Scipy-dev mailing list