On osx using installing with macports, I keep getting a segmentation error when trying to convert from a .gro file type to .pdb or .ml2.
Here is the output from trying a conversion
$ obabel test.gro -O test.pdb
Segmentation fault: 11
When run using gdb
I recieve the output
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000098
0x00000001000cbfea in OpenBabel::OBResidue::AddAtom ()
I'm not too familiar with C, but looking at the code I think problem may have to do with res
being set before it is defined.