The problem is simply due to array out-of-bounds. There's a simple fix
(resizing a vector dynamically, rather than hardcoding the size), and
I'll check it in once I've tested it.

- Noel

On 30 September 2011 20:15, Geoffrey Hutchison <ge...@geoffhutchison.net> wrote:
>> Indeed
>> babel svgError.sdf svgError.svg
>> --> Segmentation fault
>
> Strangely, I don't get a segfault, but I do get a hang:
> #2  0x00000001001434df in OpenBabel::TSimpleMolecule::getBond 
> (this=0x1041f8000, index=61) at mcdlutil.cpp:1618
> #3  0x0000000100161312 in OpenBabel::TSimpleMolecule::bondsOverlapped 
> (this=0x1041f8000, bN1=56, bN2=61, delta=0.22959804535802722) at 
> mcdlutil.cpp:3034
> #4  0x00000001001616b3 in OpenBabel::TSimpleMolecule::hasOverlapped 
> (this=0x1041f8000, delta=0.22959804535802722, findFirst=false) at 
> mcdlutil.cpp:3056
> #5  0x0000000100164bc8 in OpenBabel::TSimpleMolecule::correctOverlapped 
> (this=0x1041f8000) at mcdlutil.cpp:3470
> #6  0x0000000100191bf3 in OpenBabel::TemplateRedraw::redrawFine 
> (this=0x7fff5fbd3ca8, smIn=@0x7fff5fbd3cb8) at mcdlutil.cpp:5968
>
> -Geoff
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2dcopy2
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to