src/Media.cpp:94 assert failed after updating to latest medialibrary and vlc
Media::Media( MediaLibraryPtr ml, sqlite::Row& row )
: m_ml( ml )
// DB field extraction:
, m_id( row.load<decltype(m_id)>( 0 ) )
, m_type( row.load<decltype(m_type)>( 1 ) )
, m_subType( row.load<decltype(m_subType)>( 2 ) )
, m_duration( row.load<decltype(m_duration)>( 3 ) )
, m_playCount( row.load<decltype(m_playCount)>( 4 ) )
, m_lastPlayedDate( row.load<decltype(m_lastPlayedDate)>( 5 ) )
// skip real_last_played_date as we don't need it in memory
, m_insertionDate( row.load<decltype(m_insertionDate)>( 7 ) )
, m_releaseDate( row.load<decltype(m_releaseDate)>( 8 ) )
, m_title( row.load<decltype(m_title)>( 9 ) )
, m_filename( row.load<decltype(m_filename)>( 10 ) )
, m_isFavorite( row.load<decltype(m_isFavorite)>( 11 ) )
// Skip is_present
, m_deviceId( row.load<decltype(m_deviceId)>( 13 ) )
, m_nbPlaylists( row.load<unsigned int>( 14 ) )
, m_folderId( row.load<decltype(m_folderId)>( 15 ) )
, m_importType( row.load<decltype(m_importType)>( 16 ) )
, m_groupId( row.load<decltype(m_groupId)>( 17 ) )
, m_forcedTitle( row.load<decltype(m_forcedTitle)>( 18 ) )
// End of DB fields extraction
, m_metadata( m_ml, IMetadata::EntityType::Media )
, m_changed( false )
{
assert( row.nbColumns() == 19 );
}
Nothing is particularly printed when running vlc through gdb
This occurred with and without the patches in #225 (closed)