Bug 19052 - basic empty Android OpenGL project dies in Android emulator
Summary: basic empty Android OpenGL project dies in Android emulator
Status: RESOLVED NORESPONSE
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.13.x
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Radek Doulik
URL:
Depends on:
Blocks:
 
Reported: 2014-04-15 09:40 UTC by Rainer Mager
Modified: 2017-06-27 00:17 UTC (History)
3 users (show)

Tags: bb
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Rainer Mager 2014-04-15 09:40:08 UTC
I have an existing solution that I've released for iOS. I'm now trying to port it to Android. I started by creating an empty OpenGL project in the existing solution. When I run this project in the Android simulator it crashes with the following log shown below. I don't see any errors in this output, so I have no idea how to fix this problem.



Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand]:      emulator-5554 "pm" "path" "android"
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- Start WaitUntilReady - 04/15/2014 22:28:32 (1106.8137ms) --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [INPUT] "pm" "path" "android"
Mono.AndroidTools.AndroidLogger Verbose: 0 : [OUTPUT]
package:/system/framework/framework-res.apk
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- End WaitUntilReady --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand]:      emulator-5554 am broadcast -a mono.android.intent.action.PACKAGE_VERSIONS -e "packages" "Mono.Android.DebugRuntime,Mono.Android.Platform.ApiLevel_19,Zoing.Android" Mono.Android.DebugRuntime/com.xamarin.mono.android.PackageVersions
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- Start Broadcast - 04/15/2014 22:28:33 (1209.8778ms) --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [INPUT] am broadcast -a mono.android.intent.action.PACKAGE_VERSIONS -e "packages" "Mono.Android.DebugRuntime,Mono.Android.Platform.ApiLevel_19,Zoing.Android" Mono.Android.DebugRuntime/com.xamarin.mono.android.PackageVersions
Mono.AndroidTools.AndroidLogger Verbose: 0 : [OUTPUT]
Broadcasting: Intent { act=mono.android.intent.action.PACKAGE_VERSIONS cmp=Mono.Android.DebugRuntime/com.xamarin.mono.android.PackageVersions (has extras) }
Broadcast completed: result=0, data="Mono.Android.DebugRuntime=1394132003,Mono.Android.Platform.ApiLevel_19=1394132003,Zoing.Android=1"
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- End Broadcast --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:InstallPackage]:       Checking whether app Zoing.Android is running
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand]:      emulator-5554 ps
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- Start GetProcessId - 04/15/2014 22:28:35 (87.0795ms) --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [INPUT] ps
Mono.AndroidTools.AndroidLogger Verbose: 0 : [OUTPUT]
USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
root      1     0     276    188   c0099f1c 000086e8 S /init
root      2     0     0      0     c004df64 00000000 S kthreadd
root      3     2     0      0     c003fa28 00000000 S ksoftirqd/0
root      4     2     0      0     c004abc0 00000000 S events/0
root      5     2     0      0     c004abc0 00000000 S khelper
root      6     2     0      0     c004abc0 00000000 S suspend
root      7     2     0      0     c004abc0 00000000 S kblockd/0
root      8     2     0      0     c004abc0 00000000 S cqueue
root      9     2     0      0     c0178c7c 00000000 S kseriod
root      10    2     0      0     c004abc0 00000000 S kmmcd
root      11    2     0      0     c006efa8 00000000 S pdflush
root      12    2     0      0     c006efa8 00000000 S pdflush
root      13    2     0      0     c0073480 00000000 S kswapd0
root      14    2     0      0     c004abc0 00000000 S aio/0
root      24    2     0      0     c01764ac 00000000 S mtdblockd
root      25    2     0      0     c004abc0 00000000 S kstriped
root      26    2     0      0     c004abc0 00000000 S hid_compat
root      27    2     0      0     c004abc0 00000000 S rpciod/0
root      28    2     0      0     c0193fd0 00000000 S mmcqd
root      29    1     252    156   c0099f1c 000086e8 S /sbin/ueventd
system    30    1     776    284   c019ff30 40010690 S /system/bin/servicemanager
root      31    1     3964   772   ffffffff 40015c94 S /system/bin/vold
root      33    1     6300   1020  ffffffff 40040c94 S /system/bin/netd
root      34    1     640    280   c01abd48 4000cf98 S /system/bin/debuggerd
radio     35    1     5440   764   ffffffff 40010c94 S /system/bin/rild
system    36    1     19628  6216  ffffffff 40036690 S /system/bin/surfaceflinger
root      37    1     148376 34612 ffffffff 400107b4 S zygote
media     38    1     25672  5800  ffffffff 4004f690 S /system/bin/mediaserver
root      39    1     792    344   c0207be4 40010458 S /system/bin/installd
keystore  40    1     1680   548   c01abd48 40010f98 S /system/bin/keystore
root      41    1     776    308   c00b72d0 400113c0 S /system/bin/qemud
shell     44    1     704    308   c014ea24 4000c458 S /system/bin/sh
root      45    1     5440   212   ffffffff 0000825c S /sbin/adbd
system    78    37    225112 52240 ffffffff 40010690 S system_server
system    186   37    161464 38144 ffffffff 400113c0 S com.android.systemui
app_6     200   37    158700 31132 ffffffff 400113c0 S com.android.inputmethod.latin
radio     213   37    178400 32980 ffffffff 400113c0 S com.android.phone
system    228   37    168236 40364 ffffffff 400113c0 S com.android.settings
app_1     265   37    185316 51724 ffffffff 400113c0 S android.process.acore
app_21    311   37    165524 29188 ffffffff 400113c0 S com.android.calendar
app_34    329   37    159648 28260 ffffffff 400113c0 S com.android.deskclock
app_11    342   37    161468 28976 ffffffff 400113c0 S com.android.providers.calendar
app_7     389   37    160780 29992 ffffffff 400113c0 S android.process.media
app_17    409   37    162996 27820 ffffffff 400113c0 S com.android.exchange
app_27    422   37    171780 32764 ffffffff 400113c0 S com.android.email
app_28    447   37    161524 29372 ffffffff 400113c0 S com.android.mms
app_13    533   37    186920 58996 ffffffff 400113c0 S com.android.launcher
app_3     557   37    158788 26772 ffffffff 400113c0 S com.android.defcontainer
app_33    572   37    159244 27656 ffffffff 400113c0 S com.android.quicksearchbox
app_23    597   37    156712 26132 ffffffff 400113c0 S com.svox.pico
app_40    789   37    156704 25956 ffffffff 400113c0 S Mono.Android.DebugRuntime
system    816   37    156768 26980 ffffffff 400113c0 S com.android.keychain
root      852   45    704    328   c003d800 4000d284 S /system/bin/sh
root      854   852   660    352   c0099f1c 400107b4 S logcat
root      975   45    704    328   c003d800 4000d284 S /system/bin/sh
root      977   975   900    352   00000000 40010458 R ps
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- End GetProcessId --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:InstallPackage]:       App was not running, skipping kill
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand]:      emulator-5554 date +%s
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- Start GetDate - 04/15/2014 22:28:36 (28.3806ms) --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [INPUT] date +%s
Mono.AndroidTools.AndroidLogger Verbose: 0 : [OUTPUT]
1397568515
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- End GetDate --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand]:      emulator-5554 setprop "debug.mono.extra" "debug=127.0.0.1:8837:8838,timeout=1397568545,loglevel=0,server=y"
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- Start SetProperty - 04/15/2014 22:28:36 (21.9727ms) --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [INPUT] setprop "debug.mono.extra" "debug=127.0.0.1:8837:8838,timeout=1397568545,loglevel=0,server=y"
Mono.AndroidTools.AndroidLogger Verbose: 0 : [OUTPUT]

