[Mono-bugs] [Bug 638964] New: GLCube hangs after pause/resume
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Sep 13 12:31:32 EDT 2010
https://bugzilla.novell.com/show_bug.cgi?id=638964
https://bugzilla.novell.com/show_bug.cgi?id=638964#c0
Summary: GLCube hangs after pause/resume
Classification: Mono
Product: MonoDroid
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Class Libraries
AssignedTo: mkestner at novell.com
ReportedBy: jankit at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
Steps to reproduce:
1. Run GLCube, cube starts rotating
2. Pause (back button)
3. Resume.. cube resumes rotating, but stops after some time
Earlier I was able to repro this on the 1st resume itself, but now sometimes it
doesn't happen and I have to do pause/resume a few times to get it to hang :|
I get a hang on the device (Samsung Galaxy S) also, but I can't attach gdb to
that. This also hangs on the emulator and the trace below is from that.
I ran setup-debug-env.sh, and then run-gdb on the app and get this :
Attached; pid = 195
Listening on port 5039
GNU gdb 6.6
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=x86_64-unknown-linux-gnu
--target=arm-elf-linux".
(no debugging symbols found)
Remote debugging from host 127.0.0.1
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so" is
not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libstdc++.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libm.so" is
not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/liblog.so" is
not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libcutils.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libz.so" is
not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libutils.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libexpat.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libcrypto.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libssl.so" is
not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libicudata.so"
is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libicuuc.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libicui18n.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libsqlite.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libnativehelper.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libbinder.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libnetutils.so"
is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libEGL.so" is
not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libwpa_client.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libhardware_legacy.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libpixelflinger.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libhardware.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libui.so" is
not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libemoji.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libskia.so" is
not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libGLESv1_CM.so"
is not at the expected address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libskiagl.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libdvm.so" is
not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libsonivox.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libmedia.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libandroid_runtime.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libdrm1.so" is
not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libvorbisidec.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libopencore_common.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libopencore_net_support.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libopencore_player.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libomx_sharedlibrary.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libomx_amrenc_sharedlibrary.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libmedia_jni.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libexif.so" is
not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libsrec_jni.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libwebcore.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/hw/gralloc.default.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/mono.samples.gLCube/lib/libmonodroid.so"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/lib/libmono.so.armeabi"
is not at the expected address (wrong library or version mismatch?)
warning: .dynamic section for
"/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/egl/libGLES_android.so"
is not at the expected address (wrong library or version mismatch?)
(no debugging symbols found)
gdb: Unable to get location for thread creation breakpoint: requested event is
not supported
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
warning: Lowest section in
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libicudata.so
is .hash at 00000094
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
0xafe0da04 in __futex_wait () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
(gdb) thread apply all bt
Thread 9 (Thread 210):
#0 0xafe0d0ec in nanosleep () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#1 0x80f2cf30 in GC_lock () at ../../../libgc/pthread_support.c:1669
#2 0x80f18cf4 in GC_gcj_malloc (lb=52,
ptr_to_struct_containing_descr=0x2d1a0c) at ../../../libgc/gcj_mlc.c:153
#3 0x80e3bf5c in mono_object_allocate_spec (size=52, vtable=0x2d1a0c) at
./../../../mono/metadata/object.c:3871
#4 0x80e3bea0 in mono_object_new_alloc_specific (vtable=0x2d1a0c) at
./../../../mono/metadata/object.c:3948
#5 0x80e3bde8 in mono_object_new_specific (vtable=0x2d1a0c) at
./../../../mono/metadata/object.c:3937
#6 0x80e3bc1c in mono_object_new (domain=0x454e6f00, klass=0x2f70d0) at
./../../../mono/metadata/object.c:3897
#7 0x80da1b10 in mono_exception_from_name_domain (domain=0x454e6f00,
image=0x11cac8, name_space=0x80f44650 "System", name=0x80f44704
"NullReferenceException") at ../../../../mono/metadata/exception.c:59
#8 0x80da1a9c in mono_exception_from_name (image=0x11cac8,
name_space=0x80f44650 "System", name=0x80f44704 "NullReferenceException") at
./../../../mono/metadata/exception.c:34
#9 0x80da2198 in mono_get_exception_null_reference () at
./../../../mono/metadata/exception.c:279
#10 0x80d0bce8 in mono_handle_exception_internal (ctx=0x468b8ef0, obj=0x0,
original_ip=0xafe10c48, test_only=0, out_filter_idx=0x0, out_ji=0x0) at
./../../../mono/mini/mini-exceptions.c:1135
#11 0x80d0cfa0 in mono_handle_exception (ctx=0x468b8ef0, obj=0x0,
original_ip=0xafe10c48, test_only=0) at
./../../../mono/mini/mini-exceptions.c:1504
#12 0x80d51314 in mono_arch_handle_exception (ctx=0x468b9050, obj=0x0,
test_only=0) at ../../../../mono/mini/exceptions-arm.c:513
#13 0x80c2fa20 in mono_sigsegv_signal_handler (_dummy=11, info=0x468b8fd0,
context=0x468b9050) at ../../../../mono/mini/mini.c:4906
#14 0xffff050c in powf () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libm.so
#15 0x00000018 in ?? () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libm.so
Thread 8 (Thread 208):
#0 0xafe0d2cc in __sigsuspend () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#1 0xafe12694 in sigsuspend () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#2 0x80f2d1e4 in _GC_suspend_handler (sig=30) at
./../../libgc/pthread_stop_world.c:169
#3 0x80f2d25c in GC_suspend_handler (sig=30) at
./../../libgc/pthread_stop_world.c:192
#4 0xffff0500 in powf () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libm.so
#5 0x000000f0 in ?? () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libm.so
Thread 7 (Thread 207):
#0 0xafe0d0ec in nanosleep () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#1 0x80eb4e14 in collection_thread (unused=0x0) at
./../../../mono/io-layer/collection.c:34
#2 0xafe10004 in __thread_entry () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#3 0xafe0fad8 in pthread_create () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#4 0x00000000 in ?? () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libm.so
Thread 6 (Thread 200):
#0 0xafe0ca7c in __ioctl () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#1 0xafe1f5b8 in ioctl () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#2 0x004307f8 in ?? ()
Thread 5 (Thread 199):
#0 0xafe0ca7c in __ioctl () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#1 0xafe1f5b8 in ioctl () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#2 0x0011f1d0 in ?? ()
Thread 4 (Thread 198):
#0 0xafe0d56c in recvmsg () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#1 0xad04d9b4 in ?? () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libdvm.so
Thread 3 (Thread 197):
#0 0xafe0d32c in __rt_sigtimedwait () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#1 0xafe126b2 in sigwait () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#2 0xad07ff50 in ?? () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libdvm.so
Thread 2 (Thread 196):
#0 0xafe0da04 in __futex_wait () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#1 0xafe0f690 in __pthread_cond_timedwait_relative () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#2 0xafe0f718 in __pthread_cond_timedwait () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#3 0xad044332 in ?? () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libdvm.so
Thread 1 (Thread 195):
#0 0xafe0da04 in __futex_wait () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#1 0xafe0f690 in __pthread_cond_timedwait_relative () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#2 0xafe0f718 in __pthread_cond_timedwait () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
#3 0xad03f9be in ?? () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libdvm.so
---Type <return> to continue, or q <return> to quit---
#0 0xafe0da04 in __futex_wait () from
/home/radical/build/monodroid/mondroid/tools/scripts/system/lib/libc.so
(gdb)
This is from "adb logcat", on a freshly started emulator:
I/ActivityManager( 54): Start proc com.novell.monodroid.runtimeservice for
service com.novell.monodroid.runtimeservice/.MonoRuntimeService: pid=201
uid=10028 gids={}
I/ActivityManager( 54): Displayed activity
mono.samples.gLCube/.__Proxy__GLCubeActivity: 1291 ms (total 1291 ms)
I/ARMAssembler( 54): generated scanline__00000077:03545404_00000A04_00000000
[ 29 ipp] (51 ins) at [0x486228:0x4862f4] in 445657 ns
I/ActivityManager( 54): Starting activity: Intent {
cmp=mono.samples.gLCube/.GLCubeActivity }
D/dalvikvm( 195): Trying to load lib
/data/data/mono.samples.gLCube/lib/libmonodroid.so 0x43b86178
D/dalvikvm( 195): Added shared lib
/data/data/mono.samples.gLCube/lib/libmonodroid.so 0x43b86178
D/dalvikvm( 195): +++ not scanning '/system/lib/libwebcore.so' for 'init'
(wrong CL)
D/dalvikvm( 195): +++ not scanning '/system/lib/libmedia_jni.so' for 'init'
(wrong CL)
D/dalvikvm( 195): +++ not scanning '/system/lib/libexif.so' for 'init' (wrong
CL)
D/dalvikvm( 195): +++ not scanning '/system/lib/libwebcore.so' for 'register'
(wrong CL)
D/dalvikvm( 195): +++ not scanning '/system/lib/libmedia_jni.so' for
'register' (wrong CL)
D/dalvikvm( 195): +++ not scanning '/system/lib/libexif.so' for 'register'
(wrong CL)
I/ActivityManager( 54): Displayed activity
mono.samples.gLCube/.GLCubeActivity: 4821 ms (total 4821 ms)
D/AndroidGraphicsContext( 195): version: 1.1
D/libEGL ( 195): egl.cfg not found, using default config
D/libEGL ( 195): loaded /system/lib/egl/libGLES_android.so
D/AndroidGraphicsContext( 195): num_config: 1
I/ARMAssembler( 195): generated scanline__00000177:03010144_00000000_00000000
[ 26 ipp] (63 ins) at [0x42a088:0x42a184] in 4812624 ns
W/KeyCharacterMap( 195): No keyboard for id 0
W/KeyCharacterMap( 195): Using default keymap:
/system/usr/keychars/qwerty.kcm.bin
I/ARMAssembler( 54): generated scanline__00000177:03515104_00001001_00000000
[ 91 ipp] (114 ins) at [0x4726b0:0x472878] in 2724509 ns
D/dalvikvm( 101): GC freed 1766 objects / 87744 bytes in 106ms
I/ActivityManager( 54): Starting activity: Intent {
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
flg=0x10200000 cmp=mono.samples.gLCube/.__Proxy__GLCubeActivity }
I/ActivityManager( 54): Displayed activity
mono.samples.gLCube/.__Proxy__GLCubeActivity: 377 ms (total 377 ms)
D/dalvikvm( 54): GREF has increased to 301
I/ActivityManager( 54): Starting activity: Intent {
cmp=mono.samples.gLCube/.GLCubeActivity }
D/dalvikvm( 195): GREF has increased to 201
D/AndroidGraphicsContext( 195): version: 1.1
D/AndroidGraphicsContext( 195): num_config: 1
I/ActivityManager( 54): Displayed activity
mono.samples.gLCube/.GLCubeActivity: 316 ms (total 316 ms)
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list