Andoird on x86 validate_display_surface:488 error 300d problem

by Yi Sun » Wed, 09 Dec 2009 02:14:30 GMT


Sponsored Links
 s these the full log? Can the same tree boot on VirtualBox?
On Tue, 2009-12-08 at 15:11 +0530, deepak singal wrote:


--
Android-x86
www.android-x86.org

--



Andoird on x86 validate_display_surface:488 error 300d problem

by ehung1...@gmail.com » Tue, 19 Jan 2010 11:31:26 GMT


  got the same message.
Do you have solution about this problem.
My logcat message is showed below.
Thanks in advance.

I/vold ( 2031): Android Volume Daemon version 2.0
D/vold ( 2031): Bootstrapping complete
D/DHCP ( 2037): failed to set ip addr for eth0 to 0.0.0.0: No such
device
D/AndroidRuntime( 2032):
D/AndroidRuntime( 2032): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 2032): CheckJNI is ON
I/ ( 2033): ServiceManager: 0x804ac38
W/AudioHardwareInterface( 2033): Using stubbed audio hardware. No
sound will be produced.
I/AudioFlinger( 2033): AudioFlinger's thread ready to run for output 0
I/CameraService( 2033): CameraService started: pid=2033
D/AndroidRuntime( 2032): --- registering native functions ---
E/Zygote ( 2032): Couldn't find preloaded-classes.
D/dalvikvm( 2032): GC freed 653 objects / 30336 bytes in 0ms
I/Zygote ( 2032): Preloading resources...
D/dalvikvm( 2032): GC freed 104 objects / 3064 bytes in 0ms
D/dalvikvm( 2032): GC freed 124 objects / 5640 bytes in 0ms
D/dalvikvm( 2032): GC freed 326 objects / 16424 bytes in 0ms
D/dalvikvm( 2032): GC freed 207 objects / 8416 bytes in 0ms
I/Zygote ( 2032): ...preloaded 48 resources in 111ms.
I/Zygote ( 2032): ...preloaded 15 resources in 2ms.
D/dalvikvm( 2032): GC freed 113 objects / 8136 bytes in 0ms
D/dalvikvm( 2032): GC freed 147 objects / 5544 bytes in 0ms
D/dalvikvm( 2032): GC freed 24 objects / 920 bytes in 0ms
I/dalvikvm( 2032): Splitting out new zygote heap
I/dalvikvm( 2032): System server process 2057 has been created
I/Zygote ( 2032): Accepting command socket connections
D/dalvikvm( 2057): Trying to load lib /system/lib/
libandroid_servers.so 0x0
D/dalvikvm( 2057): Added shared lib /system/lib/libandroid_servers.so
0x0
I/sysproc ( 2057): Entered system_init()
I/sysproc ( 2057): ServiceManager: 0x81686a8
I/SurfaceFlinger( 2057): SurfaceFlinger is starting
I/SurfaceFlinger( 2057): SurfaceFlinger's main thread ready to run.
Initializing graphics H/W...
E/MemoryHeapBase( 2057): error opening /dev/pmem: No such file or
directory
E/SurfaceFlinger( 2057): Couldn't open /sys/power/wait_for_fb_sleep
or /sys/power/wait_for_fb_wake
E/libEGL ( 2057): couldn't load <libhgl.so> library (Cannot load
library: load_library[984]: Library 'libhgl.so' not found)
I/SurfaceFlinger( 2057): EGL informations:
I/SurfaceFlinger( 2057): # of configs : 6
I/SurfaceFlinger( 2057): vendor : Android
I/SurfaceFlinger( 2057): version : 1.31 Android META-EGL
I/SurfaceFlinger( 2057): extensions:
I/SurfaceFlinger( 2057): Client API: OpenGL ES
E/libEGL ( 2057): validate_display_surface:536 error 300d
(EGL_BAD_SURFACE)
W/SurfaceFlinger( 2057): ro.sf.lcd_density not defined, using 160 dpi
by default.
E/libEGL ( 2057): call to OpenGL ES API with no current context
I/SurfaceFlinger( 2057): OpenGL informations:
E/libEGL ( 2057): call to OpenGL ES API with no current context
D/Zygote ( 2032): Process 2057 terminated by signal (11)
I/Zygote ( 2032): Exit zygote because system server (2057) has
terminated
D/AndroidRuntime( 2070):
D/AndroidRuntime( 2070): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 2070): CheckJNI is ON
D/AndroidRuntime( 2070): --- registering native functions ---
E/Zygote ( 2070):


Sponsored Links


Other Threads

1. Catching ActivityNotFoundException

The JavaDoc of Context's public abstract void startActivity (Intent
intent) said:

This method throws ActivityNotFoundException if there was no Activity
found to run the given Intent.

But when I look at the android source code, it does not catch
ActivityNotFoundException.

