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

I did make; tried to run xara but I've got a meaningless backtrace from gdb
#0  0xa6c3f440 in ?? ()
#1  0xa7c2d8d1 in gdk_x11_drawable_get_xdisplay () from 
/usr/lib/libgdk-x11-2.0.so.0
#2  0xa7c2eef1 in gdk_events_pending () from /usr/lib/libgdk-x11-2.0.so.0
#3  0xa7c30aa7 in _gdk_events_queue () from /usr/lib/libgdk-x11-2.0.so.0
#4  0xa7c30e0f in _gdk_events_init () from /usr/lib/libgdk-x11-2.0.so.0
#5  0xa79217b1 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#6  0xa7924826 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#7  0xa7924da7 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0x08142334 in ml_g_main_iteration ()
#9  0x08084ba2 in camlGtkThread__thread_main_real_104 ()
#10 0x00000003 in ?? ()
#11 0xafd86368 in ?? ()
#12 0x08084a68 in camlGtkThread__thread_main_real_104 ()
#13 0x08353df9 in ?? ()
#14 0x00000003 in ?? ()
#15 0x00000001 in ?? ()
#16 0x08084205 in camlGui__entry ()
#17 0x08167acc in camlGui__1 ()
#18 0x081ece64 in ?? ()
#19 0x081ece74 in ?? ()
#20 0x081ece84 in ?? ()
#21 0x081ece94 in ?? ()
#22 0x081ecea4 in ?? ()
#23 0x081eceb4 in ?? ()
#24 0x081ecec4 in ?? ()
#25 0x08167b0c in camlGui__6 ()
#26 0x0806464d in caml_startup__code_begin ()
#27 0x0815d29a in caml_start_program ()
#28 0x00000000 in ?? ()

-- 
GNU/Linux registered user #224950
Proud Egyptian GNU/Linux User Group <www.eglug.org> Member.
Life powered by Debian, Homepage: www.foolab.org
--
Don't send me any attachment in Micro$oft (.DOC, .PPT) format please
Read http://www.gnu.org/philosophy/no-word-attachments.html
Preferable attachments: .PDF, .HTML, .TXT
Thanx for adding this text to Your signature

Attachment: signature.asc
Description: Digital signature

Reply via email to