| Issue 2: | Trouble with example.py |
1 of 10
Next ›
|
| 1 person starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Install pyipopt via svn. 2. 3. What is the expected output? What do you see instead? gdb /usr/bin/python GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i586-suse-linux"...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) run example.py Starting program: /usr/bin/python example.py [Thread debugging using libthread_db enabled] [New Thread 1077180096 (LWP 2501)] [PyIPOPT] Ipopt will use Hessian approximation. [PyIPOPT] nele_hess is 10 Can't find eval_h callback function Program received signal SIGABRT, Aborted. [Switching to Thread 1077180096 (LWP 2501)] 0xffffe410 in ?? () (gdb) bt #0 0xffffe410 in ?? () #1 0xbfffde68 in ?? () #2 0x00000006 in ?? () #3 0x000009c5 in ?? () #4 0x402552c1 in raise () from /lib/tls/libc.so.6 #5 0x40256b75 in abort () from /lib/tls/libc.so.6 #6 0x401d9d95 in std::set_unexpected () from /usr/lib/libstdc++.so.5 #7 0x401d9dd2 in std::terminate () from /usr/lib/libstdc++.so.5 #8 0x401d9f12 in __cxa_throw () from /usr/lib/libstdc++.so.5 #9 0x404f078a in Ipopt::AlgorithmBuilder::BuildBasicAlgorithm () from /usr/local/lib/libipopt.so.0 #10 0x0821c5b8 in ?? () #11 0x407cbacc in typeinfo for Ipopt::NO_FREE_VARIABLES_BUT_FEASIBLE () from /usr/local/lib/libipopt.so.0 #12 0x404af0a0 in Ipopt::OPTION_INVALID::~OPTION_INVALID () from /usr/local/lib/libipopt.so.0 #13 0x401310c0 in pthread_mutex_unlock () from /lib/tls/libpthread.so.0 Previous frame inner to this frame (corrupt stack?) What version of the product are you using? On what operating system? I am using Python2.4 on a linux box (SuSE 9.3) Please provide any additional information below. I can import pyipopt. Python 2.4 (#1, Oct 13 2006, 17:13:31) [GCC 3.3.5 20050117 (prerelease) (SUSE Linux)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pyipopt >>> help (pyipopt) >>> pyipopt <module 'pyipopt' from '/usr/lib/python2.4/site-packages/pyipopt.so'>
Jun 11, 2008
Project Member
#1
xu.mathena
Status:
Fixed
|