Hi, had this happen last night.
Code:
2015-02-03 20:35:15.437	[ERROR][9]	Unexpected error in AddEPGEvents: System.Data.SQLite.SQLiteException (0x80004005): database is locked
database is locked
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at System.Data.SQLite.SQLiteTransaction.Commit()
   at NShared.EPGManager.AddEPGEvents(List`1 events)
2015-02-03 20:35:15.437	[DEBUG][22]	Renew lease ok (0x270032)
2015-02-03 20:35:45.477	[ERROR][22]	Unexpected error in AddTempFile(): System.Data.SQLite.SQLiteException (0x80004005): database is locked
database is locked
   at System.Data.SQLite.SQLite3.Step(SQLiteStatement stmt)
   at System.Data.SQLite.SQLiteDataReader.NextResult()
   at System.Data.SQLite.SQLiteDataReader..ctor(SQLiteCommand cmd, CommandBehavior behave)
   at System.Data.SQLite.SQLiteCommand.ExecuteReader(CommandBehavior behavior)
   at System.Data.SQLite.SQLiteCommand.ExecuteNonQuery()
   at NShared.TempFileManager.UpdateTempFile(Int32 handle)
2015-02-03 20:35:45.477	[ERROR][9]	Live stream expired without renewal. (handle:270032)
This was trying to add a scheduled recording with TE and the recording service crashed, so I guess it's yours to look at rather then subs? Let me know if not so I can repost elsewhere.

npvr.zip
ndroid.zip
Jim