Ubuntu Pastebin

Paste from ws at Fri, 6 May 2016 13:06:34 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Thread 1 "kodi.bin" hit Breakpoint 1, CLangInfo::CRegion::SetGlobalLocale (this=<optimized out>) at LangInfo.cpp:283
283	    CLog::Log(LOGERROR, "failed to set m_originalLocale to %s", strLocale.c_str());
(gdb) list
278	  {
279	    g_langInfo.m_originalLocale = std::locale(strLocale.c_str());
280	  }
281	  catch (std::runtime_error) 
282	  {
283	    CLog::Log(LOGERROR, "failed to set m_originalLocale to %s", strLocale.c_str());
284	    g_langInfo.m_originalLocale = std::locale("");
285	  }
286	
287	  CLog::Log(LOGDEBUG, "trying to set locale to %s", strLocale.c_str());
(gdb) strLocale
Undefined command: "strLocale".  Try "help".
(gdb) p strLocale
$1 = {static npos = 18446744073709551615, 
  _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
    _M_p = 0x7fffffffca60 "en_US.UTF-8"}, _M_string_length = 11, {_M_local_buf = "en_US.UTF-8\000\000\000\000", 
    _M_allocated_capacity = 6076814207655833189}}
(gdb) p strLocale.c_str()
$2 = 0x7fffffffca60 "en_US.UTF-8"
(gdb) n
284	    g_langInfo.m_originalLocale = std::locale("");
(gdb) step
terminate called after throwing an instance of 'std::runtime_error'
  what():  locale::facet::_S_create_c_locale name not valid

Thread 1 "kodi.bin" received signal SIGABRT, Aborted.
0x00007ffff0e6e418 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff0e6e418 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff0e7001a in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff14a784d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#3  0x00007ffff14a56b6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4  0x00007ffff14a5701 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007ffff14a5919 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6  0x00007ffff14ce59f in std::__throw_runtime_error(char const*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007ffff14c8704 in std::locale::facet::_S_create_c_locale(__locale_struct*&, char const*, __locale_struct*) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#8  0x00007ffff14b925c in std::locale::_Impl::_Impl(char const*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007ffff14ba55a in std::locale::locale(char const*) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x000000000111e0e6 in CLangInfo::CRegion::SetGlobalLocale (this=<optimized out>) at LangInfo.cpp:284
#11 0x000000000111e27f in CLangInfo::SetCurrentRegion (this=this@entry=0x32acb90, strName=...) at LangInfo.cpp:980
#12 0x000000000111ed1d in CLangInfo::Load (this=this@entry=0x32acb90, strLanguage=...) at LangInfo.cpp:509
#13 0x000000000111efe6 in CLangInfo::SetLanguage (this=0x32acb90, fallback=@0x32ad4e8: false, strLanguage=..., 
    reloadServices=reloadServices@entry=false) at LangInfo.cpp:713
#14 0x00000000010a6c79 in CApplication::LoadLanguage (this=this@entry=0x32acf60, reload=reload@entry=false) at Application.cpp:5090
#15 0x00000000010af75f in CApplication::Initialize (this=0x32acf60) at Application.cpp:1073
#16 0x0000000000ea0742 in XBMC_Run (renderGUI=renderGUI@entry=true) at xbmc.cpp:86
#17 0x00000000007f1992 in main (argc=1, argv=0x7fffffffd998) at main.cpp:79
Download as text