Chen-tao / webm

Automatically exported from code.google.com/p/webm
0 stars 0 forks source link

vp8 threaded encode crashes on mingw (experimental and master branch) #580

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
From #x264dev: vp8 encoding in both master and experimental is broken with -t N 
where N > 1. The problem is that it doesn't re-align stack on the initial 
function entry in each worker thread, and then the first function that uses 
aligned stack data crashes. This can be fixed by marking the initial function 
that is called from pthread_create() with 
__attribute__((force_align_arg_pointer)) on gcc>=4.2.

Original issue reported on code.google.com by rbul...@google.com on 18 May 2013 at 7:30

GoogleCodeExporter commented 8 years ago

Original comment by tnakam...@google.com on 23 May 2013 at 10:13

GoogleCodeExporter commented 8 years ago
This also causes libvpx 1.3.0 to crash if cross compiled with mingw.
Patch to add
  __attribute__((force_align_arg_pointer))
for *-win*-gcc targets.

Original comment by jan.ger...@gmail.com on 11 Mar 2014 at 9:47

Attachments: