Rockbox

Tasklist

FS#5434 - Opening a text file with the Text viewer plugin locks up H140 player.

Attached to Project: Rockbox
Opened by Douglas Valentine (Dwyloc) - Friday, 26 May 2006, 09:39 GMT
Task Type Bugs
Category Plugins
Status Closed
Assigned To No-one
Operating System Iriver H100 series
Severity Critical
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Steps to reproduce.
1. boot player and hold down record to reset to default config.
2. press select and open a text file from the directory view.
At this stage the player will lockup and require you to press the reset button and on next boot the player boots into the manufactures stock firmware not Rockbox.
This task depends upon

Closed by  Jonathan Gordon (jdgordon)
Sunday, 16 July 2006, 14:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  looks like its working, we can close :D
Comment by Paul Louden (darkkone) - Friday, 26 May 2006, 18:30 GMT
This is running a new copy of Rockbox on a fresh install. I remember we had a problem like this a few weeks back, but it was fixed, so could you verify that after fully deleting your rockbox install, and putting a fresh bleeding edge build on it still happens for you, and that it happens with multiple text files?
Comment by Douglas Valentine (Dwyloc) - Friday, 26 May 2006, 18:38 GMT
Yes this is on a fresh CVS bleeding edge install after deleteing the .rockbox folder.

I have also tested with more than one file at least one of which I have previously viewed with an older CVS build.
Comment by Jonathan Gordon (jdgordon) - Saturday, 27 May 2006, 08:59 GMT
can you upload one fo the files that was crashig it?
Comment by Douglas Valentine (Dwyloc) - Saturday, 27 May 2006, 13:00 GMT
yes no problem.
Comment by Jonathan Gordon (jdgordon) - Saturday, 27 May 2006, 14:02 GMT
well ull be glad (?) to know that it crashed the sim here which means its actually a bug... time to investigate..
Comment by Alistair Marshall (amar) - Sunday, 28 May 2006, 15:03 GMT
could this be related to  FS#5187  ?
Comment by jerry lange (jerry.lange) - Sunday, 18 June 2006, 06:34 GMT
i am also having this problem. i didnt know there was a problem with all files loaded in the text viewer. i am trying to view a .m3u file and that also crashes the player
Comment by Mitchell Jareo (mjjareo) - Thursday, 22 June 2006, 03:21 GMT
I'm having this problem too. Playing around with this makes me feel that if the first character in the file is whitespace, rockbox locks up.
Comment by Marc Flint (FLiNT) - Friday, 23 June 2006, 03:21 GMT
the same problem occurs on h-320 devices using recent rb builds. replacing the current version of viewer.rock with ones from older builds (e.g., rockbox-h300-20060510 works fine) fixes this problem.

since the viewer seems to crash more frequently when files using a "layout" (like .nfo files or the .txt douglas posted) are involved, i assume that it might have to do something with numerous blank spaces and/or special characters.
Comment by Mark Arigo (lowlight) - Thursday, 13 July 2006, 20:21 GMT
I didn't notice this bug report until I filed my own.
http://www.rockbox.org/tracker/task/5658
I included a patch to fix the bug.
Comment by jerry lange (jerry.lange) - Thursday, 13 July 2006, 20:31 GMT
[quote]At this stage the player will lockup and require you to press the reset button and on next boot the player boots into the manufactures stock firmware not Rockbox.[/quote]
one way to turn on the player on with rockbox after a restart is to put the hold button on and then press play. the hold screen will pop up (either iriver or rockboxs screen) and then take off hold wait a few seconds and then turn it on again.
Comment by Douglas Valentine (Dwyloc) - Sunday, 16 July 2006, 11:14 GMT
@Mark
The version of your patch committed to CVS fixes the problem and all the text files I have tested now open and view without problems thanks.

@jerry
Thanks for the information.

Loading...