-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash in Resolving some DNS #45
Comments
4.01.0 is too archaic |
Thank you! So I change config/configure.in to use ocaml 4.03 but I get the error
I'll keep looking.. I'm leveraging from the local build system for ocaml to try decoupling the packages mldonkey & ocaml in NetBSD's pkgsrc |
|
(in general - the newer ocaml you can use - the better) |
Hi ! Thank you for attending my problem, sorry for the confusion: I was getting the release 3.1.7 which I made myself by forking your repo, which is probably not the right way to go... I think I did that because another issue was already fixed in the current repo. I am trying to not use the OCaml from pkgsrc, (that's what I meant by decoupling) but I am still using a locally modified version of mldonkey's pkgsrc. |
It should build locally without problems via opam. Install
|
Hi!
I am getting a crash on start-up:
2020/05/08 21:36:26 [DNS] Resolving [germ] ...
2020/05/08 21:36:26 [DNS] Resolving [www.mldonkey.org] ...
0 in alloc_host_entry
1 in unix_gethostbyname
2 in camlIp__make_entry_from_name_1176 of src/utils/net/ip.ml:172
3 in camlIp__get_entry_cached_1185 of src/utils/net/ip.ml:226
4 in camlIp__from_name_1198 of src/utils/net/ip.ml:240
5 in camlDriverMain__resolve_name_1142 of src/daemon/driver/driverMain.ml:378
6 in camlList__exists_1136 of list.ml:131
GDB is on line 390 of driverMain.ml:
in
let hostnames =
["www.mldonkey.org"; "mldonkey.sf.net"; "www.mldonkey.net"; "www.google.com"]
in
=> DriverInteractive.dns_works := List.exists resolve_name hostnames;
I can (and may) dig deeper by debugging in OCaml as well. I am rolling on the old one though, that OCaml auto-install: 4.01.0)
I updated http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54695 as it could be NetBSD specific
The text was updated successfully, but these errors were encountered: