|
From: Rajiv N. <ask...@gm...> - 2009-03-10 10:10:01
|
Python bindings seem partially broken on my 64 bit system. Anyone else
experiencing a similar problem?
It builds and installs ok, but running scripts/python/examples/examples.py
segfaults at the following line
obConversion = openbabel.OBConversion()
It also segfaults when importing pybel. Libopenbabel and the perl bindings
seem to function ok.
-Rajiv
SuSE Linux 9.2 (x86-64)
Linux foobar 2.6.8-24.25-smp #1 SMP Thu Aug 24 09:57:32 UTC 2006 x86_64
x86_64 x86_64 GNU/Linux
gcc 3.4.4
python 2.4.2
openbabel 2.2.1
>python examples.py
Should print 0 (atoms)
0
Should print 2 (atoms)
2
Should print 1 (bond)
1
*** glibc detected *** double free or corruption: 0x0000000000745450 ***
*** glibc detected *** double free or corruption: 0x0000000000747dd8 ***
*** glibc detected *** double free or corruption: 0x0000000000748a00 ***
==============================
*** Open Babel Error in OBDefine
Failed to make an instance CompopWtr
Segmentation fault
Python 2.4.2 (#1, Apr 18 2007, 16:10:26)
[GCC 3.3.4 (pre 3.3.5 20040809)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import openbabel
>>> import pybel
*** glibc detected *** double free or corruption: 0x00000000007bd7a0 ***
*** glibc detected *** double free or corruption: 0x00000000007c0128 ***
*** glibc detected *** double free or corruption: 0x00000000007c0d50 ***
==============================
*** Open Babel Error in OBDefine
Failed to make an instance Compo��{r
Segmentation fault
|