New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Starred by 4 users

Issue metadata

Status: Verified
Owner:
Email to this user bounced
Closed: Apr 2015
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 463299
issue 467704



Sign in to add a comment

ARC: L-Rebase: Cloud Magic crashes on NaCl x86_64

Project Member Reported by nona@chromium.org, Mar 10 2015

Issue description

ARC runtime version: ToT + 56916cb32d1df3e1e39bf0e7813431326b405e0b
App version: released version of CloudMagic

Chrome: 43.0.2325.9
Platform: 6858.0.0

Operating system: NaCl
                  0.0.0 nacl
CPU: amd64
     family 0 model 0 stepping 0
     0 CPUs

Crash reason:  0x0000000b / 0x00000000
Crash address: 0x0
Process uptime: not available

Thread 0 (crashed)
 0  0xad8ef03
    rax = 0x00005c6e0ad8ee20   rdx = 0x000000000ad8ee20
    rcx = 0x0000000000000014   rbx = 0x00000000df56b1c9
    rsi = 0x000000000aba0040   rdi = 0x00000000e0620790
    rbp = 0x00000000e0620790   rsp = 0x00000000d37fc760
     r8 = 0x00000000df56b100    r9 = 0x0000000000000000
    r10 = 0x0000000000000000   r11 = 0x0000000000000047
    r12 = 0x00000000fa81a7c0   r13 = 0x00000000e0620780
    r14 = 0x00000000e0620790   r15 = 0x00005c6e00000000
    rip = 0x000000000ad8ef03
    Found by: given as instruction pointer in context

Loaded modules:
0x01000000 - 0x029fffff  arc_nacl_x86_64.nexe  ???
0x02a00000 - 0x02abffff  libc.so  ???
0x02ac0000 - 0x02adffff  libm.so  ???
0x02af0000 - 0x02b6ffff  libstlport.so  ???
0x02b70000 - 0x02c1ffff  libchromium_ppapi.so  ???
0x02c20000 - 0x02e3ffff  libndk_translation.so  ???
0x02e40000 - 0x02f2ffff  libposix_translation.so  ???
0x02f30000 - 0x02f3ffff  libnativehelper.so  ???
0x02f60000 - 0x02f9ffff  libandroidfw.so  ???
0x02fa0000 - 0x02fbffff  libutils.so  ???
0x02fe0000 - 0x02feffff  libbacktrace.so  ???
0x03010000 - 0x0302ffff  libunwind.so  ???
0x03050000 - 0x0305ffff  libunwind-ptrace.so  ???
0x03080000 - 0x0308ffff  libgccdemangle.so  ???
0x030b0000 - 0x030bffff  libdrmframework.so  ???
0x030e0000 - 0x0314ffff  libjavacore.so  ???
0x03150000 - 0x0316ffff  libkeystore_binder.so  ???
0x03190000 - 0x0319ffff  libnativebridge.so  ???
0x031c0000 - 0x0360ffff  libpdfium.so  ???
0x03610000 - 0x0365ffff  libsurfaceflinger.so  ???
0x03660000 - 0x03aeffff  libart.so  ???
0x03af0000 - 0x03bdffff  libc++.so  ???
0x03be0000 - 0x03beffff  libbacktrace_libc++.so  ???
0x03c10000 - 0x03c1ffff  libsigchain.so  ???
0x03c40000 - 0x03c4ffff  gralloc.arc.so  ???
0x03c70000 - 0x03c7ffff  hwcomposer.default.so  ???
0x03cf0000 - 0x03d0ffff  libexif.so  ???
0x03d30000 - 0x03d4ffff  audio_policy.default.so  ???
0x03d60000 - 0x03d6ffff  audio.primary.arc.so  ???
0x03d90000 - 0x03d9ffff  local_time.default.so  ???
0x03dc0000 - 0x03ddffff  libbundlewrapper.so  ???
0x03df0000 - 0x03dfffff  libreverbwrapper.so  ???
0x03e20000 - 0x03e2ffff  libvisualizer.so  ???
0x03e50000 - 0x03e5ffff  libdownmix.so  ???
0x03e80000 - 0x03ebffff  libaudiopreprocessing.so  ???
0x03ec0000 - 0x03ecffff  keystore.default.so  ???
0x03ef0000 - 0x03f1ffff  libjavacrypto.so  ???
0x03f30000 - 0x03f3ffff  libsoundpool.so  ???
0x03f60000 - 0x03f6ffff  gps.arc.so  ???  (main)

 
Labels: CloudMagic
Status: Available

Comment 2 by nya@chromium.org, Mar 12 2015

Blocking: chromium:463299

Comment 3 by nya@chromium.org, Mar 12 2015

Marking all app bugs as Pri-1.

Comment 4 by mazda@chromium.org, Mar 13 2015

