[developers] itsdb problems
Stephan Oepen
oe at csli.Stanford.EDU
Sat Aug 6 01:37:50 CEST 2005
hi frederik,
> I am trying to connect my version of cheap with tsdb, but I end
> up with a message about a segmentation violation in the Lisp
> buffer in Emacs briefly after I start processing sentences. How
> can I debug it? (From the command line, the sentences work
> fine, and the grammar seems to load correctly as well.)
here are some debugging techniques for [incr tsdb()] clients that have
been useful for me at times:
- setting *pvm-debug-p* to t, so as to make the PVM layer log large
parts of the communication; possibly also trace _process_item, so
as to see what gets passed off to cheap. then you could confirm
that those exact inputs work well interactive.
- attaching strace(1) or gdb(1) to the cheap process. then at the
time the SEGV occurs, you should be able to work out where things
stand.
the gdb(1) --pid option can be incredibly useful on background jobs.
good luck - oe
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++ Universitetet i Oslo (ILN); Boks 1102 Blindern; 0317 Oslo; (+47) 2285 7989
+++ CSLI Stanford; Ventura Hall; Stanford, CA 94305; (+1 650) 723 0515
+++ --- oe at csli.stanford.edu; oe at hf.uio.no; stephan at oepen.net ---
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
More information about the developers
mailing list