pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/50220: Mldonkey crashes on start



The following reply was made to PR pkg/50220; it has been noted by GNATS.

From: Germain Le Chapelain <german%free.fr@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/50220: Mldonkey crashes on start
Date: Wed, 09 Sep 2015 18:14:18 +0000

 I made some progress by adding 
 
 CONFIGURE_ARGS=--enable-debug CFLAGS=-g
 
 to the make command,
 
 I see the following back trace in gdb:
 
 
 #0  0x00000000006a98ca in camlCommonOptions__entry ()
     at src/daemon/common/commonOptions.ml:135
 #1  0x000000000047b459 in caml_startup.code_begin ()
 #2  0x00000000008575ee in caml_start_program ()
 #3  0x000000000083fde4 in _GLOBAL__sub_I__ZN8CryptoPP19cryptopp_assert_154E ()
 
 
 So right here:
 
 let min_reserved_fds = 50
 let min_connections = 50
 
 let () =
 ->  lprintf_nl "Starting MLDonkey %s ... " Autoconf.current_version;
   let ulof_old = Unix2.c_getdtablesize () in
   lprintf_nl "Language %s, locale %s, ulimit for open files %d"
 
 
 If I remove the %s and Autoconf.current_version; it passes this line, but crashes down below on the next lprintf_nl
 
 If I keep going `step into' as much as I can, the last line before I get the segfault is in /usr/pkgsrc/lang/ocaml/work/ocaml-4.02.3/stdlib/camlinternalFormat.ml, line 1584:
 
       make_printf k o new_acc fmt
 
 (* Fix padding and precision for int, int32, nativeint or int64. *)
 (* Take one or two extra integer arguments if needed. *)
 -> and make_int_padding_precision : type x y z a b c d e f .
     (b -> (b, c) acc -> f) -> b -> (b, c) acc ->
 
 
 really not too sure where to go from there.
 
 
 Also: I did all that after syncing and rebuilding after the last update to ocaml yesterday.
 
 
 Any ideas ?
 
 
 -- 
 Germain
 http://german.free.fr
 


Home | Main Index | Thread Index | Old Index