On Thursday 21 September 2006 12:25, Mohammed Sameer wrote:
> On Thu, Sep 21, 2006 at 11:46:37AM +0300, George Danchev wrote:
> > On Thursday 21 September 2006 11:13, Mohammed Sameer wrote:
> > > Thanks for your response ;-)
> >
> > --cut--
> >
> > > Do you want to recompile with debugging support and run more tests ?
> > > Just please note that I don't know ocaml!
> >
> > Yes, I'd appreciate if you do the following:
> >
> > $apt-get install ocaml-nox (in order to have the `ocamldebug' executable)
> > $apt-get source ara
> > and cd to the source directory ara-1.0.15/
> > $dpkg-checkbuilddeps (and install the needed build-depends)
> >
> > Edit config/Makefile.config and add -g to he end of the first line:
> > CAMLC = ocamlc$(OPT) $(PP) -dtypes -thread $(DEBUG) $(INCDIRS) -g
> >
> > $make bt  (to compile to bytecode)
> >
> > $ocamldebug cli/ara.bt -version (or better yet ara.bt -i )
> >
> > Then type `run' on the (ocd) prompt.
>
> The problem is not with ara. ara works fine. It's xara that is segfaulting.
>
> ara.bt was fine with -version and with -i
>
> I tried to run xara.bt under the debugger but I've got:
> Lost connection with process 4611 (active process)
> at time 3110000
> Trying to recover...
> Unexpected connection

That's a least strange. Blah. Did you try the bytecode version of 1.0.15  
compiled with -g ? Here is what I got for it.

[EMAIL PROTECTED]:~/download/ara-1.0.15$ ocamldebug ./gui/xara.bt --help
        Objective Caml Debugger version 3.09.2

(ocd) run
Loading program... done.
/home/danchev/download/ara-1.0.15/./gui/xara.bt [options]
  -config <path> Set user configuration file name (default ~/.ara/xara.config)
  -dump-config  Dump configuration file to stdout.
  -fast  Run faster but use more memory.
  -slow  Use minimal amount of memory but run very slowly.
  -cache-strings  With -fast, try to conserve memory somewhat.
  -debug  Enable debugging information
  -debug-level  Set debugging level (higher is more verbose, max is 100, 
default is 10)
  -help  Display this list of options
  --help  Display this list of options
Time : 2909565
Program exit.
(ocd) q
The program is running. Quit anyway ? (y or n) y

I'd also want to see the output of `step 0' instead of `run' at the ocamldebug 
prompt.

> I did make; tried to run xara but I've got a meaningless backtrace from gdb

Yes, no joy with that :-/

-- 
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to