Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the CPAN-Reporter CPAN distribution.

Report information
The Basics
Id: 62310
Status: resolved
Priority: 0/
Queue: CPAN-Reporter

People
Owner: Nobody in particular
Requestors: CHORNY [...] cpan.org
njh [...] bandsman.co.uk
Cc:
AdminCc:

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



Subject: Hangs on ptee
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 573
Download (untitled) / with headers
text/plain 573b
When installing a module within the CPAN shell, the installation hangs if if a question is asked, other than a prerequisite question. For example if the user is asked to enter a path name. After hitting return not only does it hang but even SIGINT and SIGQUIT are ignored - the only way out is to kill ptee which stops the installation procedure. An example ptee command is: sh -c /usr/bin/perl /tmp/CPAN-Reporter-CW-K9wHoWQ1 2>&1 | /usr/bin/perl /usr/local/share/perl/5.10.1/auto/Tee/ptee /tmp/CPAN-R... This happens on a variety of operating systems and hardware.
From xdaveg [...] gmail.com Fri Oct 22 17: 43:59 2010
MIME-Version: 1.0
X-Spam-Status: No, score=-7.366 tagged_above=-99.9 required=10 tests=[AWL=-1.256, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2358-1287581487-643.62310-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-62310 [...] rt.cpan.org> <rt-3.8.HEAD-2358-1287581487-643.62310-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <AANLkTikKk5WkOVf7gSSbkSDwnf4HvBZALJiMfUdTDeK2 [...] mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
X-Spam-Score: -7.366
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.sender=xdaveg [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 148DF240F11 for <cpan-bug+CPAN-Reporter [...] hipster.bestpractical.com>; Fri, 22 Oct 2010 17:43:59 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NF35RHtWX8TH for <cpan-bug+CPAN-Reporter [...] hipster.bestpractical.com>; Fri, 22 Oct 2010 17:43:57 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id DF793240F0C for <bug-CPAN-Reporter [...] rt.cpan.org>; Fri, 22 Oct 2010 17:43:56 -0400 (EDT)
Received: (qmail 22500 invoked by uid 103); 22 Oct 2010 21:44:03 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 22 Oct 2010 21:44:03 -0000
Received: from mail-ww0-f52.google.com (HELO mail-ww0-f52.google.com) (74.125.82.52) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Fri, 22 Oct 2010 14:44:01 -0700
Received: by wwb22 with SMTP id 22so1330618wwb.21 for <bug-CPAN-Reporter [...] rt.cpan.org>; Fri, 22 Oct 2010 14:43:58 -0700 (PDT)
Received: by 10.216.22.193 with SMTP id t43mr11795066wet.82.1287783837674; Fri, 22 Oct 2010 14:43:57 -0700 (PDT)
Received: by 10.216.39.200 with HTTP; Fri, 22 Oct 2010 14:43:37 -0700 (PDT)
Delivered-To: cpan-bug+CPAN-Reporter [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #62310] Hangs on ptee
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=TuX5SHIKzndhZTd3n89ZBs3PEiZrWl7CnVqLZbkCyzG6YohCjzUYhxT6eegeIhAmMm GK4YfyPQgMXm2EI0hQbgmgy69h5fuONX4Vl+oB5o0Y3X8Juh0rnwuN4riOLQMpCoNTRw YS1XRHKlYKkJBYIXCPeJ7Dfu0cmaLI0HG6Oac=
Return-Path: <xdaveg [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=5HLAbqkypoeF62d63EELCrWetpYsR0Ori5r6zToQB0I=; b=P4XVBHvs3e2z2U/5e5PT5Cbkf0bQ4UxTvP8biaF/+KfCQ7W64H0WcenxHa5s/WjtqM iAsQfeT6JzK0VPRVFaXlUJOVF8tmjcZXhzJ8SJ1njQXpMFTl/pDdmw3sy+2UiiVLmcJc 6NxIIn9Cnh73QYUNlVm/AqeTn2mvBuBiytLe8=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+CPAN-Reporter [...] hipster.bestpractical.com
X-RT-Mail-Extension: cpan-reporter
X-Google-Sender-Auth: hRI-8pceVL0pwKl6ecvMqgKnXuY
Sender: xdaveg [...] gmail.com
Date: Fri, 22 Oct 2010 17:43:37 -0400
X-Spam-Level:
To: bug-CPAN-Reporter [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: David Golden <dagolden [...] cpan.org>
RT-Message-ID: <rt-3.8.HEAD-2361-1287783846-1490.62310-0-0 [...] rt.cpan.org>
Content-Length: 734
Download (untitled) / with headers
text/plain 734b
On Wed, Oct 20, 2010 at 9:31 AM, njh@bandsman.co.uk via RT <bug-CPAN-Reporter@rt.cpan.org> wrote: Show quoted text
> When installing a module within the CPAN shell, the installation hangs > if if a question is asked, other than a prerequisite question.  For > example if the user is asked to enter a path name.  After hitting return > not only does it hang but even SIGINT and SIGQUIT are ignored - the only > way out is to kill ptee which stops the installation procedure. > > An example ptee command is: > > sh -c /usr/bin/perl /tmp/CPAN-Reporter-CW-K9wHoWQ1  2>&1  | > /usr/bin/perl /usr/local/share/perl/5.10.1/auto/Tee/ptee  /tmp/CPAN-R... > > This happens on a variety of operating systems and hardware.
Yikes. I'll check into it. David
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2359-1287969221-1515.62310-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 143
Download (untitled) / with headers
text/plain 143b
Is this happening when there is a command_timeout set? If so, could you please disable it and see if the problem goes away? Thank you, David
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-2359-1287969221-1515.62310-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-2359-1287969221-1515.62310-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2358-1287972917-973.62310-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
From: njh [...] bandsman.co.uk
X-RT-Original-Encoding: utf-8
Content-Length: 426
Download (untitled) / with headers
text/plain 426b
My value for inactivity_timeout is 300 seconds. My value for version_timeout is 15 seconds. I can't find the any reference to a field called command_timeout in CPAN/Config.pm. Maybe you meant inactivity_timeout rather than command_timeout. I changed inactivity_timeout to 0 and so far things are working better. I haven't done testing on enough platforms yet to be sure, but it is possible that is where the problem lies.
From xdaveg [...] gmail.com Sun Oct 24 23: 00:43 2010
MIME-Version: 1.0
X-Spam-Status: No, score=-7.296 tagged_above=-99.9 required=10 tests=[AWL=-1.186, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, SPF_NEUTRAL=0.779, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham
In-Reply-To: <rt-3.8.HEAD-2358-1287972917-490.62310-5-0 [...] rt.cpan.org>
X-Spam-Flag: NO
References: <RT-Ticket-62310 [...] rt.cpan.org> <rt-3.8.HEAD-2359-1287969221-1515.62310-5-0 [...] rt.cpan.org> <rt-3.8.HEAD-2358-1287972917-490.62310-5-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
Message-ID: <AANLkTinRUByyvZ4KU6vHHB66urF2aO5FNfgE7gp4pXik [...] mail.gmail.com>
Content-Type: text/plain; charset=UTF-8
X-RT-Original-Encoding: utf-8
X-Spam-Score: -7.296
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Authentication-Results: hipster.bestpractical.com (amavisd-new); domainkeys=pass header.sender=xdaveg [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 1CAED240F28 for <cpan-bug+CPAN-Reporter [...] hipster.bestpractical.com>; Sun, 24 Oct 2010 23:00:43 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F4JGTLth4ZJR for <cpan-bug+CPAN-Reporter [...] hipster.bestpractical.com>; Sun, 24 Oct 2010 23:00:41 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id A893C240F24 for <bug-CPAN-Reporter [...] rt.cpan.org>; Sun, 24 Oct 2010 23:00:40 -0400 (EDT)
Received: (qmail 32123 invoked by uid 103); 25 Oct 2010 03:00:49 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 25 Oct 2010 03:00:49 -0000
Received: from mail-ww0-f42.google.com (HELO mail-ww0-f42.google.com) (74.125.82.42) by 16.mx.develooper.com (qpsmtpd/0.80) with ESMTP; Sun, 24 Oct 2010 20:00:47 -0700
Received: by wwe15 with SMTP id 15so286142wwe.3 for <bug-CPAN-Reporter [...] rt.cpan.org>; Sun, 24 Oct 2010 20:00:44 -0700 (PDT)
Received: by 10.227.146.147 with SMTP id h19mr740322wbv.197.1287975644628; Sun, 24 Oct 2010 20:00:44 -0700 (PDT)
Received: by 10.216.72.201 with HTTP; Sun, 24 Oct 2010 20:00:24 -0700 (PDT)
Delivered-To: cpan-bug+CPAN-Reporter [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #62310] Hangs on ptee
Domainkey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=uS+468ttXnCbAI+Um5DTcTBeLJKONUyF5pYyXRPk1VKCGW0cn9RdBbLpJtOwCzScLn jR5ZlQGis/FoF1FfeW+lX0DrjZKig6dXPi0Ico3leM6NDtgWDCWTpCwsEM7/ciP9VyCW 2qxIw3IsjaZI0kQrWgX5sr56q8zL8UzFBrzsw=
Return-Path: <xdaveg [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:content-type:content-transfer-encoding; bh=CwMDNFgEXbKAuiiDkWlB5MdQlNNV68kWGLxItyNN92I=; b=HIHpBxUQkFIQ5zZl7NZ3rmYWVTiWyO/ozbua6a70RWJEF5bSpG9tiZTXeA7ToHGERK wYfn0bqTpj0mIJLvRTtItkgLM+D/G6XGtT5S4cW5oPq3dl9L28ragWK1VU+Ph17DeLWR w5MGnNYLfmDXzu6J6aLgPN4QDgueVaEQ7IIwA=
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: cpan-bug+CPAN-Reporter [...] hipster.bestpractical.com
X-RT-Mail-Extension: cpan-reporter
X-Google-Sender-Auth: 0J9GwVO5ArxIvMFH1Bh03tsHS0A
Sender: xdaveg [...] gmail.com
Date: Sun, 24 Oct 2010 23:00:24 -0400
X-Spam-Level:
To: bug-CPAN-Reporter [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: David Golden <dagolden [...] cpan.org>
RT-Message-ID: <rt-3.8.HEAD-2359-1287975653-789.62310-0-0 [...] rt.cpan.org>
Content-Length: 906
Download (untitled) / with headers
text/plain 906b
On Sun, Oct 24, 2010 at 10:15 PM, njh@bandsman.co.uk via RT <bug-CPAN-Reporter@rt.cpan.org> wrote: Show quoted text
>       Queue: CPAN-Reporter >  Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=62310 > > > My value for inactivity_timeout is 300 seconds.  My value for > version_timeout is 15 seconds. > > I can't find the any reference to a field called command_timeout in > CPAN/Config.pm. > > Maybe you meant inactivity_timeout rather than command_timeout.  I > changed inactivity_timeout to 0 and so far things are working better.  I > haven't done testing on enough platforms yet to be sure, but it is > possible that is where the problem lies.
Those two are CPAN.pm config settings. I mean, have you set 'command_timeout' in your .cpanreporter/config.ini? (See CPAN::Reporter::Config for details) It's possible that there is a bad interaction between CPAN and CPAN::Reporter's timeouts. -- David
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-2359-1287975653-789.62310-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <RT-Ticket-62310 [...] rt.cpan.org> <rt-3.8.HEAD-2359-1287969221-1515.62310-5-0 [...] rt.cpan.org> <rt-3.8.HEAD-2358-1287972917-490.62310-5-0 [...] rt.cpan.org> <AANLkTinRUByyvZ4KU6vHHB66urF2aO5FNfgE7gp4pXik [...] mail.gmail.com> <rt-3.8.HEAD-2359-1287975653-789.62310-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2363-1287976605-303.62310-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
From: njh [...] bandsman.co.uk
X-RT-Original-Encoding: utf-8
Content-Length: 255
Download (untitled) / with headers
text/plain 255b
I have no reference to command_timeout in .cpanreporter/config.ini. I am still finding things are better after changing inactivity_timeout to 0 in CPAN/Config.pm - and I can't think that's a co-incidence. It may help you to find what's wrong. -Nigel
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-9063-1309222926-1469.62310-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 329
Download (untitled) / with headers
text/plain 329b
Patches in the repo swap out use of Tee and 'ptee' in favor of Capture::Tiny. After that is released to CPAN, please let me know if this issue re-occurs. As no other reports of this problem have come in, I'm downgrading the severity of the ticket. I will also mark it 'stalled' until I hear how the forthcoming version works.
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-9063-1309222926-1469.62310-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-9063-1309222926-1469.62310-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-12435-1311182427-1830.62310-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
From: njh [...] bandsman.co.uk
X-RT-Original-Encoding: utf-8
Content-Length: 901
Download (untitled) / with headers
text/plain 901b
Sorry, it's no better. I set command_timeout=300 in .cpanreporter/config.ini and I get the same hangs on user input, e.g. it hangs on this after I hit return. This is with 32- and 64-bit Linux on 5.12.4. Mail-Mbox-MessageParser-1.5002/t/speed.pl Mail-Mbox-MessageParser-1.5002/t/stdin_compressed.t Mail-Mbox-MessageParser-1.5002/t/stdin_uncompressed.t Mail-Mbox-MessageParser-1.5002/t/Test/ Mail-Mbox-MessageParser-1.5002/t/Test/Utils.pm Mail-Mbox-MessageParser-1.5002/t/undef_return_value.t CPAN.pm: Going to build D/DC/DCOPPIT/Mail-Mbox-MessageParser-1.5002.tar.gz *************************************************************************** NOTE: The optional module Benchmark::Timer (version 0.7100) is not installed. Install Benchmark::Timer if you want to run "make speedtest" Enter the full path, or "none" for none. Where can I find your "bzip" executable? (bzip2 type) [/bin/bzip2]
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-20378-1358016379-1661.62310-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 118
Download (untitled) / with headers
text/plain 118b
I have same problem on Ubuntu and Debian. Removing "command_timeout" helped. -- Alexandr Ciornii, http://chorny.net
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-20378-1358016379-1661.62310-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <rt-3.8.HEAD-20378-1358016379-1661.62310-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-20378-1358016899-1939.62310-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 376
Download (untitled) / with headers
text/plain 376b
On Sat Jan 12 13:46:19 2013, CHORNY wrote: Show quoted text
> I have same problem on Ubuntu and Debian. Removing "command_timeout"
helped. Show quoted text
>
I have latest CPAN::Reporter and Capture::Tiny. Both OS'es are run in latest VirtualBox. I can enter anything, but pressing Enter does not result in program accepting it. Input can be interrupted with Ctrl-C. -- Alexandr Ciornii, http://chorny.net
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-27627-1358109475-1330.62310-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 129
Download (untitled) / with headers
text/plain 129b
Also found this bug on non-VM Ubuntu 12.04, latest versions of all modules except core. -- Alexandr Ciornii, http://chorny.net
MIME-Version: 1.0
In-Reply-To: <rt-3.8.HEAD-27627-1358109475-1330.62310-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-3.8.HEAD-27627-1358109475-1330.62310-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-16476-1395266798-1510.62310-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 137
Download (untitled) / with headers
text/plain 137b
ptee??? hmm.... does cpan::testers change stdin? i.e. related?? -- #92402: modules ask interactive question -- but don't take dflt
X-RT-Interface: REST
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
RT-Message-ID: <rt-4.0.18-25080-1459705757-1104.62310-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
Content-Length: 84


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.