Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.14.2, 5.15.2, 6.2.1, 6.2.2
-
- Galaxy S7, Android 9, armeabi-v7a
- Galaxy S8+, Android 8, armeabi-v7a
-
-
08a4fd3570 (qt/qtbase/dev) 08a4fd3570 (qt/tqtc-qtbase/dev) f49069f77e (qt/qtbase/6.3) f49069f77e (qt/tqtc-qtbase/6.3) af641aee57 (qt/tqtc-qtbase/6.2) 51e1491af2 (qt/tqtc-qtbase/5.15)
-
2022wk12FOAndroid&Automotive, 2022wk14FOAndroid&Automotive, 2022wk16FOAndroid&Automotive
Description
When an Android QtService is started, the screen goes black and a
QEGLPlatformContext: eglSwapBuffers failed: 300d
error is produced repeatedly (twice in provided example). The app eventually crashes. This occurs consistently when the service is started.
01-10 15:50:01.634 1000 697 1377 E BufferQueueProducer: [SurfaceView - org.qtproject.example/org.qtproject.qt.android.bindings.QtActivity@50e9061@0[12094]#0] query: BufferQueue has been abandoned 01-10 15:50:01.635 1000 697 1377 E BufferQueueProducer: [SurfaceView - org.qtproject.example/org.qtproject.qt.android.bindings.QtActivity@50e9061@0[12094]#0] dequeueBuffer: BufferQueue has been abandoned 01-10 15:50:01.635 1000 1440 2028 D NetworkStatsCollection: getHistory: mached - UID: -1, isVideoCall: false 01-10 15:50:01.635 1000 1440 2045 D ConnectivityService: NetworkAgentInfo [VPN () - 891] EVENT_NETWORK_INFO_CHANGED, going from CONNECTING to CONNECTED 01-10 15:50:01.635 1000 1440 2045 D ConnectivityService: Update the connection status of VPN -> CONNECTED,false 01-10 15:50:01.635 10293 12094 12146 I Adreno : DequeueBuffer: dequeueBuffer failed 01-10 15:50:01.635 1000 1440 2028 D NetworkStatsCollection: getHistory: mached - UID: -1, isVideoCall: false 01-10 15:50:01.635 1000 697 1377 E BufferQueueProducer: [SurfaceView - org.qtproject.example/org.qtproject.qt.android.bindings.QtActivity@50e9061@0[12094]#0] query: BufferQueue has been abandoned 01-10 15:50:01.635 1000 1440 2028 V NetworkPolicy: updateNotificationsNL() - totalBytes : 1390621, policy : NetworkPolicy{template=NetworkTemplate: matchRule=MOBILE, subscriberId=302220..., matchSubscriberIds=[302220...] cycleRule=RecurrenceRule{start=2021-01-01T00:00-07:00[America/Edmonton] end=null period=P1M} warningBytes=2000000000 limitBytes=-1 lastWarningSnooze=-1 lastLimitSnooze=-1 lastRapidSnooze=-1 metered=true inferred=true} 01-10 15:50:01.636 1000 1440 2045 W DnsManager: updatePrivateDns(891, PrivateDnsConfig{false:/[]}) 01-10 15:50:01.636 1000 697 1377 E BufferQueueProducer: [SurfaceView - org.qtproject.example/org.qtproject.qt.android.bindings.QtActivity@50e9061@0[12094]#0] dequeueBuffer: BufferQueue has been abandoned 01-10 15:50:01.636 1000 1440 2045 D ConnectivityService: Setting DNS servers for network 891 to [] 01-10 15:50:01.636 1000 1440 2045 D DnsManager: setDnsConfigurationForNetwork(891, [], [], [1800, 25, 8, 64], , []) 01-10 15:50:01.637 10293 12094 12146 I Adreno : DequeueBuffer: dequeueBuffer failed
My intent is to keep a QTimer, QTcpSocket and QLowEnergyController running in the background when the app is closed. So far only running a QtService has allowed this. The socket is kept open, but the app goes black and eventually crashes. Any help is greatly appreciated (including alternatives, if available).
A bug report log is available upon request (too large for bug tracker).