FS#7040 - Opening a BMP with Rockpaint crashes

Attached to Project: Rockbox
Opened by Steve Bavin (pondlife) - Monday, 16 April 2007, 18:30 GMT
Last edited by Steve Bavin (pondlife) - Tuesday, 17 April 2007, 05:56 GMT
Task Type Bugs
Category User Interface
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Two parts to this one:

1) There is no longer a file association for BMP files, this used to open Rockpaint IIRC.
2) Opening a BMP file with Rockpaint crashes immediately. Sometimes a segfault occurs, but most often and a hard crash occurs.

Both tested on the H300 simulator. I don't have a device at the moment, but this is totally reproducible in the sim. BMP files were the same size as the screen - in fact they were screendumps.

This task depends upon

Closed by  Peter D'Hoye (petur)
Wednesday, 18 April 2007, 21:14 GMT
Reason for closing:  Fixed
Additional comments about closing:  only width was protected, curious it didn\'t crash on target but it must have done bad things there...
Comment by Peter D'Hoye (petur) - Monday, 16 April 2007, 21:09 GMT
well it didn't crash rockpaint on my h380... must check this

EDIT: doesn't crash on the sim here either
Comment by Steve Bavin (pondlife) - Tuesday, 17 April 2007, 05:55 GMT
Correction - it only crashes with some files (perhaps those taller than the screen). Try Eli Sherer's 16x16x16 custom icons.
Comment by PaulJam (PaulJam) - Tuesday, 17 April 2007, 16:12 GMT
Looks as if this has something to do with the resolution:
Loading a 10x176 bitmap works fine in the H300 sim, but loading a 10x177 bitmap crashes.
The H300 screen resolution is 220x176.