- 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
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
(gdb)
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
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.
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…
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).