• Status Unconfirmed
  • Percent Complete
  • Task Type Bugs
  • Category Plugins
  • Assigned To No-one
  • Operating System iPod 5G
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by chris_s - 2022-12-28
Last edited by chris_s - 2023-01-01

FS#13383 - Plugins: boomshine crashes at launch


Affected daily build 2022-12-31 on iPod video, or commits before 485e96d

Speachy’s commit 485e96d seems to have resolved the previously noticed crash on device – tested on iPod video.

I still see a segfault in the simulator, but that could be an AARCH64-specific issue in my case.

Valgrind output for segfault from commit 3def8fe:

==42611== Invalid read of size 4
==42611== at 0x1C2B36D4: FIND_SUITABLE_BLOCK (tlsf.c:388)
==42611== by 0x1C2B3D1B: malloc_ex (tlsf.c:788)
==42611== by 0x1C294E43: l_alloc (lauxlib.c:776)
==42611== by 0x1C2A58F3: lua_newstate (lstate.c:150)
==42611== by 0x1C296517: luaL_newstate (lauxlib.c:805)
==42611== by 0x1C2B0D7B: loadfile_newstate.constprop.0 (rocklua.c:158)
==42611== by 0x1C2B0F93: plugin_start (rocklua.c:257)
==42611== by 0x1C2B343B: plugin__start (plugin_crt0.c:102)
==42611== by 0x13B433: plugin_load (plugin.c:920)
==42611== by 0x13C38B: load_plugin_screen (root_menu.c:777)
==42611== by 0x13C38B: root_menu (root_menu.c:1001)
==42611== by 0x12407F: main (main.c:209)
==42611== Address 0×20 is not stack’d, malloc’d or (recently) free’d

2023-01-04: A task closure has been requested. Reason for request: fixed

Seems to be caused by b4865b0 "Build: Bump all toolchains to GCC 4.9.4 + Binutils 2.26.1"

Changing the optimization level from Os to O or O2 appears to fix it.

While Boomshine doesn't crash, it still won't react to input on iPods, although it seems to work fine in the iPod simulator.

Warning: Undefined array key "useheading" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parser/xhtml.php on line 1099 Warning: Undefined array key "target" in /home/rockbox/flyspray/plugins/dokuwiki/inc/parser/xhtml.php on line 557 Warning: Trying to access array offset on value of type null in /home/rockbox/flyspray/plugins/dokuwiki/inc/parser/xhtml.php on line 557

Can you try this with

It pulls in the latest upstream tlsf, and it _seems_ to work okay on the mini2g I had handy.

(as in it doesn't go boom, but input doesn't work…)


Available keyboard shortcuts


Task Details

Task Editing