0% found this document useful (0 votes)
4 views7 pages

Android Bug Report Analysis

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)
4 views7 pages

Android Bug Report Analysis

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]
No IDumpstateDevice AIDL implementation
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 v1.1 HIDL HAL
Ignoring empty dumpstate_board.bin
Duration of 'DUMPSYS CRITICAL': 1.62s
*** command 'perfetto --save-for-bugreport' failed: exit code 1
Error: Tracing is not supported on user builds.
Duration of 'SYSTEM LOG': 3.15s
Duration of 'EVENT LOG': 0.27s
Duration of 'STATS LOG': 0.01s
Duration of 'RADIO LOG': 0.46s
Start thread pool:2
Duration of 'Dmabuf dump': 0.61s
Adding dir /cache/recovery (recursive: 1)
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)
Unable to read link for /proc/28464/ns/mnt: No such file or directory
MOUNT INFO: 71 entries added to zip file
Duration of 'LPDUMP': 1.03s
Duration of 'DEVICE-MAPPER': 1.03s
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.': 0.77s
du: /data/sec/: Permission denied
*** command 'du -hd 2 /data/sec/' failed: exit code 1
ls: /data/sec/: Permission denied
*** command 'ls -lAZ /data/sec/' failed: exit code 1
Duration of 'DUMP TRACES': 20.98s
Duration of 'Wait for ': 16.13s
shutdown thread pool
Start thread pool:3
No IDumpstateDevice AIDL implementation
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 v1.1 HIDL HAL
Ignoring 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]@7.0::IEffectsFactory/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@7.0::IDevicesFactory/default": cannot be
fetched from service manager (null)
Warning: Skipping
"[Link]@2.0::IBluetoothAudioProvidersFactory/default":
cannot be fetched from service manager (null)
Warning: Skipping
"[Link]@2.1::IBluetoothAudioProvidersFactory/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]@1.1::IBluetoothHci/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]@2.0::IHealth/default": cannot be fetched
from service manager (null)
Warning: Skipping "[Link]@2.1::IHealth/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/default0": 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/default": cannot
be fetched from service manager (null)
Warning: Skipping "[Link].c2@1.1::IComponentStore/default0": 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/default": cannot
be fetched from service manager (null)
Warning: Skipping "[Link].c2@1.2::IComponentStore/default0": 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]@1.5::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/MetaATDHidlServer": 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/default0": 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/internal/0": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IBase/mtk-gpu": cannot be fetched from
service manager (null)
Warning: Skipping "[Link]@1.0::IBase/mtk-neuron": 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::IFactoryAta/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IFactoryInterface/default":
cannot be fetched from service manager (null)
Warning: Skipping
"[Link]@2.1::IBluetoothAudioProvidersFactory/
default": cannot be fetched from service manager (null)
Warning: Skipping
"[Link]@2.2::IBluetoothAudioProvidersFactory/
default": cannot be fetched from service manager (null)
Warning: Skipping
"[Link]@1.0::IBGService/internal/0": cannot be
fetched from service manager (null)
Warning: Skipping
"[Link]@1.1::IBGService/internal/0": cannot be
fetched from service manager (null)
Warning: Skipping
"[Link]@1.0::IISPModule/internal/0": cannot be
fetched from service manager (null)
Warning: Skipping
"[Link].composer_ext@1.0::IComposerExt/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.0::IMetaTst/MetaATDHidlServer":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@1.0::INetdagent/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@1.0::INvram/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link]@1.1::INvram/default": cannot be
fetched from service manager (null)
Warning: Skipping "[Link].nwk_opt@1.0::INwkOpt/default": cannot
be fetched from service manager (null)
Warning: Skipping "[Link]@2.0::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.10::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.11::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.1::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.2::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.3::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.4::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.5::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.6::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.7::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.8::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.9::IPictureQuality/default":
cannot be fetched from service manager (null)
Warning: Skipping
"[Link]@2.0::ISehBluetoothAudioProvidersFactory/
default": cannot be fetched from service manager (null)
Warning: Skipping
"[Link]@2.1::ISehBluetoothAudioProvidersFactory/
default": cannot be fetched from service manager (null)
Warning: Skipping "[Link]@2.0::ISehHealth/default": 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)
*** command 'lshal --all --types=all' failed: exit code 136
Duration of 'HARDWARE HALS': 0.60s
Duration of 'DUMP HALS': 0.62s
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': 1.70s
Duration of 'PROCESSES AND THREADS': 0.99s
ls: epdgcr: Permission denied
ls: netstats: Permission denied
ls: wifi: Permission denied
*** command 'ls -a -l -R /data/log/' failed: exit code 1
AddAnrTraceDir(): dump_traces_file=/data/log/dumptrace_4nw8Mg,
anr_traces_dir=/data/anr
Dumping current ANR traces (/data/log/dumptrace_4nw8Mg) to the main bugreport entry
section 2003 status 2
section 2004 status 1
section 2004 status 2
section 2005 status 1
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': 4.49s
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
Adjusting max progress from 8092 to 8906
Duration of 'CHECKIN BATTERYSTATS': 1.15s
Adding dir /data/misc/nfc/logs (recursive: 1)
Duration of 'CHECKIN NETSTATS': 0.53s
Adjusting max progress from 8906 to 9797
Adding dir /data/misc/snapshotctl_log (recursive: 0)
Adding dir /data/log/bt (recursive: 1)
Duration of 'CHECKIN PROCSTATS': 0.63s
Duration of 'APP ACTIVITIES': 0.63s
Duration of 'DUMP CHECKINS': 2.85s
Duration of 'APP SERVICES PLATFORM': 1.62s
Duration of 'APP SERVICES NON-PLATFORM': 8.11s
Duration of 'APP PROVIDERS NON-PLATFORM': 9.47s
Duration of 'DUMPSYS HIGH': 27.48s
Duration of 'DUMPSYS HIGH': 27.48s
Duration of 'APP PROVIDERS SEC_MEDIA': 2.82s
Adjusting max progress from 9797 to 10849
Can't find service: fingerprint
Can't find service: vold
Duration of 'DUMPSYS NORMAL': 79.39s
Duration of 'DUMPSYS NORMAL': 79.64s
Duration of 'Wait for ': 48.82s
Adding dir /linkerconfig (recursive: 1)
Adding frozen processes from /sys/fs/cgroup
Duration of 'DUMPSTATE': 81.36s
Adjusting max progress from 10849 to 12064
Duration of 'SYSTEM LOG AFTER DONE': 0.70s
Duration of 'Total Dumpstate': 107.09s
open(/data/user_de/0/[Link]/files/bugreports/dumpstate_board.txt): No
such file or directory
Failed to unlink file
(/data/user_de/0/[Link]/files/bugreports/dumpstate_board.txt): No such
file or directory
Adding main entry ([Link]) from
/data/user_de/0/[Link]/files/bugreports/[Link] to .zip bugreport
dumpstate id 1 finished around 2024/06/10 [Link] (110 s)
Adding zip text entry main_entry.txt
dumpstate_log.txt entry on zip file logged up to here

