What do you expect to do with the relations, once you have them?
--linas
Thanks for your query.
Rushdi
> --
> You received this message because you are subscribed to the Google Groups "link-grammar" group.
> To post to this group, send email to link-g...@googlegroups.com.
> To unsubscribe from this group, send email to link-grammar...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/link-grammar?hl=en.
>
>
When calling on the library, this is the error returned:
A fatal error has been detected by the Java Runtime Environment:
SIGSEGV (0xb) at pc=0x00002aaaaefeb180, pid=24955, tid=1103116608
JRE version: 6.0_24-b07
Java VM: Java HotSpot(TM) 64-Bit Server VM (19.1-b02 mixed mode linux-amd64 compressed oops)
Problematic frame:
C [liblink-grammar.so.4+0xa180] linkage_get_num_words+0x0
This hasn't been encountered with the same Java code running on Windows, OS X, and other Linux distributions.
Also, Link Parser works fine through the provided executables (link-parser), so it doesn't appear to be a problem with compiling and installing the package.
Would you have the rest of the stack trace handy? Who called this?
Was it called by the jni wrappers directly, or by something else
within link-grammar?
Any clue what the arguments to linkage_get_num_words were?
The first arg to inkage_get_num_words should be a pointer; I figure
that its either zero, or some corrupt value: e.g. 32-bit instead of
64-bit, or v.v.
did you recompile link-grammar to be 64-bit? Is it possible that
the liblink_grammar_java is sending 64-bit pointers to a 32-bit lib, or v.v?
> This hasn't been encountered with the same Java code running on Windows, OS
> X, and other Linux distributions.
>
> Also, Link Parser works fine through the provided executables (link-parser),
> so it doesn't appear to be a problem with compiling and installing the
> package.
>
I run the Java code with -D"java.library.path=/usr/local/lib"
-Arya Tafvizi