Are you getting flat out freezing, or are you getting PANIC errors? If you are getting PANIC errors, which PANIC error in particular?
I was having a lot of freezing/crashing at one point, and found a few things that all but eliminated them.
1. I don't remember which special characters are supported and which should be avoided with Rockbox, but I think in general most ARE supported. It's in the documentation somewhere on the Rockbox website. Anyways, this is my personal experience, but I personally found that for some reason, renaming folders and files to eliminate/replace the special characters (!, ?, $, %, &) has reduced my freezing by 95%.
The title tag can have whatever characters - I'm just talking the physical folder or name. And it may have only been 1 out of the list that caused an issue, but all I know is I was having massive freezing until I started cleaning up the special characters. Now I rarely if ever freeze - the only time being is if I start trying to browse files after bootup without waiting about 1 minute.
I use an open source Windows utility called Rename-It (
https://sourceforge.net/projects/renameit/). It's really easy to use, and it can rename everything in 1 step. You simply create multiple "filters", such as replacing '&' withthe word 'and', and replacing !,?,$,and % with nothing (ie leave blank). Finally, I replace 2 spaces (ie space bar space bar) with 1 space (ie space bar), which corrects the filter that replaced the !,?,etc with a space thus making 2 spaces. Then you just execute the thing in 2 swoop and it runs through all of the filters. I can rename thousands of files in less than a minute. The other nice thing is there's a sample text box where you can type in sample test BEFORE making the changes, and it will show you changes to your sample text. This way, you can make sure your filters will work as expected.
So for example, a fictitious file named Stop! Do You Hear Me? (Jinkelheimer & Dougan) would be renamed to Stop Do You Hear Me (Jinkelheimer and Dougan).
2. I have the settings set as follows (again, not sure which 1 or more may have fixed it):
General Settings - Database - Gather Runtime Data = NO (this creates a log that can be used for troubleshooting)
General Settings - System - Disk - Directory Cache = NO (when YES, caused a ton of disk cache PANIC errors)
General Settings - System - Limits - Max Entries In File Browser (I have mine set to 1500**)
General Settings - System - Limits - Max Playlist Size - (I have mine set to 5k more than the total songs, so 25000)
** I have my files organized like this, so I set to 1500 based on the total number of top level "Artist" folders inside of the "Music" folder:
--------- .rockbox
--------- Music
------------------- Artist 1
----------------------------- Album A
----------------------------------------- Track 1, Track 2, etc etc
----------------------------- Album B
----------------------------------------- Track 1, Track 2, etc etc
----------------------------- Album C
----------------------------------------- Track 1, Track 2, etc etc
------------------- Artist 2
----------------------------- Album X
----------------------------------------- Track 1, Track 2, etc etc
------------------- Artist 3
----------------------------- Album Y
----------------------------------------- Track 1, Track 2, etc etc
----------------------------- Album Z
----------------------------------------- Track 1, Track 2, etc etc
.
.
.
.
etc
3. Any folder that doesn't have music (like the folder with my EQ profiles), I have a database.ignore file in it, including the .rockbox folder.
4. Occasionally, the card can be suspected to be corrupt, and/or something messed up in the .rockbox folder on the card. The solution to this is delete the .rockbox folder on the card (saving any EQ profiles or anything else you need from the .rockbox folder before deleting), and unzip the contents of the latest .zip 'update' file onto the card (thus recreating the .rockbox folder fresh.
Hope that helps,
- Slater