LRN <[email protected]> added the comment:

After 5 months MinGW team officially released gcc 4.4.0, and unsurprisingly the
problem is still there.

./configure --enable-shared --extra-ldflags="-L/local/lib"
--extra-cflags="-I/local/include" --prefix=/usr/local/ffmpeg --disable-ffplay
--disable-ffserver --enable-memalign-hack

builds successfully, but ffmpeg.exe dies with the same message (The application
failed to initialize properly (0xc0000005)). ffmpeg_g.exe dies too.
Can't debug it in gdb - the process terminates after i press "OK" on the error
message and i can't prevent it from terminating.

Process Explorer says that at the moment the message is displayed the stack is:
ntkrnlpa.exe+0x6e9ab
ntkrnlpa.exe!MmIsDriverVerifying+0xbb0
ntkrnlpa.exe!MmIsDriverVerifying+0x1492
ntkrnlpa.exe!MmGetSystemRoutineAddress+0x4e1
ntkrnlpa.exe!MmGetSystemRoutineAddress+0x62d
ntkrnlpa.exe!LsaDeregisterLogonProcess+0x507b
ntkrnlpa.exe!LsaDeregisterLogonProcess+0x54d9
ntkrnlpa.exe!KeSynchronizeExecution+0x30c
ntdll.dll!KiFastSystemCallRet
ntdll.dll!RtlDeleteAce+0x8e25
ntdll.dll!KiUserApcDispatcher+0x7

Without --enable-shared the resulting executable works just fine (doesn't build
shared libraries, obviously).

With gcc 3.4.5 everything seems to be ok.

----------
status: closed -> open
title: GCC-4.3.2-tdm-2 fails to build ffmpeg on Windows -> MinGW GCC-4.4.0 
builds broken shared version of ffmpeg on Windows

____________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/roundup/ffmpeg/issue783>
____________________________________________________

Reply via email to