FS#11583 - MR500 sim crashes when switching themes

Attached to Project: Rockbox
Opened by Karl Kurbjun (kkurbjun) - Sunday, 29 August 2010, 22:56 GMT
Last edited by Jonathan Gordon (jdgordon) - Thursday, 16 September 2010, 13:18 GMT
Task Type Bugs
Category Themes
Status Closed
Assigned To Jonathan Gordon (jdgordon)
Operating System Olympus M:Robe 500
Severity High
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I saw this as an immediate crash in Windows Vista 64 bit, but since I don't have a debugging environment setup for that I am posting the details for i386 linux.

To make the simulator crash all i do is switch between the "Brushed Robe" theme and the "Cleangreen v3" theme on the MR500 sim. I suspect this is somehow related to the theme changes that were done, but I don't have the time to investigate in detail.

The themes can be downloaded here:

These are the crash details:

Program received signal SIGSEGV, Segmentation fault.
0x08079552 in set_title_worker (title=0x0, icon=Icon_NOICON, data=0x837a320,
at /home/kkurbjun/projects/rockbox/apps/gui/statusbar-skinned.c:59
59 if (element->type == CONDITIONAL)
(gdb) bt
#0 0x08079659 in set_title_worker (title=0x0, icon=Icon_NOICON,
data=0x837a320, root=0x867b938)
at /home/kkurbjun/projects/rockbox/apps/gui/statusbar-skinned.c:95
#1 0x080796da in sb_set_title_text (title=0x0, icon=Icon_NOICON,
at /home/kkurbjun/projects/rockbox/apps/gui/statusbar-skinned.c:104
#2 0x0807aa36 in toggle_theme (screen=SCREEN_REMOTE, force=false)
at /home/kkurbjun/projects/rockbox/apps/gui/viewport.c:111
#3 0x0807aec0 in viewportmanager_theme_enable (screen=SCREEN_REMOTE,
enable=false, viewport=0x0)
at /home/kkurbjun/projects/rockbox/apps/gui/viewport.c:199
#4 0x0807971e in sb_skin_data_load (screen=SCREEN_REMOTE,
buf=0xbfffe588 "/.rockbox/wps/rockbox_none.rsbs", isfile=true)
at /home/kkurbjun/projects/rockbox/apps/gui/statusbar-skinned.c:120
#5 0x0807a12d in settings_apply_skins ()
at /home/kkurbjun/projects/rockbox/apps/gui/theme_settings.c:104
#6 0x080642fa in settings_load_config (
file=0xbfffe9e8 "/.rockbox/themes/CleanGreen.cfg", apply=true)
at /home/kkurbjun/projects/rockbox/apps/settings.c:374
#7 0x0806f234 in ft_enter (c=0x832c120)
at /home/kkurbjun/projects/rockbox/apps/filetree.c:556
#8 0x0806977a in dirbrowse ()
at /home/kkurbjun/projects/rockbox/apps/tree.c:689
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Thursday, 16 September 2010, 13:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  should be fixed with recent commits
Comment by Marianne Arnold (pixelma) - Monday, 30 August 2010, 17:41 GMT
To me this sounds related to  FS#11562  (which unfortunately doesn't have a very telling title). My guess is on some remote screen related theme thing as the other known affected targets and sims are remote targets (X5, M5, H300, M:Robe 500.)