mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 1442|reply: 9
打印 prevThread nextThread

登录接口崩溃

[copyURL]

73

主题

319

帖子

1121

积分

vipMem

Rank: 6Rank: 6

积分
1121
jumpTo
owner
poston 2021-4-1 22:11 | authorOnly 回帖奖励 |倒序浏览 |阅读模式
MPU MPU MPU 程序执行下面方法直接程序死掉,会是什么问题?
public void login(String ServerParam, String encodeParam) {
    JNIMessage message = new JNIMessage();
    message.addStrParam(JNIMessage.Key.JNIMESSAGE_KEY_S_ID.getName(),
            "login");
    message.addStrParam(JNIMessage.Key.JNIMESSAGE_KEY_S_RESULT.getName(), encodeParam);
    message.addStrParam(JNIMessage.Key.JNIMESSAGE_KEY_S_FUNCTION.getName(), ServerParam);
    BVPU.PostMessageToNative(message);
}

传入参数为

{"bGPSEnable":1,"iBootDuration":0,"iCmdProtoType":0,"iDeviceID":539045952,"iLatitude":225743980,"iLongitude":1139264210,"iMediaDir":0,"iOnlineThrough":4,"iPlatform":0,"iSerialPortCount":1,"iServerPort":9702,"iStreamPathWay":0,"iVersionCode":0,"stVideoEncode":{"iBitrate":640000,"iColorFormat":0,"iEncoderType":1,"iFramerate":30,"iHeight":480,"iWidth":640,"iYUVConvert":4},"szChannelName":"video","szDeviceName":"P01","szDeviceType":"PU_","szManufacturer":"smartvideo","szServerAddr":"192.168.102.104"}

{"bAECEnable":false,"bNativePlayerEnable":true,"iAECDelay":150,"iAECRoutingMode":2,"iAECSuppressionLevel":1,"iBitrate":32000,"iChannelNum":1,"iEncoder":0,"iSamplePrecision":16,"iSampleRate":8000}



reply

使用道具 report

73

主题

319

帖子

1121

积分

vipMem

Rank: 6Rank: 6

积分
1121
sofa
 Owner| poston 2021-4-2 10:28 | authorOnly
参数都是对的么,日志还要等会抓,帮忙看下。
reply agree Against

使用道具 report

73

主题

319

帖子

1121

积分

vipMem

Rank: 6Rank: 6

积分
1121
bench
 Owner| poston 2021-4-2 10:49 | authorOnly
附件为日志

本帖子中包含更多资源

pls login 才可以下载或查看,没有帐号?registerNow

x
reply agree Against

使用道具 report

6

主题

175

帖子

1258

积分

vipMem

Rank: 6Rank: 6

积分
1258
ground
poston 2021-4-2 10:52 | authorOnly
这个我们很难来协助,主要还是要靠您自己。
reply agree Against

使用道具 report

73

主题

319

帖子

1121

积分

vipMem

Rank: 6Rank: 6

积分
1121
5#
 Owner| poston 2021-4-2 11:15 | authorOnly
lihui2006 post on2021-4-2 10:52
这个我们很难来协助,主要还是要靠您自己。

那你帮我分析一下,参数有没有问题,另外是,崩溃在这个地方一般是啥问题,你看下fatal,在so里面错误了,我很难调试。
reply agree Against

使用道具 report

73

主题

319

帖子

1121

积分

vipMem

Rank: 6Rank: 6

积分
1121
6#
 Owner| poston 2021-4-2 12:05 | authorOnly
lihui2006 post on2021-4-2 10:52
这个我们很难来协助,主要还是要靠您自己。

