-----BEGIN PGP SIGNED MESSAGE-----
A while ago I installed lyx-1.1.2-1.i386.rpm on my RedHat 6.0 or 6.1 (I do not
remember. Now I have replaced most, if not all the redhat rpms with the 6.1
version.) Since then I could not start lyx, it just said "Segmentation fault
(core dumped)".
The other day I saw that a new release, 1.1.4 had arrived, and I decided to
install it. I also upgraded my installation of tetex to 1.0.6-7.386.rpm.
The download site has xforms-0.88-3.i386.rpm, but I had 0.88.1-51 installed,
which should be newer.
The newly installed lyx also dump core.
To investigate a little I have tried to see what is going on using strace.
Lyx opens a socket connection to the X server, and writes and reads to this
socket a good number of times and then it gets a SIGSEGV:
7660 write(4, "T\1\4\0!\0\0\0\377q\377q\377\306"..., 16) = 16
7660 read(4, "\0\vX\1\6\0\300\7\0\0T\0\270\17/"..., 32) = 32
7660 write(4, "P\1\3\0\7\0\300\7!\0\0\0\20\1\t\0"..., 48) = 48
7660 read(4, "\1\207Z\1\0\0\0\0^\0\0\0\0\0\0\0"..., 32) = 32
7660 write(4, "\20\1\t\0\31\0\300\7XDCCC_LINEAR"..., 36) = 36
7660 read(4, "\1\207[\1\0\0\0\0_\0\0\0\0\0\0\0"..., 32) = 32
7660 write(4, "\24\0\6\0*\0\0\0_\0\0\0\23\0\0\0"..., 24) = 24
7660 read(4, "\1\0\\\1\0\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32
7660 --- SIGSEGV ---
7660 +++ killed by SIGSEGV +++
I checked the versions of xforms closer using rpm -q -i, and discovered that my
exisitng xforms was built by suse. I do not know if the redhat and suse
distributions are incompatible in any significant way, but just in case I
uninstalled tetex-lyx, lyx, xform, and installed again, this time using the
xforms provided at the lyx ftp site.
The output of the installation began like this:
[root@arabia packages]# rpm -i tetex-lyx-1.1.4-fix2.i386.rpm lyx-1.1.4-fix2.i386.rpm
xforms-0.88-3.i386.rpm
Re-configuring LyX for your system...
/var/tmp/rpm-tmp.73727: /usr/share/lyx: No such file or directory
/var/tmp/rpm-tmp.73727: ./configure: No such file or directory
execution of script failed
Configuring LyX for your system...
checking for a LaTeX2e program... (latex latex2e)
Seeing the error messages I just repeated the uninstall command, and installed
the same three packages again, one at the time: xforms, lyx and then, tetex-lyx.
This time there were no error messages.
And, finally, lyx started!
Since I did too many things between each trial, I do not know exactly what made
the problem go away.
I hope this can be of use to others.
--
Enrique Perez-Terron
[EMAIL PROTECTED]
tlf&fax (+47)22230337
mob.tlf. (+47)93401388
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: +39jm+gWzMoE5rnypcJnYgrlHgsWSZ0p
iQA/AwUBONaAEZez2tUdPFlaEQJxjgCggnj/xDhogryPx5YYmgLeJQuybQ8An2Xd
1Eg+O7U9h7IXPZ2c4TztobSx
=T3KW
-----END PGP SIGNATURE-----