Rockbox

Tasklist

FS#9429 - Pictureflow segfaults with a particular image

Attached to Project: Rockbox
Opened by Steve Bavin (pondlife) - Monday, 29 September 2008, 13:18 GMT
Last edited by Frank Gevaerts (fg) - Friday, 22 January 2010, 20:58 GMT
Task Type Bugs
Category Plugins
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

When running pictureflow on my H300, it locks the device occasionally.

Having tried it on the sim, under gdb, I can reproduce the following error (and back-trace):

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 2264.0x33c]
0x04f031ef in render_slide (slide=0x4f12598, result_rect=0x351facc, alpha=110, col1=219, col2=219)
at pictureflow.c:1243
1243 *pixel1 = fade_color(ptr[p1 >> PFREAL_SHIFT], alpha4);
(gdb) bt
#0 0x04f031ef in render_slide (slide=0x4f12598, result_rect=0x351facc, alpha=110, col1=219,
col2=219) at pictureflow.c:1243
#1 0x04f039fc in render_all_slides () at pictureflow.c:1407
#2 0x04f04fbb in SDL_main () at pictureflow.c:2011
...

I noticed that the initial pictureflow scan stops during the letter P (i.e. albums beginning with P), so suspect that this crash occurs when it later attempts to render an album past this point. Not sure how to go about diagnosing it further though, so any pointers would be welcome.


This task depends upon

Closed by  Frank Gevaerts (fg)
Friday, 22 January 2010, 20:58 GMT
Reason for closing:  Out of Date
Additional comments about closing:  Reopen if there's more information
Comment by Thomas Martitz (kugel.) - Wednesday, 11 February 2009, 16:47 GMT
Is this still happening? If yes, we should investigate the image.

Loading...