EMNU 1.0.3 segmentation fault

Vito Flavio Licciulli flavio at area.ba.cnr.it
Wed Feb 7 10:13:09 UTC 2001


Hi to all,
I have a problem in EMNU rel. 1.0.3.
We have a Compaq Tru64 Unix (ex Digital Unix, OSF1) server.

Emnu goes in "segmentation fault" when the length of a program description
is longer than the terminal column.
For example, in a 80 character terminal, when you choose "RESTRICTION ENZYME" 
group menu ("recode" has a description line longer than 80 char).

I found the problem in the emnu.c source. 
The line 1320 
  buffer = (char *) malloc(ajStrLen(gl->doc+1));

has to be changed in
  buffer = (char *) malloc(ajStrLen(gl->doc)+1);
                                        ...^^^^...

Flavio Licciulli

|=====================================================================|
| Flavio Licciulli                  E-mail: flavio at area.ba.cnr.it     |
| System & Network Administrator    WWW: http://www.ba.cnr.it/~flavio |
| Italian EMBNET Node                                                 |
| C.N.R. - Area di Ricerca          Phone (39) 080-5482176/30/80      |
| Via Amendola 166/5  BARI ITALY    Fax   (39) 080-5484467            |
|=====================================================================|
|                                                                     |
|        L'intelligenza certe volte ci serve per fare                 |
|            impudentemente delle sciocchezze...                      |
|                                                   La Rochefoucauld  |
'====================================================================='






More information about the EMBOSS mailing list