Hello ?
I see that that error is in the file db.cpp, CAddrDB::Write(..) where a temporary, empty version of peers.dat is created. That seems to be failing, though I can't see how the CAddrDB::CAddrDB(...) constructor can tell that file is NULL??
You would have to run long enough for the...