Silent result update

Henrikki Almusa henrikki.almusa at helsinki.fi
Tue Aug 5 08:18:39 UTC 2003


Hello,

I'm trying to rework the silent result format into emboss report format. I did 
similar thing (and mailed to emboss-submit) to recoder, which has a similar 
code as silent. However i have stumbled on something that i cannot understand 
here. My current version of the patch for silent is attached.

The silent causes a segfault for reason i cannot understand. Heres some output 
from gdb.

<gdb>
$ gdb -c core emboss/.libs/lt-silent
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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 "i386-redhat-linux-gnu"...
Core was generated by `/work/hena/emboss-test/sources/emboss/.libs/lt-silent 
/work/hena/emboss-2.7.0/m'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from 
/work/hena/emboss-test/sources/nucleus/.libs/libnucleus.so.0...done.
Loaded symbols for 
/work/hena/emboss-test/sources/nucleus/.libs/libnucleus.so.0
Reading symbols from 
/work/hena/emboss-test/sources/ajax/.libs/libajaxg.so.0...done.
Loaded symbols for /work/hena/emboss-test/sources/ajax/.libs/libajaxg.so.0
Reading symbols from 
/work/hena/emboss-test/sources/ajax/.libs/libajax.so.0...done.
Loaded symbols for /work/hena/emboss-test/sources/ajax/.libs/libajax.so.0
Reading symbols from 
/work/hena/emboss-test/sources/plplot/.libs/libplplot.so.5...done.
Loaded symbols for /work/hena/emboss-test/sources/plplot/.libs/libplplot.so.5
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/lib/libgd.so.1.8...done.
Loaded symbols for /usr/lib/libgd.so.1.8
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x40492490 in _int_free () from /lib/i686/libc.so.6
(gdb) list
107         AjBool allmut;
108         AjBool comp;
109
110         AjPList results1=NULL;              /* for forward strand */
111         AjPList results2=NULL;              /* for reverse strand */
112         AjPList shits;
113         AjPList nshits;
114
115         /*get all user input*/
116         embInit("silent", argc, argv);
(gdb)
<gdb>

TIA
-- 
Henrikki Almusa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: silent.patch
Type: text/x-diff
Size: 15463 bytes
Desc: not available
URL: <http://lists.open-bio.org/pipermail/emboss-dev/attachments/20030805/ebe206fb/attachment-0001.bin>


More information about the emboss-dev mailing list