Galaxy Tab 3上的奇怪崩溃

时间:2013-08-08 14:34:11

标签: android dalvik crash-reports

我们的Android应用程序已推出多年。我们最近收到了用户的这条消息。

“我已经在我的Tab 2 10.1上很好地使用了你的应用程序但是当我转移到三星Tab 3 10.1时,我在几秒钟的操作后得到一个屏幕锁定,然后应用程序关闭,从而无法使用。 “

我让用户向我发送崩溃的日志文件。我没有看到任何明显的崩溃指示,但我确实看到了以下不寻常的Dalvik条目:

D/dalvikvm(10652): Rejecting registerization due to +iget-object-quick v1, v3, (#12)
D/dalvikvm(10652): Rejecting registerization due to +iget-object-quick v5, v7, (#8)
D/dalvikvm(10652): Rejecting registerization due to +iget-object-quick v1, v3, (#12)
D/dalvikvm(10652): Rejecting registerization due to +iget-object-quick v5, v7, (#8)
D/dalvikvm(10652): Rejecting registerization due to +iget-object-quick v2, v3, (#8)
D/dalvikvm(10652): Rejecting registerization due to +iget-object-quick v2, v3, (#8)
E/FlurryDataSender(10652): --onReport 0aaed6a1-d074-4f9c-8e96-d015a4c071e7 sent. HTTP response: 200 : OK
D/dalvikvm(10652): GC_EXPLICIT freed 679K, 23% free 7357K/9532K, paused 1ms+2ms, total 21ms
E/dalvikvm(10652): JIT_INFO: We cannot transfer from GP reg to XMM and vice versa
I/dalvikvm(10652): JIT_INFO: Unsupported bytecode if-lt
I/dalvikvm(10652): Could not compile trace for Lcom/southernstars/skysafari/Utility;createTextAtlasInfo, offset 443
I/dalvikvm(10652): ++++++++++++++++++++++++++++++++++++++++++++
I/dalvikvm(10652): JIT_INFO: Issues in trace  Lcom/southernstars/skysafari/Utility;createTextAtlasInfo, offset 443
E/dalvikvm(10652): The following issues were seen:
I/dalvikvm(10652):  Issue: Trace contains bytecode with no implementation
I/dalvikvm(10652):  Issue: Issue registerizing the trace in the backend
E/dalvikvm(10652): Trying to turn backend registerization off
E/dalvikvm(10652): ++++++++++++++++++++++++++++++++++++++++++++
E/dalvikvm(10652): JIT_INFO: We cannot transfer from GP reg to XMM and vice versa
I/dalvikvm(10652): JIT_INFO: Unsupported bytecode if-lt
I/dalvikvm(10652): Could not compile trace for Lcom/southernstars/skysafari/Utility;createTextAtlasInfo, offset 409
I/dalvikvm(10652): ++++++++++++++++++++++++++++++++++++++++++++
I/dalvikvm(10652): JIT_INFO: Issues in trace  Lcom/southernstars/skysafari/Utility;createTextAtlasInfo, offset 409
E/dalvikvm(10652): The following issues were seen:
I/dalvikvm(10652):  Issue: Trace contains bytecode with no implementation
I/dalvikvm(10652):  Issue: Issue registerizing the trace in the backend
E/dalvikvm(10652): Trying to turn backend registerization off
E/dalvikvm(10652): ++++++++++++++++++++++++++++++++++++++++++++

任何人对这意味着什么都有任何想法?我们有成千上万的用户,这是第一次这样的报道。 Galaxy Tab 3有什么根本不同的东西吗?

2 个答案:

答案 0 :(得分:2)

Galaxy Tab 3 10.1是由英特尔凌动Z2560驱动的新款Android平板电脑之一。 虽然大多数Android应用程序应该在英特尔没有问题的情况下运行,但您应该首先在开发环境中尝试这一点。

答案 1 :(得分:2)

我终于搞清楚了。崩溃发生在C库中(我们在应用程序中有本机代码)。我仍然不确定它为什么崩溃但我们更改了一个sscanf()调用并修复了它。旧代码执行%100c复制字符串,我们将其更改为%100s。有关使用%100c复制到\ 0以外的数据的问题导致了问题(不,所有内存都已分配)。

这个确切的代码已经在许多相关项目和许多平台上使用了十多年而没有出现问题。我只能猜测三星正在使用一个与完全不兼容的略有不同的C库。

比尔