Specifically, at line 149: m_context->prefs->GetPrefString(kSaveMusicDirPref, tempDir, &length); It goes into happy hash land and fails miserably, and returns null; then, because it's null it fails on the MKDIR, the metadatabase stuff goes in the toilet, and then the lovely error base/src/database.cpp:47: failed assertion `m_dbase' pops up. (This is sol 2.7, gcc 2.95.1.)