{"action":"opened","issue":{"url":"https://api.github.com/repos/domokit/mojo/issues/52","labels_url":"https://api.github.com/repos/domokit/mojo/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/domokit/mojo/issues/52/comments","events_url":"https://api.github.com/repos/domokit/mojo/issues/52/events","html_url":"https://github.com/domokit/mojo/issues/52","id":58837615,"number":52,"title":"SkyShell crashes attempting to load subresources","user":{"login":"eseidel","id":478541,"avatar_url":"https://avatars.githubusercontent.com/u/478541?v=3","gravatar_id":"","url":"https://api.github.com/users/eseidel","html_url":"https://github.com/eseidel","followers_url":"https://api.github.com/users/eseidel/followers","following_url":"https://api.github.com/users/eseidel/following{/other_user}","gists_url":"https://api.github.com/users/eseidel/gists{/gist_id}","starred_url":"https://api.github.com/users/eseidel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eseidel/subscriptions","organizations_url":"https://api.github.com/users/eseidel/orgs","repos_url":"https://api.github.com/users/eseidel/repos","events_url":"https://api.github.com/users/eseidel/events{/privacy}","received_events_url":"https://api.github.com/users/eseidel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-25T01:50:38Z","updated_at":"2015-02-25T01:50:38Z","closed_at":null,"body":"SkyShell crashes attempting to load subresources\r\n\r\n@abarth \r\n\r\nsignal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 13685 (ui_thread)\r\npid: 13652, tid: 13685, name: ui_thread  >>> org.domokit.sky.shell <<<\r\nsignal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0\r\n     r0 00000000  r1 aeaed5ac  r2 00000001  r3 a3a30590\r\n     r4 5fb34000  r5 aeaed5ac  r6 5fb34010  r7 aeaed5d8\r\n     r8 5fa80000  r9 5fb28028  sl 5fb280d8  fp aeaed80c\r\n     ip a3a6dd18  sp aeaed5a8  lr a3586031  pc a3586034\r\n\r\nStack Trace:\r\n  RELADDR   FUNCTION                                                                                                          FILE:LINE\r\n  003a4034  blink::ResourceLoader::start()                                                                                    /src/mojo/src/out/android_Release/../../sky/engine/core/fetch/ResourceLoader.cpp:152\r\n  003a2379  blink::Resource::load(blink::ResourceFetcher*, blink::ResourceLoaderOptions const&)                               /src/mojo/src/out/android_Release/../../sky/engine/core/fetch/Resource.cpp:186 (discriminator 1)\r\n  003a3807  blink::ResourceFetcher::requestResource(blink::Resource::Type, blink::FetchRequest&)                              /src/mojo/src/out/android_Release/../../sky/engine/core/fetch/ResourceFetcher.cpp:291 (discriminator 2)\r\n  003a399b  blink::ResourceFetcher::fetchImage(blink::FetchRequest&)                                                          /src/mojo/src/out/android_Release/../../sky/engine/core/fetch/ResourceFetcher.cpp:184\r\n  003bcee9  blink::ImageLoader::doUpdateFromElement(blink::ImageLoader::UpdateFromElementBehavior)                            /src/mojo/src/out/android_Release/../../sky/engine/core/loader/ImageLoader.cpp:213 (discriminator 1)\r\n  0036fb49  blink::Microtask::performCheckpoint()                                                                             /src/mojo/src/out/android_Release/../../sky/engine/core/dom/Microtask.cpp:77 (discriminator 1)\r\n  0009c781  base::MessageLoop::RunTask(base::PendingTask const&)                                                              /src/mojo/src/out/android_Release/../../base/message_loop/message_loop.cc:450 (discriminator 7)\r\n  0009cd4d  base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&)                                                /src/mojo/src/out/android_Release/../../base/message_loop/message_loop.cc:458\r\n  0009d4e5  base::MessageLoop::DoWork()                                                                                       /src/mojo/src/out/android_Release/../../base/message_loop/message_loop.cc:570\r\n  000b943d  mojo::common::MessagePumpMojo::DoRunLoop(mojo::common::MessagePumpMojo::RunState*, base::MessagePump::Delegate*)  /src/mojo/src/out/android_Release/../../mojo/common/message_pump_mojo.cc:155\r\n  000b951f  mojo::common::MessagePumpMojo::Run(base::MessagePump::Delegate*)                                                  /src/mojo/src/out/android_Release/../../mojo/common/message_pump_mojo.cc:119\r\n  000a441d  base::RunLoop::Run()                                                                                              /src/mojo/src/out/android_Release/../../base/run_loop.cc:55\r\n  0009c3a5  base::MessageLoop::Run()                                                                                          /src/mojo/src/out/android_Release/../../base/message_loop/message_loop.cc:307\r\n  v------>  base::Thread::Run(base::MessageLoop*)                                                                             /src/mojo/src/out/android_Release/../../base/threading/thread.cc:174\r\n  000a9743  base::Thread::ThreadMain()                                                                                        /src/mojo/src/out/android_Release/../../base/threading/thread.cc:228\r\n  000a8d4f  ThreadFunc                                                                                                        /src/mojo/src/out/android_Release/../../base/threading/platform_thread_posix.cc:80\r\n  00016baf  __pthread_start(void*)+30                                                                                         /system/lib/libc.so\r\n  00014af3  __start_thread+6                                                                                                  /system/lib/libc.so\r\n\r\nTo repro:\r\n\r\nninja -C out/android_Release -j 1024\r\nadb install -r out/android_Release/apks/SkyShell.apk\r\nadb shell am start -a \"android.intent.action.VIEW\" -d \"sky:domokit.github.io/sky/examples/stocks/index.sky\"\r\n(click on a link)\r\nsky/tools/skydb print_crash"}}