[Android-development] Android OnPause - Data leak

Vincent Kaestle vincent.kaestle at gmail.com
Sat Dec 19 02:06:53 CET 2015


Hello,

Nice to meet you, I send you this message on the advice of SGaist
<https://forum.qt.io/topic/61882/android-onpause-data-leak>. Thanks to him.

I have a bug which exists only on few Android devices (Nexus 7, 1st
version, for example).

It looks like it happens during application onPause action.

When I press home button to pause the app, I have this error (5 times) :
*E/DataBuffer(962): Internal data leak within a DataBuffer object detected!
Be sure to explicitly call release() on all DataBuffer extending objects
when you are done with them. (internal object:
com.google.android.gms.common.data.DataHolder at 29bcb63d)*

When I call an external Intent like this :

Intent pickerIntent = new Intent(Intent.ACTION_PICK);
pickerIntent.setType("image/*");
s_lastInstance.startActivityForResult(pickerIntent, CODE_PICKER);

I get this error, it may be the same problem about Data leak ?









*E/Surface (17913): queueBuffer: error queuing buffer to SurfaceTexture,
-19W/nvwsi (17913): queueBuffer failed, error -19W/libpicone.so(17913):
(null):0 ((null)): QEGLPlatformContext: eglSwapBuffers failed: 3007W/nvwsi
(17913): dequeueBuffer failed, error -19W/libpicone.so(17913): (null):0
((null)): QEGLPlatformContext: eglSwapBuffers failed:
300dW/libpicone.so(17913): (null):0 ((null)): QEGLPlatformContext:
eglSwapBuffers failed: 300dW/libpicone.so(17913): (null):0 ((null)):
QEGLPlatformContext: eglSwapBuffers failed: 300dW/libpicone.so(17913):
(null):0 ((null)): QEGLPlatformContext: eglSwapBuffers failed:
300dW/libpicone.so(17913): (null):0 ((null)): QEGLPlatformContext:
eglSwapBuffers failed: 300dW/libpicone.so(17913): (null):0 ((null)):
QEGLPlatformContext: eglSwapBuffers failed: 300d*
Someone have an idea where it could come from ?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/android-development/attachments/20151219/317492f2/attachment.html>


More information about the Android-development mailing list