Owner: mazda@chromium.org
Status: Started
I'll take a look.

Comment 5 by mazda@chromium.org, Mar 16 2015

When I tried logging in, a dialog with the following message popped up.

Unable to connect to CloudMagic.
Please check your data connection.


Here are suspicious error logs.

E/chromium:        [ERROR:ssl_client_socket_openssl.cc(849)] handshake failed; returned -1, SSL error code 1, net_error -2


java.net.MalformedURLException: Unknown protocol: about
        at java.net.URL.<init>(URL.java:182)
        at java.net.URL.<init>(URL.java:125)
        at com.cloudmagic.android.fragments.AccountAuthorizationFragment$CustomWebViewClient.onPageFinished(AccountAuthorizationFragment.java:386)
        at com.android.webview.chromium.WebViewContentsClientAdapter.onPageFinished(WebViewContentsClientAdapter.java:495)
        at com.android.org.chromium.android_webview.AwContentsClient$AwWebContentsObserver.didFinishLoad(AwContentsClient.java:69)
        at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
        at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:28)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:5517)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at android.os.Process$1.run(Process.java:529)


I'll investigate more.

Comment 6 by kinaba@chromium.org, Mar 16 2015

#5: Looks like yet another instance of  Bug 464658 .

Comment 7 by lpique@chromium.org, Mar 16 2015

Blocking: chromium:467704

Comment 8 by nya@chromium.org, Mar 20 2015

I still see this issue after  Issue 464658  fix.

Comment 9 by mazda@chromium.org, Mar 20 2015

SSL error in #5 does not appear anymore but the same error dialog still pops up.

Here is the error log. I'll investigate.


W/chromium:        [WARNING:resource_bundle.cc(402)] Unable to load image with id 5728

W/InputMethodManagerService: Window already focused, ignoring focus gain of: android.view.inputmethod.InputMethodManager$1@3a9f9349 attribute=null, token = android.view.ViewRootImpl$W@29667492
W/libposix_translation_static: FAILED: pwrite(200, 0x0, 0, 615): errno=14 (Bad address)
W/chromium:        [WARNING:resource_bundle.cc(402)] Unable to load image with id 5728

W/libposix_translation_static: Setting socket buffer size is not supported, opt=7 value=32768
W/libposix_translation_static: Setting socket buffer size is not supported, opt=8 value=32768
W/libposix_translation_static: Setting socket buffer size is not supported, opt=7 value=32768
W/libposix_translation_static: Setting socket buffer size is not supported, opt=8 value=32768
W/libposix_translation_static: ASHMEM_SET_PROT_MASK: not implemented: fd=222, prot=3
W/libposix_translation_static: ASHMEM_SET_PROT_MASK: not implemented: fd=222, prot=1
W/libposix_translation_static: O_CLOEXEC is not supported
W/libposix_translation_static: O_CLOEXEC is not supported
W/libposix_translation_static: O_CLOEXEC is not supported
W/libposix_translation_static: O_CLOEXEC is not supported
W/chromium:        [WARNING:resource_bundle.cc(402)] Unable to load image with id 5728

java.net.MalformedURLException: Unknown protocol: about
        at java.net.URL.<init>(URL.java:182)
        at java.net.URL.<init>(URL.java:125)
        at com.cloudmagic.android.fragments.AccountAuthorizationFragment$CustomWebViewClient.onPageFinished(AccountAuthorizationFragment.java:385)
        at com.android.webview.chromium.WebViewContentsClientAdapter.onPageFinished(WebViewContentsClientAdapter.java:495)
        at com.android.org.chromium.android_webview.AwContentsClient$AwWebContentsObserver.didFinishLoad(AwContentsClient.java:69)
        at com.android.org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
        at com.android.org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:28)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:5510)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at android.os.Process$1.run(Process.java:529)
W/libposix_translation_static: ASHMEM_SET_PROT_MASK: not implemented: fd=222, prot=3
W/libposix_translation_static: ASHMEM_SET_PROT_MASK: not implemented: fd=222, prot=1
W/libposix_translation_static: O_CLOEXEC is not supported
W/libposix_translation_static: O_CLOEXEC is not supported
W/libposix_translation_static: O_CLOEXEC is not supported
W/libposix_translation_static: O_CLOEXEC is not supported

It seems the following SSL error is still occurring.

E/chromium:        [ERROR:openssl_ssl_util.cc(38)] OpenSSL SSL error, reason: 10
47, name: error:14094417:SSL routines:SSL3_READ_BYTES:sslv3 alert illegal parame
ter

By removing a few sources in SSL that are used for only x86_64 (and adding corresponding sources), login page is shown successfully.
I'll make a CL after a few more investigation.


Status: Fixed
Login issue was fixed and crash is not seen any more.
Status: Verified
Verified and closed on the latest runtime 43.5021.45.0

Sign in to add a comment