0% found this document useful (0 votes)
15 views5 pages

Dumpstate Bug Report Analysis

dumpstate
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views5 pages

Dumpstate Bug Report Analysis

dumpstate
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

!

@bugreport_mode BUGREPORT_DEFAULT, and dumpstate by default


Module metadata package name: [Link]
Calling IDumpstateDevice implementation using path
/data/user_de/0/[Link]/files/bugreports/dumpstate_board.txt
Calling IDumpstateDevice implementation using path
/data/user_de/0/[Link]/files/bugreports/dumpstate_board.bin
Using IDumpstateDevice AIDL HALIgnoring empty dumpstate_board.bin
Duration of 'DUMP BOARD': 1.06s
Duration of 'DUMPSYS CRITICAL': 2.32s
*** command 'perfetto --save-for-bugreport' failed: exit code 1
Error: Tracing is not supported on user builds.
Duration of 'SYSTEM LOG': 5.97s
Duration of 'EVENT LOG': 0.32s
Duration of 'STATS LOG': 0.03s
Duration of 'RADIO LOG': 0.32s
Start thread pool:2
Duration of 'DUMP DRBX': 0.52s
Duration of 'Dmabuf dump': 1.16s
Adding dir /cache/recovery (recursive: 1)
Duration of '/cache/recovery': 5.45s
Adding dir /data/misc/recovery (recursive: 1)
Adding dir /data/misc/update_engine_log (recursive: 1)
Adding dir /data/misc/logd (recursive: 0)
Adding dir /data/misc/prereboot (recursive: 0)
MOUNT INFO: 75 entries added to zip file
Duration of 'LPDUMP': 1.08s
Duration of 'DEVICE-MAPPER': 1.06s
Adding dir /metadata/ota (recursive: 1)
execvp on command 'iotop -n 1 -m 100' failed (error: No such file or directory)
*** command 'iotop -n 1 -m 100' failed: exit code 1
[Link]@1.0::IWeaver/default does not exist, or no permission to
connect.
*** command 'lshal debug -E [Link]@1.0::IWeaver' failed: exit code
128
Duration of 'FILESYSTEM DEBUG INFO.': 1.15s
Duration of 'DUMP TRACES': 27.61s
Duration of 'Wait for ': 15.27s
shutdown thread pool
Start thread pool:3
Calling IDumpstateDevice implementation using path
/data/user_de/0/[Link]/files/bugreports/dumpstate_board.txt
Calling IDumpstateDevice implementation using path
/data/user_de/0/[Link]/files/bugreports/dumpstate_board.bin
Using IDumpstateDevice AIDL HALIgnoring empty dumpstate_board.bin
Warning: Skipping
"[Link]@2.0::ICameraService/default": cannot be
fetched from service manager (null)
Warning: Skipping
"[Link]@2.1::ICameraService/default": cannot be
fetched from service manager (null)
Warning: Skipping
"[Link]@2.2::ICameraService/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IDisplayService/default":
cannot be fetched from service manager (null)
Warning: Skipping
"[Link]@1.0::ISchedulingPolicyService/default": cannot
be fetched from service manager (null)
Warning: Skipping "[Link]@1.0::ISensorManager/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IStats/default": cannot be fetched
from service manager (null)
Warning: Skipping "[Link]@5.0::IEffectsFactory/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@5.0::IDevicesFactory/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IBluetoothHci/default": cannot
be fetched from service manager (null)
Warning: Skipping "[Link]@2.4::ICameraProvider/legacy/0":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.5::ICameraProvider/legacy/0":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.6::ICameraProvider/legacy/0":
cannot be fetched from service manager (null)
Warning: Skipping
"[Link]@1.0::ISurfaceFlingerConfigs/default": cannot be
fetched from service manager (null)
Warning: Skipping
"[Link]@1.1::ISurfaceFlingerConfigs/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IGatekeeper/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@2.1::IComposer/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@4.0::IKeymasterDevice/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link].c2@1.0::IComponentStore/default": cannot
be fetched from service manager (null)
Warning: Skipping "[Link].c2@1.0::IComponentStore/software": cannot
be fetched from service manager (null)
Warning: Skipping "[Link].c2@1.1::IComponentStore/software": cannot
be fetched from service manager (null)
Warning: Skipping "[Link].c2@1.2::IComponentStore/software": cannot
be fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IOmx/default": cannot be fetched
from service manager (null)
Warning: Skipping "[Link]@1.0::IOmxStore/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IMemtrack/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IRadioConfig/default": cannot
be fetched from service manager (null)
Warning: Skipping "[Link]@1.1::IRadioConfig/default": cannot
be fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IRadio/slot1": cannot be fetched
from service manager (null)
Warning: Skipping "[Link]@1.0::ISap/slot1": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.1::IRadio/slot1": cannot be fetched
from service manager (null)
Warning: Skipping "[Link]@1.1::ISap/slot1": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.2::IRadio/slot1": cannot be fetched
from service manager (null)
Warning: Skipping "[Link]@1.2::ISap/slot1": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.3::IRadio/slot1": cannot be fetched
from service manager (null)
Warning: Skipping "[Link]@1.4::IRadio/slot1": cannot be fetched
from service manager (null)
Warning: Skipping "[Link]@2.0::ISensors/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IUsb/default": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.1::IUsb/default": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.2::IUsb/default": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.3::IUsb/default": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IAllocator/ashmem": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IBase/ashmem": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IBase/clearkey": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IBase/default": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IBase/epdgd": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IBase/imsd": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IBase/legacy/0": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IBase/slot1": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IBase/software": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IBase/widevine": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::ITokenManager/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::INetd/default": cannot be fetched
from service manager (null)
Warning: Skipping "[Link]@1.1::INetd/default": cannot be fetched
from service manager (null)
Warning: Skipping "[Link]@1.0::IKeystore/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IAnt/default": cannot be fetched from service
manager (null)
Warning: Skipping
"[Link]@1.0::ISehUcmKeystore/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@1.0::ISehDevicesFactory/default":
cannot be fetched from service manager (null)
Warning: Skipping
"[Link]@1.0::ISehAuthenticationFramework/default": cannot
be fetched from service manager (null)
Warning: Skipping "[Link]@2.0::ISehBluetooth/default":
cannot be fetched from service manager (null)
Warning: Skipping
"[Link]@4.0::ISehCameraProvider/legacy/0": cannot
be fetched from service manager (null)
Warning: Skipping "[Link]@2.0::ISehMiscPower/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.0::ISehBridge/slot1":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.0::ISehChannel/epdgd":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.0::ISehChannel/imsd":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.0::ISehRadio/slot1": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@2.1::ISehRadio/slot1": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@2.2::ISehRadio/slot1": cannot be
fetched from service manager (null)
Warning: Skipping
"[Link]@1.0::ISehEngmode/default": cannot be
fetched from service manager (null)
Warning: Skipping
"[Link]@2.0::ISehVaultKeeper/default": cannot
be fetched from service manager (null)
Warning: Skipping "[Link]@1.0::ISehSysInputDev/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@1.1::ISehSysInputDev/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@1.2::ISehSysInputDev/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@1.3::ISehSysInputDev/default":
cannot be fetched from service manager (null)
Warning: Skipping
"vendor.samsung_slsi.[Link]@1.0::IExynosHWCServiceTW/default":
cannot be fetched from service manager (null)
Warning: Skipping "vendor.samsung_slsi.[Link]@1.0::IEpicRequest/default":
cannot be fetched from service manager (null)
Warning: Skipping "vendor.samsung_slsi.[Link]@1.0::IOfiService/default":
cannot be fetched from service manager (null)
*** command 'lshal --all --types=all' failed: exit code 136
Duration of 'HARDWARE HALS': 1.44s
Duration of 'DUMP HALS': 1.51s
section 1000 status 1
section 1000 status 2
section 1002 status 1
section 1002 status 2
section 1109 status 1
section 1109 status 2
section 1110 status 1
section 1110 status 2
section 1111 status 1
section 1111 status 2
section 1112 status 1
section 1112 status 2
section 1113 status 1
section 1113 status 2
section 1114 status 1
section 1114 status 2
section 1115 status 1
section 1115 status 2
section 2001 status 1
section 2001 status 2
section 2002 status 1
section 2002 status 2
section 2003 status 1
Duration of 'CPU INFO': 4.24s
section 2003 status 2
section 2004 status 1
section 2004 status 2
section 2005 status 1
Duration of 'PROCESSES AND THREADS': 2.88s
ls: epdgcr: Permission denied
ls: netstats: Permission denied
ls: iwc: Permission denied
ls: wmLog: Permission denied
*** command 'ls -a -l -R /data/log/' failed: exit code 1
AddAnrTraceDir(): dump_traces_file=/data/log/dumptrace_KxDnd3,
anr_traces_dir=/data/anr
Dumping current ANR traces (/data/log/dumptrace_KxDnd3) to the main bugreport entry
section 2005 status 2
section 2006 status 1
section 2006 status 2
section 2007 status 1
section 2007 status 2
done
Duration of 'INCIDENT REPORT': 7.60s
Duration of 'CHECKIN BATTERYSTATS': 1.03s
Duration of 'CHECKIN NETSTATS': 0.70s
Duration of 'CHECKIN PROCSTATS': 1.36s
Adjusting max progress from 5000 to 5507
Adjusting max progress from 5507 to 6068
Adjusting max progress from 6068 to 6684
Adjusting max progress from 6684 to 7355
Adjusting max progress from 7355 to 8092
Adding dir /data/misc/nfc/logs (recursive: 1)
Can't find service: [Link]/default
Adjusting max progress from 8092 to 8906
Adding dir /data/misc/snapshotctl_log (recursive: 0)
Adding dir /data/log/bt (recursive: 1)
Duration of 'APP ACTIVITIES': 0.61s
Duration of 'APP SERVICES PLATFORM': 1.42s
Duration of 'APP SERVICES NON-PLATFORM': 12.56s
Duration of 'APP PROVIDERS PLATFORM': 2.70s
Duration of 'APP PROVIDERS NON-PLATFORM': 18.98s
Duration of 'DUMPSYS HIGH': 53.32s
Duration of 'DUMPSYS HIGH': 53.33s
Duration of 'APP PROVIDERS SEC_MEDIA': 3.28s
Duration of 'DUMPSYS': 1.20s
Adjusting max progress from 8906 to 9815
*** command '/system/bin/dumpsys -T 30000 usagestats -c' timed out after 76.259s
(killing pid 27498)
Duration of 'CHECKIN USAGESTATS': 76.26s
Duration of 'CHECKIN PACKAGE': 0.88s
Duration of 'DUMP CHECKINS': 80.23s

