Share

Open Babel

Tracker: Bugs

5 2.2.0b3 snapshot crashes with CML - ID: 1900480
Last Update: Settings changed ( ghutchis )

(From openbabel-devel)

Ok, it builds, but it segfaults in the CML tests. I've extracted one of
the
failing tests and ran it under gdb:

[rathann@ryvius
~/build/BUILD/openbabel-2.2.0b3-20080215-r2249/test/cmltest]$ gdb
../../tools/.libs/lt-babel
GNU gdb Red Hat Linux (6.6-16.fc7rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "x86_64-redhat-linux-gnu"...
Using host libthread_db library "/lib64/libthread_db.so.1".
(gdb) run -isdf 3d.head.sdf -ocml 3d.head.2.cml
Starting program:
/home/rathann/build/BUILD/openbabel-2.2.0b3-20080215-r2249/tools/.libs/lt-b
abel -isdf 3d.head.sdf -ocml 3d.head.2.cml
warning: no loadable sections found in added symbol-file system-supplied
DSO at 0x7fffdbbfd000
70 molecules converted
785 audit log messages

Program received signal SIGSEGV, Segmentation fault.
0x00000030eba8f501 in std::ostream::sentry::sentry () from
/usr/lib64/libstdc++.so.6
Current language: auto; currently c
(gdb) bt full
#0 0x00000030eba8f501 in std::ostream::sentry::sentry () from
/usr/lib64/libstdc++.so.6
No symbol table info available.
#1 0x00000030eba8fd57 in std::ostream::write () from
/usr/lib64/libstdc++.so.6
No symbol table info available.
#2 0x00002aaab3fc225f in OpenBabel::XMLConversion::WriteStream
(context=<value optimized out>,
buffer=0x7fffdbace810 "���\227", len=-609425392) at xml.cpp:337
ofs = (ostream *) 0x7fffdbace810


Nobody/Anonymous ( nobody ) - 2008-02-23 19:40

5

Closed

Fixed

Nobody/Anonymous

File Translation

2.2.x

Public


Comments ( 2 )




Date: 2008-03-03 20:55
Sender: ghutchisProject Admin


I'm marking this closed -- this is confirmed to be fixed in 2.2.0b4 and
SVN trunk. Chris Morley contributed the fixes.

Thanks!
-Geoff


Date: 2008-03-02 19:33
Sender: dmierzej


beta4 doesn't crash anymore.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2008-03-03 20:55 ghutchis
resolution_id None 2008-03-03 20:55 ghutchis
close_date - 2008-03-03 20:55 ghutchis