[llvm-bugs] [Bug 24917] New: Download of symbolized file is failing on Android API 23 device.

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 23 11:34:09 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=24917

            Bug ID: 24917
           Summary: Download of symbolized file is failing on Android API
                    23 device.
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: ovyalov at google.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

PlatformAndroid::DownloadSymbolFile is failing to download a file produced by
oatdump - for example, attempt to fetch symbol file like
/data/data/com.google.ovyalov.ndktestW/lldb/tmp/tmp.jVj9R5/symbolized.oat is
failing with 'Permission denied' most likely because 'adb pull' runs as shell
user.

As a more general suggestion, PlatformAndroid::GetFile can check whether target
file is accessible (e.g., via AdbClient::Stat)- if not, fallback to base
Platform::GetFile.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150923/18ceaf9b/attachment.html>


More information about the llvm-bugs mailing list