Menu

#926 Segmentation fault for converting InChi to MDL

2.3.x
closed
nobody
segfault (2)
1
2015-05-25
2014-05-15
No

I use Open Babel 2.3.2 from the ubuntu package manager. I get a lot of segmentation faults if I want to convert an InChi to a MDL or sdf file.

Example:
example.inchi
InChI=1S/C5H9NO4/c6-3(5(9)10)1-2-4(7)8/h3H,1-2,6H2,(H,7,8)(H,9,10)/t3-/m0/s1

I execute
obabel -iinchi inchi/mpos19.inchi -osdf
and get a Segmentation fault

Same happens if I provide --gen2d. If I provide --gen3D I get a lot of warnings but a reasonable output without segfaults.

Discussion

  • Noel O'Boyle

    Noel O'Boyle - 2015-05-25

    This appears to be working now with the current development code (I confirm that it was a problem with the latest release).

     
  • Noel O'Boyle

    Noel O'Boyle - 2015-05-25
    • status: open --> closed