https://bugzilla.novell.com/show_bug.cgi?id=655765
https://bugzilla.novell.com/show_bug.cgi?id=655765#c0 Summary: Preview 8 requires Android 2.2 for OpenGL Application Classification: Mono Product: MonoDroid Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Runtime AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: Beta-Customer Blocker: --- Description of Problem: Attempting to run an OpenGL Application on and Android version prior to 2.2 results in a JNI error and the application aborts Steps to reproduce the problem: 1. Create a new OpenGL Project 2. Run the Application on a 2.1update1 or earlier device/Emulator Actual Results: I/ActivityManager( 53): Process opengl.r8735.test.opengl.r8735.test (pid 300) has died. I/UsageStats( 53): Unexpected resume of com.android.launcher while already res umed in opengl.r8735.test.opengl.r8735.test W/InputManagerService( 53): Window already focused, ignoring focus gain of: co m.android.internal.view.iinputmethodclient$stub$pr...@43d0f370 D/AndroidRuntime( 313): D/AndroidRuntime( 313): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< D/AndroidRuntime( 313): CheckJNI is ON D/AndroidRuntime( 313): --- registering native functions --- D/AndroidRuntime( 313): Shutting down VM D/dalvikvm( 313): DestroyJavaVM waiting for non-daemon threads to exit D/dalvikvm( 313): DestroyJavaVM shutting VM down D/dalvikvm( 313): HeapWorker thread shutting down D/dalvikvm( 313): HeapWorker thread has shut down E/AndroidRuntime( 313): ERROR: thread attach failed D/jdwp ( 313): JDWP shutting down net... I/jdwp ( 313): adbd disconnected D/dalvikvm( 313): VM cleaning up D/dalvikvm( 313): LinearAlloc 0x0 used 627324 of 5242880 (11%) D/AndroidRuntime( 322): D/AndroidRuntime( 322): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< D/AndroidRuntime( 322): CheckJNI is ON D/AndroidRuntime( 322): --- registering native functions --- D/AndroidRuntime( 322): Shutting down VM D/dalvikvm( 322): DestroyJavaVM waiting for non-daemon threads to exit D/dalvikvm( 322): DestroyJavaVM shutting VM down D/dalvikvm( 322): HeapWorker thread shutting down D/dalvikvm( 322): HeapWorker thread has shut down D/jdwp ( 322): JDWP shutting down net... I/jdwp ( 322): adbd disconnected D/dalvikvm( 322): VM cleaning up E/AndroidRuntime( 322): ERROR: thread attach failed D/dalvikvm( 322): LinearAlloc 0x0 used 627324 of 5242880 (11%) D/AndroidRuntime( 335): D/AndroidRuntime( 335): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<< D/AndroidRuntime( 335): CheckJNI is ON D/AndroidRuntime( 335): --- registering native functions --- I/ActivityManager( 53): Starting activity: Intent { act=android.intent.action. MAIN flg=0x10000000 cmp=opengl.r8735.test.opengl.r8735.test/opengl.r8735.test.Ac tivity1 } D/AndroidRuntime( 335): Shutting down VM D/dalvikvm( 335): DestroyJavaVM waiting for non-daemon threads to exit D/dalvikvm( 335): DestroyJavaVM shutting VM down D/dalvikvm( 335): HeapWorker thread shutting down D/dalvikvm( 335): HeapWorker thread has shut down D/jdwp ( 335): JDWP shutting down net... I/jdwp ( 335): adbd disconnected D/dalvikvm( 335): VM cleaning up E/AndroidRuntime( 335): ERROR: thread attach failed I/ActivityManager( 53): Start proc opengl.r8735.test.opengl.r8735.test for act ivity opengl.r8735.test.opengl.r8735.test/opengl.r8735.test.Activity1: pid=344 u id=10027 gids={3003, 1015} D/dalvikvm( 335): LinearAlloc 0x0 used 637292 of 5242880 (12%) I/ActivityThread( 344): Publishing provider opengl.r8735.test.opengl.r8735.test __mono_init__: mono.MonoRuntimeProvider D/dalvikvm( 344): Trying to load lib /data/data/opengl.r8735.test.opengl.r8735. test/lib/libmonodroid.so 0x43d0b940 D/dalvikvm( 344): Added shared lib /data/data/opengl.r8735.test.opengl.r8735.te st/lib/libmonodroid.so 0x43d0b940 D/dalvikvm( 344): +++ not scanning '/system/lib/libwebcore.so' for 'init' (wron g CL) D/dalvikvm( 344): +++ not scanning '/system/lib/libmedia_jni.so' for 'init' (wr ong CL) D/dalvikvm( 344): +++ not scanning '/system/lib/libexif.so' for 'init' (wrong C L) I/*jonp* ( 344): debug.mono.extra=debug=10.0.2.2:52780:52781,timeout=129061044 8 I/MonoDroid-Debugger( 344): Trying to initialize the debugger with options: --d ebugger-agent=transport=dt_socket,address=10.0.2.2:52780,embedding=1 I/*jonp* ( 344): start: 0x46b04000 end: 0x4787ebbd le n: 14134205 apk: /data/app/com.novell.monodroid.runtimeservice.apk I/*jonp* ( 344): file-offset: 241aac start: 0x46d45aac end: 0x46debcac le n: 680448 assembly: assemblies/I18N.CJK.dll [MZ......] I/*jonp* ( 344): file-offset: 2eb9c0 start: 0x46def9c0 end: 0x46df75c0 le n: 31744 assembly: assemblies/I18N.dll [MZ......] I/*jonp* ( 344): file-offset: 2f4964 start: 0x46df8964 end: 0x46dffb64 le n: 29184 assembly: assemblies/I18N.MidEast.dll [MZ......] I/*jonp* ( 344): file-offset: 2fd07c start: 0x46e0107c end: 0x46e08e7c le n: 32256 assembly: assemblies/I18N.Other.dll [MZ......] I/*jonp* ( 344): file-offset: 306af8 start: 0x46e0aaf8 end: 0x46e346f8 le n: 171008 assembly: assemblies/I18N.Rare.dll [MZ......] I/*jonp* ( 344): file-offset: 33a104 start: 0x46e3e104 end: 0x46e4e104 le n: 65536 assembly: assemblies/I18N.West.dll [MZ......] I/*jonp* ( 344): file-offset: 34d2bc start: 0x46e512bc end: 0x46e5eabc le n: 55296 assembly: assemblies/Mono.Cairo.dll [MZ......] I/*jonp* ( 344): file-offset: 36083c start: 0x46e6483c end: 0x46e6f63c le n: 44544 assembly: assemblies/Mono.CompilerServices.SymbolWriter.dll [MZ .....] I/*jonp* ( 344): file-offset: 36ec20 start: 0x46e72c20 end: 0x46e9bc20 le n: 167936 assembly: assemblies/Mono.Data.Sqlite.dll [MZ......] I/*jonp* ( 344): file-offset: 3a2080 start: 0x46ea6080 end: 0x46ebdc80 le n: 97280 assembly: assemblies/Mono.Data.Tds.dll [MZ......] I/*jonp* ( 344): file-offset: 3c2d78 start: 0x46ec6d78 end: 0x46f0e578 le n: 292864 assembly: assemblies/Mono.Security.dll [MZ......] I/*jonp* ( 344): file-offset: 42f428 start: 0x46f33428 end: 0x47196628 le n: 2503168 assembly: assemblies/mscorlib.dll [MZ......] I/*jonp* ( 344): file-offset: 7b1184 start: 0x472b5184 end: 0x472f5384 le n: 262656 assembly: assemblies/System.Core.dll [MZ......] I/*jonp* ( 344): file-offset: 80c418 start: 0x47310418 end: 0x473be818 le n: 713728 assembly: assemblies/System.Data.dll [MZ......] I/*jonp* ( 344): file-offset: 904444 start: 0x47408444 end: 0x47501c44 le n: 1021952 assembly: assemblies/System.dll [MZ......] I/*jonp* ( 344): file-offset: a6fc9c start: 0x47573c9c end: 0x47574a9c le n: 3584 assembly: assemblies/System.EnterpriseServices.dll [MZ......] I/*jonp* ( 344): file-offset: a70c54 start: 0x47574c54 end: 0x4757aa54 le n: 24064 assembly: assemblies/System.Json.dll [MZ......] I/*jonp* ( 344): file-offset: a78918 start: 0x4757c918 end: 0x4759a918 le n: 122880 assembly: assemblies/System.Runtime.Serialization.dll [MZ...... ] I/*jonp* ( 344): file-offset: aa3120 start: 0x475a7120 end: 0x475fa120 le n: 339968 assembly: assemblies/System.ServiceModel.dll [MZ......] I/*jonp* ( 344): file-offset: b22a4c start: 0x47626a4c end: 0x4763d84c le n: 93696 assembly: assemblies/System.ServiceModel.Web.dll [MZ......] I/*jonp* ( 344): file-offset: b42c04 start: 0x47646c04 end: 0x4764da04 le n: 28160 assembly: assemblies/System.Transactions.dll [MZ......] I/*jonp* ( 344): file-offset: b4d074 start: 0x47651074 end: 0x47688274 le n: 225792 assembly: assemblies/System.Web.Services.dll [MZ......] I/*jonp* ( 344): file-offset: ba0aa0 start: 0x476a4aa0 end: 0x477d38a0 le n: 1240576 assembly: assemblies/System.Xml.dll [MZ......] I/*jonp* ( 344): file-offset: d5364c start: 0x4785764c end: 0x47870e4c le n: 104448 assembly: assemblies/System.Xml.Linq.dll [MZ......] I/*jonp* ( 344): start: 0x4787f000 end: 0x486bd58b le n: 14935435 apk: /data/app/opengl.r8735.test.opengl.r8735.test.apk I/*jonp* ( 344): file-offset: 1ab7c start: 0x47899b7c end: 0x4789b37c le n: 6144 assembly: assemblies/OpenGL.R8735.Test.dll [MZ......] I/*jonp* ( 344): file-offset: 1c7f8 start: 0x4789b7f8 end: 0x479057f8 le n: 434176 assembly: assemblies/OpenTK.dll [MZ......] I/*jonp* ( 344): file-offset: ad5cc start: 0x4792c5cc end: 0x47a25dcc le n: 1021952 assembly: assemblies/System.dll [MZ......] I/*jonp* ( 344): file-offset: 218e18 start: 0x47a97e18 end: 0x483c3818 le n: 9615872 assembly: assemblies/Mono.Android.dll [MZ......] D/dalvikvm( 344): GC freed 13937 objects / 496040 bytes in 93ms D/dalvikvm( 344): GC freed 10681 objects / 454880 bytes in 75ms D/dalvikvm( 344): +++ not scanning '/system/lib/libwebcore.so' for 'register' ( wrong CL) D/dalvikvm( 344): +++ not scanning '/system/lib/libmedia_jni.so' for 'register' (wrong CL) D/dalvikvm( 344): +++ not scanning '/system/lib/libexif.so' for 'register' (wro ng CL) W/ActivityManager( 53): Launch timeout has expired, giving up wake lock! W/ActivityManager( 53): Activity idle timeout for HistoryRecord{43cf0dd8 openg l.r8735.test.opengl.r8735.test/opengl.r8735.test.Activity1} D/dalvikvm( 344): GC freed 11385 objects / 488408 bytes in 90ms E/dalvikvm( 344): JNI ERROR: NewWeakGlobalRef not implemented E/dalvikvm( 344): VM aborting Expected Results: Application runs. How often does this happen? Every time. Additional Information: Non OpenGL Application function properly -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
