2016-03-25, 18:13
Starting with a file name on the command line used to work, but with Todays git I segfault.
kodi will start alone and the same file that would crash on command line will play from normally started kodi.
Debug log
Edit: This log is not from a crash - it crashes so quickly I don't get a log.
http://pastebin.ca/3411160
(gdb) run ~/x264-letters.mkv
Starting program: /mnt/sdb1/Gits/xbmc/kodi.bin ~/x264-letters.mkv
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
CServiceManager::GetAnnouncementManager (this=0x0) at ServiceManager.cpp:83
83 return *m_announcementManager;
(gdb) thread apply all bt
Thread 1 (Thread 0x7ffff7fbd800 (LWP 24902)):
#0 CServiceManager::GetAnnouncementManager (this=0x0) at ServiceManager.cpp:83
#1 0x0000000001029ad8 in CServiceBroker::GetAnnouncementManager () at ServiceBroker.cpp:36
#2 0x0000000000d4c285 in ANNOUNCEMENT::CAnnouncementManager::GetInstance () at AnnouncementManager.cpp:50
#3 0x0000000000e7806a in PLAYLIST::CPlayList::AnnounceAdd (this=this@entry=0x2e32c30, item=std:hared_ptr (count 4, weak 0) 0x2e80910, pos=pos@entry=0) at PlayList.cpp:84
#4 0x0000000000e78518 in PLAYLIST::CPlayList::Add (this=this@entry=0x2e32c30, item=std:hared_ptr (count 4, weak 0) 0x2e80910, iPosition=0, iPosition@entry=-1, iOrder=iOrder@entry=-1) at PlayList.cpp:122
#5 0x0000000000e7866c in PLAYLIST::CPlayList::Add (this=this@entry=0x2e32c30, item=std:hared_ptr (count 4, weak 0) 0x2e80910) at PlayList.cpp:127
#6 0x0000000000e786be in PLAYLIST::CPlayList::Add (this=this@entry=0x2e32c30, items=...) at PlayList.cpp:139
#7 0x000000000102089e in PLAYLIST::CPlayListPlayer::Add (this=0x26ef440 <g_playlistPlayer>, iPlaylist=0, items=...) at PlayListPlayer.cpp:624
#8 0x0000000000fbbbb5 in CAppParamParser:layPlaylist (this=this@entry=0x7fffffffdc40) at AppParamParser.cpp:156
#9 0x0000000000fbc296 in CAppParamParser:arse (this=this@entry=0x7fffffffdc40, argv=argv@entry=0x7fffffffe128, nArgs=nArgs@entry=2) at AppParamParser.cpp:80
#10 0x00000000007d44b5 in main (argc=2, argv=0x7fffffffe128) at main.cpp:77
kodi will start alone and the same file that would crash on command line will play from normally started kodi.
Debug log
Edit: This log is not from a crash - it crashes so quickly I don't get a log.
http://pastebin.ca/3411160
(gdb) run ~/x264-letters.mkv
Starting program: /mnt/sdb1/Gits/xbmc/kodi.bin ~/x264-letters.mkv
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
CServiceManager::GetAnnouncementManager (this=0x0) at ServiceManager.cpp:83
83 return *m_announcementManager;
(gdb) thread apply all bt
Thread 1 (Thread 0x7ffff7fbd800 (LWP 24902)):
#0 CServiceManager::GetAnnouncementManager (this=0x0) at ServiceManager.cpp:83
#1 0x0000000001029ad8 in CServiceBroker::GetAnnouncementManager () at ServiceBroker.cpp:36
#2 0x0000000000d4c285 in ANNOUNCEMENT::CAnnouncementManager::GetInstance () at AnnouncementManager.cpp:50
#3 0x0000000000e7806a in PLAYLIST::CPlayList::AnnounceAdd (this=this@entry=0x2e32c30, item=std:hared_ptr (count 4, weak 0) 0x2e80910, pos=pos@entry=0) at PlayList.cpp:84
#4 0x0000000000e78518 in PLAYLIST::CPlayList::Add (this=this@entry=0x2e32c30, item=std:hared_ptr (count 4, weak 0) 0x2e80910, iPosition=0, iPosition@entry=-1, iOrder=iOrder@entry=-1) at PlayList.cpp:122
#5 0x0000000000e7866c in PLAYLIST::CPlayList::Add (this=this@entry=0x2e32c30, item=std:hared_ptr (count 4, weak 0) 0x2e80910) at PlayList.cpp:127
#6 0x0000000000e786be in PLAYLIST::CPlayList::Add (this=this@entry=0x2e32c30, items=...) at PlayList.cpp:139
#7 0x000000000102089e in PLAYLIST::CPlayListPlayer::Add (this=0x26ef440 <g_playlistPlayer>, iPlaylist=0, items=...) at PlayListPlayer.cpp:624
#8 0x0000000000fbbbb5 in CAppParamParser:layPlaylist (this=this@entry=0x7fffffffdc40) at AppParamParser.cpp:156
#9 0x0000000000fbc296 in CAppParamParser:arse (this=this@entry=0x7fffffffdc40, argv=argv@entry=0x7fffffffe128, nArgs=nArgs@entry=2) at AppParamParser.cpp:80
#10 0x00000000007d44b5 in main (argc=2, argv=0x7fffffffe128) at main.cpp:77