Hi,

I will take a look.

George

On Mon, Aug 15, 2016 at 5:36 PM, Kevin Kane <[email protected]> wrote:

> George has been doing some work on the Java binding lately, and may have
> some insight here.
>
> If JIRA can't handle the stack trace pasted into the ticket itself, you
> should be able to create the ticket and then attach the stack trace as a
> text file afterwards. Definitely create a ticket that at least describes
> the problem, though, so we're sure to track the issue.
>
> -----Original Message-----
> From: [email protected] [mailto:
> [email protected]] On Behalf Of Blayney, Jeff
> Sent: Monday, August 15, 2016 3:23 PM
> To: [email protected]
> Cc: Poole, Gary <[email protected]>; Cazier, Robb P (CEPS SW
> Development) <[email protected]>; Wree, Rae <[email protected]>; Truong,
> Binh <[email protected]>
> Subject: [Allseen-core] Java Binding Crash
>
> Hello,
>
> I tried to log a bug but Jira chokes on the pasted stack trace. I figured
> I’d send out a quick email to see if we can get some short-term workaround
> help.
>
> Question: Who maintains the Java bindings?
>
> We are seeing an issue on the receiving side of a signal. If there is an
> emoji character in a MsgArg with signature of “s” or “ss”, it will crash.
> Here is a stack trace:
>
> This is high priority for us, and I figure there is a possibility its
> simple fix. Is anyone available to take a quick look?
>
> Thanks for any assistance!
>
> This happens when we use the Windows 10 floating keyboard to send an emoji
> to Android. Crashes before it gets to our code.
>
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65] JNI DETECTED ERROR IN APPLICATION: input is
> not valid Modified UTF-8: illegal start byte 0xf0
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]     string: '{"device_id":"54615243-E554-
> 458B-9CD2-17434804BEF9","new_clips":[{"attributes":{"data":
> "🎂","type":"text"},"clip_id":"43c53c91-9772-4b77-ad96-
> 768f4586cb4e","device_id":"54615243-E554-458B-9CD2-
> 17434804BEF9","device_name":"DESKTOP-3V9PJH6","time_stamp":
> 1470686228.2892799,"type":"text","visibility":"all"}]}'
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]     in call to NewStringUTF
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]     from java.lang.String
> org.alljoyn.bus.MsgArg.getString(long)
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65] "Thread-990" prio=5 tid=30 Runnable
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   | group="main" sCount=0 dsCount=0
> obj=0x1308ec40 self=0xb83ad698
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   | sysTid=20003 nice=0 cgrp=apps sched=0/0
> handle=0xb831d3c0
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   | state=R schedstat=( 0 0 0 ) utm=0 stm=0
> core=0 HZ=100
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   | stack=0xa06fe000-0xa0700000 stackSize=252KB
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   | held mutexes= "mutator lock"(shared held)
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #00 pc 00004828
> /system/lib/libbacktrace_libc++.so (UnwindCurrent::Unwind(unsigned int,
> ucontext*)+23)
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #01 pc 00002ec5
> /system/lib/libbacktrace_libc++.so (Backtrace::Unwind(unsigned int,
> ucontext*)+8)
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #02 pc 0024441d
> /system/lib/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char,
> std::__1::char_traits<char> >&, int, char const*,
> art::mirror::ArtMethod*)+68)
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #03 pc 002277eb
> /system/lib/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char,
> std::__1::char_traits<char> >&) const+394)
> 08-08 13:57:09.046 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #04 pc 000af2b3
> /system/lib/libart.so (art::JniAbort(char const*, char const*)+582)
> 08-08 13:57:09.056 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #05 pc 000af9f9
> /system/lib/libart.so (art::JniAbortF(char const*, char const*, ...)+60)
> 08-08 13:57:09.056 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #06 pc 000b1e8b
> /system/lib/libart.so (art::ScopedCheck::Check(bool, char const*, ...)
> (.constprop.135)+882)
> 08-08 13:57:09.056 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #07 pc 000ba931
> /system/lib/libart.so (art::CheckJNI::NewStringUTF(_JNIEnv*, char
> const*)+36)
> 08-08 13:57:09.056 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #08 pc 00090ccc
> /data/app/com.hp.orbit-1/lib/arm/liballjoyn_java.so
> (_JNIEnv::NewStringUTF(char const*)+12)
> 08-08 13:57:09.056 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #09 pc 00093150
> /data/app/com.hp.orbit-1/lib/arm/liballjoyn_java.so
> (Java_org_alljoyn_bus_MsgArg_getString+88)
> 08-08 13:57:09.056 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   native: #10 pc 00269f89
> /data/dalvik-cache/arm/data@[email protected][email protected]@
> classes.dex<mailto:/data/dalvik-cache/arm/data@[email protected][email protected]
> @classes.dex> (Java_org_alljoyn_bus_MsgArg_getString__J+88)
> 08-08 13:57:09.056 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   at org.alljoyn.bus.MsgArg.getString(Native
> method)
> 08-08 13:57:09.056 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   at org.alljoyn.bus.MsgArg.
> unmarshal(MsgArg.java:319)
> 08-08 13:57:09.056 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]   at org.alljoyn.bus.MsgArg.
> unmarshal(MsgArg.java:392)
> 08-08 13:57:09.056 19858-20003/com.hp.orbit A/art:
> art/runtime/check_jni.cc:65]
> 08-08 13:57:09.296 19858-20003/com.hp.orbit A/art:
> art/runtime/thread.cc:812] pthread_getschedparam failed for DumpState: No
> such process
> 08-08 13:57:09.296 19858-20003/com.hp.orbit A/art:
> art/runtime/runtime.cc:284] Runtime aborting --- recursively, so no
> thread-specific detail!
> 08-08 13:57:09.296 19858-20003/com.hp.orbit A/art:
> art/runtime/runtime.cc:284] ______________________________
> _________________
> Allseen-core mailing list
> [email protected]
> https://na01.safelinks.protection.outlook.com/?url=https%3a%2f%2flists.
> allseenalliance.org%2fmailman%2flistinfo%2fallseen-core&
> data=01%7c01%7ckkane%40microsoft.com%7c8e8fd26c7c7a457ebed508d3c55ac561%
> 7c72f988bf86f141af91ab2d7cd011db47%7c1&sdata=3g4g0XA%
> 2bIDDjdCBwgRyDkR07dIVGw1qyJ9EG60UJW%2bM%3d
>
_______________________________________________
Allseen-core mailing list
[email protected]
https://lists.allseenalliance.org/mailman/listinfo/allseen-core

Reply via email to