Giter Club home page Giter Club logo

Comments (12)

yuklin avatar yuklin commented on August 26, 2024

i have tried 12 11 10
12 11 will be offlined

but 10 online works

from redroid-doc.

zhouziyang avatar zhouziyang commented on August 26, 2024

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.

yuklin avatar yuklin commented on August 26, 2024

log.tar.gz
use redroid/redroid:11.0.0-arm64

from redroid-doc.

zhouziyang avatar zhouziyang commented on August 26, 2024

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.

zhouziyang avatar zhouziyang commented on August 26, 2024

@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.

yuklin avatar yuklin commented on August 26, 2024

@zhouziyang awsome, i will check it later today

from redroid-doc.

yuklin avatar yuklin commented on August 26, 2024

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.

yuklin avatar yuklin commented on August 26, 2024

--------- 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.

zhouziyang avatar zhouziyang commented on August 26, 2024

from redroid-doc.

zhouziyang avatar zhouziyang commented on August 26, 2024

from redroid-doc.

zhouziyang avatar zhouziyang commented on August 26, 2024

@yuklin this issue (app cannot access internet) seems fixed by Android (code base upgraded).

from redroid-doc.

yuklin avatar yuklin commented on August 26, 2024

roger that and thank you, i will check later

from redroid-doc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.