Cobalt 8.20698初始时崩溃

时间:2017-02-09 05:19:40

标签: cobalt

最新版本的Cobalt(8.20698)将在arm linux平台初始化时崩溃,回溯如下,但旧版本没有这个问题,任何人都可以帮忙看看吗?

[00000000] *pgd=0dce6831, *pte=00000000, *ppte=00000000
CPU: 0 PID: 4268 Comm: cobalt_qa Tainted: P           O 3.10.79 #2
task: cf33b400 ti: d24bc000 task.ti: d24bc000
PC is at 0xb5d12180
LR is at 0x161610
pc : [<b5d12180>]    lr : [<00161610>]    psr: 600f0010
sp : bed2fc20  ip : b5d12180  fp : 00000000
r10: bed30088  r9 : bed2ff78  r8 : bed2fe84
r7 : 00000002  r6 : 00000000  r5 : 00000000  r4 : 01027e68
r3 : 00000043  r2 : 00000049  r1 : 0000002e  r0 : 00000000
Flags: nZCv  IRQs on  FIQs on  Mode USER_32  ISA ARM  Segment user
Control: 10c5387d  Table: 124d406a  DAC: 00000015
CPU: 0 PID: 4268 Comm: cobalt_qa Tainted: P           O 3.10.79 #2
[<c0012c20>] (unwind_backtrace+0x0/0xdc) from [<c0010ef8>] (show_stack+0x10/0x14)
[<c0010ef8>] (show_stack+0x10/0x14) from [<c0014204>] (__do_user_fault+0x13c/0x1ac)
[<c0014204>] (__do_user_fault+0x13c/0x1ac) from [<c001449c>] (do_page_fault+0x228/0x268)
[<c001449c>] (do_page_fault+0x228/0x268) from [<c0008328>] (do_DataAbort+0x34/0x120)
[<c0008328>] (do_DataAbort+0x34/0x120) from [<c000dab4>] (__dabt_usr+0x34/0x40)
Exception stack(0xd24bdfb0 to 0xd24bdff8)
dfa0:                                     00000000 0000002e 00000049 00000043
dfc0: 01027e68 00000000 00000000 00000002 bed2fe84 bed2ff78 bed30088 00000000
dfe0: b5d12180 bed2fc20 00161610 b5d12180 600f0010 ffffffff

Caught signal: SIGSEGV (11)

    <unknown> [0xb5d12180]
    uprv_getDefaultLocaleID_56 [0x161610]
    icu_56::locale_set_default_internal() [0x15a114]
    icu_56::Locale::getDefault() [0x159ca0]
    locale_get_default_56 [0x159cb0]
    EzTimeValueExplode [0xb4d10]
    EzTimeTExplode [0xb5048]
    EzTimeTExplodeLocal [0xb5838]
    logging::LogMessage::Init() [0x7b7cc]
    logging::LogMessage::LogMessage() [0x7bcf4]
    base::UserLog::IsRegistrationSupported() [0x6b108]
    cobalt::browser::Application::RegisterUserLogs() [0x2c608]
    cobalt::browser::Application::Application() [0x2d998]
    cobalt::browser::CreateApplication() [0x2b278]
    SbEventHandle [0x2b0c0]
    starboard::shared::starboard::Application::DispatchStart() [0xbadec]
    starboard::shared::starboard::Application::Run() [0xbb4e0]
    main [0x21c24]
    <unknown> [0xb5cb2278]

1 个答案:

答案 0 :(得分:0)

跟踪Cobalt的代码后,钴需要在posix_id中获得SbSystemGetLocaledId() system_get_locale_id.cc,但系统尚未设置clang环境变量,并且在设置LANG环境变量(export LANG="en_US.UTF-8")之后,它变为null,导致崩溃,它可以工作。 Add CLANG environment variable