Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Free Pascal
»
Unix
(Moderators:
FPK
,
Tomas Hajny
) »
Multithreaded app crashes under OpenBSD if Form1.Show called via signal
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Multiple forms
by
rwebb616
[
Today
at 02:58:38 am]
mac OS11 installation pro...
by
LeoBruno
[
Today
at 02:50:57 am]
Updating mainmenu items b...
by
torbente
[
Today
at 02:47:59 am]
Solved - Unable to set im...
by
Wilko500
[
Today
at 02:37:52 am]
Turtle Graphics
by
lainz
[
Today
at 02:15:08 am]
Unicodestring type and Ar...
by
Remy Lebeau
[
Today
at 01:49:02 am]
Standard Login dialog box
by
trev
[
Today
at 01:40:25 am]
[Solved] Regression for T...
by
Alextp
[January 22, 2021, 11:23:11 pm]
opendialog does not selec...
by
trev
[January 22, 2021, 11:14:17 pm]
String consts from HTML o...
by
lucamar
[January 22, 2021, 11:11:33 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Multithreaded app crashes under OpenBSD if Form1.Show called via signal (Read 271 times)
TCH
Full Member
Posts: 124
Multithreaded app crashes under OpenBSD if Form1.Show called via signal
«
on:
November 17, 2020, 11:41:11 pm »
The very same GUI app (
http://oscomp.hu/depot/lazarus_openbsd_signaltest.zip
) 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:
http://oscomp.hu/depot/lazarus_openbsd_signaltest_form_show.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:
http://oscomp.hu/depot/install_lazarus_openbsd.sh
Usage:
install_lazarus_openbsd.sh x86_64 3.2.0 2.0.10 2
Logged
TCH
Full Member
Posts: 124
Re: Multithreaded app crashes under OpenBSD if Form1.Show called via signal
«
Reply #1 on:
November 18, 2020, 08:49:55 pm »
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.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Free Pascal
»
Unix
(Moderators:
FPK
,
Tomas Hajny
) »
Multithreaded app crashes under OpenBSD if Form1.Show called via signal
TinyPortal
© 2005-2018