E/Surface﹕ getSlotFromBufferLocked: unknown buffer: 0xab7519c0

I have a problem with my app. No inserts the data in mysql, the app does not have errors and orange single message log is:

 E / Surface: getSlotFromBufferLocked: unknown buffer: 0xab7519c0

I hope you can help me.

Thank you


Solution 1:

This is an opened issue in Android. You can keep track of this issue here.

EDIT: The issue is fixed in Android 6.0.1

Solution 2:

This happens when you try to set value of TextView to an integer.

When you assign a value of String to a TextView this error disappears.

For example

I have create a Text View in xml file. I am trying to set the value of that particular text field from java code. I am setting the int value to Text View but I am receiving an error getSlotFromBufferLocked: unknown buffer: 0xab7519c0 but after changing value from int to String and setting TextView from that String error disappears and app is working fine.

Solution 3:

This is an error of the Android OS running marshmallow and nothing to do with your code, see this issue https://code.google.com/p/android/issues/detail?id=192357

Try creating a new emulator using API 24 or 25