rockbox/apps
Aidan MacDonald 00129ac872 Fix battery_bench bug by using a static buffer for stack
Since battery_bench is a TSR (terminate & stay resident) plugin it
cannot allocate the plugin buffer -- various parts of the Rockbox
core make use of it as temporary storage space. The buffer was used
for stack space so this generated false 'Stkov' panics when one of
those in-core users overwrote the buffer.

The default stack size of 1kb is a bit small, so use 4x the default
size to be on the safe side.

This also fixes a minor issue where trying to view OS stack usage
while battery_bench was running would cause audio dropouts, due to
scanning the possibly huge stack with IRQs disabled.

Change-Id: I2e6b76f9946db9090c1af61f7aa0a0dac0698c20
2021-07-22 13:50:26 +00:00
..
bitmaps Rename symbols of FiiO M3K Linux-based port 2021-02-27 23:53:28 +00:00
gui RFC: Fix a couple more dangling stack-allocated viewports 2021-07-07 15:19:43 +00:00
hosted/android keyboard add ability to specify temporary custom layouts 2020-07-22 06:48:28 -04:00
iap FS#13287 - Load a newly saved playlist and resume where it was 2021-05-03 20:10:27 +00:00
keymaps New port: Shanling Q1 native 2021-07-13 22:01:33 +01:00
lang FS#13302 - Updated Polish translation (Adam Rak) 2021-07-20 15:24:02 +01:00
menus Softlock Improvements 2021-06-04 00:00:57 +00:00
plugins Fix battery_bench bug by using a static buffer for stack 2021-07-22 13:50:26 +00:00
radio Fix red in bc416ff590 2021-04-10 21:06:41 -04:00
recorder RFC: Fix a couple more dangling stack-allocated viewports 2021-07-07 15:19:43 +00:00
abrepeat.c [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
abrepeat.h [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
action.c FS#13297: M3K Autolock allows one action before disabling touchpad 2021-06-12 21:11:28 +00:00
action.h Softlock Improvements 2021-06-04 00:00:57 +00:00
alarm_menu.c LCD core move buf ptr and address look up function viewport struct 2020-10-26 12:28:48 -04:00
alarm_menu.h Fix menu warnings 2018-10-18 00:06:31 +02:00
appevents.h Get voice event out of playback.c 2017-12-12 20:28:56 -05:00
applimits.h
apps.make
audio_path.c nwza860: fix simulator build 2020-10-19 03:39:33 +00:00
audio_thread.c Get voice event out of playback.c 2017-12-12 20:28:56 -05:00
audio_thread.h
beep.c
bookmark.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
bookmark.h
buffering.c Remove execute bit from file permissions from recent commit 2021-03-02 02:10:53 +00:00
buffering.h Remove execute bit from file permissions from recent commit 2021-03-02 02:10:53 +00:00
codec_thread.c opus reset decoder on seek completion to prevent stack overflow 2019-08-14 17:54:35 +02:00
codec_thread.h
codecs.c [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
core_asmdefs.c
cuesheet.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
cuesheet.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
debug_menu.c Sansa Connect: Display battery info in debug menu 2021-07-12 14:14:59 +02:00
debug_menu.h Fix menu warnings 2018-10-18 00:06:31 +02:00
enc_config.c audio: Add support for 192 and 176KHz playback 2020-09-30 21:37:11 -04:00
enc_config.h Fix menu warnings 2018-10-18 00:06:31 +02:00
features.txt New port: Shanling Q1 native 2021-07-13 22:01:33 +01:00
filetree.c FS#13287 - Load a newly saved playlist and resume where it was 2021-05-03 20:10:27 +00:00
filetree.h FS#13287 - Load a newly saved playlist and resume where it was 2021-05-03 20:10:27 +00:00
filetypes.c Reset unknown file color when resetting filetype colors 2021-03-02 18:33:19 +00:00
filetypes.h Add open_plugin to core 2020-08-17 10:15:14 -04:00
fracmul.h
keyboard.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
language.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
language.h
logfdisp.c [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
logfdisp.h
main.c Sansa Connect: Initial libertas WiFi driver port 2021-07-04 07:41:44 +00:00
menu.c Allow Softlock to happen in most contexts 2021-05-24 02:30:09 +00:00
menu.h do_menu pass internal synclist reference to callback 2020-07-19 22:10:26 +00:00
misc.c Open Plugin cache plugin entry when possible 2021-03-18 02:39:30 +00:00
misc.h [4/4] Remove HAVE_LCD_BITMAP, as it's now the only choice. 2020-07-24 21:20:13 +00:00
onplay.c FS#13287 - Load a newly saved playlist and resume where it was 2021-05-03 20:10:27 +00:00
onplay.h Add open_plugin to core 2020-08-17 10:15:14 -04:00
open_plugin.c Shortcuts.c fix regression from last bugfix 2021-03-18 13:23:24 -04:00
open_plugin.h Open Plugin cache plugin entry when possible 2021-03-18 02:39:30 +00:00
pcmbuf.c
pcmbuf.h
playback.c autoresume: Properly check the path string, not the pointer. 2021-07-21 15:06:28 +00:00
playback.h [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
playlist.c (Fix FS#13281) Revert "Restore playlist state as necessary before checking whether current playlist has been modified" 2021-04-01 07:57:12 +02:00
playlist.h [3/4] Completely remove HWCODEC support 2020-07-24 21:20:13 +00:00
playlist_catalog.c misc: Only include rbpaths.h and string-extra.h in places that need it 2021-04-10 12:08:12 -04:00
playlist_catalog.h
playlist_menu.h
playlist_viewer.c Enable QuickScreen in filtered dir modes & playlist viewer 2021-04-04 11:14:18 +02:00
playlist_viewer.h
plugin.c rockbox: add a crc32 reverse polynomial function 2021-06-21 03:37:17 +00:00
plugin.h rockbox: add a crc32 reverse polynomial function 2021-06-21 03:37:17 +00:00
rbcodec_helpers.c
rbcodecconfig.h
rbcodecplatform.h
README
root_menu.c shortcuts menu bugfix wps context plugin fallthrough 2021-03-18 00:46:43 -04:00
root_menu.h Add open_plugin to core 2020-08-17 10:15:14 -04:00
screen_access.c Whitespace cleanup on fb_viewport Rewrite 2020-10-26 12:38:22 -04:00
screen_access.h Whitespace cleanup on fb_viewport Rewrite 2020-10-26 12:38:22 -04:00
screens.c Whitespace cleanup on fb_viewport Rewrite 2020-10-26 12:38:22 -04:00
screens.h [1/4] Remove SH support and all archos targets 2020-07-24 21:20:13 +00:00
scrobbler.c misc: Only include rbpaths.h and string-extra.h in places that need it 2021-04-10 12:08:12 -04:00
scrobbler.h
settings.c Softlock Improvements 2021-06-04 00:00:57 +00:00
settings.h FS#13287 - Load a newly saved playlist and resume where it was 2021-05-03 20:10:27 +00:00
settings_list.c xduoox3ii: Add "Super Slow" filter roll-off 2021-07-17 08:18:31 -04:00
settings_list.h Add open_plugin to core 2020-08-17 10:15:14 -04:00
shortcuts.c misc: Only include rbpaths.h and string-extra.h in places that need it 2021-04-10 12:08:12 -04:00
shortcuts.h
sound_menu.h Fix menu warnings 2018-10-18 00:06:31 +02:00
SOURCES New port: Shanling Q1 native 2021-07-13 22:01:33 +01:00
status.c [2/4] get rid of HAVE_LCD_CHARCELLS 2020-07-24 21:20:13 +00:00
status.h [2/4] get rid of HAVE_LCD_CHARCELLS 2020-07-24 21:20:13 +00:00
tagcache.c FS#9093: Database initialization hangs if there's no music file on the player 2021-05-19 16:30:32 -04:00
tagcache.h
tagnavi.config
tagtree.c Check core max allocations for valid handle 2021-03-04 14:25:58 +00:00
tagtree.h Fix menu warnings 2018-10-18 00:06:31 +02:00
talk.c talk.c check for 0 talk clips file descriptor leaks & announce_status fix typo 2021-07-21 11:26:29 +00:00
talk.h talk: Explicitly cast -1 as unsigned before a left shift. 2021-07-20 00:09:33 +00:00
tree.c Allow Softlock to happen in most contexts 2021-05-24 02:30:09 +00:00
tree.h Fix tree.c->tree_get_entry_at() buffer overflow 2018-12-14 01:28:17 -06:00
usb_keymaps.c
usb_keymaps.h
voice_thread.c voice: Allow voice prompt volume to be configurable 2021-03-07 12:51:36 +00:00
voice_thread.h voice: Allow voice prompt volume to be configurable 2021-03-07 12:51:36 +00:00

For general information see: docs/README
For API information see: docs/API