[fpc-devel] Building trunk on Win32

Sven Barth pascaldragon at googlemail.com
Sat Nov 26 19:40:12 CET 2011


On 26.11.2011 19:50, Sergei Gorelkin wrote:
> 26.11.2011 17:18, Leonardo M. Ramé пишет:
>
>>>> Runtime error 226 at $0040C776
>>>> $0040C776
>>>> $0040FB59
>>>> $7C81A1C2
>>>> $7C845A7C
>>>> $7C83FE59
>>>> $7C82EB2F
>>>> $7C828355
>>>
>
> $0040C776 is systhrd.inc line 125 "if TLSKey=$ffffffff then RunError(226)
> $0040FB59 is syswin.inc line 356, DLL_THREAD_ATTACH branch of
> exec_tls_callback
>
> This is TLS callback feature showing its dark side.
>
> Something specfic to your system is creating a thread in your ppc2.exe,
> presumably it happens before ppc2.exe is initialized (if it initializes,
> TLSKey will receive value other than -1).
>
> Check for antivirus software, etc. If you want to get a clue what it is,
> you may use e.g. ProcessExplorer tool
> (http://technet.microsoft.com/ru-ru/sysinternals/bb896653). Launch any
> FPC binary that launches (it will display help and wait for keypress),
> find it in process list, right-click and select Properties, then
> "Threads" tab. If I'm correct, you'll see more than one item in the
> thread list.

If your assumption should be correct, what can be done against this from 
FPC side?

Regards,
Sven




More information about the fpc-devel mailing list