-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've just installed LyX on a FreeBSD server running the latest version of XFree-4. The client is Redhat 7.2 running the latest version of XFree with blackbox as a window manager. LyX coredumps if I attempt to tunnel it through an SSH session. All other X applications run fine. (The /usr/ports/lyx/.../lyx application is not stripped -- however, my kernel is).
/usr/ports/print/lyx/work/lyx-1.1.6/src/lyx: Can't open display --Invalid argument LyX: unable to access X display, exiting (no debugging symbols found)...(no debugging symbols found)... Program exited with code 01. (gdb) bt No stack. (gdb) If I set DISPLAY, and then start LyX, I receive the same error. bigjay% DISPLAY=192.168.0.11:0 bigjay% gdb /usr/ports/print/lyx/work/lyx-1.1.6/src/lyx /usr/ports/print/lyx/work/lyx-1.1.6/src/lyx: Can't open display --Invalid argument LyX: unable to access X display, exiting (no debugging symbols found)...(no debugging symbols found)... Program exited with code 01. (gdb) quit bigjay% echo $DISPLAY 192.168.0.11:0 If I start LyX with the correct -display argument, it starts and runs. When I open any help documentation (the user guide in this instance), I get the following stderr message (but the document displays perfectly -- I can scroll around; the cursor moves; I can jump to references; I can open other documentation via the help menu): bigjay% /usr/ports/print/lyx/work/lyx-1.1.6/src/lyx -display 192.168.0.11:0 /** this happens when I open a help document **/ lyx: SIGSEGV signal caught Sorry, you have found a bug in LyX. If possible, please read 'Known bugs' under the Help menu and then send us a full bug report. Thanks! Bye. GS [702] error 6 E:0 0 S:1 6 If I run LyX with -display set and try to use the FILE -> OPEN dialog, I always get the following coredump: (gdb) run -display 192.168.0.11:0 Starting program: /usr/ports/print/lyx/work/lyx-1.1.6/src/lyx -display 192.168.0.11:0 Program received signal SIGSEGV, Segmentation fault. 0x2861b2ed in .cerror () from /usr/lib/libc.so.5 (gdb) bt #0 0x2861b2ed in .cerror () from /usr/lib/libc.so.5 #1 0x28618cc3 in tcgetattr () from /usr/lib/libc.so.5 #2 0x2861882e in isatty () from /usr/lib/libc.so.5 #3 0x285fe6ac in _nsyy_init_buffer () from /usr/lib/libc.so.5 #4 0x285fe5fb in _nsyy_create_buffer () from /usr/lib/libc.so.5 #5 0x285fd8b5 in _nsyylex () from /usr/lib/libc.so.5 #6 0x285f5421 in _nsyyparse () from /usr/lib/libc.so.5 #7 0x285f6ef9 in _nsdbtget () from /usr/lib/libc.so.5 #8 0x285f707b in nsdispatch () from /usr/lib/libc.so.5 #9 0x285cad46 in getpwuid () from /usr/lib/libc.so.5 #10 0x80f062a in UserCache::add () #11 0x80f2e5f in LyXFileDlg::Reread () #12 0x80f9704 in LyXFileDlg::Select () #13 0x8159281 in LyXFunc::MenuOpen () #14 0x813ed2c in LyXFunc::Dispatch () #15 0x82eb913 in Menubar::Pimpl::MenuCallback () #16 0x82ebb56 in C_Menubar_Pimpl_MenuCallback () #17 0x283eddaf in fl_object_qread () from /usr/X11R6/lib/libforms.so.0.88 #18 0x283fb279 in fl_check_forms () from /usr/X11R6/lib/libforms.so.0.88 #19 0x82774b0 in GUIRunTime::runTime () #20 0x8120db4 in LyXGUI::runTime () #21 0x812388f in LyX::LyX () #22 0x817b2e6 in main () #23 0x804fe77 in _start () (gdb) Since all of the other X applications that I run work fine, I tend to believe that this is a LyX problem. I am willing to provide access to my machine for troubleshooting purposes. I am running -current (the development version of FreeBSD) but, as I said, all of my other X-apps run fine. Jay -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8DHfjRH96/7bwglsRAsdYAKCRKm12+Jczglv9do8sD6wOlxLdcACfcdBx QkpZ0n/RvUElMdIB9G2rjCo= =rDTT -----END PGP SIGNATURE-----