[FFmpeg-user] Zeranoe Windows builds spiking CPU to 100% randomly

Andy Sheen sheen.andy at googlemail.com
Tue Jul 17 09:50:14 CEST 2012

Hi Roger,

Roger Pack wrote on Tue 17 Jul at 0:53 UK time
>> I finally got the hang to appear and that was after completely updating the
>> toolchain+x264+ffmpeg to the latest. This is in fact a issue with the latest
>> of everything.
>> I bet the MinGW-w64 guys would know more about this issue. If someone could
>> send over the information to their mailing list that would really help. I
>> will if no one else can, but it might take a while.
> Ok I believe I was able to capture some stack traces during the hang
> (thanks to Andy Sheen's build):
> https://gist.github.com/3125847
> I presume it was built using this script to get the cross compiler:
> http://ffmpeg.zeranoe.com/blog/?p=96

Yes, it was. I'm glad you were able to get further than me with it :)

> I guess I should just forward on all this information to mingw-w64 then?


> Also this note from the "very sleepy" author:
>> Looking at the ffmpeg stuff, my guess would be it's sitting in some kind of spinlock maybe? i.e. every time Sleepy samples the callstack, it causes Windows to schedule a different thread, breaking the spinlock.

That would make a lot of sense.

If you need any more help, please let me know.

> Cheers!
> -roger-


More information about the ffmpeg-user mailing list