bugGNU Parallel - Bugs: bug #56322, sem crushed when running with...

 
 

bug #56322: sem crushed when running with input from seq

Submitted by:  None
Submitted on:  Wed 15 May 2019 03:29:06 AM UTC  
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Confirmed
Privacy:  Public Assigned to:  Ole Tange <tange>
Open/Closed:  Open

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 04 Jul 2020 10:18:31 AM UTC, comment #2: 

Confirmed in 20200623.

Anonymous
Sun 20 Oct 2019 10:51:28 PM UTC, comment #1: 

Confirmed in 20190922.

Ole Tange <tange>
Project AdministratorIn charge of this item.
Wed 15 May 2019 03:29:06 AM UTC, original submission:  

I was running `seq 100000000 | xargs -P 8 -n 1 sem echo 2>&1 | less` when I suddenly saw this:

```
parallel: This should not happen. You have found a bug.
Please contact <parallel@gnu.org> and include:

  • The version number: 20161222
  • The bugid: write_idfile: /home/nobodyxu/.parallel/semaphores/id-not20a20tty/id-not20a20tty
  • The command line being run
  • The files being read (put the files on a webserver if they are big)

If you get the error on smaller/fewer files, please include those instead.
xargs: sem: exited with status 255; aborting
```

This output is given after running the command for a long time (maybe 10 mins or more) and I have no idea what has happened.

`seq --version`:

```
seq (GNU coreutils) 8.26
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Ulrich Drepper.
```

`xargs --version`:

```
xargs (GNU findutils) 4.7.0-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Eric B. Decker, James Youngman, and Kevin Dalley.
```

`bash --version`:

```
GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
```

`less --version`:

```
less 487 (GNU regular expressions)
Copyright (C) 1984-2016  Mark Nudelman

less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Homepage: http://www.greenwoodsoftware.com/less
```

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tange (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-05-17 tange StatusNone => Confirmed
        Assigned toNone => tange

    Back to the top


    Powered by Savane 3.6