FileExist in a synchronized method causes Access Violation for non-existing files (ARM)
Original Reporter info from Mantis: luca @olivluca
-
Reporter name: Luca Olivetti
Original Reporter info from Mantis: luca @olivluca
- Reporter name: Luca Olivetti
Description:
The attached program causes an access violation if checking for a non existent file. It works as expected under i386.
Steps to reproduce:
luca@lspro:~$ ./pippo /bin/ls
in sync
/bin/ls exists
luca@lspro:~$ ./pippo /bin/kk
in sync
Access violation
Additional information:
luca@lspro:~$ fpc -i
Free Pascal Compiler version 2.1.4
Compiler Date : 2007/05/23
Compiler CPU Target: arm
Supported targets:
Linux for ARM
WinCE for ARM
GameBoy Advance
PalmOS
Nintendo DS
Embedded
Supported CPU instruction sets:
ARMV3
ARMV4
ARMV5
Supported FPU instruction sets:
SOFT
LIBGCC
FPA
FPA10
FPA11
VFP
Supported Optimizations:
REGVAR
STACKFRAME
LOOPUNROLL
TAILREC
This program comes under the GNU General Public Licence
For more information read COPYING.FPC
Report bugs,suggestions etc to:
bugs@freepascal.org
Mantis conversion info:
- Mantis ID: 9191
- OS: Linux lspro 2.6.12.6-arm1
- OS Build: Debian Etch
- Build: 2.1.4 native self built
- Platform: arm
- Version: 2.2.0
- Fixed in version: 2.2.0
- Fixed in revision: 8190 (#5a888262)