Can’t pull /system/bin/app_process on Android L Preview dev.

Sysprogs forums Forums VisualGDB Can’t pull /system/bin/app_process on Android L Preview dev.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #796
    glendc
    Participant

    Hey!

    When trying to debug the preview version of Android L on an Nexus 7, I can’t seem to debug it.
    Running and building is all fine, but debugging never works because it can’t find a file and so it stops when it tries to pull it.

    Here is the log:

    C:Program Files (x86)Androidsdkplatform-toolsadb.exe devices
    List of devices attached
    07d9416a	device
    Command exited with code 0
    C:Program Files (x86)Androidsdkplatform-toolsadb.exe -s 07d9416a shell ps
    USER     PID   PPID  VSIZE  RSS     WCHAN    PC        NAME
    root      1     0     2616   756   ffffffff 00000000 S /init
    root      2     0     0      0     ffffffff 00000000 S kthreadd
    root      3     2     0      0     ffffffff 00000000 S ksoftirqd/0
    root      6     2     0      0     ffffffff 00000000 S migration/0
    root      16    2     0      0     ffffffff 00000000 S khelper
    root      17    2     0      0     ffffffff 00000000 S suspend_sys_syn
    root      18    2     0      0     ffffffff 00000000 S suspend
    root      23    2     0      0     ffffffff 00000000 S irq/203-msmdata
    root      24    2     0      0     ffffffff 00000000 S sync_supers
    root      25    2     0      0     ffffffff 00000000 S bdi-default
    root      26    2     0      0     ffffffff 00000000 S kblockd
    root      27    2     0      0     ffffffff 00000000 S msm_slim_ctrl_r
    root      28    2     0      0     ffffffff 00000000 S khubd
    root      29    2     0      0     ffffffff 00000000 S irq/84-msm_iomm
    root      30    2     0      0     ffffffff 00000000 S irq/84-msm_iomm
    root      31    2     0      0     ffffffff 00000000 S irq/96-msm_iomm
    root      32    2     0      0     ffffffff 00000000 S irq/96-msm_iomm
    root      33    2     0      0     ffffffff 00000000 S irq/94-msm_iomm
    root      34    2     0      0     ffffffff 00000000 S irq/94-msm_iomm
    root      35    2     0      0     ffffffff 00000000 S irq/92-msm_iomm
    root      36    2     0      0     ffffffff 00000000 S irq/92-msm_iomm
    root      37    2     0      0     ffffffff 00000000 S irq/100-msm_iom
    root      38    2     0      0     ffffffff 00000000 S irq/100-msm_iom
    root      39    2     0      0     ffffffff 00000000 S irq/86-msm_iomm
    root      40    2     0      0     ffffffff 00000000 S irq/86-msm_iomm
    root      41    2     0      0     ffffffff 00000000 S irq/90-msm_iomm
    root      42    2     0      0     ffffffff 00000000 S irq/90-msm_iomm
    root      43    2     0      0     ffffffff 00000000 S irq/88-msm_iomm
    root      44    2     0      0     ffffffff 00000000 S irq/102-msm_iom
    root      45    2     0      0     ffffffff 00000000 S irq/102-msm_iom
    root      46    2     0      0     ffffffff 00000000 S irq/98-msm_iomm
    root      47    2     0      0     ffffffff 00000000 S irq/98-msm_iomm
    root      48    2     0      0     ffffffff 00000000 S irq/243-msm_iom
    root      49    2     0      0     ffffffff 00000000 S irq/243-msm_iom
    root      50    2     0      0     ffffffff 00000000 S irq/269-msm_iom
    root      51    2     0      0     ffffffff 00000000 S irq/269-msm_iom
    root      52    2     0      0     ffffffff 00000000 S l2cap
    root      53    2     0      0     ffffffff 00000000 S a2mp
    root      54    2     0      0     ffffffff 00000000 S cfg80211
    root      55    2     0      0     ffffffff 00000000 S rpciod
    root      56    2     0      0     ffffffff 00000000 S modem_notifier
    root      57    2     0      0     ffffffff 00000000 S smd_channel_clo
    root      58    2     0      0     ffffffff 00000000 S smsm_cb_wq
    root      60    2     0      0     ffffffff 00000000 S qmi
    root      61    2     0      0     ffffffff 00000000 S nmea
    root      62    2     0      0     ffffffff 00000000 S msm_ipc_router
    root      63    2     0      0     ffffffff 00000000 S apr_driver
    root      64    2     0      0     ffffffff 00000000 S kswapd0
    root      65    2     0      0     ffffffff 00000000 S fsnotify_mark
    root      66    2     0      0     ffffffff 00000000 S nfsiod
    root      67    2     0      0     ffffffff 00000000 S cifsiod
    root      68    2     0      0     ffffffff 00000000 S crypto
    root      83    2     0      0     ffffffff 00000000 S mdp_dma_wq
    root      84    2     0      0     ffffffff 00000000 S mdp_vsync_wq
    root      85    2     0      0     ffffffff 00000000 S mdp_pipe_ctrl_w
    root      86    2     0      0     ffffffff 00000000 S mdp_cursor_ctrl
    root      87    2     0      0     ffffffff 00000000 S msmfb_commit_th
    root      88    2     0      0     ffffffff 00000000 S hdmi_hdcp
    root      89    2     0      0     ffffffff 00000000 S irq/111-hdmi_ms
    root      90    2     0      0     ffffffff 00000000 S dtv_work
    root      91    2     0      0     ffffffff 00000000 S msmfb_commit_th
    root      92    2     0      0     ffffffff 00000000 S vidc_worker_que
    root      93    2     0      0     ffffffff 00000000 S vidc_timer_wq
    root      94    2     0      0     ffffffff 00000000 S smux_notify_wq
    root      95    2     0      0     ffffffff 00000000 S smux_tx_wq
    root      96    2     0      0     ffffffff 00000000 S smux_rx_wq
    root      97    2     0      0     ffffffff 00000000 S smux_loopback_w
    root      98    2     0      0     ffffffff 00000000 S diag_wq
    root      99    2     0      0     ffffffff 00000000 S hsic_diag_wq
    root      100   2     0      0     ffffffff 00000000 S hsic_2_diag_wq
    root      101   2     0      0     ffffffff 00000000 S smux_diag_wq
    root      102   2     0      0     ffffffff 00000000 S diag_cntl_wq
    root      103   2     0      0     ffffffff 00000000 S diag_dci_wq
    root      104   2     0      0     ffffffff 00000000 S kgsl-3d0
    root      105   2     0      0     ffffffff 00000000 S anx7808_work
    root      106   2     0      0     ffffffff 00000000 S irq/295-anx7808
    root      109   2     0      0     ffffffff 00000000 S irq/330-wcd9xxx
    root      110   2     0      0     ffffffff 00000000 S spi_qsd.0
    root      113   2     0      0     ffffffff 00000000 S usbnet
    root      114   2     0      0     ffffffff 00000000 S smb345_wq
    root      116   2     0      0     ffffffff 00000000 S bq27541_battery
    root      117   2     0      0     ffffffff 00000000 S msm_otg_acok_wq
    root      118   2     0      0     ffffffff 00000000 S msm_otg_id_pin_
    root      119   2     0      0     ffffffff 00000000 S mdm_bridge
    root      120   2     0      0     ffffffff 00000000 S ks_bridge:1
    root      121   2     0      0     ffffffff 00000000 S ks_bridge:2
    root      122   2     0      0     ffffffff 00000000 S ks_bridge:3
    root      123   2     0      0     ffffffff 00000000 S ks_bridge:4
    root      124   2     0      0     ffffffff 00000000 S k_rmnet_mux_wor
    root      125   2     0      0     ffffffff 00000000 S f_mtp
    root      126   2     0      0     ffffffff 00000000 S file-storage
    root      127   2     0      0     ffffffff 00000000 S uether
    root      128   2     0      0     ffffffff 00000000 S kpsmoused
    root      129   2     0      0     ffffffff 00000000 S elan_wq
    root      130   2     0      0     ffffffff 00000000 S i2c_touchsensor
    root      131   2     0      0     ffffffff 00000000 S lid_wq
    root      132   2     0      0     ffffffff 00000000 S dvfs_test_workq
    root      133   2     0      0     ffffffff 00000000 D dbs_sync/0
    root      134   2     0      0     ffffffff 00000000 D dbs_sync/1
    root      135   2     0      0     ffffffff 00000000 D dbs_sync/2
    root      136   2     0      0     ffffffff 00000000 D dbs_sync/3
    root      137   2     0      0     ffffffff 00000000 S kinteractiveup
    root      138   2     0      0     ffffffff 00000000 S binder
    root      139   2     0      0     ffffffff 00000000 S mmcqd/0
    root      142   2     0      0     ffffffff 00000000 S detection
    root      143   2     0      0     ffffffff 00000000 S button_press
    root      144   2     0      0     ffffffff 00000000 S button_release
    root      145   2     0      0     ffffffff 00000000 S krfcommd
    root      146   2     0      0     ffffffff 00000000 S msm-cpufreq
    root      147   2     0      0     ffffffff 00000000 S rq_stats
    root      148   2     0      0     ffffffff 00000000 S deferwq
    root      149   1     2612   580   ffffffff 00000000 S /sbin/ueventd
    root      151   2     0      0     ffffffff 00000000 S jbd2/mmcblk0p22
    root      152   2     0      0     ffffffff 00000000 S ext4-dio-unwrit
    root      155   2     0      0     ffffffff 00000000 S flush-179:0
    root      157   2     0      0     ffffffff 00000000 S jbd2/mmcblk0p23
    root      158   2     0      0     ffffffff 00000000 S ext4-dio-unwrit
    root      162   2     0      0     ffffffff 00000000 S jbd2/mmcblk0p30
    root      163   2     0      0     ffffffff 00000000 S ext4-dio-unwrit
    root      164   2     0      0     ffffffff 00000000 S jbd2/mmcblk0p4-
    root      165   2     0      0     ffffffff 00000000 S ext4-dio-unwrit
    root      171   2     0      0     ffffffff 00000000 S IPCRTR
    root      172   2     0      0     ffffffff 00000000 S ipc_rtr_q6_ipcr
    logd      173   1     16200  3808  ffffffff 00000000 S /system/bin/logd
    root      174   1     3684   316   ffffffff 00000000 S /sbin/healthd
    root      175   1     3660   812   ffffffff 00000000 S /system/bin/lmkd
    system    176   1     3240   656   ffffffff 00000000 S /system/bin/servicemanager
    root      177   1     9760   1760  ffffffff 00000000 S /system/bin/vold
    system    178   1     177300 11428 ffffffff 00000000 S /system/bin/surfaceflinger
    root      180   1     27948  1592  ffffffff 00000000 S /system/bin/netd
    root      181   1     3832   856   ffffffff 00000000 S /system/bin/debuggerd
    drm       182   1     18896  4340  ffffffff 00000000 S /system/bin/drmserver
    media     183   1     112016 30312 ffffffff 00000000 S /system/bin/mediaserver
    install   184   1     3192   732   ffffffff 00000000 S /system/bin/installd
    keystore  186   1     6316   1508  ffffffff 00000000 S /system/bin/keystore
    nobody    188   1     10316  1056  ffffffff 00000000 S /system/bin/rmt_storage
    radio     189   1     7556   576   ffffffff 00000000 S /system/bin/bridgemgrd
    root      191   1     29732  1160  ffffffff 00000000 S /system/bin/thermald
    root      192   1     11040  876   ffffffff 00000000 S /system/bin/mpdecision
    root      195   1     1473532 45692 ffffffff 00000000 S zygote
    media_rw  197   1     7212   1060  ffffffff 00000000 S /system/bin/sdcard
    camera    198   1     49244  3320  ffffffff 00000000 S /system/bin/mm-qcamera-daemon
    system    199   1     4924   884   ffffffff 00000000 S /system/bin/qseecomd
    shell     200   1     9784   464   ffffffff 00000000 S /sbin/adbd
    system    214   199   7024   556   ffffffff 00000000 S /system/bin/qseecomd
    root      220   2     0      0     ffffffff 00000000 S kauditd
    system    535   195   1742324 121840 ffffffff 00000000 S system_server
    root      603   2     0      0     ffffffff 00000000 S WD_Thread
    root      604   2     0      0     ffffffff 00000000 S MC_Thread
    root      605   2     0      0     ffffffff 00000000 S TX_Thread
    root      606   2     0      0     ffffffff 00000000 S RX_Thread
    wifi      617   1     7440   2424  ffffffff 00000000 S /system/bin/wpa_supplicant
    u0_a20    656   195   1608872 98720 ffffffff 00000000 S com.android.systemui
    u0_a22    775   195   1522732 32504 ffffffff 00000000 S com.google.android.googlequicksearchbox:interactor
    u0_a42    796   195   1557848 57632 ffffffff 00000000 S com.google.android.inputmethod.latin
    root      857   2     0      0     ffffffff 00000000 S IPCRTR
    root      858   2     0      0     ffffffff 00000000 S ipc_rtr_smd_ipc
    u0_a55    905   195   1488556 29072 ffffffff 00000000 S com.nuance.xt9.input
    radio     922   195   1491928 32892 ffffffff 00000000 S com.android.server.telecom
    nfc       941   195   1512772 39428 ffffffff 00000000 S com.android.nfc
    radio     947   195   1509896 40832 ffffffff 00000000 S com.android.phone
    u0_a12    969   195   1631768 92292 ffffffff 00000000 S com.android.launcher
    nfc       1112  195   1489888 32956 ffffffff 00000000 S com.android.nfc:sendui
    u0_a7     1196  195   1641776 71024 ffffffff 00000000 S com.google.process.gapps
    u0_a7     1322  195   1627568 69544 ffffffff 00000000 S com.google.process.location
    dhcp      2018  1     3204   732   ffffffff 00000000 S /system/bin/dhcpcd
    u0_a14    3851  195   1489268 31700 ffffffff 00000000 S com.android.musicfx
    u0_a7     7553  195   1553932 39128 ffffffff 00000000 S com.google.android.gms.wearable
    u0_a22    7582  195   1549496 56144 ffffffff 00000000 S com.google.android.googlequicksearchbox:search
    u0_a7     10215 195   1708044 69692 ffffffff 00000000 S com.google.android.gms
    u0_a16    11200 195   1584184 75012 ffffffff 00000000 S com.android.vending
    u0_a63    11746 195   1600772 61652 ffffffff 00000000 S com.google.android.apps.plus
    u0_a33    13100 195   1489488 31080 ffffffff 00000000 S com.google.android.deskclock
    root      13720 2     0      0     ffffffff 00000000 S msm_sat0
    root      14989 2     0      0     ffffffff 00000000 S kworker/u:1
    root 15237 2 0 0 ffffffff 00000000 S kworker/u:3
    u0_a4 15587 195 1490104 31764 ffffffff 00000000 S com.android.defcontainer
    system 15640 195 1488116 32136 ffffffff 00000000 S com.android.keychain
    u0_a11 15661 195 1490628 31172 ffffffff 00000000 S com.google.android.partnersetup
    root 15802 2 0 0 ffffffff 00000000 S kworker/0:2
    u0_a5 16175 195 1501796 41840 ffffffff 00000000 S android.process.media
    u0_a3 16596 195 1499116 38644 ffffffff 00000000 S android.process.acore
    root 16601 2 0 0 ffffffff 00000000 S kworker/0:1
    root 16737 2 0 0 ffffffff 00000000 S kworker/0:0
    root 16779 2 0 0 ffffffff 00000000 S kworker/u:0
    nobody 16796 1 15732 800 ffffffff 00000000 S /system/bin/sensors.qcom
    shell 16808 200 4460 756 00000000 b6eea840 R ps
    u0_a7 19669 195 1567888 57076 ffffffff 00000000 S com.google.android.gms.unstable
    Command exited with code 0
    C:Program Files (x86)Androidsdkplatform-toolsadb.exe -s 07d9416a pull /system/bin/app_process "C:UsersglencAppDataLocalVisualGDBAndroidBinaryCache7d9416aapp_process"
    remote object '/system/bin/app_process' not a file or directory
    Command exited with code 1

    I am really stuck on this issue. After some googling I found that some other people having similar issues and they resolved it by changing app_process to app_process32 as that’s apparently what it’s called in the preview version of Android L.

    However I can’t seem to find where this pull command is defined and thus i can’t change it myself.

    I’m working with the latest 4.3 beta version in vs2013.

    #3090
    support
    Keymaster
    #3088
    glendc
    Participant

    Thanks, I can confirm that this version allows me to debug Android L Preview.
    Will this be included in an official (beta) release soon?

    #3089
    glendc
    Participant

    After using it for a while and see it happen twice, it looks like this version of VisualGDB breaks the solution explorer of VS2013 after a while. Do you think it would be possible that this problem is linked to the new version of VisualGDB, as this never happened before.

    #3086
    glendc
    Participant

    @glendc wrote:

    After using it for a while and see it happen twice, it looks like this version of VisualGDB breaks the solution explorer of VS2013 after a while. Do you think it would be possible that this problem is linked to the new version of VisualGDB, as this never happened before.

    It’s been stable now for a while, so I’m not sure anymore if it’s something to do with VisualGDB or not. If it happens again I’ll try to gather some logs and more information.

    #3087
    glendc
    Participant

    I can confirm that the issue is caused by the version of VisualGDB you gave me.
    After I restarted my workstation I had the similar issue, installed the previous downloaded beta version and suddenly it was fixed and I could start Visual Studio normally again.

    Here Is the error message:

    And here is the Log: http://pastebin.com/TyFWbmng

    I hope this information helps you in tracking down the issue.

    #3091
    support
    Keymaster

    Hi,

    Thanks for the log. The problem might actually be caused by VisualGDB. We have recently modified our workaround that handles VSPackage registration and it may be causing your problem. Please try this build:
    http://visualgdb.com/tmp/VisualGDB-4.3.1.184.msi
    Then create a registry value: HKLMSOFTWAREWow6432NodeSysprogsVisualGDBSettingsPackageSiteWorkaroundMode and set it to 2. If that does not help, set it to 0. Let us know if that solves the problem.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.