GNU bug report logs - #33718
AIX: timeout: warning: timer_create: Invalid argument

Previous Next

Package: coreutils;

Reported by: Rudy BROSTEAUX <Rudy.BROSTEAUX <at> police.etat.lu>

Date: Wed, 12 Dec 2018 16:22:02 UTC

Severity: normal

Tags: moreinfo

To reply to this bug, email your comments to 33718 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#33718; Package coreutils. (Wed, 12 Dec 2018 16:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rudy BROSTEAUX <Rudy.BROSTEAUX <at> police.etat.lu>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 12 Dec 2018 16:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rudy BROSTEAUX <Rudy.BROSTEAUX <at> police.etat.lu>
To: "'bug-coreutils <at> gnu.org'" <bug-coreutils <at> gnu.org>
Subject: Syntaxe problem? I can't find the solution :-(
Date: Wed, 12 Dec 2018 14:24:09 +0000
[Message part 1 (text/plain, inline)]
Hello,

I need to use your timeout tool.

But when I tried it works with these not very nice message...
"timeout: warning: timer_create: Invalid argument"

Can I help me?

Kind regards,
Rudy
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#33718; Package coreutils. (Wed, 12 Dec 2018 19:24:02 GMT) Full text and rfc822 format available.

Message #8 received at 33718 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Rudy BROSTEAUX <Rudy.BROSTEAUX <at> police.etat.lu>, 33718 <at> debbugs.gnu.org
Subject: Re: bug#33718: Syntaxe problem? I can't find the solution :-(
Date: Wed, 12 Dec 2018 11:23:41 -0800
I suggest debugging the problem by using "strace timeout ..." rather 
than plain "timeout ...".




Information forwarded to bug-coreutils <at> gnu.org:
bug#33718; Package coreutils. (Wed, 12 Dec 2018 21:29:02 GMT) Full text and rfc822 format available.

Message #11 received at 33718 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Rudy BROSTEAUX <Rudy.BROSTEAUX <at> police.etat.lu>, 33718 <at> debbugs.gnu.org
Subject: Re: bug#33718: Syntaxe problem? I can't find the solution :-(
Date: Wed, 12 Dec 2018 22:28:24 +0100
On 12/12/18 3:24 PM, Rudy BROSTEAUX wrote:
> I need to use your timeout tool.
> 
> But when I tried it works with these not very nice message...
> "timeout: warning: timer_create: Invalid argument"

'man 3p timer_create' says:

  EINVAL The specified clock ID is not defined.

No idea.  For an analysis, we need more information:
timeout version, OS/kernel version, and finally of course a reproducer,
i.e., the exact command line you were using.

timeout works well here:

  $ /usr/bin/time -f '%e' timeout 2.3 sleep 4.5
  Command exited with non-zero status 124
  2.30

Have a nice day,
Berny




Information forwarded to bug-coreutils <at> gnu.org:
bug#33718; Package coreutils. (Thu, 13 Dec 2018 14:43:02 GMT) Full text and rfc822 format available.

Message #14 received at 33718 <at> debbugs.gnu.org (full text, mbox):

From: Rudy BROSTEAUX <Rudy.BROSTEAUX <at> police.etat.lu>
To: 'Bernhard Voelker' <mail <at> bernhard-voelker.de>, "33718 <at> debbugs.gnu.org"
 <33718 <at> debbugs.gnu.org>
Subject: RE: bug#33718: Syntaxe problem? I can't find the solution :-(
Date: Thu, 13 Dec 2018 08:54:00 +0000
Hello,

Environment: AIX 7.2 TL3 SP1 (on IBM Power Systems)
Origin of the coreutils RPM used @release 8.30 is perzl.org
Installed using a yum server.

******* /root> /usr/bin/time timeout 2.3 sleep 5
timeout: warning: timer_create: Invalid argument

real   3.01
user   0.00
sys    0.00
******** /root>

Could be a missing dependence ?

Regards,
Rudy


-----Original Message-----
From: Bernhard Voelker <mail <at> bernhard-voelker.de> 
Sent: Wednesday 12 December 2018 22:28
To: Rudy BROSTEAUX <Rudy.BROSTEAUX <at> police.etat.lu>; 33718 <at> debbugs.gnu.org
Subject: Re: bug#33718: Syntaxe problem? I can't find the solution :-(

On 12/12/18 3:24 PM, Rudy BROSTEAUX wrote:
> I need to use your timeout tool.
> 
> But when I tried it works with these not very nice message...
> "timeout: warning: timer_create: Invalid argument"

'man 3p timer_create' says:

  EINVAL The specified clock ID is not defined.

No idea.  For an analysis, we need more information:
timeout version, OS/kernel version, and finally of course a reproducer, i.e., the exact command line you were using.

timeout works well here:

  $ /usr/bin/time -f '%e' timeout 2.3 sleep 4.5
  Command exited with non-zero status 124
  2.30

Have a nice day,
Berny

Information forwarded to bug-coreutils <at> gnu.org:
bug#33718; Package coreutils. (Fri, 18 Jan 2019 07:23:01 GMT) Full text and rfc822 format available.

Message #17 received at 33718 <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Rudy BROSTEAUX <Rudy.BROSTEAUX <at> police.etat.lu>,
 'Bernhard Voelker' <mail <at> bernhard-voelker.de>,
 "33718 <at> debbugs.gnu.org" <33718 <at> debbugs.gnu.org>
Subject: Re: bug#33718: Syntaxe problem? I can't find the solution :-(
Date: Fri, 18 Jan 2019 00:22:47 -0700
tags 33718 moreinfo
stop

Hello,

On 2018-12-13 1:54 a.m., Rudy BROSTEAUX wrote:
> Environment: AIX 7.2 TL3 SP1 (on IBM Power Systems)
> Origin of the coreutils RPM used @release 8.30 is perzl.org
> Installed using a yum server.
> 
> ******* /root> /usr/bin/time timeout 2.3 sleep 5
> timeout: warning: timer_create: Invalid argument
> 
> 

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
> 
> No idea.  For an analysis, we need more information:
> timeout version, OS/kernel version, and finally of course a reproducer, i.e., the exact command line you were using.
> 
> timeout works well here:
> 
>    $ /usr/bin/time -f '%e' timeout 2.3 sleep 4.5
>    Command exited with non-zero status 124
>    2.30

I tested coreutils-8.30 built from source on AIX 7.2,
both 64 bit and 32 bit, and both work fine:

  $ file src/timeout
  src/timeout: 64-bit XCOFF executable or object module not stripped
  $ /usr/bin/time ./src/timeout 2.3 sleep 5
  Real   2.31
  User   0.00
  System 0.00

  $ file src/timeout
  src/timeout: executable (RISC System/6000) or object module not stripped
  $ /usr/bin/time ./src/timeout 2.3 sleep 5
  Real   2.30
  User   0.00
  System 0.00


Perhaps it is a problem in the RPM package?

Please try to build from source code and see if you see experience the
issue.

regards,
 - assaf





Added tag(s) moreinfo. Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 18 Jan 2019 07:23:02 GMT) Full text and rfc822 format available.

Changed bug title to 'AIX: timeout: warning: timer_create: Invalid argument' from 'Syntaxe problem? I can't find the solution :-(' Request was from Assaf Gordon <assafgordon <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 18 Jan 2019 07:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 151 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.