2018-09-17, 11:38
(2018-09-16, 18:40)DaveBlake Wrote: I'm getting infrequent (but so far daily) seg fault crashes running LE 8.90.004 (v18 Beta1) on RPi2, so far always during music playback but I don't think that media is the issue. Playing boring FLAC that have played OK before, and replay without issue. I'm not sure it is a music issue either, more likely just that I spend a lot of time playing music compared to video! Crash happens after at least 4 hours of playback, and generally only once is 14 hours although it did happen twice in 15mins on one occassion.@DaveBlake kodi seems to be crashing in CUtil::ValidatePath (xbmc/Util.cpp) servicing a JsonRPC request. The audio library is also involved
Wondering if any Millhouse build users have experienced similar?
No addons, no viz, infact running with TV off and using JSON (via Chorus and Yatse) to control remotely. Crash logs available, for example https://pastebin.com/4HHwUUeZ if that gives anyone some hints to the issue. Hoping that @Milhouse has an "aha" moment. What component logging can I usefully enable?
Code:
#0 0x74d73fe4 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::string const&) () from /usr/lib/libstdc++.so.6
#1 0x005f7984 in CUtil::ValidatePath(std::string const&, bool) ()
#2 0x005ff2f4 in CURL::Parse(std::string const&) ()
#3 0x009e49e4 in ?? ()
#4 0x004c4800 in CMusicDatabase::GetSongByFileName(std::string const&, CSong&, long long) ()
#5 0x00490f50 in JSONRPC::CAudioLibrary::FillFileItem(std::string const&, std::shared_ptr<CFileItem>&, CVariant const&) ()
#6 0x0046aa0c in JSONRPC::CPlayerOperations::GetItem(std::string const&, JSONRPC::ITransportLayer*, JSONRPC::IClient*, CVariant const&, CVariant&) ()
#7 0x004814c4 in JSONRPC::CJSONRPC::HandleMethodCall(CVariant const&, CVariant&, JSONRPC::ITransportLayer*, JSONRPC::IClient*) ()
#8 0x004816ec in JSONRPC::CJSONRPC::MethodCall(std::string const&, JSONRPC::ITransportLayer*, JSONRPC::IClient*) ()
#9 0x009dea40 in CHTTPJsonRpcHandler::HandleRequest() ()
#10 0x005126f0 in CWebServer::HandleRequest(std::shared_ptr<IHTTPRequestHandler> const&) ()
#11 0x00512c2c in CWebServer::HandlePartialRequest(MHD_Connection*, CWebServer::ConnectionHandler*, HTTPRequest const&, char const*, unsigned int*, void**) ()
#12 0x0050fc24 in CWebServer::AnswerToConnection(void*, MHD_Connection*, char const*, char const*, char const*, char const*, unsigned int*, void**) ()
#13 0x009f0c1c in ?? ()
Enabling JsonRPC logging could provide some more hints - but probably you're the one here with the most experience in the audio library code
so long,
Hias