Subject: | Segmentation Fault under threads |
Date: | Thu, 20 Feb 2014 14:49:47 +0000 |
To: | "bug-Bloomd-Client [...] rt.cpan.org" <bug-Bloomd-Client [...] rt.cpan.org> |
From: | "Lewitzki Andreas (Telenor Sverige AB)" <andreas.lewitzki [...] bredband.com> |
Segmentation Fault when under threads..
Environment..
perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-thread-multi
Simple reproduction..
$ perl -MBloomd::Client -Mthreads -e 'threads->create(sub{Bloomd::Client->new()})->join'
Segmentation fault (core dumped)
Possible workaround..
I actually solved it by removing Method::Signatures and turning all "methods" into old-school sub's.
Regards
Andreas Lewitzki