-
Notifications
You must be signed in to change notification settings - Fork 284
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 (armed timer destroyed by GC?) #978
Comments
It's definitely related. |
The mechanism is the same as in the thread, but I was wrong about The question is now how to go about this. There are not many possibilities to cleanly fix this on the library side. So my initial reaction would be to simply have the user responsible for cleaning up properly. Of course a way has to be found to avoid the Alternatively, a quick fix would be possible by changing the assertion to |
I haven't tried, but wouldn't a global |
The check used to determine a shut down library is now |
If a |
Btw, I think it will be possible to safely move timer management to a custom allocator Also, I'm designing a replacement for
The pools are overhead, so basically the It would be easy to use a pool at the base of a fiber and add a |
This code causes segmentation fault on my system (CentOS 7 x64_86, dmd 2.066.1, vibe.d 0.7.22, libevent).
app.d
dub.selections
gdb backtrace:
The text was updated successfully, but these errors were encountered: