Forum > Unix

Multithreaded app crashes under OpenBSD if Form1.Show called via signal


The very same GUI app ( as in the other topic have another issue with threads and signals under OpenBSD.

The program can be signalled with SIGUSR1 which will call Form1.Show. However, if the threads are present, then instead of popping the window up, the app just crashes. Here is the error log:

The setup is the same: OpenBSD 6.8 AMD64, FreePascal 3.2.0 and Lazarus 2.0.10-2.
As in the other case, this works flawlessly under Linux, FreeBSD and Solaris.

Any help is appreciated.

To quickly install Lazarus under OpenBSD, you can use my install script:
Usage: x86_64 3.2.0 2.0.10 2

Jonas Maebe pointed out in the other topic, that no signal shall mess with the program's controlling subroutines, so this is solved and the solution is in the other topic.


[0] Message Index

Go to full version