On 13 May 2010, at 17:55, Bernd Mueller wrote:

> I get a bus error in fpc_PopAddrStack (on ARM-Linux) in a multithreaded
> application. Maybe, that the local Pointer hp in fpc_PopAddrStack is loaded 
> with an unaligned memory address.

The most likely reason is that you are at some point executing Pascal code 
inside threads that haven't been started via the RTL. The exception handling 
code uses several threadvars, and these must be initialised for each thread 
(which doesn't happen if you start threads via some other means).

> The role of fpc_PopAddrStack is not clear to me. Does it mean, that an 
> exception occurred somewhere and the application would crash later anyway?

No.


Jonas_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to