On Wednesday, 29 September 1999, Klaus Alfert writes:
> Hello everybody,
>
> I have problems with lilypond on my SuSE 6.2 Linux systems. It is a
> glibc 2.1 system with egcs 2.91.66:
>
> c++ -v
> Reading specs from /usr/lib/gcc-lib/i486-linux/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
glibc-2.1 (upgrades) and c++ are hairy things.
Did you upgrade egcs and libstdc++ too?
Jan.
> At startup the initialization of flower_dstream crashes with a SIGSV,
> sometimes also with a wrong machine instruction. It is possible to
> refine to error location and reproduce with a little test-program.
> Here is the stacktrace:
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x40057268 in streambuf virtual table () from /usr/lib/libstdc++-libc6.1-1.so
+ .2
> Current language: auto; currently c
> (gdb) where
> #0 0x40057268 in streambuf virtual table ()
> from /usr/lib/libstdc++-libc6.1-1.so.2
> #1 0xbffff170 in ?? ()
>
> This is the source-code of the test-program:
>
> #include <stdlib.h>
> #include <string>
> #include <iostream.h>
> #include <strstream.h>
>
> #include "flower-debug.hh"
>
> #define DEBUG dstream_.identify_as ("lily-test main")
>
> int main (int argc, string args[]) {
> set_flower_debug (*flower_dstream, true);
> cout << "Hello World!" << endl;
> fdebug << "a message\n";
> }
>
> and it was compiled with:
>
> c++ -g -I../lilypond-1.2.10/flower/include -o lily \
> main.cc ../lilypond-1.2.10/flower/out/library.a
>
> The problems startet with a recompilation of lilpond 1.2.0 on my new
> system (moving from Suse 6.1 to 6.2, changing (at least) from glibc2
> to glib2.1). The older compilation (glibc2) starts with a warning, that the
> standard-streams have changed their size and the suggestion that a
> recompilation was needed. After this warning lilypond also
> crashes. So, I tried the recompilation, but it does not succed. My
> last try was with lilypond 1.2.10.
>
> My knowledge of c++ is not good enough to see where the error could
> be. But I hope, this bug report my help somebody.
>
> Cheers,
> Klaus.
> ------------------------------------------------------------------------
> Klaus Alfert Internet: [EMAIL PROTECTED]
> "Ich habe nichts gegen Fremde, einige meiner besten Freunde sind Fremde,
> nur diese Fremden kommen nicht von hier!"
> Methusalix in "Das Geschenk des Caesar"
>
--
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien/ | http://www.lilypond.org/