Removing temporary file


/data/user_de/0/[Link]/files/bugreports/[Link]
Going to copy file
(/data/user_de/0/[Link]/files/bugreports/[Link]) to 7
Final progress: 10968/12064 (estimated 5000)
Saving stats (total=10968, runs=1, average=10968) on /bugreports/dumpstate-
[Link]
done (id 1)

Common questions

Powered by AI

There might be several warnings about skipped hardware components like 'android.hardware.media.c2@1.0::IComponentStore/software' due to these components either not being started/inactive or lacking required permissions for access. Such warnings indicate that these services could not contribute their diagnostics data to the bugreport, which might affect the comprehensiveness of the trouble diagnostics .

Permission denied errors impact the overall effectiveness of a system diagnostic report by preventing the inclusion of potentially crucial system data from directories and components that have restricted access. This incomplete data acquisition can lead to a diagnostic report that lacks detailed insights into the system's secure areas, which might contain pertinent clues to underlying issues .

Certain hardware services are not fetched from the service manager due to potential permission issues or the services not being available or started. This lack of access can impact the ability to debug or gather complete diagnostic information, as these services may not be contributing necessary data into the bugreport .

The duration times reported in system logs and processes during the dumpstate operation are significant in identifying which processes or system operations are consuming the most time. This information can help in diagnosing performance bottlenecks or delays in the system operation. For instance, activities like 'DUMP TRACES' took 20.98s, and 'DUMPSYS NORMAL' took 79.64s, which are notably long durations indicating these might be critical areas where performance needs optimization .

Not finding services like 'fingerprint' and 'vold' during dumpsys operations indicates that these services may not be running or properly registered with the service manager, potentially leading to incomplete system diagnostics in areas related to biometric authentication and volume management. This might hinder troubleshooting capabilities, especially if the issues lie within those particular services .

The failure of commands like 'perfetto --save-for-bugreport' and 'iotop -n 1 -m 100' affects system diagnostics by preventing the collection of particular performance data and resource usage statistics. These commands typically provide detailed insights into system performance and resource monitoring, and their failure indicates missing diagnostic data that could help in troubleshooting system issues .

The completion of file operations within the bugreport directory ensures that all diagnostic data are properly logged and stored in the correct format for further analysis. Failure in these operations, such as creating or linking files, could result in missing or corrupt data, leading to an incomplete bugreport and causing potential delays in issue identification and resolution .

Adjusting the max progress in the bugreport process helps in accommodating additional data being included as the report progresses, ensuring the process captures enough diagnostic data without prematurely completing. It can increase due to additional operations being triggered or longer-running processes that require more time to complete, thus demanding the bugreport process to extend its data capture capabilities .

The challenges associated with accessing directories like '/data/sec/' during bugreport generation include permission restrictions that prevent reading or listing these directories, as indicated by error messages stating 'Permission denied'. These challenges are typically addressed by ensuring the executing entity has the necessary permissions or by reporting these access issues as part of the bugreport to highlight potential security or configuration problems .

Ignoring an empty 'dumpstate_board.bin' during the bugreport process implies that the collected data file did not contain any useful information, possibly due to a failed or incomplete data collection operation. This lack of information can result in an incomplete bugreport, potentially missing critical diagnostics necessary for identifying system issues .

You might also like