Mono.AndroidTools.AndroidLogger Verbose: 0 : -- End SetProperty --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand]:      emulator-5554 am start -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n Zoing.Android/zoing.android.TrialSplashScreen
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- Start StartActivity - 04/15/2014 22:28:36 (1189.8482ms) --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [INPUT] am start -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -n Zoing.Android/zoing.android.TrialSplashScreen
Mono.AndroidTools.AndroidLogger Verbose: 0 : [OUTPUT]
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=Zoing.Android/zoing.android.TrialSplashScreen }
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- End StartActivity --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand]:      emulator-5554 ps
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- Start GetProcessId - 04/15/2014 22:28:42 (104.9818ms) --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [INPUT] ps
Mono.AndroidTools.AndroidLogger Verbose: 0 : [OUTPUT]
USER     PID   PPID  VSIZE  RSS     WCHAN    PC         NAME
root      1     0     276    188   c0099f1c 000086e8 S /init
root      2     0     0      0     c004df64 00000000 S kthreadd
root      3     2     0      0     c003fa28 00000000 S ksoftirqd/0
root      4     2     0      0     c004abc0 00000000 S events/0
root      5     2     0      0     c004abc0 00000000 S khelper
root      6     2     0      0     c004abc0 00000000 S suspend
root      7     2     0      0     c004abc0 00000000 S kblockd/0
root      8     2     0      0     c004abc0 00000000 S cqueue
root      9     2     0      0     c0178c7c 00000000 S kseriod
root      10    2     0      0     c004abc0 00000000 S kmmcd
root      11    2     0      0     c006efa8 00000000 S pdflush
root      12    2     0      0     c006efa8 00000000 S pdflush
root      13    2     0      0     c0073480 00000000 S kswapd0
root      14    2     0      0     c004abc0 00000000 S aio/0
root      24    2     0      0     c01764ac 00000000 S mtdblockd
root      25    2     0      0     c004abc0 00000000 S kstriped
root      26    2     0      0     c004abc0 00000000 S hid_compat
root      27    2     0      0     c004abc0 00000000 S rpciod/0
root      28    2     0      0     c0193fd0 00000000 S mmcqd
root      29    1     252    156   c0099f1c 000086e8 S /sbin/ueventd
system    30    1     776    284   c019ff30 40010690 S /system/bin/servicemanager
root      31    1     3964   772   ffffffff 40015c94 S /system/bin/vold
root      33    1     6300   1020  ffffffff 40040c94 S /system/bin/netd
root      34    1     640    280   c01abd48 4000cf98 S /system/bin/debuggerd
radio     35    1     5440   764   ffffffff 40010c94 S /system/bin/rild
system    36    1     20112  6708  ffffffff 40036690 S /system/bin/surfaceflinger
root      37    1     148376 34612 ffffffff 400107b4 S zygote
media     38    1     25672  5800  ffffffff 4004f690 S /system/bin/mediaserver
root      39    1     792    344   c0207be4 40010458 S /system/bin/installd
keystore  40    1     1680   548   c01abd48 40010f98 S /system/bin/keystore
root      41    1     776    308   c00b72d0 400113c0 S /system/bin/qemud
shell     44    1     704    308   c014ea24 4000c458 S /system/bin/sh
root      45    1     5440   212   ffffffff 0000825c S /sbin/adbd
system    78    37    225692 52832 ffffffff 40010690 S system_server
system    186   37    161464 38144 ffffffff 400113c0 S com.android.systemui
app_6     200   37    158700 31132 ffffffff 400113c0 S com.android.inputmethod.latin
radio     213   37    178400 32980 ffffffff 400113c0 S com.android.phone
system    228   37    168236 40364 ffffffff 400113c0 S com.android.settings
app_1     265   37    185316 51724 ffffffff 400113c0 S android.process.acore
app_21    311   37    165524 29188 ffffffff 400113c0 S com.android.calendar
app_34    329   37    159648 28260 ffffffff 400113c0 S com.android.deskclock
app_11    342   37    161468 28976 ffffffff 400113c0 S com.android.providers.calendar
app_7     389   37    160780 29992 ffffffff 400113c0 S android.process.media
app_17    409   37    162996 27820 ffffffff 400113c0 S com.android.exchange
app_27    422   37    171780 32764 ffffffff 400113c0 S com.android.email
app_28    447   37    161524 29372 ffffffff 400113c0 S com.android.mms
app_13    533   37    186908 59068 ffffffff 400113c0 S com.android.launcher
app_3     557   37    158788 26772 ffffffff 400113c0 S com.android.defcontainer
app_33    572   37    159244 27656 ffffffff 400113c0 S com.android.quicksearchbox
app_23    597   37    156712 26132 ffffffff 400113c0 S com.svox.pico
app_40    789   37    156704 25956 ffffffff 400113c0 S Mono.Android.DebugRuntime
system    816   37    156768 26980 ffffffff 400113c0 S com.android.keychain
root      852   45    704    328   c003d800 4000d284 S /system/bin/sh
root      854   852   660    352   c0099f1c 400107b4 S logcat
app_42    996   37    156920 26268 ffffffff 40010690 S Zoing.Android
root      1011  45    704    328   c003d800 4000d284 S /system/bin/sh
root      1013  1011  900    352   00000000 40010458 R ps
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- End GetProcessId --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:GetLogCat]:            logcat -v time
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand]:      emulator-5554 logcat -v time
Mono.AndroidTools.AndroidLogger Verbose: 0 : [D:RunShellCommand]:      emulator-5554 am force-stop Zoing.Android
Mono.AndroidTools.AndroidLogger Verbose: 0 : -- Start ForceStop - 04/15/2014 22:28:42 (1206.9171ms) --
Mono.AndroidTools.AndroidLogger Verbose: 0 : [INPUT] am force-stop Zoing.Android
Mono.AndroidTools.AndroidLogger Verbose: 0 : [OUTPUT]

Mono.AndroidTools.AndroidLogger Verbose: 0 : -- End ForceStop --
Comment 1 Prashant manu 2014-05-02 06:42:55 UTC
We have checked,Android OpenGL application build and deploy successfully on emulator.

Could you please attach a small complete project that demonstrates this behavior?

Also can you please add the logs from the following places?:
On XS IDE Log  Location: XS>Help> Open Log Directory> IDE.log file (with latest
timestamp)
AndroidTools log: XS->Help->Open Log Directory->AndroidTools.log

Environment Info:
All MAC
XS 4.2.3(build 60)
Xam.Android 4.12.3.3-1
Comment 2 Chris Hardy [MSFT] 2017-06-26 18:00:20 UTC
Because we have not received a reply to our request for more information we are closing this issue. If you are still encountering this issue, please reopen the ticket with the requested information. Thanks!