Comments (12)
i have tried 12 11 10
12 11 will be offlined
but 10 online works
from redroid-doc.
get redroid shell via docker exec -it <container-id> sh
try to collect the following info:
ps -A
logcat
/ logcat -b crash
dmesg -T
BTW, DO NOT mount the same directory as data partition for different redroid instance,
from redroid-doc.
log.tar.gz
use redroid/redroid:11.0.0-arm64
from redroid-doc.
system_server
crashed
10-13 08:26:58.668 1176 1203 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: android.bg
10-13 08:26:58.668 1176 1203 E AndroidRuntime: android.os.ServiceSpecificException: Read value of map -1 failed: Operation not permitted (code 1)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at android.os.Parcel.createExceptionOrNull(Parcel.java:2387)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at android.os.Parcel.createException(Parcel.java:2357)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2340)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:2282)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at android.net.INetd$Stub$Proxy.trafficSwapActiveStatsMap(INetd.java:3652)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.net.NetworkStatsFactory.requestSwapActiveStatsMapLocked(NetworkStatsFactory.java:304)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.net.NetworkStatsFactory.readNetworkStatsDetail(NetworkStatsFactory.java:331)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.net.NetworkStatsService.readNetworkStatsUidDetail(NetworkStatsService.java:1864)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.net.NetworkStatsService.getNetworkStatsUidDetail(NetworkStatsService.java:1880)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.net.NetworkStatsService.recordSnapshotLocked(NetworkStatsService.java:1389)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.net.NetworkStatsService.performPollLocked(NetworkStatsService.java:1508)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.net.NetworkStatsService.performPoll(NetworkStatsService.java:1459)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.net.NetworkStatsService.openSessionInternal(NetworkStatsService.java:656)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.net.NetworkStatsService.openSessionForUsageStats(NetworkStatsService.java:627)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.stats.pull.StatsPullAtomService.getNetworkStatsSession(StatsPullAtomService.java:892)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.stats.pull.StatsPullAtomService.getUidNetworkStatsSnapshotForTemplate(StatsPullAtomService.java:1222)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.stats.pull.StatsPullAtomService.getUidNetworkStatsSnapshotForTransport(StatsPullAtomService.java:1201)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.stats.pull.StatsPullAtomService.collectNetworkStatsSnapshotForAtom(StatsPullAtomService.java:1007)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.stats.pull.StatsPullAtomService.initAndRegisterNetworkStatsPullers(StatsPullAtomService.java:850)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.stats.pull.StatsPullAtomService.lambda$onBootPhase$1$StatsPullAtomService(StatsPullAtomService.java:682)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at com.android.server.stats.pull.-$$Lambda$StatsPullAtomService$w2J9UcZX1E4P1ogWSvuoTC2auDE.run(Unknown Source:2)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:938)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at android.os.Looper.loop(Looper.java:223)
10-13 08:26:58.668 1176 1203 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:67)
from redroid-doc.
@yuklin fixed for redroid11
and redroid12
. kind of workaround in netd
since lacking traffic control in generic kernel. please check in your side.
from redroid-doc.
@zhouziyang awsome, i will check it later today
from redroid-doc.
redroid11 and redroid12 runs successfully in docker now
But i find out that redroid12 instance's app (webview or other apps i install manual) can not connect to internet, meanwhile in shell i run ping the network works fine with 114.114.114.114 and www.baidu.com.
from redroid-doc.
--------- beginning of crash
10-18 03:20:28.900 2197 2197 E AndroidRuntime: FATAL EXCEPTION: main
10-18 03:20:28.900 2197 2197 E AndroidRuntime: Process: com.android.settings, PID: 2197
10-18 03:20:28.900 2197 2197 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.hardware.usb.UsbManager.getPorts()' on a null object reference
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3635)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7838)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List android.hardware.usb.UsbManager.getPorts()' on a null object reference
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.settings.connecteddevice.usb.UsbBackend.updatePorts(UsbBackend.java:220)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.settings.connecteddevice.usb.UsbBackend.(UsbBackend.java:80)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.settings.connecteddevice.usb.UsbBackend.(UsbBackend.java:63)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.settings.connecteddevice.usb.ConnectedUsbDeviceUpdater.(ConnectedUsbDeviceUpdater.java:70)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.settings.connecteddevice.ConnectedDeviceGroupController.init(ConnectedDeviceGroupController.java:139)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.settings.connecteddevice.ConnectedDeviceDashboardFragment.onAttach(ConnectedDeviceDashboardFragment.java:68)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at androidx.fragment.app.Fragment.performAttach(Fragment.java:2912)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.attach(FragmentStateManager.java:440)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:251)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:2209)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:2120)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:2022)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at androidx.fragment.app.FragmentManager.executePendingTransactions(FragmentManager.java:603)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.settings.SettingsActivity.switchToFragment(SettingsActivity.java:596)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.settings.SettingsActivity.launchSettingFragment(SettingsActivity.java:381)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at com.android.settings.SettingsActivity.onCreate(SettingsActivity.java:282)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8051)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.Activity.performCreate(Activity.java:8031)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
10-18 03:20:28.900 2197 2197 E AndroidRuntime: ... 12 more
redroid12 crash log
from redroid-doc.
from redroid-doc.
from redroid-doc.
@yuklin this issue (app cannot access internet) seems fixed by Android (code base upgraded).
from redroid-doc.
roger that and thank you, i will check later
from redroid-doc.
Related Issues (20)
- Can't get libhoudini to work with android 13. HOT 3
- 请问这个是什么错误?我使用的树莓派5B,修改好了内核,处理了太多问题了,最终设备离线 HOT 1
- ubuntu20.04启动失败,adb可以连接但是系统应该是没有启动起来 HOT 3
- Webview crashes in local build - A12 HOT 2
- pulled docker image redroid-13.0.0:latest is okay, but self_build_image redroid-13.0.0_r82 run failed. HOT 4
- qemu-system-aarch64 + Ubuntu 22.04 (jammy-server-cloudimg-arm64.img) + Redroid on Mac M1 host issue HOT 3
- 环境异常 HOT 1
- GPU accelerated rendering failed HOT 2
- After starting a redroid container, the system becomes unstable and seems to be broken. HOT 3
- How do I edit hwcomposer in order to remove the limitation of fps?
- Can't set ro.xxx properties
- accessing rclone mount from android HOT 2
- Can the host system use Ubuntu installed under esxi? HOT 1
- Want kernelsu supported on redroid HOT 1
- redroid can't connect public network, but it can connect to host network HOT 7
- redroid11 boot failed HOT 2
- How to change adb listening port on redroid? HOT 2
- Trying to run redroid in Android HOT 13
- Redroid does not work with a virtio host GPU when docker is within the full system emulator qemu-system-aarch64 HOT 8
- Is it Possible to Access an Android Application Installed on a Local Server via Docker Using a Web Browser? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redroid-doc.