summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
authorFranklin Wei <franklin@rockbox.org>2021-06-27 22:49:33 -0400
committerFranklin Wei <franklin@rockbox.org>2021-06-28 02:51:48 +0000
commitd1a92aafff55defefcb8cf8f4b045701325088b2 (patch)
tree1543685bcc513a2bd9e48c1564dad05597c52cf8 /firmware/common
parent9f950d8bbf25995d0ba71ce2cd6cc9c0d3b91a9c (diff)
downloadrockbox-d1a92aafff55defefcb8cf8f4b045701325088b2.tar.gz
rockbox-d1a92aafff55defefcb8cf8f4b045701325088b2.zip
sdl: increase default worker thread size.
This fixes a mysterious, long-standing crash that's been bothering me on ipod6g for ages: a silent stack overflow in the sound mixing thread (which is triggered upon loading a new sound, apparently) will thrash the memory which is located directly before it in the address space. In this case, it was the SDL_ButtonState variable which stores the mouse button state that was being trashed. This was manifesting itself by making the player always run forward, since MOUSE2 is mapped to +forward by default. Fix this by quadrupling the stack size of SDL-spawned threads (not the main thread) from 1 KB to 4 KB. Change-Id: I2d7901b7cee1e3ceb1ccdebb38d4ac5b7ea730e1
Diffstat (limited to 'firmware/common')
0 files changed, 0 insertions, 0 deletions