2021-04-02 12:05:00.015 14837-14837/com.aiwinn.lprs A/libc: failed to wait for crash_dump helper: No child processes
2021-04-02 12:05:00.015 14837-14837/com.aiwinn.lprs I/libc: orig_dumpable: 1
2021-04-02 12:05:00.016 15006-15006/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021-04-02 12:05:00.016 15006-15006/? A/DEBUG: Build fingerprint: 'alps/full_tf6762_64_o1/tf6762_64_o1:8.1.0/O11019/1604972292:user/dev-keys'
2021-04-02 12:05:00.016 15006-15006/? A/DEBUG: Revision: '0'
2021-04-02 12:05:00.016 15006-15006/? A/DEBUG: ABI: 'arm'
2021-04-02 12:05:00.016 15006-15006/? A/DEBUG: pid: 14837, tid: 14837, name: com.aiwinn.lprs  >>> com.aiwinn.lprs <<<
2021-04-02 12:05:00.016 15006-15006/? A/DEBUG: signal 11 (SIGSEGV), code 0 (SI_USER), fault addr --------
2021-04-02 12:05:00.016 15006-15006/? A/DEBUG:     r0 00000000  r1 00000000  r2 00000000  r3 fff7b28e
2021-04-02 12:05:00.016 15006-15006/? A/DEBUG:     r4 fff7b310  r5 b8b79770  r6 fff7b250  r7 fff7b480
2021-04-02 12:05:00.016 15006-15006/? A/DEBUG:     r8 fff7b580  r9 b8bf3cc0  sl e59a91b8  fp 00000064
2021-04-02 12:05:00.016 15006-15006/? A/DEBUG:     ip aebba620  sp fff7b228  lr 00000076  pc aeaff096  cpsr 60030030
2021-04-02 12:05:00.018 15006-15006/? A/DEBUG: backtrace:
2021-04-02 12:05:00.018 15006-15006/? A/DEBUG:     #00 pc 0003e096  /data/app/com.aiwinn.lprs-OnIKTJvEJdzH-_SHyORGPw==/lib/arm/libbvpu_mediandk.so (LoginHandler::received(TelEngine::Message&)+317)
2021-04-02 12:05:00.018 15006-15006/? A/DEBUG:     #01 pc 00090a0b  /data/app/com.aiwinn.lprs-OnIKTJvEJdzH-_SHyORGPw==/lib/arm/libyate.so (TelEngine::MessageHandler::receivedInternal(TelEngine::Message&)+16)
2021-04-02 12:05:00.018 15006-15006/? A/DEBUG:     #02 pc 00090e0d  /data/app/com.aiwinn.lprs-OnIKTJvEJdzH-_SHyORGPw==/lib/arm/libyate.so (TelEngine::MessageDispatcher::dispatch(TelEngine::Message&)+352)
2021-04-02 12:05:00.018 15006-15006/? A/DEBUG:     #03 pc 00039eb3  /data/app/com.aiwinn.lprs-OnIKTJvEJdzH-_SHyORGPw==/lib/arm/libbvpu_mediandk.so (Java_com_smarteye_coresdk_BVPU_PostMessageToNative+3210)
2021-04-02 12:05:00.018 15006-15006/? A/DEBUG:     #04 pc 0002fab9  /data/app/com.aiwinn.lprs-OnIKTJvEJdzH-_SHyORGPw==/oat/arm/base.odex (offset 0x22000)

reply agree Against

使用道具 report

73

主题

319

帖子

1121

积分

vipMem

Rank: 6Rank: 6

积分
1121
7#
 Owner| poston 2021-4-2 12:06 | authorOnly
Aiwinn post on2021-4-2 12:05
2021-04-02 12:05:00.015 14837-14837/com.aiwinn.lprs A/libc: failed to wait for crash_dump helper:  ...

这个是怎么导致的
reply agree Against

使用道具 report

73

主题

319

帖子

1121

积分

vipMem

Rank: 6Rank: 6

积分
1121
8#
 Owner| poston 2021-4-2 14:18 | authorOnly
lihui2006 post on2021-4-2 10:52
这个我们很难来协助,主要还是要靠您自己。

帮忙看下这个fatal是什么问题,不太清楚是哪个地方导致的。
reply agree Against

使用道具 report

6

主题

175

帖子

1258

积分

vipMem

Rank: 6Rank: 6

积分
1258
9#
poston 2021-4-2 16:10 | authorOnly
好的,我们安排研发在看了,不过这种支持的确太消耗我们研发资源了,按理说是不会免费支持的。
reply agree Against

使用道具 report

1

主题

320

帖子

1147

积分

vipMem

Rank: 6Rank: 6

积分
1147
10#
poston 2021-4-2 17:52 | authorOnly
什么时间的代码?有没有改动过登录相关的代码?
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-12-22 20:24 , Processed in 0.060543 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList