SIGSEGV in SYSTEM_INITSYSCALLINTF on Android/Intel - null envp
Original Reporter info from Mantis: bozox
-
Reporter name: Seva Alekseyev
Original Reporter info from Mantis: bozox
- Reporter name: Seva Alekseyev
Description:
Free Pascal shared library (SO) on Android/Intel crashes on loading. The crash call stack is:
SYSTEM_INITSYSCALLINTF
INIT$_SYSTEM
FPC_INITIALIZEUNITS
FPC_LIBINITIALIZEUNITS
The crash takes place at the MOV EDX, [EAX] line within SYSTEM_INITSYSCALLINTF, where EAX has been initialized with the value of "operatingsystem_parameter_envp". EAX at crash point is zero.
The crash was observed on ASUS ME371MG (Intel Atom Z2420) with Android 4.2.1. Couldn't reproduce on the emulator with Intel and the same Android.
Mantis conversion info:
- Mantis ID: 24519
- OS: Windows
- OS Build: 7
- Build: Trunk of 3/5/13
- Platform: Android
- Version: 2.7.1
- Fixed in revision: 24804 (#7e5af23a)