Common questions

Powered by AI

The document highlights permissions as a critical factor in accessing system logs and services. For example, attempts to list directories like '/data/log/' failed due to 'Permission denied' errors . Similar issues occur with services like 'android.hardware.weaver', reflecting how insufficient permissions can prevent essential diagnostics and control access to critical system information .

The document suggests that automated system process monitoring may face reliability issues, evident from command failures and permissions errors when executing automated diagnostics like 'dumpsys'. The dependency on service availability and correct configurations complicates reliable automation, making continuous monitoring and refinement critical for maintaining proper system health .

The challenges in managing diagnostic data are demonstrated by frequent command failures and empty output handling, like with 'dumpstate_board.bin', which suggest inefficiencies in data collection. These issues can result in incomplete diagnostics, prolonged troubleshooting processes, and potentially unaddressed system errors, hampering overall system reliability and performance .

The document indicates several challenges in obtaining HAL data, such as the failure of the command 'lshal --all --types=all' with exit code 136 and numerous warnings about skipped services due to them not being fetched from the service manager . Such failures can hinder comprehensive system diagnostics and suggest issues with permissions or service availability.

The document shows that executing diagnostics on hardware services often confronts access and execution hurdles. Services skipped due to unavailability and failed commands indicate likely problems in service communication, possibly due to incorrect configurations or permissions. Such issues underline the challenges in maintaining hardware and software integration for comprehensive diagnostics .

