Running more than one TDaemon class instances causes Access Violation exception to occur.
Original Reporter info from Mantis: Cyrax
-
Reporter name:
Original Reporter info from Mantis: Cyrax
- Reporter name:
Description:
As in said in the summary, running than one TDaemon class instances (they run continuously until the project terminates) causes Access Violation exception to occur and trying to terminate the project graciously way (using TERM signal), the project wont stop running.
Steps to reproduce:
- Install LazDaemon package into Lazarus IDE.
- Open attached project in Lazarus.
- Compile project.
- Open two terminal windows. In one terminal, run the daemon project. In another, try to terminate the running daemon project. E.g using this command : kill -TERM $(pgrep --list-full project1 | awk '{ print $1 }').
Mantis conversion info:
- Mantis ID: 32532
- OS: Arch
- OS Build: 3.17.4-1
- Build: r37441
- Platform: Linux x86_64
- Version: 3.1.1
- Fixed in version: 3.3.1
- Fixed in revision: 43645 (#b82eaf4c).
- Target version: 3.2.0