On Wed, 20 Sep 2000, Mat�j Cepl wrote:
> I have got segmentation fault with lyx 1.1.5fix1 and I have been
> able to reproduce it even inside gdb (see below excerpt from bt
> command -- what next you need?). However, when I relogged into
> KDE, lyx again works. Is it possible, that some libraries were
> corrupted by other program (krn has fallen half a hour ago
> couple of times).
>
> So, maybe that it maybe a help for you.
>
> Matej Cepl
It's the same old problem we get asked every second day.
> (gdb) bt
> #0 0x401e8599 in main_arena ()
> #1 0x40148f06 in buffered_vfprintf (s=0x401e8500, format=0x400be9f4 "%s%s\n",
>args=0xbffff718)
> at vfprintf.c:1752
> #2 0x40144856 in _IO_vfprintf (s=0x401e8500, format=0x400be9f4 "%s%s\n",
>ap=0xbffff718)
> at vfprintf.c:1018
> #3 0x4014c6f7 in fprintf (stream=0x401e8500, format=0x400be9f4 "%s%s\n") at
>fprintf.c:32
> #4 0x400b3a74 in P_errmsg ()
> #5 0x400790a2 in fl_init_colormap ()
while XFOrms is trying to initialize the color palette it tries to print a
warning message. It's done this by calling a function that doesn't exist
in your glibc.
It made this call because you have the wrong version of xforms
installed. You need a copy of xforms that's been compiled for glibc2.1.
You'll need to fetch another version with a name like:
xforms-0.88glibc2
the safest place to get this is Kayvan Sylvan's site:
ftp://ftp.sylvan.com/pub/lyx
> #6 0x4007f217 in fl_initialize ()
> #7 0x80ae0f1 in LyXGUI::LyXGUI ()
> #8 0x80b05f7 in LyX::LyX ()
> #9 0x80d6712 in main ()
> #10 0x40117cb3 in __libc_start_main (main=0x80d6640 <main>, argc=1, argv=0xbffffa74,
> init=0x804dad0 <_init>, fini=0x817ff38 <_fini>, rtld_fini=0x4000a350 <_dl_fini>,
> stack_end=0xbffffa6c) at ../sysdeps/generic/libc-start.c:78
> (gdb)
>
>
Allan. (ARRae)