Executing commands via service managers, as presented in the document, shows significant implications regarding system stability and functionality. Numerous warnings indicate the inability to fetch services from the manager, highlighting potential issues in service registration or discovery protocols . This can lead to unresponsive systems or hindered capabilities, emphasizing the need for robust service management frameworks.

The document illustrates several error handling challenges in system monitoring. For instance, the 'perfetto --save-for-bugreport' command failed with an exit code due to unsupported features in user builds. Similarly, attempts to execute 'iotop' and 'lshal' commands also resulted in failures, suggesting difficulties in error resolution and recovery mechanisms in varying system environments .

The 'IDumpstateDevice AIDL HAL' is utilized for collecting and organizing system diagnostic data, as implied by its invocation paths noted in the document. However, its effectiveness is questionable since it ignores empty dumpstate files like 'dumpstate_board.bin' and faces limitations, such as being unable to handle some tracing commands due to build restrictions . These issues indicate potential inefficiencies in its operation.

Repeated failures to connect to services, such as 'android.hardware.memtrack' or 'vendor.samsung.hardware.radio', highlight problems in network configurations or service endpoint issues . Such connectivity issues can imply underlying bugs or network misconfigurations, impacting effective service utilization and potentially leading to degraded system performance or functionality.

The document reflects system constraints in distinguishing between user and non-user builds. It mentions that tracing is unsupported on user builds for commands like 'perfetto --save-for-bugreport' . This constraint impacts diagnostics and performance monitoring, showing the limitations imposed for security or stability reasons in certain build configurations.

You might also like