mcallegari / qlcplus

Q Light Controller Plus (QLC+) is a free and cross-platform software to control DMX or analog lighting systems like moving heads, dimmers, scanners etc. This project is a fork of the great QLC project written by Heikki Junnila that aims to continue the QLC development and to introduce new features.
Apache License 2.0
991 stars 356 forks source link

Android build v5 #1518

Closed Binary-Vanguard-12138 closed 5 months ago

Binary-Vanguard-12138 commented 8 months ago

Used Android SDK31/33, JDK17, NDK21/25, and gradle 7.3 on Windows/Ubuntu Qt. It crashes in Nox emulator, will need to test it on real device and check if it works.

Binary-Vanguard-12138 commented 8 months ago

Adb log attached.

02-09 02:39:45.411  1651  3449 D SntpClient: request time failed: java.net.UnknownHostException: Unable to resolve host "2.android.pool.ntp.org": No address associated with hostname
02-09 02:39:45.411  1651  3449 E GnssLocationProvider: requestTime failed
02-09 02:39:45.411  1651  3449 I GnssLocationProvider: WakeLock acquired by sendMessage(10, 0, null)
02-09 02:39:45.411  1651  3449 I GnssLocationProvider: WakeLock released by handleInjectNtpTime()
02-09 02:39:45.412  1651  1663 I GnssLocationProvider: WakeLock released by handleMessage(10, 0, null)
02-09 02:39:46.367  2041  2494 E WakeLock: GCM_CONN_ALARM ** IS FORCE-RELEASED ON TIMEOUT **
02-09 02:39:47.041  1526  1593 D AudioFlinger: mixer(0xf6183a40) throttle end: throttle time(39)
02-09 02:39:47.056  1651  3547 W ActivityManager: Ignoring remove of inactive process: ProcessRecord{6b1fe86 0:org.qlcplus/u0a49}
02-09 02:39:47.056  1651  3547 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10300000 cmp=org.qlcplus/org.qtproject.qt5.android.bindings.QtActivity (has extras)} from uid 1000 on display 0
02-09 02:39:47.065  2102  3472 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.bindService:1435 android.content.ContextWrapper.bindService:636 cm.d:12 bw.d:5 bn.c:13
02-09 02:39:47.069  1651  3547 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:877 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:13560 com.android.server.am.NativeCrashListener$NativeCrashReporter.run:86 <bottom of call stack> <bottom of call stack>
02-09 02:39:47.069  1651  1736 E ActivityManager: applyOptionsLocked: Unknown animationType=0
02-09 02:39:47.104  1651  1736 I ActivityManager: Start proc 3560:org.qlcplus/u0a49 for activity org.qlcplus/org.qtproject.qt5.android.bindings.QtActivity
02-09 02:39:47.106  2506  2506 D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
02-09 02:39:47.106  2506  2506 D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
02-09 02:39:47.107  2041  2041 D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.gmscompliance.service.START dat=chimera-action:com.google.android.gms.gmscompliance.service.START cmp=com.google.android.gms/.chimera.PersistentBoundBrokerService }
02-09 02:39:47.107  2041  2041 D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.gmscompliance.service.START dat=chimera-action:com.google.android.gms.gmscompliance.service.START cmp=com.google.android.gms/.chimera.PersistentBoundBrokerService }
02-09 02:39:47.108  3560  3560 I art     : Late-enabling -Xcheck:jni
02-09 02:39:47.108  3560  3560 W art     : Unexpected CPU variant for X86 using defaults: x86_64
02-09 02:39:47.299  1651  1887 W ActivityManager: Slow operation: 186ms so far, now at attachApplicationLocked: after mServices.attachApplicationLocked
02-09 02:39:47.310  2041  2041 D BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.scheduler.ACTION_PROXY_SCHEDULE dat=chimera-action:com.google.android.gms.scheduler.ACTION_PROXY_SCHEDULE cmp=com.google.android.gms/.chimera.PersistentApiService }
02-09 02:39:47.310  2041  2041 D BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.scheduler.ACTION_PROXY_SCHEDULE dat=chimera-action:com.google.android.gms.scheduler.ACTION_PROXY_SCHEDULE cmp=com.google.android.gms/.chimera.PersistentApiService }
02-09 02:39:47.322  3560  3560 W System  : ClassLoader referenced unknown path:
02-09 02:39:47.339  3560  3560 D Qt JAVA : Class org.qtproject.qt5.android.multimedia.QtMultimediaUtils does not implement setActivity method
02-09 02:39:47.345  3560  3578 I QtCore  : Start
02-09 02:39:47.381  3560  3578 I Qt      : qt started
02-09 02:39:47.397  3560  3560 D         : static std::unique_ptr<HostConnection> HostConnection::createUnique(uint32_t): call
02-09 02:39:47.431  1651  3196 D OpenGLRenderer: endAllActiveAnimators on 0x7f3d9cf6f000 (RippleDrawable) with handle 0x7f3d9c1821c0
02-09 02:39:47.431  3560  3560 D         : HostComposition ext GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888 GL_OES_texture_half_float GL_EXT_robustness GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_texture_sRGB_decode ANDROID_gles_max_version_3_1 GL_OES_vertex_array_object GL_EXT_texture_buffer GL_EXT_copy_image GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_EGL_image_external
02-09 02:39:47.555  3560  3579 D         : static std::unique_ptr<HostConnection> HostConnection::createUnique(uint32_t): call
02-09 02:39:47.555  1521  1568 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:47.593  3582  3582 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-09 02:39:47.595  3582  3582 D AndroidRuntime: CheckJNI is OFF
02-09 02:39:47.613  3582  3582 D ICU     : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-09 02:39:47.616  3582  3582 W art     : Unexpected CPU variant for X86 using defaults: x86_64
02-09 02:39:47.619  3582  3582 D         : houdini no need remount
02-09 02:39:47.624  3582  3582 E memtrack: Couldn't load memtrack module (No such file or directory)
02-09 02:39:47.624  3582  3582 E android.os.Debug: failed to load memtrack module: -2
02-09 02:39:47.624  3582  3582 I Radio-JNI: register_android_hardware_Radio DONE
02-09 02:39:47.628  3582  3582 D AndroidRuntime: Calling main entry com.android.commands.am.Am
02-09 02:39:47.630  3582  3582 D AndroidRuntime: Shutting down VM
02-09 02:39:47.650  3560  3579 D         : HostComposition ext GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888 GL_OES_texture_half_float GL_EXT_robustness GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_texture_sRGB_decode ANDROID_gles_max_version_3_1 GL_OES_vertex_array_object GL_EXT_texture_buffer GL_EXT_copy_image GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_EGL_image_external
02-09 02:39:47.651  1521  1568 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:47.706  1521  1568 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:47.708  3560  3579 I OpenGLRenderer: Initialized EGL, version 1.4
02-09 02:39:47.708  3560  3579 D OpenGLRenderer: Swap behavior 1
02-09 02:39:47.708  1521  1906 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 5763072
02-09 02:39:47.853  3560  3579 D EGL_emulation: eglMakeCurrent: 0x7f3db580dd80: ver 3 1 (tinfo 0x7f3db580cbc0) (first time)
02-09 02:39:47.924  1521  1911 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:47.926  1651  1671 W AppOps  : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
02-09 02:39:48.075  1521  1906 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:48.150  3560  3578 I System  : Loaded time zone names for "c_DEFAULT_Default" in 3ms (3ms in ICU)
02-09 02:39:48.155  3560  3578 D Q Light Controller Plus: Screen changed to "" , pixel density: 9.47055 , physical size: QSizeF(169, 95)
02-09 02:39:48.156  3560  3578 D Q Light Controller Plus: bool QLCFixtureDefCache::load(const QDir &) "/data/user/0/org.qlcplus/files/.qlcplus/fixtures"
02-09 02:39:48.156  3560  3578 D Q Light Controller Plus: bool QLCFixtureDefCache::loadMap(const QDir &) "assets:/fixtures"
02-09 02:39:48.159  1651  1671 I ActivityManager: Displayed org.qlcplus/org.qtproject.qt5.android.bindings.QtActivity: +1s90ms
02-09 02:39:48.233  3560  3578 D Q Light Controller Plus: 1484 fixtures found in map
02-09 02:39:48.233  3560  3578 D Q Light Controller Plus: bool QLCModifiersCache::load(const QDir &, bool) "assets:/modifierstemplates"
02-09 02:39:48.235  3560  3578 D Q Light Controller Plus: bool QLCModifiersCache::load(const QDir &, bool) "/data/user/0/org.qlcplus/files/.qlcplus/modifierstemplates"
02-09 02:39:48.236  3560  3578 D Q Light Controller Plus: Loading RGB scripts in  "assets:/rgbscripts" ...
02-09 02:39:48.240  3560  3578 D Q Light Controller Plus:      "alternate.js"  loaded
02-09 02:39:48.240  3560  3578 D Q Light Controller Plus:      "balls.js"  loaded
02-09 02:39:48.241  3560  3578 D Q Light Controller Plus:      "ballscolors.js"  loaded
02-09 02:39:48.242  3560  3578 D Q Light Controller Plus:      "blinder.js"  loaded
02-09 02:39:48.242  3560  3578 D Q Light Controller Plus:      "circles.js"  loaded
02-09 02:39:48.244  3560  3578 D Q Light Controller Plus:      "circular.js"  loaded
02-09 02:39:48.244  3560  3578 D Q Light Controller Plus:      "evenodd.js"  loaded
02-09 02:39:48.245  3560  3578 D Q Light Controller Plus:      "fill.js"  loaded
02-09 02:39:48.245  3560  3578 D Q Light Controller Plus:      "fillfromcenter.js"  loaded
02-09 02:39:48.245  3560  3578 D Q Light Controller Plus:      "fillunfill.js"  loaded
02-09 02:39:48.245  3560  3578 D Q Light Controller Plus:      "fillunfillfromcenter.js"  loaded
02-09 02:39:48.246  3560  3578 D Q Light Controller Plus:      "fillunfillsquaresfromcenter.js"  loaded
02-09 02:39:48.247  3560  3578 D Q Light Controller Plus:      "fireworks.js"  loaded
02-09 02:39:48.251  3560  3578 D Q Light Controller Plus:      "flyingobjects.js"  loaded
02-09 02:39:48.252  3560  3578 D Q Light Controller Plus:      "gradient.js"  loaded
02-09 02:39:48.253  3560  3578 D Q Light Controller Plus:      "lines.js"  loaded
02-09 02:39:48.254  3560  3578 D Q Light Controller Plus:      "marquee.js"  loaded
02-09 02:39:48.254  3560  3578 D Q Light Controller Plus:      "noise.js"  loaded
02-09 02:39:48.254  3560  3578 D Q Light Controller Plus:      "onebyone.js"  loaded
02-09 02:39:48.255  3560  3578 D Q Light Controller Plus:      "opposite.js"  loaded
02-09 02:39:48.255  3560  3578 D Q Light Controller Plus:      "plasma.js"  loaded
02-09 02:39:48.256  3560  3578 D Q Light Controller Plus:      "plasmacolors.js"  loaded
02-09 02:39:48.256  3560  3578 D Q Light Controller Plus:      "randomcolumn.js"  loaded
02-09 02:39:48.257  3560  3578 D Q Light Controller Plus:      "randomfillcolumn.js"  loaded
02-09 02:39:48.257  3560  3578 D Q Light Controller Plus:      "randomfillrow.js"  loaded
02-09 02:39:48.257  3560  3578 D Q Light Controller Plus:      "randomfillsingle.js"  loaded
02-09 02:39:48.257  3560  3578 D Q Light Controller Plus:      "randompixelperrow.js"  loaded
02-09 02:39:48.257  3560  3578 D Q Light Controller Plus:      "randompixelperrowmulticolor.js"  loaded
02-09 02:39:48.257  3560  3578 D Q Light Controller Plus:      "randomrow.js"  loaded
02-09 02:39:48.258  3560  3578 D Q Light Controller Plus:      "randomsingle.js"  loaded
02-09 02:39:48.258  3560  3578 D Q Light Controller Plus:      "snowbubbles.js"  loaded
02-09 02:39:48.259  3560  3578 D Q Light Controller Plus:      "squares.js"  loaded
02-09 02:39:48.259  3560  3578 D Q Light Controller Plus:      "squaresfromcenter.js"  loaded
02-09 02:39:48.260  3560  3578 D Q Light Controller Plus:      "starfield.js"  loaded
02-09 02:39:48.260  3560  3578 D Q Light Controller Plus:      "stripes.js"  loaded
02-09 02:39:48.260  3560  3578 D Q Light Controller Plus:      "stripesfromcenter.js"  loaded
02-09 02:39:48.260  3560  3578 D Q Light Controller Plus:      "strobe.js"  loaded
02-09 02:39:48.260  3560  3578 D Q Light Controller Plus:      "verticalfall.js"  loaded
02-09 02:39:48.261  3560  3578 D Q Light Controller Plus:      "waves.js"  loaded
02-09 02:39:48.261  3560  3578 D Q Light Controller Plus: Loading RGB scripts in  "/data/user/0/org.qlcplus/files/.qlcplus/rgbscripts" ...
02-09 02:39:48.261  3560  3578 D Q Light Controller Plus: void IOPluginCache::load(const QDir &) "/data/data/org.qlcplus/files/../lib"
02-09 02:39:48.261  3560  3578 D Q Light Controller Plus: void AudioPluginCache::load(const QDir &) "assets:/audio"
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: [Universe] setInputPatch - ID: 0 , plugin: "None" , input: 0 , profile: "None"
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: [Universe] setInputPatch - ID: 1 , plugin: "None" , input: 0 , profile: "None"
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: [Universe] setInputPatch - ID: 2 , plugin: "None" , input: 0 , profile: "None"
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: [Universe] setInputPatch - ID: 3 , plugin: "None" , input: 0 , profile: "None"
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: [Universe] setOutputPatch - ID: 0 , plugin: "None" , output: 0
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: bool Universe::setFeedbackPatch(QLCIOPlugin *, quint32) plugin: QObject(0x0) output: 0
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: [Universe] setOutputPatch - ID: 1 , plugin: "None" , output: 0
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: bool Universe::setFeedbackPatch(QLCIOPlugin *, quint32) plugin: QObject(0x0) output: 0
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: [Universe] setOutputPatch - ID: 2 , plugin: "None" , output: 0
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: bool Universe::setFeedbackPatch(QLCIOPlugin *, quint32) plugin: QObject(0x0) output: 0
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: [Universe] setOutputPatch - ID: 3 , plugin: "None" , output: 0
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: bool Universe::setFeedbackPatch(QLCIOPlugin *, quint32) plugin: QObject(0x0) output: 0
02-09 02:39:48.281  3560  3578 D Q Light Controller Plus: [InputOutputMap] setting beat type: 1
02-09 02:39:48.282  3560  3594 D Q Light Controller Plus: Universe thread started 2
02-09 02:39:48.282  3560  3592 D Q Light Controller Plus: Universe thread started 0
02-09 02:39:48.282  3560  3593 D Q Light Controller Plus: Universe thread started 1
02-09 02:39:48.282  3560  3595 D Q Light Controller Plus: Universe thread started 3
02-09 02:39:48.291  3560  3578 D Q Light Controller Plus: void VirtualConsole::addWidgetToMap(VCWidget *) id= 0
02-09 02:39:48.291  3560  3578 D Q Light Controller Plus: void VirtualConsole::addWidgetToMap(VCWidget *) id= 1
02-09 02:39:48.291  3560  3578 D Q Light Controller Plus: void VirtualConsole::addWidgetToMap(VCWidget *) id= 2
02-09 02:39:48.291  3560  3578 D Q Light Controller Plus: void VirtualConsole::addWidgetToMap(VCWidget *) id= 3
02-09 02:39:48.523  3560  3578 D Q Light Controller Plus: Refresh 2D view...
02-09 02:39:48.582  3560  3578 W Q Light Controller Plus: qrc:/ActionsMenu.qml:111:5: QML CustomPopupDialog: Binding loop detected for property "implicitHeight"
02-09 02:39:48.583  3560  3578 W Q Light Controller Plus: qrc:/ActionsMenu.qml:111:5: QML CustomPopupDialog: Binding loop detected for property "implicitHeight"
02-09 02:39:48.584  3560  3578 D         : static std::unique_ptr<HostConnection> HostConnection::createUnique(uint32_t): call
02-09 02:39:48.606  3560  3578 D         : HostComposition ext GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888 GL_OES_texture_half_float GL_EXT_robustness GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_texture_sRGB_decode ANDROID_gles_max_version_3_1 GL_OES_vertex_array_object GL_EXT_texture_buffer GL_EXT_copy_image GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_EGL_image_external
02-09 02:39:48.607  3560  3578 W Q Light Controller Plus: Cannot find EGLConfig, returning null config
02-09 02:39:48.607  3560  3578 E EGL_emulation: tid 3578: eglGetConfigAttrib(1007): error 0x3005 (EGL_BAD_CONFIG)
02-09 02:39:48.607  3560  3578 E EGL_emulation: tid 3578: eglGetConfigAttrib(1007): error 0x3005 (EGL_BAD_CONFIG)
02-09 02:39:48.607  3560  3578 E EGL_emulation: tid 3578: eglGetConfigAttrib(1007): error 0x3005 (EGL_BAD_CONFIG)
02-09 02:39:48.607  3560  3578 E EGL_emulation: tid 3578: eglGetConfigAttrib(1007): error 0x3005 (EGL_BAD_CONFIG)
02-09 02:39:48.607  3560  3578 E EGL_emulation: tid 3578: eglGetConfigAttrib(1007): error 0x3005 (EGL_BAD_CONFIG)
02-09 02:39:48.607  3560  3578 E EGL_emulation: tid 3578: eglGetConfigAttrib(1007): error 0x3005 (EGL_BAD_CONFIG)
02-09 02:39:48.607  3560  3578 E EGL_emulation: tid 3578: eglGetConfigAttrib(1007): error 0x3005 (EGL_BAD_CONFIG)
02-09 02:39:48.607  3560  3578 E EGL_emulation: tid 3578: eglGetConfigAttrib(1007): error 0x3005 (EGL_BAD_CONFIG)
02-09 02:39:48.607  3560  3578 E EGL_emulation: tid 3578: eglCreateContext(1385): error 0x3005 (EGL_BAD_CONFIG)
02-09 02:39:48.607  3560  3578 W Q Light Controller Plus: QEGLPlatformContext: Failed to create context: 3005
02-09 02:39:48.607  3560  3578 F Q Light Controller Plus: Failed to create OpenGL context for format QSurfaceFormat(version 3.3, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile)
02-09 02:39:48.607  3560  3578 F libc    : Fatal signal 6 (SIGABRT), code -6 in tid 3578 (qtMainLoopThrea)
02-09 02:39:48.607  1387  1387 W         : debuggerd: handling request: pid=3560 uid=10049 gid=10049 tid=3578
02-09 02:39:48.611  3598  3598 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-09 02:39:48.611  3598  3598 F DEBUG   : Build fingerprint: 'samsung/dream2qltezh/dream2qltechn:7.1/N2G48H/G9550ZHU1AQEE:user/release-keys'
02-09 02:39:48.611  3598  3598 F DEBUG   : Revision: '12'
02-09 02:39:48.611  3598  3598 F DEBUG   : ABI: 'x86_64'
02-09 02:39:48.611  3598  3598 F DEBUG   : pid: 3560, tid: 3578, name: qtMainLoopThrea  >>> org.qlcplus <<<
02-09 02:39:48.611  3598  3598 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
02-09 02:39:48.611  3598  3598 F DEBUG   : Abort message: 'Failed to create OpenGL context for format QSurfaceFormat(version 3.3, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::CoreProfile)
02-09 02:39:48.611  3598  3598 F DEBUG   : '
02-09 02:39:48.611  3598  3598 F DEBUG   :     rax 0000000000000000  rbx 00007f3d9fdff4f8  rcx 00007f3dc1885ca7  rdx 0000000000000006
02-09 02:39:48.611  3598  3598 F DEBUG   :     rsi 0000000000000dfa  rdi 0000000000000de8
02-09 02:39:48.611  3598  3598 F DEBUG   :     r8  fffffffffffffff0  r9  000000000000003f  r10 0000000000000008  r11 0000000000000206
02-09 02:39:48.611  3598  3598 F DEBUG   :     r12 0000000000000dfa  r13 0000000000000006  r14 00007f3d9ffb96c0  r15 00007f3d9fdfd9c0
02-09 02:39:48.611  3598  3598 F DEBUG   :     cs  0000000000000033  ss  000000000000002b
02-09 02:39:48.611  3598  3598 F DEBUG   :     rip 00007f3dc1885ca7  rbp 0000000000000016  rsp 00007f3d9fdfcf08  eflags 0000000000000206
02-09 02:39:48.614  3598  3598 F DEBUG   :
02-09 02:39:48.614  3598  3598 F DEBUG   : backtrace:
02-09 02:39:48.614  3598  3598 F DEBUG   :     #00 pc 000000000008fca7  /system/lib64/libc.so (tgkill+7)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #01 pc 000000000008c701  /system/lib64/libc.so (pthread_kill+65)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #02 pc 0000000000030d81  /system/lib64/libc.so (raise+17)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #03 pc 00000000000288fd  /system/lib64/libc.so (abort+77)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #04 pc 00000000000d0d39  /data/app/org.qlcplus-1/lib/x86_64/libQt5Core_x86_64.so
02-09 02:39:48.614  3598  3598 F DEBUG   :     #05 pc 00000000000d1bc8  /data/app/org.qlcplus-1/lib/x86_64/libQt5Core_x86_64.so (_ZNK14QMessageLogger5fatalEPKcz+186)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #06 pc 0000000000209173  /data/app/org.qlcplus-1/lib/x86_64/libQt5Quick_x86_64.so (_ZN13QSGRenderLoop28handleContextCreationFailureEP12QQuickWindow+387)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #07 pc 000000000022c497  /data/app/org.qlcplus-1/lib/x86_64/libQt5Quick_x86_64.so
02-09 02:39:48.614  3598  3598 F DEBUG   :     #08 pc 000000000022bdb3  /data/app/org.qlcplus-1/lib/x86_64/libQt5Quick_x86_64.so
02-09 02:39:48.614  3598  3598 F DEBUG   :     #09 pc 000000000014a957  /data/app/org.qlcplus-1/lib/x86_64/libQt5Gui_x86_64.so (_ZN7QWindow5eventEP6QEvent+637)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #10 pc 00000000002881ba  /data/app/org.qlcplus-1/lib/x86_64/libQt5Quick_x86_64.so (_ZN12QQuickWindow5eventEP6QEvent+234)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #11 pc 000000000015268e  /data/app/org.qlcplus-1/lib/x86_64/libqlcplus-qml_x86_64.so (_ZN3App5eventEP6QEvent+590)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #12 pc 00000000001abae9  /data/app/org.qlcplus-1/lib/x86_64/libQt5Widgets_x86_64.so (_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+265)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #13 pc 00000000001acfd1  /data/app/org.qlcplus-1/lib/x86_64/libQt5Widgets_x86_64.so (_ZN12QApplication6notifyEP7QObjectP6QEvent+513)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #14 pc 00000000001fcbbf  /data/app/org.qlcplus-1/lib/x86_64/libQt5Core_x86_64.so (_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+139)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #15 pc 000000000014276f  /data/app/org.qlcplus-1/lib/x86_64/libQt5Gui_x86_64.so (_ZN22QGuiApplicationPrivate18processExposeEventEPN29QWindowSystemInterfacePrivate11ExposeEventE+279)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #16 pc 000000000013fbe1  /data/app/org.qlcplus-1/lib/x86_64/libQt5Gui_x86_64.so (_ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE+449)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #17 pc 00000000001303c2  /data/app/org.qlcplus-1/lib/x86_64/libQt5Gui_x86_64.so (_ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+88)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #18 pc 000000000012e694  /data/app/org.qlcplus-1/lib/x86_64/libQt5Gui_x86_64.so (_ZN22QWindowSystemInterface23flushWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+336)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #19 pc 000000000013950d  /data/app/org.qlcplus-1/lib/x86_64/libQt5Gui_x86_64.so (_ZN15QPlatformWindow10setVisibleEb+117)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #20 pc 00000000000561c3  /data/app/org.qlcplus-1/lib/x86_64/libplugins_platforms_qtforandroid_x86_64.so
02-09 02:39:48.614  3598  3598 F DEBUG   :     #21 pc 0000000000147c42  /data/app/org.qlcplus-1/lib/x86_64/libQt5Gui_x86_64.so (_ZN14QWindowPrivate10setVisibleEb+450)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #22 pc 00000000001521c4  /data/app/org.qlcplus-1/lib/x86_64/libqlcplus-qml_x86_64.so (_ZN3App4showEv+148)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #23 pc 000000000014d482  /data/app/org.qlcplus-1/lib/x86_64/libqlcplus-qml_x86_64.so (main+3362)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #24 pc 0000000000033c40  /data/app/org.qlcplus-1/lib/x86_64/libplugins_platforms_qtforandroid_x86_64.so
02-09 02:39:48.614  3598  3598 F DEBUG   :     #25 pc 0000000000043d55  /data/app/org.qlcplus-1/oat/x86_64/base.odex (offset 0x3f000)
02-09 02:39:48.614  3598  3598 F DEBUG   :     #26 pc 000000000010192f  <anonymous:00007f3d9fcfd000>
02-09 02:39:48.614  3598  3598 F DEBUG   :     #27 pc 0000000000010003  <unknown>
02-09 02:39:48.882  1651  1668 I BootReceiver: Copying /data/tombstones/tombstone_07 to DropBox (SYSTEM_TOMBSTONE)
02-09 02:39:48.892  1387  1387 W         : debuggerd: resuming target 3560
02-09 02:39:48.908  1651  3603 W ActivityManager:   Force finishing activity org.qlcplus/org.qtproject.qt5.android.bindings.QtActivity
02-09 02:39:48.912  1651  1671 E JavaBinder: !!! FAILED BINDER TRANSACTION !!!  (parcel size = 60)
02-09 02:39:48.912  1651  3603 E JavaBinder: !!! FAILED BINDER TRANSACTION !!!  (parcel size = 112)
02-09 02:39:48.913  1651  3603 W ActivityManager: Exception thrown during pause
02-09 02:39:48.913  1651  3603 W ActivityManager: android.os.DeadObjectException: Transaction failed on small parcel; remote process probably died
02-09 02:39:48.913  1651  3603 W ActivityManager:       at android.os.BinderProxy.transactNative(Native Method)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at android.os.BinderProxy.transact(Binder.java:615)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at android.app.ApplicationThreadProxy.schedulePauseActivity(ApplicationThreadNative.java:785)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:1141)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3523)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:3359)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:1855)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at com.android.server.am.AppErrors.handleAppCrashLocked(AppErrors.java:619)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at com.android.server.am.AppErrors.makeAppCrashingLocked(AppErrors.java:477)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:353)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at com.android.server.am.AppErrors.crashApplication(AppErrors.java:305)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13552)
02-09 02:39:48.913  1651  3603 W ActivityManager:       at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
02-09 02:39:48.913  1519  1519 E lowmemorykiller: Error writing /proc/3560/oom_score_adj; errno=22
02-09 02:39:48.913  1651  3603 W ActivityManager: Failed setting process group of 3560 to 1
02-09 02:39:48.913  1651  3603 W System.err: java.lang.IllegalArgumentException: Given thread 3579 does not exist
02-09 02:39:48.913  1651  3603 W System.err:    at android.os.Process.setThreadPriority(Native Method)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityManagerService.applyOomAdjLocked(ActivityManagerService.java:20623)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityManagerService.updateOomAdjLocked(ActivityManagerService.java:21125)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityStack.resumeTopActivityInnerLocked(ActivityStack.java:2447)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityStack.resumeTopActivityUncheckedLocked(ActivityStack.java:2127)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityStackSupervisor.resumeFocusedStackTopActivityLocked(ActivityStackSupervisor.java:1833)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityStackSupervisor.resumeFocusedStackTopActivityLocked(ActivityStackSupervisor.java:1823)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityStack.startPausingLocked(ActivityStack.java:1196)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityStack.finishActivityLocked(ActivityStack.java:3523)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityStack.finishTopRunningActivityLocked(ActivityStack.java:3359)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityStackSupervisor.finishTopRunningActivityLocked(ActivityStackSupervisor.java:1855)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.AppErrors.handleAppCrashLocked(AppErrors.java:619)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.AppErrors.makeAppCrashingLocked(AppErrors.java:477)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.AppErrors.crashApplicationInner(AppErrors.java:353)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.AppErrors.crashApplication(AppErrors.java:305)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.ActivityManagerService.handleApplicationCrashInner(ActivityManagerService.java:13552)
02-09 02:39:48.913  1651  3603 W System.err:    at com.android.server.am.NativeCrashListener$NativeCrashReporter.run(NativeCrashListener.java:86)
02-09 02:39:48.919  1521  1911 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 1966080
02-09 02:39:48.962  1651  1687 W InputDispatcher: channel '437a540 org.qlcplus/org.qtproject.qt5.android.bindings.QtActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9
02-09 02:39:48.962  1651  1687 E InputDispatcher: channel '437a540 org.qlcplus/org.qtproject.qt5.android.bindings.QtActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
02-09 02:39:48.962  1651  2071 D GraphicsStats: Buffer count: 4
02-09 02:39:48.973  1524  1524 I Zygote  : Process 3560 exited due to signal (6)
02-09 02:39:49.008  1521  1521 E EGL_emulation: tid 1521: eglCreateSyncKHR(1936): error 0x3004 (EGL_BAD_ATTRIBUTE)
02-09 02:39:49.107  1651  1661 I WindowManager: WIN DEATH: Window{437a540 u0 org.qlcplus/org.qtproject.qt5.android.bindings.QtActivity}
02-09 02:39:49.107  1651  1661 W InputDispatcher: Attempted to unregister already unregistered input channel '437a540 org.qlcplus/org.qtproject.qt5.android.bindings.QtActivity (server)'
02-09 02:39:49.110  1651  3192 W art     : Long monitor contention with owner NativeCrashReport (3603) at void com.android.server.am.AppErrors.crashApplicationInner(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo)(AppErrors.java:324) waiters=1 in android.content.IIntentSender com.android.server.am.ActivityManagerService.getIntentSender(int, java.lang.String, android.os.IBinder, java.lang.String, int, android.content.Intent[], java.lang.String[], int, android.os.Bundle, int) for 199ms
02-09 02:39:49.111  1651  1665 W art     : Long monitor contention with owner NativeCrashReport (3603) at void com.android.server.am.AppErrors.crashApplicationInner(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo)(AppErrors.java:324) waiters=3 in void com.android.server.am.ActivityManagerService.dispatchProcessesChanged() for 197ms
02-09 02:39:49.111  1651  1651 W art     : Long monitor contention with owner NativeCrashReport (3603) at void com.android.server.am.AppErrors.crashApplicationInner(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo)(AppErrors.java:324) waiters=4 in int com.android.server.am.ActivityManagerService.broadcastIntent(android.app.IApplicationThread, android.content.Intent, java.lang.String, android.content.IIntentReceiver, int, java.lang.String, android.os.Bundle, java.lang.String[], int, android.os.Bundle, boolean, boolean, int) for 192ms
02-09 02:39:49.111  1651  2101 W art     : Long monitor contention with owner NativeCrashReport (3603) at void com.android.server.am.AppErrors.crashApplicationInner(com.android.server.am.ProcessRecord, android.app.ApplicationErrorReport$CrashInfo)(AppErrors.java:324) waiters=5 in void com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied() for 149ms
02-09 02:39:49.112  1651  2101 I ActivityManager: Process org.qlcplus (pid 3560) has died
02-09 02:39:49.112  1651  2101 D ActivityManager: cleanUpApplicationRecord -- 3560
02-09 02:39:49.116  1651  1665 W WindowManager: updateFocusedWindowLocked, focusedAppToken is null.
02-09 02:39:49.135  1521  1911 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:49.135  1651  3196 D         : static std::unique_ptr<HostConnection> HostConnection::createUnique(uint32_t): call
02-09 02:39:49.174  1651  3196 D         : HostComposition ext GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_texture_float GL_OES_texture_float_linear GL_OES_compressed_paletted_texture GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth_texture GL_EXT_texture_format_BGRA8888 GL_APPLE_texture_format_BGRA8888 GL_OES_texture_half_float GL_EXT_robustness GL_OES_texture_half_float_linear GL_OES_packed_depth_stencil GL_OES_vertex_half_float GL_OES_texture_npot GL_OES_rgb8_rgba8 GL_EXT_color_buffer_float GL_EXT_texture_sRGB_decode ANDROID_gles_max_version_3_1 GL_OES_vertex_array_object GL_EXT_texture_buffer GL_EXT_copy_image GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc GL_OES_EGL_image_external
02-09 02:39:49.175  1521  1911 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:49.177  1651  3196 I OpenGLRenderer: Initialized EGL, version 1.4
02-09 02:39:49.177  1651  3196 D OpenGLRenderer: Swap behavior 1
02-09 02:39:49.178  1521  1566 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:49.307  1651  3196 D EGL_emulation: eglMakeCurrent: 0x7f3d9c2d0bc0: ver 3 1 (tinfo 0x7f3d9c13a680) (first time)
02-09 02:39:49.311  1521  1911 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:49.315  1521  1640 E IPCThreadState: binder thread pool (4 threads) starved for 113 ms
02-09 02:39:49.315  1521  1640 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:49.376  1521  1566 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:49.426  1521  1566 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:49.473  1521  1906 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:49.631  1521  1911 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:49.824  1521  1640 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:49.958  1521  1911 D gralloc_nox: gralloc_alloc: Creating ashmem region of size 4096
02-09 02:39:51.160  1651  3603 W ActivityManager: Ignoring remove of inactive process: ProcessRecord{4a60c93 0:org.qlcplus/u0a49}
02-09 02:39:51.160  1651  3603 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:877 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:13560 com.android.server.am.NativeCrashListener$NativeCrashReporter.run:86 <bottom of call stack> <bottom of call stack>
02-09 02:39:51.162  1526  1593 D AudioFlinger: mixer(0xf6183a40) throttle end: throttle time(42)
02-09 02:39:51.405  3621  3621 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
02-09 02:39:51.406  3621  3621 D AndroidRuntime: CheckJNI is OFF
02-09 02:39:51.426  3621  3621 D ICU     : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
02-09 02:39:51.429  3621  3621 W art     : Unexpected CPU variant for X86 using defaults: x86_64
02-09 02:39:51.432  3621  3621 D         : houdini no need remount
02-09 02:39:51.437  3621  3621 E memtrack: Couldn't load memtrack module (No such file or directory)
02-09 02:39:51.437  3621  3621 E android.os.Debug: failed to load memtrack module: -2
02-09 02:39:51.437  3621  3621 I Radio-JNI: register_android_hardware_Radio DONE
02-09 02:39:51.440  3621  3621 D AndroidRuntime: Calling main entry com.android.commands.am.Am
02-09 02:39:51.442  3621  3621 D AndroidRuntime: Shutting down VM
02-09 02:39:51.471  1651  1671 W AppOps  : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
Binary-Vanguard-12138 commented 8 months ago

