Giter Club home page Giter Club logo

Comments (4)

junrushao avatar junrushao commented on May 9, 2024

It’s up! https://twitter.com/bohanhou1998/status/1655772690760994818

from mlc-llm.

remixer-dec avatar remixer-dec commented on May 9, 2024

The app crashes after pressing the "Send" button.

android.view.InflateException: Binary XML file line #27 in ai.mlc.mlcchat:layout/user_message: Binary XML file line #27 in ai.mlc.mlcchat:layout/user_message: Error inflating class 
Caused by: android.view.InflateException: Binary XML file line #27 in ai.mlc.mlcchat:layout/user_message: Error inflating class 
Caused by: java.lang.reflect.InvocationTargetException
	at java.lang.reflect.Constructor.newInstance0(Native Method)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
	at android.view.LayoutInflater.createView(LayoutInflater.java:856)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1008)
	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:963)
...
Caused by: android.content.res.Resources$NotFoundException: Drawable ai.mlc.mlcchat:drawable/user_rounded_corner with resource ID #0x7f0700dd
Caused by: android.content.res.Resources$NotFoundException: File res/qo.xml from drawable resource ID #0x7f0700dd
	at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:914)
...
android.graphics.drawable.Drawable.createFromXmlInnerForDensity(Drawable.java:1402)
	at android.graphics.drawable.Drawable.createFromXmlForDensity(Drawable.java:1361)
	at android.content.res.ResourcesImpl.createFromXmlForDensity(ResourcesImpl.java:1633)
	at android.content.res.ResourcesImpl.loadXmlDrawable(ResourcesImpl.java:979)
	at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:897)
	... 71 more

UPD: tried to fix the apk by replacing qo.xml with a similar f1.xml and re-signing it, it worked (dialog shape appeared) but then a few seconds later a native crash happened:

05-09 19:34:18.181 13990 14028 W Adreno-GSL: : ioctl fd 77 code 0xc0300945 (IOCTL_KGSL_GPUOBJ_ALLOC) failed: errno 12 Out of memory
05-09 19:34:18.181 13990 14028 E Adreno-GSL: : GSL MEM ERROR: kgsl_sharedmem_alloc ioctl failed.
05-09 19:34:18.182 13990 14028 E libc++abi: terminating with uncaught exception of type tvm::runtime::InternalError: [19:34:18] /Users/houbohan/relax/include/tvm/runtime/device_api.h:291: unknown type =0
05-09 19:34:18.182 13990 14028 E libc++abi: Stack trace not available when DMLC_LOG_STACK_TRACE is disabled at compile time.
05-09 19:34:18.421 14227 14227 F DEBUG   : Stack trace not available when DMLC_LOG_STACK_TRACE is disabled at compile time.
05-09 19:34:18.421 14227 14227 F DEBUG   : '
05-09 19:34:18.421 14227 14227 F DEBUG   :     x0  0000000000000000  x1  00000000000036cc  x2  0000000000000006  x3  0000007357e8e970
05-09 19:34:18.421 14227 14227 F DEBUG   :     x4  fefefefefefeff09  x5  fefefefefefeff09  x6  fefefefefefeff09  x7  7f7f7f7f7f7f7f7f
05-09 19:34:18.421 14227 14227 F DEBUG   :     x8  00000000000000f0  x9  22c14d16a65dfb27  x10 0000000000000000  x11 ffffffc0fffffbdf
05-09 19:34:18.421 14227 14227 F DEBUG   :     x12 0000000000000001  x13 00000000645a67fa  x14 0009d394c376be2f  x15 000105c1e33e5323
05-09 19:34:18.421 14227 14227 F DEBUG   :     x16 000000744d1cd948  x17 000000744d1ac390  x18 0000000000007d00  x19 00000000000036a6
05-09 19:34:18.421 14227 14227 F DEBUG   :     x20 00000000000036cc  x21 00000000ffffffff  x22 0000007357e8eaa0  x23 0000007357e8eae0
05-09 19:34:18.421 14227 14227 F DEBUG   :     x24 0000007357e8ebc0  x25 0000007357e8eb08  x26 0000000000000000  x27 0000000000000004
05-09 19:34:18.421 14227 14227 F DEBUG   :     x28 0000007355d9bc33  x29 0000007357e8e9f0
05-09 19:34:18.421 14227 14227 F DEBUG   :     lr  000000744d15faa0  sp  0000007357e8e950  pc  000000744d15facc  pst 0000000000000000
05-09 19:34:18.435 14227 14227 F DEBUG   : backtrace:
05-09 19:34:18.435 14227 14227 F DEBUG   :       #00 pc 0000000000089acc  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: a790cdbd8e44ea8a90802da343cb82ce)
05-09 19:34:18.435 14227 14227 F DEBUG   :       #01 pc 000000000103f7b8  /data/app/~~sIy4CT1Uez8VaasXgitU7w==/ai.mlc.mlcchau-rXkyU5HyhrrPrxzcKeLGkA==/base.apk!libtvm4j_runtime_packed.so (offset 0x583000) (BuildId: c98933c8e484fe4149f368fe85a9fe63d452c44d)


Either 8gb of RAM is not enough or my snapdragon is not fresh enough
UPD(11/05): tried the new version, both problems are still present.

from mlc-llm.

bubbabug avatar bubbabug commented on May 9, 2024

I am having the same crash on Note 10 Snapdragon

from mlc-llm.

junrushao avatar junrushao commented on May 9, 2024

Closed as it's complete. Please feel free to open up new issues for crashes or feature requests

from mlc-llm.

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.