8 Star 19 Fork 9

OpenHarmony / communication_frameworks_ipc_lite

UnRegisteDeathCallback 传了错误的参数

Task
Backlog
Harmonica  Opened this issue

该问题是怎么引起的?

启动系统,查看debug日志,发现日志中有Wrong cbId:4294967295.提示。
对照代码int32_t UnRegisteDeathCallback(SvcIdentity sid, uint32_t cbId)
cbId参数为无符号整数,此处应该是被传了-1

重现步骤

启动系统。

报错信息

[Init] start service bundle_daemon succeed, pid 6.
01-01 00:00:15.346 6 41 E 01100/bundle_deamon: BundleDaemon::Init(52): register default feature api success[UnRegisteDeathCallback : 960]Wrong cbId:4294967295.
[UnRegisteDeathCallback : 960]Wrong cbId:4294967295.

Attachments
total 2 participants

Comments (3)

robinyin 2020-09-16 17:29 member

有兴趣请帮忙提交一个PR吗?

Harmonica 2020-09-16 17:52

有兴趣请帮忙提交一个PR吗?

@robinyin 好滴,我研究一下

Harmonica 2020-09-16 23:50

有兴趣请帮忙提交一个PR吗?

@robinyin 兄弟,这个问题貌似简单,实则复杂,需要多研究几天了

Sign in to comment

Assignees
Labels
Not set
Projects
Milestones
Branches
Planed to start
Not set
Planed to end
Not set
Top level
Priority
1
https://git.oschina.net/openharmony/communication_frameworks_ipc_lite.git
git@git.oschina.net:openharmony/communication_frameworks_ipc_lite.git
openharmony
communication_frameworks_ipc_lite
communication_frameworks_ipc_lite

Search

103611 48b8ff67 1899542 103622 4d02230c 1899542