[developers] Logon on Ubuntu 10.04

C.J. Adams-Collier KF7BMP cjac at colliertech.org
Fri Sep 10 23:44:03 CEST 2010


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.

After launching, find the PID of lui with

$ ps auwx | grep lui

when you have the PID, you can pass it to ltrace with

$ ltrace -p <PID>

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.

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.

Cheers,

C.J.


On Fri, 2010-09-10 at 14:18 -0700, Dan Flickinger wrote:

> 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" <cjac at colliertech.org>
> To: "Dan Flickinger" <danf at stanford.edu>
> Cc: developers at delph-in.net, "Bart Cramer" <bart.cramer at gmail.com>
> 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 
> 
> http://lingua.bash.info/trollet/ 
> 
> specifically 
> 
> http://lingua.bash.info/trollet/yzlui-amd64 
> 
> Download that binary and replace the one you have under $DELPHINHOME/lkb/bin/ 
> 
> I think the issue is documented here: 
> 
> http://wiki.delph-in.net/moin/LkbLui 
> 
> 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" < cjac at colliertech.org >
> To: "Bart Cramer" < bart.cramer at gmail.com >
> Cc: developers at delph-in.net 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. 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20100910/9149ef25/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.delph-in.net/archives/developers/attachments/20100910/9149ef25/attachment.sig>


More information about the developers mailing list