Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault in the single pass demo #62

Closed
dvmorozov opened this issue Dec 18, 2019 · 0 comments
Closed

Segmentation fault in the single pass demo #62

dvmorozov opened this issue Dec 18, 2019 · 0 comments
Assignees
Labels

Comments

@dvmorozov
Copy link
Owner

dvmorozov commented Dec 18, 2019

LCL creates a few processing threads under Linux even for simplest application. This somehow causes failure when event handler creates separate thread and leaves it running. Under Windows only single thread is created and the issue is not reproduced. The issue is not reproduced when event handler waits for termination of all created threads. As a workaround TRunner.Wait is called. Otherwise probably architecture should be changed.

References

https://wiki.freepascal.org/Multithreaded_Application_Tutorial
http://lazarus-dev.blogspot.com/2013/08/threads-with-lazarus.html

Related

#31

@dvmorozov dvmorozov added the bug label Dec 18, 2019
@dvmorozov dvmorozov added this to the 0.1 - basic functionality milestone Dec 18, 2019
@dvmorozov dvmorozov self-assigned this Dec 18, 2019
@dvmorozov dvmorozov changed the title Segmentation fault Segmentation fault in the single pass demo Dec 18, 2019
dvmorozov added a commit that referenced this issue Dec 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant