UpdateMedia is segfaulting
as per Tschaks request I did a backtrace on Updatemedia for it gets a segfault:
#0 0xb687a8a3 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/i386-linux-gnu/libstdc++.so.6 #1 0x08062d77 in __gnu_cxx::new_allocator<std::string>::construct (this=0x815d8d4, __p=0x815d8b0, __val=<error reading variable: Cannot access memory at address 0x0>) at /usr/include/c++/4.8/ext/new_allocator.h:130 #2 0x08062393 in __gnu_cxx::__alloc_traits<std::allocator<std::string> >::construct<std::string> (__a=..., __p=0x815d8b0, __arg=<error reading variable: Cannot access memory at address 0x0>) at /usr/include/c++/4.8/ext/alloc_traits.h:216 #3 0x080624d7 in std::vector<std::string, std::allocator<std::string> >::_M_insert_aux (this=0x815d8d4, __position=<error reading variable: Cannot access memory at address 0x0>, __x=<error reading variable: Cannot access memory at address 0x0>) at /usr/include/c++/4.8/bits/vector.tcc:353 #4 0x08061b47 in std::vector<std::string, std::allocator<std::string> >::push_back (this=0x815d8d4, __x=<error reading variable: Cannot access memory at address 0x0>) at /usr/include/c++/4.8/bits/stl_vector.h:913 #5 0x0808a537 in TagFileHandler::GetTagInfo (this=0x8169410, Python Exception <class 'IndexError'> list index out of range: sFilename="/home/public/data/audio/7.28 TB (sdd1) ST8000AS0002-1N [92]/Contemplation Stimulation/Brainwave/Brainwave - Euphoria Shot - 15-mins.mp3", Python Exception <class 'IndexError'> list index out of range: mapAttributes=std::map with 4 elements, listPictures=empty std::list) at TagFileHandler.cpp:651 Python Exception <class 'IndexError'> list index out of range: #6 0x0808785c in TagFileHandler::LoadAttributes (this=0x8169410, pPlutoMediaAttributes=0x8163018, listPicturesForTags=empty std::list) at TagFileHandler.cpp:239 #7 0x080720da in PlutoMediaFile::LoadPlutoAttributes (this=0xbfffe754) at PlutoMediaFile.cpp:1214 #8 0x0806c12b in PlutoMediaFile::PlutoMediaFile (this=0xbfffe754, pDatabase_pluto_media=0x80f04b0, PK_Installation=1047595, sDirectory="\214.\025\b\304/\026\b\253\221\207\266\340w\025\b\000\300\212\266\001\000\000\000\016\222\207\266T\347\377\277\003\000\000\000\000\300\212\266j'\201\266\020\224\026\bL\005\025\b\312;\207Z\225\212\t\000\360\336\025\b\250\202\025\b\001\000\000\001\004\004\017\b(\232\016\b\000\000\000\000\030\060\026\b\\\347\377\277\\\347\377\277\214.\025\b\304/\026\b+\374\017\000\000\000\000\000\000\000\000\000\260\004\017\b\020\224\026\b\225\212\t\000\354\065\213\266L\005\025\b\370\003\017\b\204\332\001\267\000\000\000\000\330\347\377\277UN\006\b\214\357\377\277\274\347\377\277\263\215\v\b\214.\025\b1'\201\266L\333\025\b\364d\025\b\214.\025\bX\350\377\277\034\231\v\b\000\000\000\000"..., sFile="\304/\026\b\253\221\207\266\340w\025\b\000\300\212\266\001\000\000\000\016\222\207\266T\347\377\277\003\000\000\000\000\300\212\266j'\201\266\020\224\026\bL\005\025\b\312;\207Z\225\212\t\000\360\336\025\b\250\202\025\b\001\000\000\001\004\004\017\b(\232\016\b\000\000\000\000\030\060\026\b\\\347\377\277\\\347\377\277\214.\025\b\304/\026\b+\374\017\000\000\000\000\000\000\000\000\000\260\004\017\b\020\224\026\b\225\212\t\000\354\065\213\266L\005\025\b\370\003\017\b\204\332\001\267\000\000\000\000\330\347\377\277UN\006\b\214\357\377\277\274\347\377\277\263\215\v\b\214.\025\b1'\201\266L\333\025\b\364d\025\b\214.\025\bX\350\377\277\034\231\v\b\000\000\000\000\000\000\000\000"..., pFileHandler=0x8169410) at PlutoMediaFile.cpp:106 #9 0x08067868 in UpdateMedia::ScanFiles (this=0xbfffef8c, sDirectory="/home/public/data/audio/7.28 TB (sdd1) ST8000AS0002-1N [92]/Contemplation Stimulation/Brainwave") at UpdateMedia.cpp:532 #10 0x08064e55 in UpdateMedia::ReadDirectory (this=0xbfffef8c, sDirectory="/home/public/data/audio/7.28 TB (sdd1) ST8000AS0002-1N [92]/Contemplation Stimulation/Brainwave") at UpdateMedia.cpp:264 #11 0x08068ae9 in UpdateMedia::ScanSubfolders (this=0xbfffef8c, sDirectory="/home/public/data/audio/7.28 TB (sdd1) ST8000AS0002-1N [92]/Contemplation Stimulation/", folder_type=@0xbfffe8d8: UpdateMedia::ftNormal) at UpdateMedia.cpp:706 #12 0x08064ea5 in UpdateMedia::ReadDirectory (this=0xbfffef8c, sDirectory="/home/public/data/audio/7.28 TB (sdd1) ST8000AS0002-1N [92]/Contemplation Stimulation") at UpdateMedia.cpp:268 #13 0x08068ae9 in UpdateMedia::ScanSubfolders (this=0xbfffef8c, sDirectory="/home/public/data/audio/7.28 TB (sdd1) ST8000AS0002-1N [92]/", folder_type=@0xbfffe9f8: UpdateMedia::ftNormal) at UpdateMedia.cpp:706 #14 0x08064ea5 in UpdateMedia::ReadDirectory (this=0xbfffef8c, sDirectory="/home/public/data/audio/7.28 TB (sdd1) ST8000AS0002-1N [92]") at UpdateMedia.cpp:268 #15 0x08068ae9 in UpdateMedia::ScanSubfolders (this=0xbfffef8c, sDirectory="/home/public/data/audio/", folder_type=@0xbfffeb18: UpdateMedia::ftNormal) at UpdateMedia.cpp:706 #16 0x08064ea5 in UpdateMedia::ReadDirectory (this=0xbfffef8c, sDirectory="/home/public/data/audio") at UpdateMedia.cpp:268 #17 0x08068ae9 in UpdateMedia::ScanSubfolders (this=0xbfffef8c, sDirectory="/home/public/data/", folder_type=@0xbfffec38: UpdateMedia::ftNormal) at UpdateMedia.cpp:706 #18 0x08064ea5 in UpdateMedia::ReadDirectory (this=0xbfffef8c, sDirectory="/home/public/data") at UpdateMedia.cpp:268 #19 0x08068ae9 in UpdateMedia::ScanSubfolders (this=0xbfffef8c, sDirectory="/home/public/", folder_type=@0xbfffed58: UpdateMedia::ftNormal) at UpdateMedia.cpp:706 #20 0x08064ea5 in UpdateMedia::ReadDirectory (this=0xbfffef8c, sDirectory="/home/public") at UpdateMedia.cpp:268 #21 0x08068ae9 in UpdateMedia::ScanSubfolders (this=0xbfffef8c, sDirectory="/home/", folder_type=@0xbfffee78: UpdateMedia::ftNormal) at UpdateMedia.cpp:706 #22 0x08064ea5 in UpdateMedia::ReadDirectory (this=0xbfffef8c, sDirectory="/home") at UpdateMedia.cpp:268 #23 0x08064bb0 in UpdateMedia::DoIt (this=0xbfffef8c) at UpdateMedia.cpp:238 #24 0x0805fae6 in main (argc=1, argv=0xbffff144) at Main.cpp:678