| Summary: | Segmentation fault by SDL_CreateThreadWithStackSize. | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Dongsun Kim <keinb2> |
| Component: | thread | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | 2.0.7 | ||
| Hardware: | ARM | ||
| OS: | Other | ||
|
Description
Dongsun Kim
2018-02-26 02:11:15 UTC
Makes sense, do you have a patch you can test with that repro case? Yes I can test it.
My application use SIG38 for synchronization.
Sometime it makes crash.
But using SDL_SemWaitTimeout was OK because it has below loop.
do {
retval = sem_timedwait(&sem->sem, &ts_timeout);
} while (retval < 0 && errno == EINTR);
Okay, that looks like a good change. https://hg.libsdl.org/SDL/rev/29bf3038a246 Thanks! |