Downloads
release
dev builds
extras
themes
Documentation
manual
wiki
device status
Support
forums
mailing lists
IRC
Development
bugs
patches
dev guide
Search
Donate
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Welcome to the Rockbox Technical Forums!
Rockbox Technical Forums
Rockbox General
Rockbox General Discussion
[SOLVED] Rockbox 3.8.1 crashes when inserting from database
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Rockbox 3.8.1 crashes when inserting from database (Read 2996 times)
sandwich600
Member
Posts: 23
[SOLVED] Rockbox 3.8.1 crashes when inserting from database
«
on:
May 05, 2011, 06:20:35 PM »
Hi,
I am a Rockbox newbie, sorry if this is not the right place to report crashes.
Rockbox 3.8.1 crashes when adding several albums to the playlist from the Database view, where those files reside on the SD card, but not from the Files view, and not for all artists. My directory structure is the usual artist/album/song. This is for a Sansa Clip+.
To reproduce the crash, choose an artist residing on the SD card:
Rockbox->Database->Artists->Rush->(long press select key)->Playlist->Insert--->crash and restart.
To achieve the same thing without crashing:
Rockbox->Files-><microsd1>->Rush->(long press select key)->Playlist->Insert--->works fine
The artist "Rush" is stored entirely on my 16 Gb SD card, and contains several albums.
The crash happens only for a few artists. It seems to be related to an album directory name containing parenthesis "()". However, it still happens if those parenthesis are removed, and it does not happen for at least one artist where it should. And it does not happen if that album directory is chosen individually.
My mp3 tags seem to be fine. The files are perfect. The disk has been checked (fsck).
Jim
«
Last Edit: January 06, 2012, 06:42:42 AM by sandwich600
»
Logged
Archos JBM20, Archos AV 380 (2005), Sansa Clip+ (Rockboxed)
Music encoded at 256kb/s VBR.
Chronon
Rockbox Expert
Member
Posts: 4383
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #1 on:
May 05, 2011, 06:29:29 PM »
Bug reports belong on the tracker. The forums are suitable for discussing a problem prior to posting a bug report (to see if other people can reproduce the problem, etc.).
I can't check this until later today. Does the current build behave the same way for you?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g
sandwich600
Member
Posts: 23
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #2 on:
May 05, 2011, 06:40:39 PM »
Thanks. I will test the daily build tomorrow.
Logged
Archos JBM20, Archos AV 380 (2005), Sansa Clip+ (Rockboxed)
Music encoded at 256kb/s VBR.
Chronon
Rockbox Expert
Member
Posts: 4383
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #3 on:
May 05, 2011, 07:35:35 PM »
If you copy the problematic files to the internal storage do you still see this problem?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g
sandwich600
Member
Posts: 23
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #4 on:
May 07, 2011, 09:26:52 AM »
It does not crash when the problematic files are moved to the internal memory.
Ptocedure used for test: Moved files from external card to internal memory, Re-initialised the Database, then performed the Database play test as above. Whereas it crashed before, it does not crash now.
Have not had a chance to try the latest build yet.
Logged
Archos JBM20, Archos AV 380 (2005), Sansa Clip+ (Rockboxed)
Music encoded at 256kb/s VBR.
Chronon
Rockbox Expert
Member
Posts: 4383
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #5 on:
May 07, 2011, 01:29:23 PM »
Well, I'll take a look with my e280v1, but this seems to be related to SD driver, so it's likely that only other Clip+ (and possibly Fuze v2) users will be able to reproduce this.
. . .
I was able to insert some files containing parentheses in the filename (as well as the title field) from the uSD card using the database. So, I don't think I can reproduce this problem with Rockbox 3.8.1 on an e280 v1.
The files being on the SD card is a necessary but not sufficient condition. It would be helpful to figure out what other condition is necessary to cause this crash.
One difference between my e280 v1 and your Clip+ is the amount of RAM available. (If I recall correctly, the Clip+ has 300 bytes available for the metadata buffer.) Perhaps a necessary factor is related to the length of the metadata fields: Album names containing parentheses are often longer than normal. At least this is one hypothesis I might try investigating.
This is all just to help give an informative bug report. It isn't necessary to solve the problem on your own.
It would be nice if some other users with this player can verify your findings. That would help eliminate the possibility that this behavior stems from flaky hardware.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g
marc2003
Member
Posts: 36
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #6 on:
May 07, 2011, 02:11:18 PM »
i have an 8gb clip+ and 16GB micro sdhc card (sandisk class 4 if it matters) and i can't reproduce this. i don't have any folder names with parentheses in but i certainly have plenty of filenames with them.
my folder structure is also artist\album\track
things i've tried:
-artist entirely on SD card (5 albums in the max)
-adding entire years (which are spread over SD card and internal memory)
i also have a custom tagnavi file which breaks my collection down by codec and even inserting all my ogg files at once which is over 1300 entries works absolutely fine.
my RB build is r29793 from the 28th april.
edit: just to clarify, my custom tagnavi uses the filename to bunch stuff together by codec.
«
Last Edit: May 07, 2011, 02:15:37 PM by marc2003
»
Logged
sandwich600
Member
Posts: 23
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #7 on:
May 09, 2011, 05:56:48 AM »
Hi,
Just to confirm, when I move the problematic data to the internal memory, the problem dissappears. When I move it back to the SD card, the problem reappears as described in the original post.
Adding this specific artist (and all underlying albums and tracks) to a playlist through the Databse will crash with a Data abort. However inserting all artists through the Database works fine, even though that operation must be doing what the more specific request (ie. to add only the 1 artist) could not achieve.
The folder/file names are not particularly long or complicated. The track tags are in order. Several tracks do contain comment tags, which is quite unusual.
Does the insert operation write a detailed log ? Perhaps is will record what track it was trying to add that caused the crash ?
I've still to try the latest build.
Jim
Post Merge: May 09, 2011, 07:05:54 AM
As a newbie, I need a bit of guidance with testing the latest release. I can download it and install with the Rockbox utility, 2 questions:
- how can I tell exactly what build is running, apart from the "3.8.1" that flashes up at boot time ?
- Can I easily revert to 3.8.1 stable after trying the daily build ?
Jim
«
Last Edit: May 09, 2011, 07:05:54 AM by sandwich600
»
Logged
Archos JBM20, Archos AV 380 (2005), Sansa Clip+ (Rockboxed)
Music encoded at 256kb/s VBR.
yapper
Rockbox Expert
Member
Posts: 794
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #8 on:
May 09, 2011, 07:20:42 AM »
1. Go to System > Rockbox Info > Version
2. Yes you can revert to 3.8.1 easily
Logged
G2 iPod 20GB / Sansa c240 v1 + 2GB microSD / Sansa c250 v1 / Sansa e250 v1 + 8GB microSDHC / Sansa Fuze v2 + 32GB microSDHC
sandwich600
Member
Posts: 23
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #9 on:
May 09, 2011, 06:09:37 PM »
The crash still happens with the latest build r29848.
Logged
Archos JBM20, Archos AV 380 (2005), Sansa Clip+ (Rockboxed)
Music encoded at 256kb/s VBR.
sandwich600
Member
Posts: 23
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #10 on:
May 11, 2011, 03:22:09 PM »
Okay it seems to happen on pretty much any artist stored on the SD card. I haven't tried them all yet, but all the artists so far tried lead to a crash. When the Sansa reboots, I get a brief message "Playlist control file invalid".
Again, I can make the playlist fine through Files->, and I can make playlists through the Database-> too, if I select a higher level, like "Artists" (to make a playlist of all songs on the player), or a lower level like the name of a single album. Just selecting the individual Artist (to make a playlist of all their albums) leads to the crash, and only where the Artist's files reside on the SD card.
Logged
Archos JBM20, Archos AV 380 (2005), Sansa Clip+ (Rockboxed)
Music encoded at 256kb/s VBR.
sideral
Developer
Member
Posts: 48
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #11 on:
May 11, 2011, 04:10:46 PM »
I also tried reproducing this on my Clip+ without success.
Sandwich600, could you please make the album in question available for testing (privately if necessary)?
This discussion is in a stage that belongs in the bug tracker, not the forum. Please repeat all relevant information in the tracker item rather than referring to this forum discussion. To help analyzing this, please also include the exact addresses reported on the panic screen.
The playlist-insert operation does not write a detailed log, but you can log all metadata accesses to a file /metadata.log by enabling metadata logging in the Debug menu. Please post this log as well.
Logged
sandwich600
Member
Posts: 23
Re: Rockbox 3.8.1 crashes when inserting from database
«
Reply #12 on:
May 13, 2011, 05:00:49 AM »
I will investigate the tracker sideral. Never used a bug tracker before, so it might take a little while. I can't make the album available for download, but it should not matter as the problem applies to all music (on the SD card), not just some artists as I initially reported.
The /metadata.log contains nothing interesting, just a short list of songs, none of which pertain to the crashed operation, and just reflect what I was listening to before attemting the test, ie. the crash seems to happen before anything is written to the log.
Incidentally the PC used to manage the Sansa Clip+ runs Linux.
Logged
Archos JBM20, Archos AV 380 (2005), Sansa Clip+ (Rockboxed)
Music encoded at 256kb/s VBR.
sandwich600
Member
Posts: 23
Re: [SOLVED] Rockbox 3.8.1 crashes when inserting from database
«
Reply #13 on:
January 06, 2012, 06:44:39 AM »
The problem was eventually fixed with an upgrade to the latest stable Rockbox version (3.10) last week. Marked thread [SOLVED].
Logged
Archos JBM20, Archos AV 380 (2005), Sansa Clip+ (Rockboxed)
Music encoded at 256kb/s VBR.
Print
Pages: [
1
]
« previous
next »
Rockbox Technical Forums
Rockbox General
Rockbox General Discussion
[SOLVED] Rockbox 3.8.1 crashes when inserting from database
SMF 2.0.19
|
SMF © 2021
,
Simple Machines
Rockbox Privacy Policy
XHTML
RSS
WAP2
Page created in 0.04 seconds with 22 queries.