If you try to use pybel to readstring an inchi, then try to write it out as an inchi again, you get a pointer error and a core dump. This is a serious error.
like this:
mol = pybel.readstring("inchi","InChI=1S/C4H10/c1-3-4-2/h3-4H2,1-2H3\n")
mol
<pybel.Molecule object="" at="" 0x7fbe5d1611d0="">
mol.write()
'CCCC\t\n'
mol.write("inchi")
glibc detected python: free(): invalid pointer: 0x00007fbe5c6f14c0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3e6aa75e66]
/lib64/libc.so.6[0x3e6aa7897a]
/tools/bioinfo/app/openbabel-2.3.1/lib/libinchi.so.0(FreeINCHI+0x11)[0x7fbe5a7d7701]
...
core dump
Please investigate it to see what's going on
Expected output should just be the inchi