Bug#321512: chemtool: Segmentation fault

2005-08-07 Thread Martin Kroeker
A more appropriate solution appears to be making the declaration of "const char *fontsizelabel" in line 2982 of main.c a "static const". (If it is obvious why this is necessary, please tell me...) Martin -- Dr. Martin Kroeker[EMAIL PROTECTED] c/o Prof.Dr. Caroline Roehr Institut fu

Bug#321512: chemtool: Segmentation fault

2005-08-06 Thread Michael Banck
On Sat, Aug 06, 2005 at 02:07:15PM +0200, Martin Kroeker wrote: > Could you please check if removing the "-O2" from the Makefile > makes it work for you too, when compiling with gcc-4 ? Indeed, that works. Thanks, Michael -- Michael Banck Debian Developer [EMAIL PROTECTED] http://www.advogato

Bug#321512: chemtool: Segmentation fault

2005-08-06 Thread Martin Kroeker
> Seems this (immediate segfault after program startup, GUI is not coming > up) is caused by gcc-4.0, recompiling with gcc-3.3 makes it work fine > again. I just installed gcc-4.0.1 on one of my computers and could reproduce the problem there , but it appears to be an optimizer bug in gcc 4.x that

Bug#321512: chemtool: Segmentation fault

2005-08-06 Thread Michael Banck
On Sat, Aug 06, 2005 at 07:19:22AM +0800, Li Daobing wrote: > Segmentation fault Seems this (immediate segfault after program startup, GUI is not coming up) is caused by gcc-4.0, recompiling with gcc-3.3 makes it work fine again. This is the backtrace with debugging symbols for chemtool: #0 0xb

Bug#321512: chemtool: Segmentation fault

2005-08-05 Thread Li Daobing
Package: chemtool Version: 1.6.7-1 Severity: grave Justification: renders package unusable Segmentation fault 1. gdb backtrace result[1], maybe no use, becase this is a stripped version. 2. valgrid result(see attachment) (gdb) bt #0 0xb7bd11b4 in strcmp () from /lib/tls/libc.so.6 #1 0xb7e83dd