For example in AlarmClock.java:

 digitalClock.setOnClickListener(new OnClickListener() {
                    public void onClick(View v) {
                        if (true) {
                            Intent intent = new
Intent(AlarmClock.this, SetAlarm.class);
                            intent.putExtra(Alarms.ID, id);
                            startActivityForResult(intent, SET_ALARM);
                        } else {
                            // TESTING: immediately pop alarm
                            Intent fireAlarm = new
Intent(AlarmClock.this, AlarmAlert.class);
                            fireAlarm.putExtra(Alarms.ID, id);
                            fireAlarm.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                            startActivity(fireAlarm);
                        }
                    }
                });

Can you please tell me what is the code which handles the case when
there is no activity for that intent?

Thank you.

--~--~---------~--~----~------------~-------~--~----~

2. Overlay ConcurrentModificationException

I am trying to integrate a third party location finding service into
my app and I am using the results of the location to place an overlay
onto my map.  The answer to this question is not "use
MyLocationOverlay".  I am moving away from that for non-GPS accuracy
reasons.

When the third party location callback is executed, I update where
this overlay is to reflect the new location.  Doing this makes the
application throw a ConcurrentModificationException.  Here is the full
stack trace:

ERROR/AndroidRuntime(5440): Uncaught handler: thread main exiting due
to uncaught exception
ERROR/AndroidRuntime(5440): java.util.ConcurrentModificationException
ERROR/AndroidRuntime(5440):     at java.util.AbstractList
$SimpleListIterator.next(AbstractList.java:66)
ERROR/AndroidRuntime(5440):     at
com.google.android.maps.OverlayBundle.draw(OverlayBundle.java:44)
ERROR/AndroidRuntime(5440):     at
com.google.android.maps.MapView.onDraw(MapView.java:471)
ERROR/AndroidRuntime(5440):     at android.view.View.draw(View.java:
5838)
ERROR/AndroidRuntime(5440):     at android.view.ViewGroup.drawChild
(ViewGroup.java:1486)
ERROR/AndroidRuntime(5440):     at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
ERROR/AndroidRuntime(5440):     at android.view.ViewGroup.drawChild
(ViewGroup.java:1484)
ERROR/AndroidRuntime(5440):     at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
ERROR/AndroidRuntime(5440):     at android.view.View.draw(View.java:
5841)
ERROR/AndroidRuntime(5440):     at android.widget.FrameLayout.draw
(FrameLayout.java:352)
ERROR/AndroidRuntime(5440):     at android.view.ViewGroup.drawChild
(ViewGroup.java:1486)
ERROR/AndroidRuntime(5440):     at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
ERROR/AndroidRuntime(5440):     at android.view.ViewGroup.drawChild
(ViewGroup.java:1484)
ERROR/AndroidRuntime(5440):     at android.view.ViewGroup.dispatchDraw
(ViewGroup.java:1228)
ERROR/AndroidRuntime(5440):     at android.view.View.draw(View.java:
5841)
ERROR/AndroidRuntime(5440):     at android.widget.FrameLayout.draw
(FrameLayout.java:352)
ERROR/AndroidRuntime(5440):     at
com.android.internal.policy.impl.PhoneWindow$DecorView.draw
(PhoneWindow.java:1847)
ERROR/AndroidRuntime(5440):     at android.view.ViewRoot.draw
(ViewRoot.java:1217)
ERROR/AndroidRuntime(5440):     at
android.view.ViewRoot.performTraversals(ViewRoot.java:1030)
ERROR/AndroidRuntime(5440):     at android.view.ViewRoot.handleMessage
(ViewRoot.java:1482)
ERROR/AndroidRuntime(5440):     at android.os.Handler.dispatchMessage
(Handler.java:99)
ERROR/AndroidRuntime(5440):     at android.os.Looper.loop(Looper.java:
123)
ERROR/AndroidRuntime(5440):     at android.app.ActivityThread.main
(ActivityThread.java:3948)
ERROR/AndroidRuntime(5440):     at
java.lang.reflect.Method.invokeNative(Native Method)
ERROR/AndroidRuntime(5440):     at java.lang.reflect.Method.invoke
(Method.java:521)
ERROR/AndroidRuntime(5440):     at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:782)
ERROR/AndroidRuntime(5440):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
ERROR/AndroidRuntime(5440):     at dalvik.system.NativeStart.main
(Native Method)


I am assuming that this third party callback is not executed in a safe
way.  Is there a paradigm I should follow to make sure that this is
executed safely?  For instance, does anyone know what
MyLocationOverlay does to make sure its callback is executed safely
for updating the overlay?  I could not find source for
MyLocationOverlay.

--~--~---------~--~----~------------~-------~--~----~

3. Open soft keyboard with button?

4. Default number of Views constructed for a BaseAdapter?

5. Problem with setExtra

6. browser language

7. Proper use of getChildrenCursor(Cursor c) with SQLite