- Moderator
- #81
You can not see errors in this Log?
Code:
[2021-01-13 17:40:59,858] [Error ] [12 ] [ERROR] - SQLiteClient: cmd:sqlite3_prepare16:pvm=null err:MISUSE/NOMEM detailed:out of memory query:select * from tracks where strartist like '%| Juliette Lewis |%' and strTitle like 'Born Bad'
[2021-01-13 17:40:59,907] [Error ] [12 ] [ERROR] - musicdatabase exception err:SQLiteClient: cmd:sqlite3_prepare16:pvm=null err:MISUSE/NOMEM detailed:out of memory query:select * from tracks where strartist like '%| Juliette Lewis |%' and strTitle like 'Born Bad' stack: bei SQLite.NET.SQLiteClient.ThrowError(String statement, String sqlQuery, SqliteError err)
bei SQLite.NET.SQLiteClient.Execute(String query)
bei MediaPortal.Music.Database.MusicDatabase.GetSongsBySQL(String aSQL, List`1& aSongs)
Now that's strange:
Code:
[2021-01-13 17:39:22,559] [Log ] [PS StandbyWakeup] [DEBUG] - PS: System is busy and should not go to standby
[2021-01-13 17:39:36,206] [Log ] [MPMain ] [WARN ] - SQLiteClient: ReadpVm (-15,3263393) Exceeded sampling time, may not have received all the data.
Code:
[2021-01-13 17:40:53,687] [Log ] [23 ] [DEBUG] - BASS: Free GCHandle for stream -2147483629
[2021-01-13 17:40:58,499] [Log ] [12 ] [DEBUG] - GUIMusicPlayingNow: Calling Last.FM to get similar Tracks
[2021-01-13 17:40:58,679] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database: MusicDatabaseV14.db3
[2021-01-13 17:40:58,859] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
[2021-01-13 17:40:59,003] [Log ] [12 ] [DEBUG] - GUIMusicPlayingNow: Number of similar tracks returned from Last.FM: 89
[2021-01-13 17:40:59,456] [Log ] [MPMain ] [INFO ] - SQLiteClient: Closing database:
[2021-01-13 17:40:59,858] [Error ] [12 ] [ERROR] - SQLiteClient: cmd:sqlite3_prepare16:pvm=null err:MISUSE/NOMEM detailed:out of memory query:select * from tracks where strartist like '%| Juliette Lewis |%' and strTitle like 'Born Bad'
[2021-01-13 17:40:59,907] [Error ] [12 ] [ERROR] - musicdatabase exception err:SQLiteClient: cmd:sqlite3_prepare16:pvm=null err:MISUSE/NOMEM detailed:out of memory query:select * from tracks where strartist like '%| Juliette Lewis |%' and strTitle like 'Born Bad' stack: bei SQLite.NET.SQLiteClient.ThrowError(String statement, String sqlQuery, SqliteError err)
bei SQLite.NET.SQLiteClient.Execute(String query)
bei MediaPortal.Music.Database.MusicDatabase.GetSongsBySQL(String aSQL, List`1& aSongs)
[2021-01-13 17:40:59,910] [Log ] [12 ] [INFO ] - MusicDatabase: Opening database
[2021-01-13 17:41:02,282] [Log ] [12 ] [DEBUG] - IntegrityCheck: the C:\ProgramData\Team MediaPortal\MediaPortal\Database\MusicDatabaseV14.db3 is OK
[2021-01-13 17:41:02,283] [Log ] [12 ] [INFO ] - MusicDatabase: Database opened
You turn your laptop off or just put it to sleep or something like that. From the log, it looks like sleep, and not a very correct exit from sleep.
@doskabouter What do you think:
(21) SQLITE_MISUSE
The SQLITE_MISUSE return code might be returned if the application uses any SQLite interface in a way that is undefined or unsupported. For example, using a prepared statement after that prepared statement has been finalized might result in an SQLITE_MISUSE error.
SQLite tries to detect misuse and report the misuse using this result code. However, there is no guarantee that the detection of misuse will be successful. Misuse detection is probabilistic. Applications should never depend on an SQLITE_MISUSE return value.
If SQLite ever returns SQLITE_MISUSE from any interface, that means that the application is incorrectly coded and needs to be fixed. Do not ship an application that sometimes returns SQLITE_MISUSE from a standard SQLite interface because that application contains potentially serious bugs.
(7) SQLITE_NOMEM
The SQLITE_NOMEM result code indicates that SQLite was unable to allocate all the memory it needed to complete the operation. In other words, an internal call to sqlite3_malloc() or sqlite3_realloc() has failed in a case where the memory being allocated was required in order to continue the operation.
(3082) SQLITE_IOERR_NOMEM
The SQLITE_IOERR_NOMEM error code is sometimes returned by the VFS layer to indicate that an operation could not be completed due to the inability to allocate sufficient memory. This error code is normally converted into SQLITE_NOMEM by the higher layers of SQLite before being returned to the application.