Summary: | SDL_CreateThread leaks virtual address space | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | qube99 |
Component: | [OLD] Library | Assignee: | Gentoo Games <games> |
Status: | RESOLVED UPSTREAM | ||
Severity: | major | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Example program to demonstrate leak |
Description
qube99
2005-06-17 12:51:13 UTC
*** Bug 96408 has been marked as a duplicate of this bug. *** Created attachment 61410 [details]
Example program to demonstrate leak
To make the pthread version:
gcc -o thread_waste thread_wate.c -lpthread
To make the SDL version:
gcc -o sdl_thread_waste thread_waste.c -lSDL -DUSE_SDL
Run [sdl_]thread_waste <some time> and compare the virtual sizes. A test run
of 20 or 30 seconds should be enough time to clearly observe the phenomenon.
My libsdl is 1.2.8-r1. I'm also posting a bug report to libsdl's bug list.
please take this issue upstream to the libsdl mailing lists since you understand the problem a lot better than us :) |