bugGNU Parallel - build and execute command lines from standard input in parallel - Bugs: bug #49229, parallel hangs on last ffmpeg...

 
 

bug #49229: parallel hangs on last ffmpeg command

Submitted by:  None
Submitted on:  Thu 29 Sep 2016 09:46:07 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Ole Tange <tange>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 22 Oct 2016 11:41:04 AM UTC, comment #5:

Fixed in [a36729c].

Ole Tange <tange>
Project AdministratorIn charge of this item.
Wed 19 Oct 2016 02:53:50 AM UTC, comment #4:

I replicated it in a minimal install of Debian Jessie virtual image with the newest version (source compiled) parallel and ffmpeg with ogg files, along with it working on a older parallel version. These are kept in the /home/parallel directory

Username parallel
Password root

The bzip2 file is 1.2GB and split into 8 150M files
Once downloaded you can extract it with this command and it'll be located at DebianJessie/DebianJessie.vdi

cat parallel_ffmpeg_debian_jessie_a* | tar -xjf -

https://www.4shared.com/file/4lCKo6sYba/parallel_ffmpeg_debian_jessie_.html
https://www.4shared.com/file/KQKd3QQ8ba/parallel_ffmpeg_debian_jessie_.html
https://www.4shared.com/file/2Dqsvuouce/parallel_ffmpeg_debian_jessie_.html
https://www.4shared.com/file/OO7HVjIQba/parallel_ffmpeg_debian_jessie_.html
https://www.4shared.com/file/HP1X9kg-ba/parallel_ffmpeg_debian_jessie_.html
https://www.4shared.com/file/_sWfnilsba/parallel_ffmpeg_debian_jessie_.html
https://www.4shared.com/file/kr2vAeFvce/parallel_ffmpeg_debian_jessie_.html
https://www.4shared.com/file/yjLJtJIdba/parallel_ffmpeg_debian_jessie_.html

Anonymous
Wed 05 Oct 2016 07:24:26 PM UTC, comment #3:

That made it work. All ffmpeg processes are now running simultaneously and it completes fully successfully. Running it without '--tty -j+0 --group' results in the issue

./parallel-20160922/src/parallel --tty -j+0 --group ffmpeg -i {} {.}.ogg ::: testing/*opus

ps -fC ffmpeg
UID PID PPID C STIME TTY TIME CMD
user_foo 31584 31569 99 12:15 pts/5 00:00:02 ffmpeg -i testing/file10.opus testing/file10.ogg
user_foo 31599 31569 99 12:15 pts/5 00:00:02 ffmpeg -i testing/file11.opus testing/file11.ogg
user_foo 31600 31569 99 12:15 pts/5 00:00:02 ffmpeg -i testing/file12.opus testing/file12.ogg
user_foo 31601 31569 99 12:15 pts/5 00:00:02 ffmpeg -i testing/file13.opus testing/file13.ogg
user_foo 31602 31569 99 12:15 pts/5 00:00:02 ffmpeg -i testing/file14.opus testing/file14.ogg
user_foo 31603 31569 99 12:15 pts/5 00:00:02 ffmpeg -i testing/file15.opus testing/file15.ogg
user_foo 31604 31569 99 12:15 pts/5 00:00:02 ffmpeg -i testing/file16.opus testing/file16.ogg
user_foo 31605 31569 99 12:15 pts/5 00:00:02 ffmpeg -i testing/file17.opus testing/file17.ogg

With that info, do you still need a virtualbox image? I'll set one up and try duplicate the issue if still needed

Anonymous
Tue 04 Oct 2016 10:40:50 PM UTC, comment #2:

Try with '--tty -j+0 --group'

Ole Tange <tange>
Project AdministratorIn charge of this item.
Tue 04 Oct 2016 09:48:42 PM UTC, comment #1:

There is no problem with:

ffmpeg version 2.8.6-1ubuntu2 Copyright (c) 2000-2016 the FFmpeg developers

built with gcc 5.3.1 (Ubuntu 5.3.1-11ubuntu1) 20160311

I do not have access to N-81738-g0e318f1.

Can you make it work on a Virtualbox image?

Ole Tange <tange>
Project AdministratorIn charge of this item.
Thu 29 Sep 2016 09:46:07 PM UTC, original submission:

Occurs on latest (parallel-20160922)
This does not occur replacing ffmpeg with echo

Last working version: parallel-20150522
Introduced on version: parallel-20150622

Example command:
parallel ffmpeg -i {} {.}.ogg ::: filea.flac fileb.flac

filea.flac will hang indefinitely while fileb.flac will complete.
Switching the order (fileb.flac filea.flac) will cause fileb.flac to hang indefinitely.

user 26865 26856 0 14:37 pts/4 00:00:00 ffmpeg -i filea.flac filea.ogg

ffmpeg version N-81738-g0e318f1 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.2) 20160609

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #38624:  inxi_output added by None (2KiB - application/octet-stream - Inxi output and diff of 20150522 and 20150622)
file #38625:  diff added by None (50KiB - application/octet-stream - Inxi output and diff of 20150522 and 20150622)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by tange (Posted a comment)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Oct 2016 11:41:04 AM UTCtangeStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Tue 04 Oct 2016 09:48:42 PM UTCtangeStatusNone=>Need Info
      Assigned toNone=>tange
    Thu 29 Sep 2016 09:46:07 PM UTCNoneAttached File-=>Added inxi_output, #38624
      Attached File-=>Added diff, #38625

    Back to the top


    Powered by Savane 3.1-cleanup1