Skip Menu |
 

This queue is for tickets about the Net-SSH-Perl CPAN distribution.

Report information
The Basics
Id: 62053
Status: new
Priority: 0/
Queue: Net-SSH-Perl

People
Owner: Nobody in particular
Requestors: falan [...] cs.washington.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: segfault with threads & net-ssh-perl
Date: Mon, 11 Oct 2010 12:02:32 -0700
To: bug-Net-SSH-Perl [...] rt.cpan.org
From: Alan Jones <falan [...] cs.washington.edu>
Download (untitled) / with headers
text/plain 2.2k
/auto/share/perl/5.8.6thr/bin/perl -MNet::SSH::Perl -e 'print $Net::SSH::Perl::VERSION' 1.34 I get the below segfault trying to use Net::SSH::Perl with threads. I've tried several versions of perl, Math::Pari, and pari with the same result. I found a suggestion that I should be using Net::SSH2 because Net::SSH is not thread safe. Following the Net::SSH::Perl documentation it seems I'm already using SSH-2, however, I can't get the software to run without Net::SSH installed. My first question: Is anyone using Net::SSH::Perl (and Net::SCP) with threads and, if so, how do they configure the perl installation? Thanks! Alan === #0 0xf6dfdb2c in moveoffstack_newer_than () from /auto/share/perl/5.8.6thr/lib/site_perl/5.8.6/i686-linux-thread-multi/auto/Math/Pari/Pari.so (gdb) bt #0 0xf6dfdb2c in moveoffstack_newer_than () from /auto/share/perl/5.8.6thr/lib/site_perl/5.8.6/i686-linux-thread-multi/auto/Math/Pari/Pari.so #1 0xf6e0144d in XS_Math__Pari_DESTROY () from /auto/share/perl/5.8.6thr/lib/site_perl/5.8.6/i686-linux-thread-multi/auto/Math/Pari/Pari.so #2 0x080c05ef in Perl_pp_entersub () #3 0x08065dd8 in S_call_body () #4 0x0806946b in Perl_call_sv () #5 0x080cc9bb in Perl_sv_clear () #6 0x080cd24a in Perl_sv_free () #7 0x080c82b9 in S_visit () #8 0x080c8319 in Perl_sv_clean_objs () #9 0x0806b598 in perl_destruct () #10 0xf7085b6a in Perl_ithread_destruct () from /auto/share/perl/5.8.6thr/lib/5.8.6/i686-linux-thread-multi/auto/threads/threads.so #11 0xf7085db5 in ithread_mg_free () from /auto/share/perl/5.8.6thr/lib/5.8.6/i686-linux-thread-multi/auto/threads/threads.so #12 0x080cd3bd in Perl_sv_unmagic () #13 0xf7084df4 in Perl_ithread_DESTROY () from /auto/share/perl/5.8.6thr/lib/5.8.6/i686-linux-thread-multi/auto/threads/threads.so #14 0xf7084e8f in XS_threads_DESTROY () from /auto/share/perl/5.8.6thr/lib/5.8.6/i686-linux-thread-multi/auto/threads/threads.so #15 0x080c05ef in Perl_pp_entersub () #16 0x08065dd8 in S_call_body () #17 0x0806946b in Perl_call_sv () #18 0x080cc9bb in Perl_sv_clear () #19 0x080cd24a in Perl_sv_free () #20 0x080ed87b in Perl_leave_scope () #21 0x080ed90c in Perl_pop_scope () #22 0x080f5943 in Perl_pp_return () #23 0x080beed8 in Perl_runops_standard () #24 0x08069cd6 in perl_run () #25 0x080635c5 in main ()


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.