infinite loop bug

Peter Swanston <[email protected]>
Newsgroups gmane.comp.multimedia.matroska.user
Message-ID <[email protected]>
Hello,

So I was trying to split up a mpeg ts file for the last little while
but it seems to be looping infinitely.
I broke out the disassembler and attached to it and it is looping on a
set of 3 instructions endlessly.
I'll paste as much information as I can.

How it was invoked.
C:\Windows\
C:\Windows\SysWOW64\cmd.exe
/C "G:\temp\RipBot264temp\Job1\Job1_EncodeVideoPass1.cmd"

C:\Windows\
C:\Program Files (x86)\RipBot\tools\avs2yuv\pipebuf.exe
"C:\Program Files (x86)\RipBot\tools\avs2yuv\pipebuf.exe"  "C:\Program
Files (x86)\RipBot\tools\avs2yuv\avs2yuv.exe"
"G:\temp\RipBot264temp\job1\job1.avs" - : "C:\Program Files
(x86)\RipBot\tools\x264\x264_x64.exe" --crf 22 --stats
"G:\temp\RipBot264temp\job1\job1.stats" --fps 30000/1001 --force-cfr
--min-keyint 30 --keyint 300 --frames 125266 --sar 1:1 --level 4.0
--aud --nal-hrd vbr --vbv-bufsize 25000 --vbv-maxrate 25000 --filter
0,0 --ref 3  --bframes 3 --b-adapt 1   --b-pyramid none --subme 7
--aq-mode 1 --trellis 1 --partitions all --me umh --stdin y4m --output
"G:\temp\RipBot264temp\video.264" - : 2

/***** this is the process that is looping infinitely *****/
C:\Windows\
C:\Program Files (x86)\RipBot\tools\avs2yuv\avs2yuv.exe
"C:\Program Files (x86)\RipBot\tools\avs2yuv\avs2yuv.exe"
G:\temp\RipBot264temp\job1\job1.avs -

G:\
C:\Program Files (x86)\RipBot\tools\x264\x264_x64.exe
"C:\Program Files (x86)\RipBot\tools\x264\x264_x64.exe" --crf 22
--stats G:\temp\RipBot264temp\job1\job1.stats --fps 30000/1001
--force-cfr --min-keyint 30 --keyint 300 --frames 125266 --sar 1:1
--level 4.0 --aud --nal-hrd vbr --vbv-bufsize 25000 --vbv-maxrate
25000 --filter 0,0 --ref 3 --bframes 3 --b-adapt 1 --b-pyramid none
--subme 7 --aq-mode 1 --trellis 1 --partitions all --me umh --stdin
y4m --output G:\temp\RipBot264temp\video.264 -

The version I'm using is slightly dated but I am going to start
re-encoding again with the latest version but I suspect it won't make
a difference as the change history didn't mention anything about a fix
to something like this.
‎My version was compiled on Sunday, ‎January ‎11, ‎2009, ‏‎7:17:14 AM

The place its stuck looping is as follows.

splitter.ax:0046B74D loc_46B74D:                             ; CODE
XREF: splitter.ax:0046B753j
splitter.ax:0046B74D shl     dword ptr [esi+2Ch], 1
splitter.ax:0046B750 cmp     eax, [esi+2Ch]
splitter.ax:0046B753 jnb     short loc_46B74D
splitter.ax:0046B755 mov     eax, [esi+1Ch]

basically dword ptr [esi+2Ch] contains all 00000000 and eax contains
all FFFFFFFC so the jnb continues endlessly and it never breaks out.
How it got into this state, I'm not able to ascertain, and my c skills
aren't really good enough to do much towards fixing this i don't
think. Also it says to get the source you need to email [email protected]
so I'm going to include him in the to list.

Peter
_______________________________________________
Matroska-users mailing list
[email protected]
http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-users
Read Matroska-Users on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.