• Status Closed
  • Percent Complete
  • Task Type Bugs
  • Category User Interface → Simulator
  • Assigned To No-one
  • Operating System All players
  • Severity Low
  • Priority Very Low
  • Reported Version
  • Due in Version Undecided
  • Due Date Undecided
  • Votes
  • Private
Attached to Project: Rockbox
Opened by pondlife - 2007-04-19
Last edited by pondlife - 2007-08-01

FS#7051 - JPEG viewer crashes simulator

Recipe, for the H300 simulator:

1) Start playback from the file viewer.
2) Press SELECT to go from the WPS to the file viewer.
3) Select a JPG file.

If this doesn’t crash, exit the JPG viewer, press PLAY to resume then try again.

Totally reproducible here - GDB gives the following:

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 2264.0x91c]
SDL_mutexP (mutex=???) at SDL_sysmutex.c:90
90 SDL_sysmutex.c: No such file or directory.

      in SDL_sysmutex.c

(gdb) bt
#0 SDL_mutexP (mutex=???) at SDL_sysmutex.c:90

Closed by  pondlife
2007-08-01 09:12
Reason for closing:  Fixed
petur commented on 2007-04-19 22:43

Tried with an 1.1MB JPEG (3 megapixel) and could not reproduce. How big is your JPEG file?

32K - I’ve attached an example, and my config. Like I said, it doesn’t do it first time every time, so keep quitting the JPEG viewer, resume playback and try again.

petur commented on 2007-05-01 21:19

I really am unable to reproduce this at all. Music just stops because of the buffer being taken.
fyi, maybe it’s because I’m using a song of Björk playing during the test ;)

I’m also playing Björk - as you probably guessed from the cover. Here’s the exact steps I’m taking.. I modified the above config to start at Main Menu first.

1) Start simulator, select Files, press RIGHT.
2) Select Björk (note that this root directory contains 500 subdirectories), press RIGHT.
3) Select Post, press RIGHT.
4) Select 07 Isobel.mp3, press RIGHT. Playback begins.
5) Allow it to play for 1 minute. Press SELECT. Select cover.jpg (I note the icon appears to be corrupt, didn’t notice this before though), press RIGHT.

CRASH! This happens first time most times, if not I exit the JPEG viewer and repeat step 5 from the WPS, it has always happened second time.

I attach my wps and icons directories in case they are relevant. I certainly suspect the icon code… (11.4 KiB) (278.6 KiB)

Follow up - it still crashes with default config (although I do have to do a bit more navigating to cover.jpg as “follow playlist” is disabled).


Available keyboard shortcuts


Task Details

Task Editing