Giter Site home page Giter Site logo

Comments (3)

vasdeveloper avatar vasdeveloper commented on May 2, 2024

小米3曾经是我们的实验室机器,没有遇到类似问题。麻烦提供一下机型配置和日志,我们跟进一下。

from vassonic.

vinoMVP avatar vinoMVP commented on May 2, 2024

机型是小米3移动版 系统是MIUI 8 6.10.20开发版,android版本4.4.4
这是崩溃日志
08-10 15:00:41.559 22507-22507/com.tencent.sonic E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.tencent.sonic, PID: 22507
java.lang.UnknownError: create session fail!
at com.tencent.sonic.demo.BrowserActivity.onCreate(BrowserActivity.java:113)
at android.app.Activity.performCreate(Activity.java:5245)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2153)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2238)
at android.app.ActivityThread.access$800(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1201)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5016)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611)
at dalvik.system.NativeStart.main(Native Method)

重现步骤:
点load without sonic->返回->点load with sonic(这里有一个很长的白屏时间,在白屏没有结束我就点了返回)->再点击load with sonic

from vassonic.

vasdeveloper avatar vasdeveloper commented on May 2, 2024

1.Crash原因:
java.lang.UnknownError: create session fail!
原因是:存在一个相同URL的session已经在执行,目前Demo里面仅允许同时执行一个相同URL的session。如果业务需要支持同时跑多个相同URL,可以在URL后面增加sonic保留字段。

2.结合白屏和Crash原因分析,楼主应该是出现了网络连接阻塞,导致销毁后,session所在线程无法结束,目前网络连接超时默认是5s,读取数据超时是10s。

麻烦 @vinoMVP 在交流群里面联系marlonlu一起确认。

from vassonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.