Bug#526442: libperl4caml-ocaml-dev: Can't use threads with www_mechanize

2009-05-02 Thread Richard Jones
I'm highly doubtful this would ever work. Perl contains lots of global state. It's unclear if it's even safe to call this state from separate threads even if it's locked. You'd at least have to build Perl with the MULTIPLICITY option (perlguts q.v.) and change perl4caml dramatically to support

Bug#526442: libperl4caml-ocaml-dev: Can't use threads with www_mechanize

2009-05-01 Thread Fabien Givors
Package: libperl4caml-ocaml-dev Version: 0.9.5-2 Severity: important Here is a simple piece of code which dies with a segfault. --- main.ml --- let mech = Pl_WWW_Mechanize.new_ () let m = Mutex.create () let evil_thread () = Mutex.lock m; mech#get