Menu

#309 Sporadic "Error: I/O Error" for simultaneous mp4box.exe instances

v1.0 (example)
closed-works-for-me
nobody
None
5
2015-02-23
2014-04-17
RyanS
No

I have a program that has multiple threads and each thread executes mp4box.exe at various times. Thus sometimes there are multiple mp4box.exe instances running at the same time. Such executions of mp4box.exe sporadically fail with exit code 1:
AVC Import results: 226 samples - Slices: 1 I 225 P 0 B - 226 SEI - 1 IDR
Saving E:\VideoDev\chapter_003_001.mp4: 0.500 secs Interleaving

Error: I/O Error

After the program run, when some of the mp4box.exe executions have failed, if I manually re-run the same commands from the command prompt then mp4box.exe does not fail.

When I avoid simultaneous instances (by mutual exclusion among the threads) I get no failures.

I have not narrowed this down well, it could be due to some other issue, however I suspect that there is a problem with multiple simultaneous instances of mp4box.exe.

This is on Windows 8.1 Pro x64. I was originally using a very old version of mp4box.exe, then upgraded to "MP4Box - GPAC version 0.5.0-rev4065" and still have the same issue.

Discussion

  • Jean Le Feuvre

    Jean Le Feuvre - 2014-04-17

    Can you reproduce this bug with the current SVN (rev5209) ?

     
  • RyanS

    RyanS - 2014-04-17

    It takes some time to repro and I can't do it now. I may have time next week.

    The older version I was using was from 2011, so this is a long-standing issue (or it's not even an mp4box.exe bug), so if no relevant changes were made from rev 4065 to 5209 then the odds are very good it will repro in 5209.

     
  • Jean Le Feuvre

    Jean Le Feuvre - 2015-02-23
    • status: open --> closed-works-for-me
     
  • Jean Le Feuvre

    Jean Le Feuvre - 2015-02-23

    Have you been able to re-test this ? I can't reproduce this here ...

     

Log in to post a comment.