Sysprogs forums › Forums › VisualGDB › Problem debugging an Android app using VisualGDB
- This topic has 1 reply, 2 voices, and was last updated 9 years, 7 months ago by support.
-
AuthorPosts
-
February 26, 2015 at 10:15 #6174sliderParticipant
Hello,
I’m evaluating VisualGDB for native android development.
I’ve successfully imported a project from an AndriodStudio (gradle) project. The project is a simple project comprising of a simple Java Activity and an NDK library which is being called via JNI.
Unfortunately I’m not able to debug it and would be very grateful if you could help me successfully debug it.
When trying go debug, I get the following message box:
—————————
VisualGDB
—————————
Failed to start debugging session. GDB has reported the following error:
^error,msg=”Warning:\nCannot insert breakpoint -5.\nError accessing memory address 0xffff1bf8: Input/output error.\n”
Please ensure the following:
The project is built and your executable exists.
The GDB server/stub can start and does not report any errors.
If you are using remote debugging, check the connection to your target machine.
—————————
OK
—————————Also, here is a complete log of the GDB session:
c:\hyperspace\tools\android-ndk-r10d\toolchains\arm-linux-androideabi-4.8\prebuilt\windows-x86_64\bin\arm-linux-androideabi-gdb.exe --interpreter mi "C:\Users\root\AppData\Local\VisualGDB\AndroidBinaryCache\304D1934FE02821F\app_process" -x "C:\hyperspace\dev\muvix-git\research\audio_processing\audiotest\app\src\main\libs\armeabi-v7a\gdb.setup" [ 0 ms] -list-features [ 177 ms] =thread-group-added,id="i1" [ 177 ms] ~"GNU gdb (GDB) 7.6\n" [ 178 ms] ~"Copyright (C) 2013 Free Software Foundation, Inc.\n" [ 180 ms] ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n" [ 181 ms] ~"This GDB was configured as \"--host=x86_64-w64-mingw32 --target=arm-linux-androideabi\".\nFor bug reporting instructions, please see:\n" [ 181 ms] ~"<http://www.gnu.org/software/gdb/bugs/>...\n" [ 183 ms] ~"Reading symbols from C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\app_process..." [ 183 ms] ~"(no debugging symbols found)...done.\n" [ 185 ms] =cmd-param-changed,param="solib-search-path",value="./obj/local/armeabi-v7a" [ 187 ms] ^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-bytes","breakpoint-notifications","ada-task-info","python"] [ 187 ms] -gdb-set stop-on-solib-events 1 [ 187 ms] ^done [ 187 ms] -gdb-set disassembly-flavor intel [ 188 ms] ^error,msg="No symbol table is loaded. Use the \"file\" command." [ 188 ms] -gdb-set print demangle off [ 188 ms] ^done [ 188 ms] -gdb-version [ 198 ms] ~"GNU gdb (GDB) 7.6\n" [ 199 ms] ~"Copyright (C) 2013 Free Software Foundation, Inc.\n" [ 201 ms] ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n" [ 202 ms] ~"This GDB was configured as \"--host=x86_64-w64-mingw32 --target=arm-linux-androideabi\".\nFor bug reporting instructions, please see:\n" [ 202 ms] ~"<http://www.gnu.org/software/gdb/bugs/>.\n" [ 202 ms] ^done [ 203 ms] -gdb-set solib-search-path C:/Users/root/AppData/Local/VisualGDB/AndroidBinaryCache/304D1934FE02821F;C:/hyperspace/dev/muvix-git/research/audio_processing/audiotest/app/src/main/obj/local/armeabi-v7a [ 213 ms] ^done [ 213 ms] Activating library load breakpoint bug workaround... [ 608 ms] -break-insert -f *0x401baac4 [ 609 ms] ^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x401baac4",thread-groups=["i1"],times="0",original-location="*0x401baac4"} [ 609 ms] -target-select remote :5039 [ 654 ms] =thread-group-started,id="i1",pid="32207" [ 654 ms] =thread-created,id="1",group-id="i1" [ 709 ms] &"warning: .dynamic section for \"C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\linker\" is not at the expected address (wrong library or version mismatch?)\n" [ 711 ms] =library-loaded,id="/system/bin/linker",target-name="/system/bin/linker",host-name="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\linker",symbols-loaded="0",thread-group="i1" [ 712 ms] =library-loaded,id="libc.so",target-name="libc.so",host-name="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so",symbols-loaded="0",thread-group="i1" [ 716 ms] =library-loaded,id="libstdc++.so",target-name="libstdc++.so",host-name="libstdc++.so",symbols-loaded="0",thread-group="i1" [ 720 ms] =library-loaded,id="libm.so",target-name="libm.so",host-name="libm.so",symbols-loaded="0",thread-group="i1" [ 725 ms] =library-loaded,id="liblog.so",target-name="liblog.so",host-name="liblog.so",symbols-loaded="0",thread-group="i1" [ 730 ms] =library-loaded,id="libcutils.so",target-name="libcutils.so",host-name="libcutils.so",symbols-loaded="0",thread-group="i1" [ 739 ms] =library-loaded,id="libgccdemangle.so",target-name="libgccdemangle.so",host-name="libgccdemangle.so",symbols-loaded="0",thread-group="i1" [ 740 ms] =library-loaded,id="libcorkscrew.so",target-name="libcorkscrew.so",host-name="libcorkscrew.so",symbols-loaded="0",thread-group="i1" [ 742 ms] =library-loaded,id="libz.so",target-name="libz.so",host-name="libz.so",symbols-loaded="0",thread-group="i1" [ 747 ms] =library-loaded,id="libutils.so",target-name="libutils.so",host-name="libutils.so",symbols-loaded="0",thread-group="i1" [ 751 ms] =library-loaded,id="libbinder.so",target-name="libbinder.so",host-name="libbinder.so",symbols-loaded="0",thread-group="i1" [ 755 ms] =library-loaded,id="libemoji.so",target-name="libemoji.so",host-name="libemoji.so",symbols-loaded="0",thread-group="i1" [ 760 ms] =library-loaded,id="libjpeg.so",target-name="libjpeg.so",host-name="libjpeg.so",symbols-loaded="0",thread-group="i1" [ 764 ms] =library-loaded,id="libexpat.so",target-name="libexpat.so",host-name="libexpat.so",symbols-loaded="0",thread-group="i1" [ 768 ms] =library-loaded,id="libquramimagecodec.so",target-name="libquramimagecodec.so",host-name="libquramimagecodec.so",symbols-loaded="0",thread-group="i1" [ 772 ms] =library-loaded,id="libfimg.so",target-name="libfimg.so",host-name="libfimg.so",symbols-loaded="0",thread-group="i1" [ 776 ms] =library-loaded,id="libskia.so",target-name="libskia.so",host-name="libskia.so",symbols-loaded="0",thread-group="i1" [ 781 ms] =library-loaded,id="libandroidfw.so",target-name="libandroidfw.so",host-name="libandroidfw.so",symbols-loaded="0",thread-group="i1" [ 788 ms] =library-loaded,id="libstlport.so",target-name="libstlport.so",host-name="libstlport.so",symbols-loaded="0",thread-group="i1" [ 791 ms] =library-loaded,id="libnativehelper.so",target-name="libnativehelper.so",host-name="libnativehelper.so",symbols-loaded="0",thread-group="i1" [ 795 ms] =library-loaded,id="libnetutils.so",target-name="libnetutils.so",host-name="libnetutils.so",symbols-loaded="0",thread-group="i1" [ 799 ms] =library-loaded,id="libhardware.so",target-name="libhardware.so",host-name="libhardware.so",symbols-loaded="0",thread-group="i1" [ 803 ms] =library-loaded,id="libddc.so",target-name="libddc.so",host-name="libddc.so",symbols-loaded="0",thread-group="i1" [ 807 ms] =library-loaded,id="libedid.so",target-name="libedid.so",host-name="libedid.so",symbols-loaded="0",thread-group="i1" [ 810 ms] =library-loaded,id="libcec.so",target-name="libcec.so",host-name="libcec.so",symbols-loaded="0",thread-group="i1" [ 814 ms] =library-loaded,id="libfimc.so",target-name="libfimc.so",host-name="libfimc.so",symbols-loaded="0",thread-group="i1" [ 818 ms] =library-loaded,id="libhdmi.so",target-name="libhdmi.so",host-name="libhdmi.so",symbols-loaded="0",thread-group="i1" [ 821 ms] =library-loaded,id="libTVOut.so",target-name="libTVOut.so",host-name="libTVOut.so",symbols-loaded="0",thread-group="i1" [ 825 ms] =library-loaded,id="libhdmiclient.so",target-name="libhdmiclient.so",host-name="libhdmiclient.so",symbols-loaded="0",thread-group="i1" [ 829 ms] =library-loaded,id="libui.so",target-name="libui.so",host-name="libui.so",symbols-loaded="0",thread-group="i1" [ 832 ms] =library-loaded,id="libwpa_client.so",target-name="libwpa_client.so",host-name="libwpa_client.so",symbols-loaded="0",thread-group="i1" [ 836 ms] =library-loaded,id="libhardware_legacy.so",target-name="libhardware_legacy.so",host-name="libhardware_legacy.so",symbols-loaded="0",thread-group="i1" [ 840 ms] =library-loaded,id="libGLES_trace.so",target-name="libGLES_trace.so",host-name="libGLES_trace.so",symbols-loaded="0",thread-group="i1" [ 844 ms] =library-loaded,id="libEGL.so",target-name="libEGL.so",host-name="libEGL.so",symbols-loaded="0",thread-group="i1" [ 847 ms] =library-loaded,id="libGLESv2.so",target-name="libGLESv2.so",host-name="libGLESv2.so",symbols-loaded="0",thread-group="i1" [ 851 ms] =library-loaded,id="libremotedesktop_client.so",target-name="libremotedesktop_client.so",host-name="libremotedesktop_client.so",symbols-loaded="0",thread-group="i1" [ 855 ms] =library-loaded,id="libgui.so",target-name="libgui.so",host-name="libgui.so",symbols-loaded="0",thread-group="i1" [ 858 ms] =library-loaded,id="libcamera_client.so",target-name="libcamera_client.so",host-name="libcamera_client.so",symbols-loaded="0",thread-group="i1" [ 862 ms] =library-loaded,id="libgabi++.so",target-name="libgabi++.so",host-name="libgabi++.so",symbols-loaded="0",thread-group="i1" [ 866 ms] =library-loaded,id="libicuuc.so",target-name="libicuuc.so",host-name="libicuuc.so",symbols-loaded="0",thread-group="i1" [ 870 ms] =library-loaded,id="libicui18n.so",target-name="libicui18n.so",host-name="libicui18n.so",symbols-loaded="0",thread-group="i1" [ 873 ms] =library-loaded,id="libsqlite.so",target-name="libsqlite.so",host-name="libsqlite.so",symbols-loaded="0",thread-group="i1" [ 877 ms] =library-loaded,id="libdvm.so",target-name="libdvm.so",host-name="libdvm.so",symbols-loaded="0",thread-group="i1" [ 881 ms] =library-loaded,id="libGLESv1_CM.so",target-name="libGLESv1_CM.so",host-name="libGLESv1_CM.so",symbols-loaded="0",thread-group="i1" [ 885 ms] =library-loaded,id="libETC1.so",target-name="libETC1.so",host-name="libETC1.so",symbols-loaded="0",thread-group="i1" [ 888 ms] =library-loaded,id="libomadrm.so",target-name="libomadrm.so",host-name="libomadrm.so",symbols-loaded="0",thread-group="i1" [ 892 ms] =library-loaded,id="libsonivox.so",target-name="libsonivox.so",host-name="libsonivox.so",symbols-loaded="0",thread-group="i1" [ 896 ms] =library-loaded,id="libcrypto.so",target-name="libcrypto.so",host-name="libcrypto.so",symbols-loaded="0",thread-group="i1" [ 899 ms] =library-loaded,id="libssl.so",target-name="libssl.so",host-name="libssl.so",symbols-loaded="0",thread-group="i1" [ 905 ms] =library-loaded,id="libstagefright_foundation.so",target-name="libstagefright_foundation.so",host-name="libstagefright_foundation.so",symbols-loaded="0",thread-group="i1" [ 907 ms] =library-loaded,id="libspeexresampler.so",target-name="libspeexresampler.so",host-name="libspeexresampler.so",symbols-loaded="0",thread-group="i1" [ 911 ms] =library-loaded,id="libaudioutils.so",target-name="libaudioutils.so",host-name="libaudioutils.so",symbols-loaded="0",thread-group="i1" [ 915 ms] =library-loaded,id="libmedia_native.so",target-name="libmedia_native.so",host-name="libmedia_native.so",symbols-loaded="0",thread-group="i1" [ 919 ms] =library-loaded,id="libsecnativefeature.so",target-name="libsecnativefeature.so",host-name="libsecnativefeature.so",symbols-loaded="0",thread-group="i1" [ 922 ms] =library-loaded,id="libmedia.so",target-name="libmedia.so",host-name="libmedia.so",symbols-loaded="0",thread-group="i1" [ 926 ms] =library-loaded,id="libusbhost.so",target-name="libusbhost.so",host-name="libusbhost.so",symbols-loaded="0",thread-group="i1" [ 930 ms] =library-loaded,id="libharfbuzz.so",target-name="libharfbuzz.so",host-name="libharfbuzz.so",symbols-loaded="0",thread-group="i1" [ 934 ms] =library-loaded,id="libhwui.so",target-name="libhwui.so",host-name="libhwui.so",symbols-loaded="0",thread-group="i1" [ 937 ms] =library-loaded,id="libbluedroid.so",target-name="libbluedroid.so",host-name="libbluedroid.so",symbols-loaded="0",thread-group="i1" [ 941 ms] =library-loaded,id="libdbus.so",target-name="libdbus.so",host-name="libdbus.so",symbols-loaded="0",thread-group="i1" [ 945 ms] =library-loaded,id="libsecril-client.so",target-name="libsecril-client.so",host-name="libsecril-client.so",symbols-loaded="0",thread-group="i1" [ 949 ms] =library-loaded,id="libandroid_runtime.so",target-name="libandroid_runtime.so",host-name="libandroid_runtime.so",symbols-loaded="0",thread-group="i1" [ 952 ms] =library-loaded,id="libjavacore.so",target-name="libjavacore.so",host-name="libjavacore.so",symbols-loaded="0",thread-group="i1" [ 955 ms] =library-loaded,id="libandroid.so",target-name="libandroid.so",host-name="libandroid.so",symbols-loaded="0",thread-group="i1" [ 960 ms] =library-loaded,id="libchromium_net.so",target-name="libchromium_net.so",host-name="libchromium_net.so",symbols-loaded="0",thread-group="i1" [ 964 ms] =library-loaded,id="libwebcore.so",target-name="libwebcore.so",host-name="libwebcore.so",symbols-loaded="0",thread-group="i1" [ 969 ms] =library-loaded,id="libdrmframework.so",target-name="libdrmframework.so",host-name="libdrmframework.so",symbols-loaded="0",thread-group="i1" [ 973 ms] =library-loaded,id="libstagefright_omx.so",target-name="libstagefright_omx.so",host-name="libstagefright_omx.so",symbols-loaded="0",thread-group="i1" [ 977 ms] =library-loaded,id="libstagefright_yuv.so",target-name="libstagefright_yuv.so",host-name="libstagefright_yuv.so",symbols-loaded="0",thread-group="i1" [ 981 ms] =library-loaded,id="libvorbisidec.so",target-name="libvorbisidec.so",host-name="libvorbisidec.so",symbols-loaded="0",thread-group="i1" [ 985 ms] =library-loaded,id="libstagefright_strm_snooper.so",target-name="libstagefright_strm_snooper.so",host-name="libstagefright_strm_snooper.so",symbols-loaded="0",thread-group="i1" [ 990 ms] =library-loaded,id="libstagefright_enc_common.so",target-name="libstagefright_enc_common.so",host-name="libstagefright_enc_common.so",symbols-loaded="0",thread-group="i1" [ 995 ms] =library-loaded,id="libstagefright_avc_common.so",target-name="libstagefright_avc_common.so",host-name="libstagefright_avc_common.so",symbols-loaded="0",thread-group="i1" [ 998 ms] =library-loaded,id="libsavscmn.so",target-name="libsavscmn.so",host-name="libsavscmn.so",symbols-loaded="0",thread-group="i1" [ 1002 ms] =library-loaded,id="libsavsff.so",target-name="libsavsff.so",host-name="libsavsff.so",symbols-loaded="0",thread-group="i1" [ 1006 ms] =library-loaded,id="libtvoutinterface.so",target-name="libtvoutinterface.so",host-name="libtvoutinterface.so",symbols-loaded="0",thread-group="i1" [ 1010 ms] =library-loaded,id="libtvoutservice.so",target-name="libtvoutservice.so",host-name="libtvoutservice.so",symbols-loaded="0",thread-group="i1" [ 1014 ms] =library-loaded,id="libstagefright.so",target-name="libstagefright.so",host-name="libstagefright.so",symbols-loaded="0",thread-group="i1" [ 1019 ms] =library-loaded,id="libmtp.so",target-name="libmtp.so",host-name="libmtp.so",symbols-loaded="0",thread-group="i1" [ 1022 ms] =library-loaded,id="libexif.so",target-name="libexif.so",host-name="libexif.so",symbols-loaded="0",thread-group="i1" [ 1026 ms] =library-loaded,id="libstagefright_amrnb_common.so",target-name="libstagefright_amrnb_common.so",host-name="libstagefright_amrnb_common.so",symbols-loaded="0",thread-group="i1" [ 1029 ms] =library-loaded,id="libmedia_jni.so",target-name="libmedia_jni.so",host-name="libmedia_jni.so",symbols-loaded="0",thread-group="i1" [ 1033 ms] =library-loaded,id="libbcinfo.so",target-name="libbcinfo.so",host-name="libbcinfo.so",symbols-loaded="0",thread-group="i1" [ 1037 ms] =library-loaded,id="libbcc.so",target-name="libbcc.so",host-name="libbcc.so",symbols-loaded="0",thread-group="i1" [ 1040 ms] =library-loaded,id="libRS.so",target-name="libRS.so",host-name="libRS.so",symbols-loaded="0",thread-group="i1" [ 1044 ms] =library-loaded,id="librs_jni.so",target-name="librs_jni.so",host-name="librs_jni.so",symbols-loaded="0",thread-group="i1" [ 1048 ms] =library-loaded,id="libwilhelm.so",target-name="libwilhelm.so",host-name="libwilhelm.so",symbols-loaded="0",thread-group="i1" [ 1051 ms] =library-loaded,id="libOpenSLES.so",target-name="libOpenSLES.so",host-name="libOpenSLES.so",symbols-loaded="0",thread-group="i1" [ 1054 ms] =library-loaded,id="libopensl_example.so",target-name="libopensl_example.so",host-name="C:\\hyperspace\\dev\\muvix-git\\research\\audio_processing\\audiotest\\app\\src\\main\\obj\\local\\armeabi-v7a\\libopensl_example.so",symbols-loaded="0",thread-group="i1" [ 1057 ms] =library-loaded,id="libUMP.so",target-name="libUMP.so",host-name="libUMP.so",symbols-loaded="0",thread-group="i1" [ 1061 ms] =library-loaded,id="libMali.so",target-name="libMali.so",host-name="libMali.so",symbols-loaded="0",thread-group="i1" [ 1064 ms] =library-loaded,id="libEGL_mali.so",target-name="libEGL_mali.so",host-name="libEGL_mali.so",symbols-loaded="0",thread-group="i1" [ 1068 ms] =library-loaded,id="libGLESv1_CM_mali.so",target-name="libGLESv1_CM_mali.so",host-name="libGLESv1_CM_mali.so",symbols-loaded="0",thread-group="i1" [ 1072 ms] =library-loaded,id="libGLESv2_mali.so",target-name="libGLESv2_mali.so",host-name="libGLESv2_mali.so",symbols-loaded="0",thread-group="i1" [ 1076 ms] =library-loaded,id="libsecion.so",target-name="libsecion.so",host-name="libsecion.so",symbols-loaded="0",thread-group="i1" [ 1080 ms] =library-loaded,id="gralloc.smdk4210.so",target-name="gralloc.smdk4210.so",host-name="gralloc.smdk4210.so",symbols-loaded="0",thread-group="i1" [ 1081 ms] &"warning: Could not load shared library symbols for 93 libraries, e.g. libstdc++.so.\nUse the \"info sharedlibrary\" command to see the complete listing.\nDo you need \"set solib-search-path\" or \"set sysroot\"?" [ 1081 ms] &"\n" [ 1137 ms] *stopped,frame={addr="0x400efa70",func="epoll_wait",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},thread-id="1",stopped-threads="all",core="0" [ 1142 ms] ^connected [ 1161 ms] -break-list [ 1164 ms] ^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x401baac4",thread-groups=["i1"],times="0",original-location="*0x401baac4"}]} [ 1164 ms] info shared [ 1164 ms] &"info shared\n" [ 1279 ms] ~"From To Syms Read Shared Object Library\n" [ 1280 ms] ~"0xfffef834 0xffffc118 Yes C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\linker\n" [ 1282 ms] ~"0x400ee4c0 0x4011c160 Yes C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so\n" [ 1282 ms] ~" No libstdc++.so\n" [ 1283 ms] ~" No libm.so\n" [ 1283 ms] ~" No liblog.so\n" [ 1284 ms] ~" No libcutils.so\n" [ 1285 ms] ~" No libgccdemangle.so\n" [ 1285 ms] ~" No libcorkscrew.so\n" [ 1286 ms] ~" No libz.so\n" [ 1286 ms] ~" No libutils.so\n" [ 1287 ms] ~" No libbinder.so\n" [ 1287 ms] ~" No libemoji.so\n" [ 1288 ms] ~" No libjpeg.so\n" [ 1289 ms] ~" No libexpat.so\n" [ 1289 ms] ~" No libquramimagecodec.so\n" [ 1290 ms] ~" No libfimg.so\n" [ 1290 ms] ~" No libskia.so\n" [ 1291 ms] ~" No libandroidfw.so\n" [ 1292 ms] ~" No libstlport.so\n" [ 1293 ms] ~" No libnativehelper.so\n" [ 1293 ms] ~" No libnetutils.so\n" [ 1294 ms] ~" No libhardware.so\n" [ 1295 ms] ~" No libddc.so\n" [ 1295 ms] ~" No libedid.so\n" [ 1296 ms] ~" No libcec.so\n" [ 1296 ms] ~" No libfimc.so\n" [ 1297 ms] ~" No libhdmi.so\n" [ 1297 ms] ~" No libTVOut.so\n" [ 1298 ms] ~" No libhdmiclient.so\n" [ 1298 ms] ~" No libui.so\n" [ 1300 ms] ~" No libwpa_client.so\n" [ 1300 ms] ~" No libhardware_legacy.so\n" [ 1300 ms] ~" No libGLES_trace.so\n" [ 1300 ms] ~" No libEGL.so\n" [ 1301 ms] ~" No libGLESv2.so\n" [ 1301 ms] ~" No libremotedesktop_client.so\n" [ 1302 ms] ~" No libgui.so\n" [ 1302 ms] ~" No libcamera_client.so\n" [ 1303 ms] ~" No libgabi++.so\n" [ 1303 ms] ~" No libicuuc.so\n" [ 1304 ms] ~" No libicui18n.so\n" [ 1304 ms] ~" No libsqlite.so\n" [ 1304 ms] ~" No libdvm.so\n" [ 1305 ms] ~" No libGLESv1_CM.so\n" [ 1305 ms] ~" No libETC1.so\n" [ 1306 ms] ~" No libomadrm.so\n" [ 1306 ms] ~" No libsonivox.so\n" [ 1307 ms] ~" No libcrypto.so\n" [ 1307 ms] ~" No libssl.so\n" [ 1308 ms] ~" No libstagefright_foundation.so\n" [ 1308 ms] ~" No libspeexresampler.so\n" [ 1309 ms] ~" No libaudioutils.so\n" [ 1309 ms] ~" No libmedia_native.so\n" [ 1310 ms] ~" No libsecnativefeature.so\n" [ 1310 ms] ~" No libmedia.so\n" [ 1311 ms] ~" No libusbhost.so\n" [ 1311 ms] ~" No libharfbuzz.so\n" [ 1312 ms] ~" No libhwui.so\n" [ 1312 ms] ~" No libbluedroid.so\n" [ 1312 ms] ~" No libdbus.so\n" [ 1313 ms] ~" No libsecril-client.so\n" [ 1313 ms] ~" No libandroid_runtime.so\n" [ 1314 ms] ~" No libjavacore.so\n" [ 1314 ms] ~" No libandroid.so\n" [ 1315 ms] ~" No libchromium_net.so\n" [ 1315 ms] ~" No libwebcore.so\n" [ 1316 ms] ~" No libdrmframework.so\n" [ 1316 ms] ~" No libstagefright_omx.so\n" [ 1317 ms] ~" No libstagefright_yuv.so\n" [ 1317 ms] ~" No libvorbisidec.so\n" [ 1318 ms] ~" No libstagefright_strm_snooper.so\n" [ 1318 ms] ~" No libstagefright_enc_common.so\n" [ 1319 ms] ~" No libstagefright_avc_common.so\n" [ 1319 ms] ~" No libsavscmn.so\n" [ 1320 ms] ~" No libsavsff.so\n" [ 1320 ms] ~" No libtvoutinterface.so\n" [ 1321 ms] ~" No libtvoutservice.so\n" [ 1321 ms] ~" No libstagefright.so\n" [ 1322 ms] ~" No libmtp.so\n" [ 1322 ms] ~" No libexif.so\n" [ 1323 ms] ~" No libstagefright_amrnb_common.so\n" [ 1323 ms] ~" No libmedia_jni.so\n" [ 1325 ms] ~" No libbcinfo.so\n" [ 1325 ms] ~" No libbcc.so\n" [ 1326 ms] ~" No libRS.so\n" [ 1326 ms] ~" No librs_jni.so\n" [ 1326 ms] ~" No libwilhelm.so\n" [ 1326 ms] ~" No libOpenSLES.so\n" [ 1328 ms] ~"0x4c4e50b8 0x4c4e7448 Yes C:\\hyperspace\\dev\\muvix-git\\research\\audio_processing\\audiotest\\app\\src\\main\\obj\\local\\armeabi-v7a\\libopensl_example.so\n" [ 1329 ms] ~" No libUMP.so\n" [ 1329 ms] ~" No libMali.so\n" [ 1330 ms] ~" No libEGL_mali.so\n" [ 1330 ms] ~" No libGLESv1_CM_mali.so\n" [ 1331 ms] ~" No libGLESv2_mali.so\n" [ 1331 ms] ~" No libsecion.so\n" [ 1332 ms] ~" No gralloc.smdk4210.so\n" [ 1332 ms] ^done [ 1376 ms] -data-evaluate-expression "\*\(\(unsigned\ short\ \*\)0x401baac4\)" [ 1388 ms] ^done,value="18288" [ 1388 ms] Found rtld_db_dlactivity() at 0x401baac4 [ 2922 ms] -break-insert -f c:\hyperspace\dev\muvix-git\research\audio_processing\audiotest\app\src\main\jni\opensl_example.c:42 [ 2951 ms] ^done,bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x4c4e5130",func="start_process",file="jni/opensl_example.c",fullname="C:\\hyperspace\\dev\\muvix-git\\research\\audio_processing\\audiotest\\app\\src\\main\\jni\\opensl_example.c",line="42",thread-groups=["i1"],times="0",original-location="c:\\hyperspace\\dev\\muvix-git\\research\\audio_processing\\audiotest\\app\\src\\main\\jni\\opensl_example.c:42"} [ 2951 ms] -break-info 2 [ 2965 ms] ^done,BreakpointTable={nr_rows="1",nr_cols="6",hdr=[{width="7",alignment="-1",col_name="number",colhdr="Num"},{width="14",alignment="-1",col_name="type",colhdr="Type"},{width="4",alignment="-1",col_name="disp",colhdr="Disp"},{width="3",alignment="-1",col_name="enabled",colhdr="Enb"},{width="10",alignment="-1",col_name="addr",colhdr="Address"},{width="40",alignment="2",col_name="what",colhdr="What"}],body=[bkpt={number="2",type="breakpoint",disp="keep",enabled="y",addr="0x4c4e5130",func="start_process",file="jni/opensl_example.c",fullname="C:\\hyperspace\\dev\\muvix-git\\research\\audio_processing\\audiotest\\app\\src\\main\\jni\\opensl_example.c",line="42",thread-groups=["i1"],times="0",original-location="c:\\hyperspace\\dev\\muvix-git\\research\\audio_processing\\audiotest\\app\\src\\main\\jni\\opensl_example.c:42"}]} [ 2965 ms] -break-after 2 0 [ 2975 ms] ^done [ 2975 ms] info symbol 0x4c4e5130 [ 2985 ms] &"info symbol 0x4c4e5130\n" [ 2986 ms] ~"start_process + 12 in section .text of C:\\hyperspace\\dev\\muvix-git\\research\\audio_processing\\audiotest\\app\\src\\main\\obj\\local\\armeabi-v7a\\libopensl_example.so\n" [ 2986 ms] ^done [ 2987 ms] info line *0x4c4e5130 [ 2996 ms] &"info line *0x4c4e5130\n" [ 2997 ms] ~"Line 43 of \"jni/opensl_example.c\" starts at address 0x4c4e5130 <start_process+12> and ends at 0x4c4e5134 <start_process+16>.\n" [ 2997 ms] ^done [ 2997 ms] -exec-continue [ 3044 ms] ^error,msg="Warning:\nCannot insert breakpoint -5.\nError accessing memory address 0xffff1bf8: Input/output error.\n" [ 113426 ms] -stack-list-frames --thread 1 [ 113488 ms] ^done,stack=[frame={level="0",addr="0x400efa70",func="epoll_wait",from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},frame={level="1",addr="0x4014789c",func="??"},frame={level="2",addr="0x4014789c",func="??"}] [ 113488 ms] -stack-list-arguments --thread 1 0 [ 113498 ms] ^done,stack-args=[frame={level="0",args=[]},frame={level="1",args=[]},frame={level="2",args=[]}] [ 113499 ms] -data-evaluate-expression "sizeof(void *)" [ 113508 ms] ^done,value="4" [ 113508 ms] -data-evaluate-expression "sizeof(int)" [ 113518 ms] ^done,value="4" [ 113518 ms] -data-evaluate-expression "sizeof(short)" [ 113529 ms] -data-evaluate-expression "sizeof(long)" [ 113529 ms] -data-evaluate-expression "sizeof(long)" [ 113529 ms] ^done,value="2" [ 113539 ms] ^done,value="4" [ 113539 ms] -data-evaluate-expression "sizeof(long long)" [ 113539 ms] ^done,value="8" [ 113539 ms] -data-evaluate-expression "sizeof(char)" [ 113539 ms] ^done,value="1" [ 113539 ms] -data-evaluate-expression "sizeof(wchar_t)" [ 113540 ms] ^error,msg="No symbol \"wchar_t\" in current context." [ 113540 ms] -data-evaluate-expression "sizeof(float)" [ 113540 ms] ^done,value="4" [ 113540 ms] -data-evaluate-expression "sizeof(double)" [ 113541 ms] ^done,value="8" [ 113541 ms] -data-evaluate-expression "sizeof(long double)" [ 113541 ms] ^done,value="8" [ 113542 ms] -thread-info [ 113566 ms] =thread-created,id="2",group-id="i1" [ 113567 ms] ~"[New Thread 32211]\n" [ 113569 ms] =thread-created,id="3",group-id="i1" [ 113570 ms] ~"[New Thread 32212]\n" [ 113570 ms] =thread-created,id="4",group-id="i1" [ 113570 ms] ~"[New Thread 32213]\n" [ 113570 ms] =thread-created,id="5",group-id="i1" [ 113570 ms] ~"[New Thread 32215]\n" [ 113570 ms] =thread-created,id="6",group-id="i1" [ 113571 ms] ~"[New Thread 32216]\n" [ 113571 ms] =thread-created,id="7",group-id="i1" [ 113571 ms] ~"[New Thread 32217]\n" [ 113571 ms] =thread-created,id="8",group-id="i1" [ 113571 ms] ~"[New Thread 32218]\n" [ 113571 ms] =thread-created,id="9",group-id="i1" [ 113572 ms] ~"[New Thread 32219]\n" [ 113572 ms] =thread-created,id="10",group-id="i1" [ 113572 ms] ~"[New Thread 32220]\n" [ 113572 ms] =thread-created,id="11",group-id="i1" [ 113572 ms] ~"[New Thread 32224]\n" [ 113572 ms] =thread-created,id="12",group-id="i1" [ 113573 ms] ~"[New Thread 32225]\n" [ 113573 ms] =thread-created,id="13",group-id="i1" [ 113573 ms] ~"[New Thread 32226]\n" [ 114085 ms] ^done,threads=[{id="13",target-id="Thread 32226",frame={level="0",addr="0x400eeb90",func="__ioctl",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="12",target-id="Thread 32225",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="11",target-id="Thread 32224",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="10",target-id="Thread 32220",frame={level="0",addr="0x400eeb90",func="__ioctl",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="9",target-id="Thread 32219",frame={level="0",addr="0x400eeb90",func="__ioctl",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"},{id="8",target-id="Thread 32218",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="7",target-id="Thread 32217",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"},{id="6",target-id="Thread 32216",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="5",target-id="Thread 32215",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="4",target-id="Thread 32213",frame={level="0",addr="0x400ef758",func="recvmsg",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"},{id="3",target-id="Thread 32212",frame={level="0",addr="0x400ef554",func="__rt_sigtimedwait",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"},{id="2",target-id="Thread 32211",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"},{id="1",target-id="Thread 32207",frame={level="0",addr="0x400efa70",func="epoll_wait",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"}],current-thread-id="1" [ 115955 ms] -thread-info [ 116224 ms] ^done,threads=[{id="13",target-id="Thread 32226",frame={level="0",addr="0x400eeb90",func="__ioctl",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="12",target-id="Thread 32225",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="11",target-id="Thread 32224",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="10",target-id="Thread 32220",frame={level="0",addr="0x400eeb90",func="__ioctl",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="9",target-id="Thread 32219",frame={level="0",addr="0x400eeb90",func="__ioctl",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"},{id="8",target-id="Thread 32218",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="7",target-id="Thread 32217",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"},{id="6",target-id="Thread 32216",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="5",target-id="Thread 32215",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="1"},{id="4",target-id="Thread 32213",frame={level="0",addr="0x400ef758",func="recvmsg",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"},{id="3",target-id="Thread 32212",frame={level="0",addr="0x400ef554",func="__rt_sigtimedwait",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"},{id="2",target-id="Thread 32211",frame={level="0",addr="0x400efca0",func="__futex_syscall3",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"},{id="1",target-id="Thread 32207",frame={level="0",addr="0x400efa70",func="epoll_wait",args=[],from="C:\\Users\\root\\AppData\\Local\\VisualGDB\\AndroidBinaryCache\\304D1934FE02821F\\libc.so"},state="stopped",core="0"}],current-thread-id="1" [ 119716 ms] kill [ 119721 ms] &"kill\n" [ 119721 ms] ~"Kill the program being debugged? (y or n) [answered Y; input not from terminal]\n" [ 119722 ms] =thread-group-exited,id="i1" [ 119722 ms] ^done [ 119725 ms] -gdb-exit [ 119732 ms] ^exit
March 2, 2015 at 05:06 #6183supportKeymasterHi,
This looks like a bug in the Android toolchain caused by incompatibility between your Android version and the toolchain version. The only known solution to this is to try different toolchains (selected on the Makefile Settings page of VisualGDB Project Properties). If this does not help, please try another device.
-
AuthorPosts
- You must be logged in to reply to this topic.