Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: effl on September 29, 2008, 05:35:56 PM

Title: Crashing at startup
Post by: effl on September 29, 2008, 05:35:56 PM
Hello all,

Running Rockbox on a Sansa E200.

Recent updates have given me some trouble at startup:

- build 20080920 boots up fine
- build 20080921 gives PREFETCH ABORT AT F...FE and crashes after "scanning disk" message
- build 20080922 gives DATA ABORT AT 0...015 and crashes after same message

I have scanned the changelogs but nothing jumps out to me as a possible cause.

Any ideas?
Title: Re: Crashing at startup
Post by: Llorean on September 29, 2008, 05:39:28 PM
Considering it's the 29th now, how 'bout trying a current build?

As well, those aren't revision numbers, so they don't provide any particularly useful information about which revisions you're having issues with.

Third: This isn't an installation question. Please read the POSTING IN THIS FORUM posts in each section before posting.
Title: Re: Crashing at startup
Post by: effl on September 30, 2008, 04:42:20 PM
In order:

I forgot to add: the DATA ABORT error persisted in the latest build at the time of posting.

The release dates uniquely identify a specific version from the archive, but sure I can use version numbers from now on if you guys are more used to those.

I am posting this to the General Discussion forum.

For now, I'm happy running an older version, but I'm up for helping to track down this bug.
Title: Re: Crashing at startup
Post by: gevaerts on September 30, 2008, 04:51:25 PM
Can you make a backup of your .rockbox directory (so we can look into those later if this helps), and then reset your settings? On a sansa, you do that by holding the Rec button while starting.
Title: Re: Crashing at startup
Post by: JdGordon on October 02, 2008, 08:10:11 AM
ok, I've loaded the 2 builds from the first post and both work (started with 20080920, upgraded to 20080921) so we are going to need more info.
1) does the build form the current builds link work?
2) paste the contents of the .rockbox/config.cfg file here.. (its a text file so open it with notepad or whatever)
Title: Re: Crashing at startup
Post by: effl on October 02, 2008, 01:35:51 PM
The latest build (r18682 of Oct 2nd) still crashes for me on startup.

I fiddled with the config file and the option associated with this crash for recent versions (>21 Set)  is "start in screen: previous", which was surprising. Take that away and the most recent build starts fine.

The rest of config.cfg is banal:

Code: [Select]
# .cfg file created by rockbox r18554-080920 - http://www.rockbox.org



volume: -22

stereo_width: 90

repeat: off

brightness: 1

volume fade: off

scan min step: 2

autocreate bookmarks: on

use most-recent-bookmarks: on

talk menu: off

talk dir: number

Announce Battery Level: on

rec mic gain: 22

rec format: mpa3

beep: weak

eq precut: 55

eq band 0 gain: -25

eq band 1 gain: 5

eq band 2 gain: 25

eq band 3 gain: 15

eq band 4 gain: 55

dircache: on

tagcache_autoupdate: on

lang: /.rockbox/langs/english.lng

start in screen: previous

button light timeout: off
Title: Re: Crashing at startup
Post by: pixelma on October 02, 2008, 02:17:33 PM
Did you shut down from the WPS by any chance so that it would enter WPS and resume playback when booting (with the "Previous" setting)?
Title: Re: Crashing at startup
Post by: effl on October 02, 2008, 04:43:43 PM
So now with the latest release running, I went back to the Preferences and reselected the "Return to Previous" option. Got a spurious crash accessing preferences, but after the next reboot everything is working fine, including resuming from WPS.

Bottom line: there is some situation in which a previous version did not crash but a current one does. I could go back and try and recreate those conditions later if you want.
Title: Re: Crashing at startup
Post by: JdGordon on October 02, 2008, 08:36:11 PM
"start in screen: previous"

bingo!
/me goes to fix (hopefully..)

edit: DOH! nothing recent should have affected this...
edit2: oh no, there it is..
edit3: all fixed.... i think... grab the latest build from the "current build" link on the left and let us know if its all good
Title: Re: Crashing at startup
Post by: effl on October 03, 2008, 10:40:25 AM
Thanks!