Re: Segfault in

Germain <[email protected]> Tue, 10 Dec 2013 12:10:19 +0000
Newsgroups gmane.network.mldonkey.bugs
Message-ID <[email protected]>
ygrek <[email protected]> writes:

> This function is from OCaml runtime, so in order to debug it one has to build
> ocaml itself with debug symbols..

I ran ./configure -with-debug-runtime when I installed OCaml.
I am on NetBSD.

Is a way to verify that I have the debug libraries ?

> The crash is very strange.
> Please show the output of sysinfo in mldonkey.

I can't run mldonkey.
It's what compiles on NetBSD's pkgsrc at the moment.

It's really strange.
I don't remember having done a particular update right before.

> Also try running this small test :
>
> open Unix
>
> let () =
>   let resolve name =
>     try
>       let he = gethostbyname name in
>       Printf.printf "%d %d %s\n%!" (Array.length he.h_aliases) (Array.length he.h_addr_list) name
>     with Not_found ->
>       Printf.printf "- - %s\n%!" name
>   in
>   List.iter resolve ["germ";"www.mldonkey.org";"mldonkey.sf.net"]

It crashesh as well.  Same call stack:

(gdb) bt
#0  0x000000000042c18b in alloc_host_entry ()
#1  0x000000000042c36c in unix_gethostbyname ()
#2  0x00000000004117d8 in camlTest__resolve_1015 ()
#3  0x000000000041d3b1 in camlList__iter_1061 () at list.ml:73
#4  0x0000000000411847 in camlTest__entry ()
#5  0x0000000000410479 in caml_startup__code_begin ()
#6  0x00000000004408ce in caml_start_program ()
#7  0x00007f7ff7ffa000 in ?? ()
#8  0x00007f7fffffffe0 in ?? ()
#9  0x0000000000670d00 in ?? ()
#10 0x00007f7fffffdc00 in ?? ()
#11 0x000000000042fab4 in main ()


>> I couldn't register to the forum.
>> I just get a blank page on firefox and an `Error 500' on Internet Explorer.
>
> "Register" seems to be working, try once again please.

I tried again, on firefox.
When I click `submit' the next page keeps loading.
After a while it comes out blank in firefox.
I haven't got a confirmation email.


Germain

-- 
Germain
http://german.free.fr