Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmesg 中segfault错误 #807

Open
2 tasks done
silenceper opened this issue Jan 3, 2025 · 1 comment
Open
2 tasks done

dmesg 中segfault错误 #807

silenceper opened this issue Jan 3, 2025 · 1 comment

Comments

@silenceper
Copy link

Describe the bug
请详细描述问题(ZH_CN)
dmesg日志

[Fri Jan  3 15:47:51 2025] init: starting service 'vendor.cas-hal-1-2'...
[Fri Jan  3 15:47:51 2025] init: starting service 'vendor.media.omx'...
[Fri Jan  3 15:47:51 2025] android.hardwar[13772]: segfault at 0 ip 0000000000000000 sp 00000000ffec2a70 error 14 in [email protected][644b9000+5000]
[Fri Jan  3 15:47:51 2025] Code: Bad RIP value.
[Fri Jan  3 15:47:51 2025] init: starting service 'zygote'...
[Fri Jan  3 15:47:51 2025] init: Created socket '/dev/socket/zygote', mode 660, user 0, group 1000
[Fri Jan  3 15:47:51 2025] init: Created socket '/dev/socket/usap_pool_primary', mode 660, user 0, group 1000
[Fri Jan  3 15:47:51 2025] android.hardwar[13774]: segfault at 0 ip 0000000000000000 sp 00000000ffc0f050 error 14 in [email protected][5fbc4000+2000]
[Fri Jan  3 15:47:51 2025] Code: Bad RIP value.
[Fri Jan  3 15:47:51 2025] x86/PAT: id.opus.encoder:63665 map pfn RAM range req write-combining for [mem 0xbd8f47000-0xbd8f47fff], got write-back
[Fri Jan  3 15:47:51 2025] x86/PAT: id.opus.encoder:63665 map pfn RAM range req write-combining for [mem 0xb3e130000-0xb3e135fff], got write-back
[Fri Jan  3 15:47:51 2025] init: starting service 'zygote_secondary'...
[Fri Jan  3 15:47:51 2025] init: Created socket '/dev/socket/zygote_secondary', mode 660, user 0, group 1000
[Fri Jan  3 15:47:51 2025] init: Created socket '/dev/socket/usap_pool_secondary', mode 660, user 0, group 1000
[Fri Jan  3 15:47:51 2025] x86/PAT: MediaCodec_loop:63658 map pfn RAM range req write-combining for [mem 0xb3e130000-0xb3e130fff], got write-back
[Fri Jan  3 15:47:51 2025] x86/PAT: MediaCodec_loop:63658 map pfn RAM range req write-combining for [mem 0xbd8f47000-0xbd8f47fff], got write-back
[Fri Jan  3 15:47:51 2025] init: starting service 'audioserver'...
[Fri Jan  3 15:47:51 2025] app_process32[13777]: segfault at 0 ip 0000000000000000 sp 00000000ffeae3c0 error 14 in app_process32[584d8000+2000]
[Fri Jan  3 15:47:51 2025] Code: Bad RIP value.
[Fri Jan  3 15:47:51 2025] init: starting service 'cameraserver'...
[Fri Jan  3 15:47:51 2025] mediaserver[13781]: segfault at 0 ip 0000000000000000 sp 00000000ffc265f0 error 14 in mediaserver[5baef000+1000]
[Fri Jan  3 15:47:51 2025] Code: Bad RIP value.
[Fri Jan  3 15:47:51 2025] android.hardwar[13785]: segfault at 0 ip 0000000000000000 sp 00000000fff9c030 error 14 in android.hardware.audio.service[58f79000+1000]
[Fri Jan  3 15:47:51 2025] Code: Bad RIP value.
[Fri Jan  3 15:47:51 2025] binder: 13784:13784 ioctl 40046210 7fffb1d18b6c returned -22
[Fri Jan  3 15:47:51 2025] x86/PAT: id.opus.encoder:63665 map pfn RAM range req write-combining for [mem 0xbdec22000-0xbdec22fff], got write-back
[Fri Jan  3 15:47:51 2025] x86/PAT: id.opus.encoder:63665 map pfn RAM range req write-combining for [mem 0xb3e130000-0xb3e135fff], got write-back
[Fri Jan  3 15:47:51 2025] x86/PAT: MediaCodec_loop:63658 map pfn RAM range req write-combining for [mem 0xb3e130000-0xb3e130fff], got write-back
[Fri Jan  3 15:47:51 2025] x86/PAT: MediaCodec_loop:63658 map pfn RAM range req write-combining for [mem 0xbdec22000-0xbdec22fff], got write-back
[Fri Jan  3 15:47:51 2025] IPVS: ftp: loaded support on port[0] = 21
[Fri Jan  3 15:47:51 2025] IPVS: ftp: loaded support on port[0] = 21
[Fri Jan  3 15:47:51 2025] IPVS: ftp: loaded support on port[0] = 21
[Fri Jan  3 15:47:51 2025] IPVS: ftp: loaded support on port[0] = 21
[Fri Jan  3 15:47:51 2025] binder: 13778:13778 ioctl 40046210 7ffc92df9924 returned -22
[Fri Jan  3 15:47:51 2025] binder: 13778:13778 ioctl 40046210 7ffc92df993c returned -22
[Fri Jan  3 15:47:51 2025] binder: 13782:13782 ioctl 40046210 7ffd633f475c returned -22
[Fri Jan  3 15:47:51 2025] IPVS: ftp: loaded support on port[0] = 21
[Fri Jan  3 15:47:51 2025] binder: 13782:13782 ioctl 40046210 7ffd633f4964 returned -22
[Fri Jan  3 15:47:51 2025] x86/PAT: id.opus.encoder:63665 map pfn RAM range req write-combining for [mem 0xb5395c000-0xb5395cfff], got write-back
[Fri Jan  3 15:47:51 2025] x86/PAT: id.opus.encoder:63665 map pfn RAM range req write-combining for [mem 0xb3e130000-0xb3e135fff], got write-back
[Fri Jan  3 15:47:51 2025] x86/PAT: MediaCodec_loop:63658 map pfn RAM range req write-combining for [mem 0xb3e130000-0xb3e130fff], got write-back
[Fri Jan  3 15:47:51 2025] x86/PAT: MediaCodec_loop:63658 map pfn RAM range req write-combining for [mem 0xb5395c000-0xb5395cfff], got write-back
[Fri Jan  3 15:47:51 2025] binder: 13780:13780 ioctl 40046210 7fff841467c4 returned -22
[Fri Jan  3 15:47:51 2025] binder: 13780:13780 ioctl 40046210 7fff841467dc returned -22

make sure the required kernel modules present
确保必须的内核功能已开启(ZH_CN)

  • grep binder /proc/filesystems
  • grep ashmem /proc/misc (optional)

Collect debug logs
收集调试日志(ZH_CN)
curl -fsSL https://raw.githubusercontent.com/remote-android/redroid-doc/master/debug.sh | sudo bash -s -- [CONTAINER]
omit CONTAINER if not exist any more.
如容器已退出,可忽略CONTAINER参数(ZH_CN)

Screenshots
截图(ZH_CN)
If applicable, add screenshots to help explain your problem.

@zhouziyang
Copy link
Member

Please provide full debug blobs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants