Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-112615

Execution hangs in the QApplication constructor

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 5.15.7
    • GUI: OpenGL
    • None
    • Linux/Yocto

    Description

      HMI is on Linux and sometimes it doesn't start and most probably it is stuck inside QApplication constructor while accessing GSL library.

      Normal start HMI system log output:

      3189 2023/03/16 03:24:14.864070 11.8353 160 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.682723 11.655575 HMI[405]: Informational: I/Adreno-1 (405,405): <gsl_library_open:1452>: library open -- keep alive
      3190 2023/03/16 03:24:14.864074 11.8354 161 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.682723 11.655575 HMI[405]: Informational: I/Adreno-1 (405,405): <gsl_library_open:1461>: library open -- refcount=1
      3191 2023/03/16 03:24:14.864077 11.8354 162 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.682723 11.655575 HMI[405]: Informational: I/Adreno-1 (405,405): <gsl_rpc_connect:1102>: connecting using conn_id 0
      3193 2023/03/16 03:24:14.864085 11.8356 164 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.716270 11.689123 HMI[405]: Informational: uhab:info(405:405):habmm_socket_open: opened fd 7, refcnt 1, return 0, vcid 19100001
      3194 2023/03/16 03:24:14.864089 11.8356 165 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.716270 11.689123 HMI[405]: Informational: I/Adreno-1 (405,405): <rpc_sockfd_create:584>: gsl_rpc_initialize: opening initial connection
      3195 2023/03/16 03:24:14.864093 11.8357 166 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.716270 11.689123 HMI[405]: Informational: I/Adreno-1 (405,405): <rpc_handshake:1051>: client process name is HMI(HMI)
      3196 2023/03/16 03:24:14.864097 11.8358 167 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.716270 11.689123 HMI[405]: Informational: I/Adreno-1 (405,405): <rpc_handshake:1063>: client successfully connected to server, got connection id 1
      3197 2023/03/16 03:24:14.864100 11.8359 168 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.716270 11.689123 HMI[405]: Informational: uhab:info(405:405):habmm_socket_close: close fd 7, refcnt 0, vcid 19100001
      3198 2023/03/16 03:24:14.864104 11.8359 169 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.716270 11.689123 HMI[405]: Informational: I/Adreno-1 (405,405): <gsl_rpc_connect:1102>: connecting using conn_id 1
      3199 2023/03/16 03:24:14.864108 11.8360 170 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.716270 11.689123 HMI[405]: Informational: uhab:info(405:405):habmm_socket_open: opened fd 7, refcnt 1, return 0, vcid 19100001
      3200 2023/03/16 03:24:14.864112 11.8361 171 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.716270 11.689123 HMI[405]: Informational: I/Adreno-1 (405,405): <rpc_sockfd_create:592>: gsl_rpc_initialize: connected from new thread
      3201 2023/03/16 03:24:14.864116 11.8361 172 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.716270 11.689123 HMI[405]: Informational: I/Adreno-1 (405,405): <rpc_sub_handshake:1089>: thread successfully connected to server
      3202 2023/03/16 03:24:14.864119 11.8362 173 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.716270 11.689123 HMI[405]: Informational: I/Adreno-1 (405,405): <gsl_rpc_initialize:1235>: using /data/misc/gpu/gsl_rpc_mempool.def file for mempool settings
      3203 2023/03/16 03:24:14.864123 11.8363 174 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.759605 11.732458 HMI[405]: Informational: I/Adreno-1 (405,817): <gsl_rpc_connect:1102>: connecting using conn_id 1
      3204 2023/03/16 03:24:14.864127 11.8363 175 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.759605 11.732458 HMI[405]: Informational: uhab:info(405:817):habmm_socket_open: opened fd 7, refcnt 2, return 0, vcid 19100002
      3205 2023/03/16 03:24:14.864131 11.8364 176 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.759605 11.732458 HMI[405]: Informational: I/Adreno-1 (405,817): <rpc_sockfd_create:592>: gsl_rpc_keep_alive_thread: connected from new thread
      3206 2023/03/16 03:24:14.864134 11.8365 177 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.759605 11.732458 HMI[405]: Informational: I/Adreno-1 (405,817): <rpc_sub_handshake:1089>: thread successfully connected to server
      3207 2023/03/16 03:24:14.864138 11.8365 178 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.759605 11.732458 HMI[405]: Informational: I/Adreno-1 (405,405): <gsl_library_open:1504>: keep alive thread is ready
      3208 2023/03/16 03:24:14.864142 11.8366 179 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.764505 11.737357 HMI[405]: Informational: I/Adreno-1 (405,405): <gsl_library_close:1576>: library close -- refcount=0
      3210 2023/03/16 03:24:14.864149 11.8367 181 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.794105 11.766957 HMI[405]: Informational: gbm_create_device(156): Info: backend name is: msm_drm
      3213 2023/03/16 03:24:14.864718 11.8375 184 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.844448 11.817300 HMI[405]: Informational: Found an ESX Settings File: /data/misc/gpu/esx_config_HMI.txt
      3215 2023/03/16 03:24:14.864932 11.8377 186 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.861291 11.834143 HMI[405]: Informational: QUALCOMM build : ebb625a,
      3216 2023/03/16 03:24:14.865004 11.8378 187 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.861291 11.834143 HMI[405]: Informational: Build Date : 04/25/21
      3217 2023/03/16 03:24:14.865104 11.8378 188 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.861291 11.834143 HMI[405]: Informational: OpenGL ES Shader Compiler Version: E031.36.05.00
      3218 2023/03/16 03:24:14.865193 11.8379 189 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.861291 11.834143 HMI[405]: Informational: Local Branch :
      3219 2023/03/16 03:24:14.865288 11.8380 190 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.861291 11.834143 HMI[405]: Informational: Remote Branch :
      3220 2023/03/16 03:24:14.865398 11.8381 191 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.861291 11.834143 HMI[405]: Informational: Reconstruct Branch :
      3221 2023/03/16 03:24:14.865676 11.8384 192 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.861291 11.834143 HMI[405]: Informational: Build Config : G ESX_C_COMPILER_OPT 4.4.0 AArch64Found an ESX Settings File: /data/misc/gpu/esx_config_HMI.txt
      3502 2023/03/16 03:24:15.117482 12.0897 193 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.867407 11.840260 HMI[405]: Informational: I/Adreno-1 (405,405): <gsl_library_open:1461>: library open -- refcount=1
      3503 2023/03/16 03:24:15.117497 12.0898 194 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.867407 11.840260 HMI[405]: Informational: Found an ESX Settings File: /data/misc/gpu/esx_config_HMI.txt
      3504 2023/03/16 03:24:15.117502 12.0899 195 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:14.873673 11.846525 HMI[405]: Informational: PFP: 0x00000000, ME: 0x00000000Found an ESX Settings File: /data/misc/gpu/esx_config_HMI.txt
      3519 2023/03/16 03:24:15.118616 12.0914 210 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:15.052279 12.025131 HMI[405]: Informational: Pre-rotation disabled !!!drm fe debug is not enabled
      3520 2023/03/16 03:24:15.118689 12.0914 211 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:15.057659 12.030513 HMI[405]: Informational: uhab:info(405:405):habmm_socket_open: opened fd 7, refcnt 3, return 0, vcid 12d00001
      3521 2023/03/16 03:24:15.118788 12.0915 212 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:15.057659 12.030513 HMI[405]: Informational: LV_FE [user_os_utils_init:196] OpenWFD channel open successful, handle=315621377
      3522 2023/03/16 03:24:15.118876 12.0916 213 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:15.057659 12.030513 HMI[405]: Informational: uhab:info(405:405):habmm_socket_open: opened fd 7, refcnt 4, return 0, vcid 12e00001
      3523 2023/03/16 03:24:15.118960 12.0917 214 VD SYS JOUR 369 log info verbose 5 2023/03/15 23:24:15.057659 12.030513 HMI[405]: Informational: LV_FE [user_os_utils_init:218] Events channel open successful, handle=316669953
      11891 1970/01/01 04:01:15.855640 17.8598 188 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:15.610474 17.614933 systemd[1]: Informational: Started HMI Central window.
      18644 1970/01/01 04:01:22.508150 24.5124 43 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:22.007645 24.012005 HMI[405]: Informational: CreateNativeWindowSurface: gbm_surface bad match
      18645 1970/01/01 04:01:22.508257 24.5125 44 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:22.039379 24.043740 HMI[405]: Informational: I/Adreno-1 (405,1508): <gsl_rpc_connect:1102>: connecting using conn_id 1
      18646 1970/01/01 04:01:22.508469 24.5126 45 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:22.040486 24.044847 HMI[405]: Informational: uhab:info(405:1508):habmm_socket_open: opened fd 7, refcnt 5, return 0, vcid 19100005
      18647 1970/01/01 04:01:22.509013 24.5130 46 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:22.040486 24.044847 HMI[405]: Informational: I/Adreno-1 (405,1508): <rpc_sockfd_create:592>: gsl_memory_alloc_rpc: connected from new thread
      18648 1970/01/01 04:01:22.510218 24.5144 47 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:22.045497 24.049858 HMI[405]: Informational: I/Adreno-1 (405,1508): <rpc_sub_handshake:1089>: thread successfully connected to server
      21968 1970/01/01 04:01:25.886935 27.3118 35 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:25.109254 27.113616 HMI[405]: Informational: CreateNativeWindowSurface: gbm_surface bad match
      21969 1970/01/01 04:01:25.886939 27.3119 36 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:25.112694 27.117055 HMI[405]: Informational: I/Adreno-1 (405,1596): <gsl_rpc_connect:1102>: connecting using conn_id 1
      21970 1970/01/01 04:01:25.886942 27.3124 37 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:25.121638 27.126000 HMI[405]: Informational: uhab:info(405:1596):habmm_socket_open: opened fd 7, refcnt 6, return 0, vcid 19100008
      21971 1970/01/01 04:01:25.886946 27.3125 38 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:25.122326 27.126686 HMI[405]: Informational: I/Adreno-1 (405,1596): <rpc_sockfd_create:592>: gsl_memory_alloc_rpc: connected from new thread
      21972 1970/01/01 04:01:25.886950 27.3126 39 VD SYS JOUR 369 log info verbose 5 1970/01/01 00:01:25.124925 27.129287 HMI[405]: Informational: I/Adreno-1 (405,1596): <rpc_sub_handshake:1089>: thread successfully connected to server
       

      HMI stuck:

      167137 2023/03/16 03:24:14.172856 11.0459 47 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.114428 10.987624 HMI[411]: Informational: I/Adreno-1 (411,411): <gsl_library_open:1452>: library open -- keep alive
      167139 2023/03/16 03:24:14.172925 11.0461 48 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.115423 10.988619 HMI[411]: Informational: I/Adreno-1 (411,411): <gsl_library_open:1461>: library open -- refcount=1
      167140 2023/03/16 03:24:14.173047 11.0461 49 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.116333 10.989529 HMI[411]: Informational: I/Adreno-1 (411,411): <gsl_rpc_connect:1102>: connecting using conn_id 0
      167141 2023/03/16 03:24:14.173159 11.0462 50 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.118271 10.991468 HMI[411]: Informational: uhab:info(411:411):habmm_socket_open: opened fd 7, refcnt 1, return 0, vcid 19100001
      167142 2023/03/16 03:24:14.173265 11.0464 51 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.118902 10.992098 HMI[411]: Informational: I/Adreno-1 (411,411): <rpc_sockfd_create:584>: gsl_rpc_initialize: opening initial connection
      167143 2023/03/16 03:24:14.173375 11.0465 52 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.119514 10.992710 HMI[411]: Informational: I/Adreno-1 (411,411): <rpc_handshake:1051>: client process name is HMI(HMI)
      167144 2023/03/16 03:24:14.173504 11.0466 53 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.121406 10.994603 HMI[411]: Informational: I/Adreno-1 (411,411): <rpc_handshake:1063>: client successfully connected to server, got connection id 1
      167146 2023/03/16 03:24:14.173630 11.0467 54 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.123774 10.996970 HMI[411]: Informational: uhab:info(411:411):habmm_socket_close: close fd 7, refcnt 0, vcid 19100001
      167148 2023/03/16 03:24:14.173739 11.0468 55 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.125430 10.998626 HMI[411]: Informational: I/Adreno-1 (411,411): <gsl_rpc_connect:1102>: connecting using conn_id 1
      167149 2023/03/16 03:24:14.173843 11.0469 56 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.127124 11.000321 HMI[411]: Informational: uhab:info(411:411):habmm_socket_open: opened fd 7, refcnt 1, return 0, vcid 19100001
      167150 2023/03/16 03:24:14.173957 11.0470 57 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.127124 11.000321 HMI[411]: Informational: I/Adreno-1 (411,411): <rpc_sockfd_create:592>: gsl_rpc_initialize: connected from new thread
      167151 2023/03/16 03:24:14.174070 11.0472 58 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.128670 11.001866 HMI[411]: Informational: I/Adreno-1 (411,411): <rpc_sub_handshake:1089>: thread successfully connected to server
      167153 2023/03/16 03:24:14.174177 11.0473 59 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.128670 11.001866 HMI[411]: Informational: I/Adreno-1 (411,411): <gsl_rpc_initialize:1235>: using /data/misc/gpu/gsl_rpc_mempool.def file for mempool settings
      167154 2023/03/16 03:24:14.174286 11.0474 60 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.142299 11.015496 HMI[411]: Informational: I/Adreno-1 (411,742): <gsl_rpc_connect:1102>: connecting using conn_id 1
      167156 2023/03/16 03:24:14.174403 11.0475 61 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.143495 11.016691 HMI[411]: Informational: uhab:info(411:742):habmm_socket_open: opened fd 7, refcnt 2, return 0, vcid 19100002
      167157 2023/03/16 03:24:14.174600 11.0476 62 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.144683 11.017879 HMI[411]: Informational: I/Adreno-1 (411,742): <rpc_sockfd_create:592>: gsl_rpc_keep_alive_thread: connected from new thread
      167159 2023/03/16 03:24:14.174781 11.0479 63 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.147019 11.020216 HMI[411]: Informational: I/Adreno-1 (411,742): <rpc_sub_handshake:1089>: thread successfully connected to server
      167161 2023/03/16 03:24:14.174894 11.0480 64 VD SYS JOUR 370 log info verbose 5 2023/03/15 23:24:14.148111 11.021307 HMI[411]: Informational: I/Adreno-1 (411,411): <gsl_library_open:1504>: keep alive thread is ready
       

      GSL library is accessed during QApplication instantiation because the log messages printed prior QApplication object creation but no further logs. HMI process is stuck at this point. It would be great to get the point where QApplication accesses gsl and what could be the reason. 

       

      Reproducibility: 1/1312

      Attachments

        1. DLT.zip
          5.21 MB
          Evgenii Kolchin

        Activity

          People

            lagocs Laszlo Agocs
            evkolchin Evgenii Kolchin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: