<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.2">
</HEAD>
<BODY>
In that case, I recommend attaching to the lui process with strace or ltrace after it launches, but before you ask to show a feature structure.<BR>
<BR>
After launching, find the PID of lui with<BR>
<BR>
$ ps auwx | grep lui<BR>
<BR>
when you have the PID, you can pass it to ltrace with<BR>
<BR>
$ ltrace -p <PID><BR>
<BR>
This should print the library function entrance/exit trace as the program runs. You will be able to tell which of the library functions was being executed when the crash happened, and hopefully will be able to proceed from there. You can do the same with strace, but the output will probably end up mentioning ldload() as the culprit, which will probably not help to clarify anything.<BR>
<BR>
I don't have logon installed on my system at this time, and I don't have a lucid virtual machine handy, but I have been meaning to put one together and could probably be convinced to do so if this doesn't help to solve the problem.<BR>
<BR>
Cheers,<BR>
<BR>
C.J.<BR>
<BR>
<BR>
On Fri, 2010-09-10 at 14:18 -0700, Dan Flickinger wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
I think what we see now is a different problem. The 64-bit yzlui I have appears to be up-to-date, and was working fine on my 64-bit machine until this most recent Ubuntu version. I don't get any complaint about shared object files with yzlui, but as I mentioned, it crashes when asked to show a feature structure, unfortunately without any visible complaint.
Dan
----- Original Message -----
From: "C.J. Adams-Collier KF7BMP" <<A HREF="mailto:cjac@colliertech.org">cjac@colliertech.org</A>>
To: "Dan Flickinger" <<A HREF="mailto:danf@stanford.edu">danf@stanford.edu</A>>
Cc: <A HREF="mailto:developers@delph-in.net">developers@delph-in.net</A>, "Bart Cramer" <<A HREF="mailto:bart.cramer@gmail.com">bart.cramer@gmail.com</A>>
Sent: Friday, September 10, 2010 11:04:27 PM
Subject: Re: [developers] Logon on Ubuntu 10.04
I'm pretty sure I've got detailed notes in the course forum for UW 2009 LING567. Looking through the archives now...
Ah... there it is. The error I got was:
LKB(12): (lui-initialize)
#<MULTIPROCESSING:PROCESS LUI(8) @ #x1009a035c2>
LKB(13): /home/cjac/delphin/lkb/bin/linux.x86.64/yzlui: error while loading shared libraries: libgtk-1.2.so.0: cannot open shared object file: No such file or directory
[NIL] lsp-loop(): premature end of file (read 1 characters)
And I found the 64-bit yzlui library at
<A HREF="http://lingua.bash.info/trollet/">http://lingua.bash.info/trollet/</A>
specifically
<A HREF="http://lingua.bash.info/trollet/yzlui-amd64">http://lingua.bash.info/trollet/yzlui-amd64</A>
Download that binary and replace the one you have under $DELPHINHOME/lkb/bin/
I think the issue is documented here:
<A HREF="http://wiki.delph-in.net/moin/LkbLui">http://wiki.delph-in.net/moin/LkbLui</A>
Cheers,
C.J.
On Fri, 2010-09-10 at 13:29 -0700, Dan Flickinger wrote:
Yes, I'm on a 64-bit machine, but don't know where to obtain a 64-bit version of pangolui different from the 32-bit version (the two executables in logon/lingo/lkb/bin/linux.x86.[32|64] are apparently identical).
I also tried (lui-initialize :lui "yzlui") which works a little better (for English) than (lui-initialize :lui "pangolui"): it succeeds in displaying parse trees, the parse chart, and indexed MRSs, but it crashes upon being asked to display AVMs or simple MRSs. Unfortunately, the file /tmp/yzlui.debug.danf does not supply any clue about what goes wrong with AVMs. All I see is the following Lisp message (the same one that pangolui produces when it crashes):
[NIL] lsp-loop(): premature end of file (read 1 characters)
Dan
----- Original Message -----
From: "C.J. Adams-Collier KF7BMP" < <A HREF="mailto:cjac@colliertech.org">cjac@colliertech.org</A> >
To: "Bart Cramer" < <A HREF="mailto:bart.cramer@gmail.com">bart.cramer@gmail.com</A> >
Cc: <A HREF="mailto:developers@delph-in.net">developers@delph-in.net</A> Sent: Friday, September 10, 2010 6:57:11 PM
Subject: Re: [developers] Logon on Ubuntu 10.04
I think I recall this problem... Are you perhaps running on a 64-bit machine? If I recall correctly, you need to replace the binary in the distribution with a 64-bit version.
On Fri, 2010-09-10 at 10:56 +0200, Bart Cramer wrote:
Dear all,
I am having a bit of a problem running LKB from the LOGON distribution
properly. It seems to load well, and loading a grammar is also no
problem. However, when parsing, things go south:
[NIL] lsp-loop(): premature end of file (read 1 characters)
When trying again, I get the really old-fashioned graphical
representation. Issuing the command (lkb:lui-initialize) works, it
even shows some parse tree after parsing a new sentence, but crashes
when doing a mouse-over.
Is this a known problem, hopefully with a known workaround?
Bart.
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>