@mcallegari It works after I change the settings in Nox, so it is not the problem of the project.

image

coveralls commented 7 months ago

Coverage Status

coverage: 31.997% (-0.05%) from 32.045% when pulling d48c0046b4929ec9df55d037122c10474e939c9a on Binary-Vanguard-12138:android_build_v5 into 65e1906d5c3badcfbbeb3ea1eeb2f2ca4bce7a82 on mcallegari:master.

mcallegari commented 5 months ago

Thanks :+1: Will post back here if I found anything

mcallegari commented 5 months ago

@Itay-Lifshitz I've been able to run QLC+ on Android but the generated apk is missing all the resource files (fixtures, gobos, profiles, ect) It seems nothing is installed in the assets folder. Can you please have a look? thanks

Binary-Vanguard-12138 commented 5 months ago

@Itay-Lifshitz I've been able to run QLC+ on Android but the generated apk is missing all the resource files (fixtures, gobos, profiles, ect) It seems nothing is installed in the assets folder. Can you please have a look? thanks

OK, will take a look.

Binary-Vanguard-12138 commented 5 months ago

@mcallegari How does the assets directory look like? Does it contain the subdirectories of resources folder such as fixtures, gobos, etc in it? Or does it first contain resources folder in assets and subfolders in resources? We can refer to this link . Let me know what you think.