Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hangs or crashes on Kubuntu 18.04, system Qt and PyQt #18

Open
nyanpasu64 opened this issue Apr 9, 2019 · 13 comments
Open

Hangs or crashes on Kubuntu 18.04, system Qt and PyQt #18

nyanpasu64 opened this issue Apr 9, 2019 · 13 comments
Labels
question Further information needed

Comments

@nyanpasu64
Copy link

nyanpasu64 commented Apr 9, 2019

realloc(): invalid pointer
hangs
qtinspector konsole
realloc(): invalid pointer
hangs
qtinspector 14998 # PID of Konsole
Local socket state changed QLocalSocket::ConnectingState 
Local socket reported error QLocalSocket::ServerNotFoundError 
Local socket state changed QLocalSocket::UnconnectedState 
Failed to connect to local socket server in target process 14998 
Failed to inject helper library into process <pid> 
Failed to send top-level widget request fetch to child process
qtinspector okular
hangs

I get the same issue with system or pip pyqt. If I press Ctrl+C, the application exits. If I import platform.machine() and press ctrl+c, the application shows a stack trace where it's waiting for uname to exit.

qtinspector python3 app.py
hangs

Debugging Konsole crash

gdb -args qtinspector konsole
set follow-fork-mode child
run

Logs at https://gist.github.com/nyanpasu64/a222389b67f7e3f7139d2a099a66a092

System Details

Kubuntu 18.04, Qt-Inspector master 0e538d3 .
Qt 5.9.5

I ran make -j4, is that an issue?

@nyanpasu64 nyanpasu64 changed the title Doesn't work Hangs or crashes on Kubuntu 18.04 Apr 9, 2019
@nyanpasu64 nyanpasu64 changed the title Hangs or crashes on Kubuntu 18.04 Hangs or crashes on Kubuntu 18.04, system Qt and PyQt Apr 9, 2019
@robertknight
Copy link
Owner

Thank-you for including the logs in the bug report. The stacktrace shows that the crash is happening in code related to the Qt Resource System (qrc) which runs early on startup and is unrelated to Qt Inspector. It is possible that Qt Inspector is changing the environment in a way that indirectly leads to this.

What I would suggest doing at this point is creating a minimal "Hello World" Qt application, maybe one that just creates a blank widget and shows it, and see if you can launch Qt Inspector against that. This will tell us if Qt Inspector is not working at all or if there is something in the more complex environment of eg. Konsole or Okular which causes a problem.

If I press Ctrl+C, the application exits. If I import platform.machine() and press ctrl+c, the application shows a stack trace where it's waiting for uname to exit.

What is the stack trace in that case?

@nyanpasu64
Copy link
Author

I probably can't reply soon, I rebooted to Windows for the first time in months maybe, so I can't test it now.

@robertknight robertknight added the question Further information needed label Apr 27, 2019
@deweloprela
Copy link

Hi same behavior on LXDE under ubuntu Ubuntu 16.04.6 LTS Just created empty qt widget app and when tried to attach qtinspector to it it says -
Local socket state changed QLocalSocket::ConnectingState
Local socket reported error QLocalSocket::ServerNotFoundError
Local socket state changed QLocalSocket::UnconnectedState
Failed to connect to local socket server in target process 4294
Failed to inject helper library into process
Failed to send top-level widget request fetch to child process

please tell me if i need to provide other information thanks!

@robertknight
Copy link
Owner

Did you build the application for Qt 4 or Qt 5? What version of Qt are you using in your test app?

@deweloprela
Copy link

Screenshot from 2019-05-02 17-14-20

@deweloprela
Copy link

deweloprela commented May 2, 2019

please let me know what else needed thanks

@robertknight
Copy link
Owner

Did you set the USE_QT5 build option when building Qt Inspector? If not, please try that (see #19 (comment)) and let me know if that works.

@deweloprela
Copy link

deweloprela commented May 2, 2019

i'm sorry to bother you with this but how to properly set cmake -DUSE_QT5 ? as when doing this way i get

Parse error in command line argument: -DUSE_QT5
Should be: VAR:type=value
CMake Error: No cmake script provided.
CMake Error: Problem processing arguments. Aborting.

this cmake -D USE_QT5 .
Parse error in command line argument: -D Should be: VAR:type=value CMake Error: No cmake script provided. CMake Error: Problem processing arguments. Aborting.

finally with this cmake -D=USE_QT5 . i actually got executable which name is - USE_QT5qtinspector
but it still use qt4 as one line from cmake output says -
`This warning is for project developers. Use -Wno-dev to suppress it.

-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Building with Qt 4. Enable the USE_QT5 option to build with Qt 5
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found
`

@robertknight
Copy link
Owner

I think the syntax is cmake -DUSE_QT5=ON, but my memory may be fuzzy.

@deweloprela
Copy link

ok cmake with -DUSE_QT5=ON actually produced executable but trying to connect still return:

Local socket state changed QLocalSocket::ConnectingState
Local socket reported error QLocalSocket::ServerNotFoundError
Local socket state changed QLocalSocket::UnconnectedState
Failed to connect to local socket server in target process 5708
Failed to inject helper library into process
Failed to send top-level widget request fetch to child process

@deweloprela
Copy link

when tried to start by name receive this:

d@xp:~/Qt-Inspector$ ./qtinspector /home/d/qtProjects/1/build-untitled-Desktop-Debug/untitled *** Error in `/home/d/qtProjects/1/build-untitled-Desktop-Debug/untitled': realloc(): invalid pointer: 0x00007f681d82e820 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f681ca527e5]
/lib/x86_64-linux-gnu/libc.so.6(realloc+0x348)[0x7f681ca5fa08]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QListData7reallocEi+0x1f)[0x7f681b71c9cf]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QListData6appendEi+0x81)[0x7f681b71caa1]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x1d6d78)[0x7f681b7e8d78]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(Z21qRegisterResourceDataiPKhS0_S0+0x2e6)[0x7f681b7e4b16]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x7bcc3)[0x7f681b68dcc3]
/lib64/ld-linux-x86-64.so.2(+0x106ca)[0x7f681e7706ca]
/lib64/ld-linux-x86-64.so.2(+0x107db)[0x7f681e7707db]
/lib64/ld-linux-x86-64.so.2(+0xc6a)[0x7f681e760c6a]
======= Memory map: ========
00400000-00404000 r-xp 00000000 08:01 1105529 /home/d/qtProjects/1/build-untitled-Desktop-Debug/untitled
00603000-00604000 r--p 00003000 08:01 1105529 /home/d/qtProjects/1/build-untitled-Desktop-Debug/untitled
00604000-00605000 rw-p 00004000 08:01 1105529 /home/d/qtProjects/1/build-untitled-Desktop-Debug/untitled
01c66000-01c98000 rw-p 00000000 00:00 0 [heap]
7f680c000000-7f680c021000 rw-p 00000000 00:00 0
7f680c021000-7f6810000000 ---p 00000000 00:00 0
7f68136c6000-7f68136cb000 r-xp 00000000 08:01 791415 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f68136cb000-7f68138ca000 ---p 00005000 08:01 791415 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f68138ca000-7f68138cb000 r--p 00004000 08:01 791415 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f68138cb000-7f68138cc000 rw-p 00005000 08:01 791415 /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f68138cc000-7f6815182000 r-xp 00000000 08:01 790027 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1
7f6815182000-7f6815381000 ---p 018b6000 08:01 790027 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1
7f6815381000-7f6815382000 r--p 018b5000 08:01 790027 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1
7f6815382000-7f6815383000 rw-p 018b6000 08:01 790027 /usr/lib/x86_64-linux-gnu/libicudata.so.55.1
7f6815383000-7f6815393000 r-xp 00000000 08:01 835397 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f6815393000-7f6815593000 ---p 00010000 08:01 835397 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f6815593000-7f6815594000 r--p 00010000 08:01 835397 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f6815594000-7f6815595000 rw-p 00011000 08:01 835397 /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f6815595000-7f681559a000 r-xp 00000000 08:01 798499 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f681559a000-7f6815799000 ---p 00005000 08:01 798499 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f6815799000-7f681579a000 r--p 00004000 08:01 798499 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f681579a000-7f681579b000 rw-p 00005000 08:01 798499 /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f681579b000-7f681579f000 r-xp 00000000 08:01 797964 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
7f681579f000-7f681599e000 ---p 00004000 08:01 797964 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
7f681599e000-7f681599f000 r--p 00003000 08:01 797964 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
7f681599f000-7f68159a0000 rw-p 00004000 08:01 797964 /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0.0.0
7f68159a0000-7f68159b7000 r-xp 00000000 08:01 798497 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f68159b7000-7f6815bb6000 ---p 00017000 08:01 798497 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f6815bb6000-7f6815bb8000 r--p 00016000 08:01 798497 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f6815bb8000-7f6815bb9000 rw-p 00018000 08:01 798497 /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0
7f6815bb9000-7f6815bba000 r-xp 00000000 08:01 791427 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
7f6815bba000-7f6815db9000 ---p 00001000 08:01 791427 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
7f6815db9000-7f6815dba000 r--p 00000000 08:01 791427 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
7f6815dba000-7f6815dbb000 rw-p 00001000 08:01 791427 /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0
7f6815dbb000-7f6815dc0000 r-xp 00000000 08:01 798020 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f6815dc0000-7f6815fbf000 ---p 00005000 08:01 798020 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f6815fbf000-7f6815fc0000 r--p 00004000 08:01 798020 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f6815fc0000-7f6815fc1000 rw-p 00005000 08:01 798020 /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f6815fc1000-7f6815fc3000 r-xp 00000000 08:01 798024 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7f6815fc3000-7f68161c2000 ---p 00002000 08:01 798024 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7f68161c2000-7f68161c3000 r--p 00001000 08:01 798024 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7f68161c3000-7f68161c4000 rw-p 00002000 08:01 798024 /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0
7f68161c4000-7f68161f0000 r-xp 00000000 08:01 798503 /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7f68161f0000-7f68163ef000 ---p 0002c000 08:01 798503 /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7f68163ef000-7f68163f3000 r--p 0002b000 08:01 798503 /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7f68163f3000-7f68163f4000 rw-p 0002f000 08:01 798503 /usr/lib/x86_64-linux-gnu/libglapi.so.0.0.0
7f68163f4000-7f68163f5000 rw-p 00000000 00:00 0
7f68163f5000-7f68163f6000 r-xp 00000000 08:01 797974 /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7f68163f6000-7f68165f6000 ---p 00001000 08:01 797974 /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7f68165f6000-7f68165f7000 r--p 00001000 08:01 797974 /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7f68165f7000-7f68165f8000 rw-p 00002000 08:01 797974 /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0
7f68165f8000-7f68165fd000 r-xp 00000000 08:01 797970 /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7f68165fd000-7f68167fd000 ---p 00005000 08:01 797970 /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7f68167fd000-7f68167fe000 r--p 00005000 08:01 797970 /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7f68167fe000-7f68167ff000 rw-p 00006000 08:01 797970 /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0
7f68167ff000-7f6816801000 r-xp 00000000 08:01 797968 /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
7f6816801000-7f6816a00000 ---p 00002000 08:01 797968 /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
7f6816a00000-7f6816a01000 r--p 00001000 08:01 797968 /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
7f6816a01000-7f6816a02000 rw-p 00002000 08:01 797968 /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0
7f6816a02000-7f6816a04000 r-xp 00000000 08:01 797966 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
7f6816a04000-7f6816c03000 ---p 00002000 08:01 797966 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
7f6816c03000-7f6816c04000 r--p 00001000 08:01 797966 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
7f6816c04000-7f6816c05000 rw-p 00002000 08:01 797966 /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.0.0
7f6816c05000-7f6816c29000 r-xp 00000000 08:01 797879 /usr/lib/x86_64-linux-gnu/libgraphite2.so.3.0.1
7f6816c29000-7f6816e28000 ---p 00024000 08:01 797879 /usr/lib/x86_64-linux-gnu/libgraphite2.so.3.0.1
7f6816e28000-7f6816e2a000 r--p 00023000 08:01 797879 /usr/lib/x86_64-linux-gnu/libgraphite2.so.3.0.1
7f6816e2a000-7f6816e2b000 rw-p 00025000 08:01 797879 /usr/lib/x86_64-linux-gnu/libgraphite2.so.3.0.1
7f6816e2b000-7f6816e4c000 r-xp 00000000 08:01 791419 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f6816e4c000-7f681704b000 ---p 00021000 08:01 791419 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f681704b000-7f681704c000 r--p 00020000 08:01 791419 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f681704c000-7f681704d000 rw-p 00021000 08:01 791419 /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f681704d000-7f6817051000 r-xp 00000000 08:01 1044594 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7f6817051000-7f6817250000 ---p 00004000 08:01 1044594 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7f6817250000-7f6817251000 r--p 00003000 08:01 1044594 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7f6817251000-7f6817252000 rw-p 00004000 08:01 1044594 /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7f6817252000-7f6817259000 r-xp 00000000 08:01 788695 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f6817259000-7f6817458000 ---p 00007000 08:01 788695 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f6817458000-7f6817459000 r--p 00006000 08:01 788695 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f6817459000-7f681745a000 rw-p 00007000 08:01 788695 /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f681745a000-7f68174c8000 r-xp 00000000 08:01 1044614 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f68174c8000-7f68176c8000 ---p 0006e000 08:01 1044614 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f68176c8000-7f68176c9000 r--p 0006e000 08:01 1044614 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f68176c9000-7f68176ca000 rw-p 0006f000 08:01 1044614 /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f68176ca000-7f68176cc000 r-xp 00000000 08:01 791411 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f68176cc000-7f68178cc000 ---p 00002000 08:01 791411 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f68178cc000-7f68178cd000 r--p 00002000 08:01 791411 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f68178cd000-7f68178ce000 rw-p 00003000 08:01 791411 /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f68178ce000-7f6817930000 r-xp 00000000 08:01 798237 /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7f6817930000-7f6817b30000 ---p 00062000 08:01 798237 /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7f6817b30000-7f6817b31000 r--p 00062000 08:01 798237 /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7f6817b31000-7f6817b36000 rw-p 00063000 08:01 798237 /usr/lib/x86_64-linux-gnu/libXt.so.6.0.0
7f6817b36000-7f6817b37000 rw-p 00000000 00:00 0
7f6817b37000-7f6817b5d000 r-xp 00000000 08:01 1044753 /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f6817b5d000-7f6817d5d000 ---p 00026000 08:01 1044753 /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f6817d5d000-7f6817d5f000 r--p 00026000 08:01 1044753 /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f6817d5f000-7f6817d60000 rw-p 00028000 08:01 1044753 /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7f6817d60000-7f6817dc4000 r-xp 00000000 08:01 798488 /usr/lib/x86_64-linux-gnu/libpcre16.so.3.13.2
7f6817dc4000-7f6817fc4000 ---p 00064000 08:01 798488 /usr/lib/x86_64-linux-gnu/libpcre16.so.3.13.2
7f6817fc4000-7f6817fc5000 r--p 00064000 08:01 798488 /usr/lib/x86_64-linux-gnu/libpcre16.so.3.13.2
7f6817fc5000-7f6817fc6000 rw-p 00065000 08:01 798488 /usr/lib/x86_64-linux-gnu/libpcre16.so.3.13.2
7f6817fc6000-7f6818145000 r-xp 00000000 08:01 790031 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1
7f6818145000-7f6818345000 ---p 0017f000 08:01 790031 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1
7f6818345000-7f6818355000 r--p 0017f000 08:01 790031 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1
7f6818355000-7f6818356000 rw-p 0018f000 08:01 790031 /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1
7f6818356000-7f681835a000 rw-p 00000000 00:00 0
7f681835a000-7f68185ac000 r-xp 00000000 08:01 790028 /usr/lib/x86_64-linux-gnu/libicui18n.so.55.1
7f68185ac000-7f68187ac000 ---p 00252000 08:01 790028 /usr/lib/x86_64-linux-gnu/libicui18n.so.55.1
7f68187ac000-7f68187bb000 r--p 00252000 08:01 790028 /usr/lib/x86_64-linux-gnu/libicui18n.so.55.1
7f68187bb000-7f68187bc000 rw-p 00261000 08:01 790028 /usr/lib/x86_64-linux-gnu/libicui18n.so.55.1
7f68187bc000-7f681882c000 r-xp 00000000 08:01 809748 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
7f681882c000-7f6818a2b000 ---p 00070000 08:01 809748 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
7f6818a2b000-7f6818a2e000 r--p 0006f000 08:01 809748 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
7f6818a2e000-7f6818a2f000 rw-p 00072000 08:01 809748 /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
7f6818a2f000-7f6818a30000 rw-p 00000000 00:00 0
7f6818a30000-7f6818a8c000 r-xp 00000000 08:01 797882 /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.10000.1
7f6818a8c000-7f6818c8c000 ---p 0005c000 08:01 797882 /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.10000.1
7f6818c8c000-7f6818c8d000 r--p 0005c000 08:01 797882 /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.10000.1
7f6818c8d000-7f6818c8e000 rw-p 0005d000 08:01 797882 /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.10000.1
7f6818c8e000-7f6818cad000 r-xp 00000000 08:01 797935 /usr/lib/x86_64-linux-gnu/libproxy.so.1.0.0
7f6818cad000-7f6818ead000 ---p 0001f000 08:01 797935 /usr/lib/x86_64-linux-gnu/libproxy.so.1.0.0
7f6818ead000-7f6818eae000 r--p 0001f000 08:01 797935 /usr/lib/x86_64-linux-gnu/libproxy.so.1.0.0
7f6818eae000-7f6818eaf000 rw-p 00020000 08:01 797935 /usr/lib/x86_64-linux-gnu/libproxy.so.1.0.0
7f6818eaf000-7f6818eb6000 r-xp 00000000 08:01 1057004 /lib/x86_64-linux-gnu/librt-2.23.so
7f6818eb6000-7f68190b5000 ---p 00007000 08:01 1057004 /lib/x86_64-linux-gnu/librt-2.23.so
7f68190b5000-7f68190b6000 r--p 00006000 08:01 1057004 /lib/x86_64-linux-gnu/librt-2.23.so
7f68190b6000-7f68190b7000 rw-p 00007000 08:01 1057004 /lib/x86_64-linux-gnu/librt-2.23.so
7f68190b7000-7f68190ba000 r-xp 00000000 08:01 1057007 /lib/x86_64-linux-gnu/libdl-2.23.so
7f68190ba000-7f68192b9000 ---p 00003000 08:01 1057007 /lib/x86_64-linux-gnu/libdl-2.23.so
7f68192b9000-7f68192ba000 r--p 00002000 08:01 1057007 /lib/x86_64-linux-gnu/libdl-2.23.so
7f68192ba000-7f68192bb000 rw-p 00003000 08:01 1057007 /lib/x86_64-linux-gnu/libdl-2.23.so
7f68192bb000-7f68193c3000 r-xp 00000000 08:01 1057026 /lib/x86_64-linux-gnu/libm-2.23.so
7f68193c3000-7f68195c2000 ---p 00108000 08:01 1057026 /lib/x86_64-linux-gnu/libm-2.23.so
7f68195c2000-7f68195c3000 r--p 00107000 08:01 1057026 /lib/x86_64-linux-gnu/libm-2.23.so
7f68195c3000-7f68195c4000 rw-p 00108000 08:01 1057026 /lib/x86_64-linux-gnu/libm-2.23.so
7f68195c4000-7f68196f9000 r-xp 00000000 08:01 790248 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f68196f9000-7f68198f9000 ---p 00135000 08:01 790248 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f68198f9000-7f68198fa000 r--p 00135000 08:01 790248 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f68198fa000-7f68198fe000 rw-p 00136000 08:01 790248 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f68198fe000-7f681990f000 r-xp 00000000 08:01 791433 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f681990f000-7f6819b0e000 ---p 00011000 08:01 791433 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f6819b0e000-7f6819b0f000 r--p 00010000 08:01 791433 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f6819b0f000-7f6819b10000 rw-p 00011000 08:01 791433 /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f6819b10000-7f6819b19000 r-xp 00000000 08:01 797841 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f6819b19000-7f6819d18000 ---p 00009000 08:01 797841 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f6819d18000-7f6819d19000 r--p 00008000 08:01 797841 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f6819d19000-7f6819d1a000 rw-p 00009000 08:01 797841 /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f6819d1a000-7f6819d29000 r-xp 00000000 08:01 798026 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7f6819d29000-7f6819f28000 ---p 0000f000 08:01 798026 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7f6819f28000-7f6819f29000 r--p 0000e000 08:01 798026 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7f6819f29000-7f6819f2a000 rw-p 0000f000 08:01 798026 /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7f6819f2a000-7f6819f40000 r-xp 00000000 08:01 798227 /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7f6819f40000-7f681a13f000 ---p 00016000 08:01 798227 /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7f681a13f000-7f681a140000 r--p 00015000 08:01 798227 /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7f681a140000-7f681a141000 rw-p 00016000 08:01 798227 /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7f681a141000-7f681a144000 rw-p 00000000 00:00 0
7f681a144000-7f681a14b000 r-xp 00000000 08:01 798235 /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7f681a14b000-7f681a34a000 ---p 00007000 08:01 798235 /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7f681a34a000-7f681a34b000 r--p 00006000 08:01 798235 /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7f681a34b000-7f681a34c000 rw-p 00007000 08:01 798235 /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7f681a34c000-7f681a39e000 r-xp 00000000 08:01 798823 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2
7f681a39e000-7f681a59d000 ---p 00052000 08:01 798823 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2
7f681a59d000-7f681a59e000 r--p 00051000 08:01 798823 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2
7f681a59e000-7f681a59f000 rw-p 00052000 08:01 798823 /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2
7f681a59f000-7f681a643000 r-xp 00000000 08:01 784851 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
7f681a643000-7f681a842000 ---p 000a4000 08:01 784851 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
7f681a842000-7f681a848000 r--p 000a3000 08:01 784851 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
7f681a848000-7f681a849000 rw-p 000a9000 08:01 784851 /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
7f681a849000-7f681a862000 r-xp 00000000 08:01 1044506 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f681a862000-7f681aa61000 ---p 00019000 08:01 1044506 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f681aa61000-7f681aa62000 r--p 00018000 08:01 1044506 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f681aa62000-7f681aa63000 rw-p 00019000 08:01 1044506 /lib/x86_64-linux-gnu/libz.so.1.2.8
7f681aa63000-7f681aa87000 r-xp 00000000 08:01 1057468 /lib/x86_64-linux-gnu/libpng12.so.0.54.0
7f681aa87000-7f681ac86000 ---p 00024000 08:01 1057468 /lib/x86_64-linux-gnu/libpng12.so.0.54.0
7f681ac86000-7f681ac87000 r--p 00023000 08:01 1057468 /lib/x86_64-linux-gnu/libpng12.so.0.54.0
7f681ac87000-7f681ac88000 rw-p 00024000 08:01 1057468 /lib/x86_64-linux-gnu/libpng12.so.0.54.0
7f681ac88000-7f681ad97000 r-xp 00000000 08:01 1045210 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2
7f681ad97000-7f681af96000 ---p 0010f000 08:01 1045210 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2
7f681af96000-7f681af97000 r--p 0010e000 08:01 1045210 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2
7f681af97000-7f681af98000 rw-p 0010f000 08:01 1045210 /lib/x86_64-linux-gnu/libglib-2.0.so.0.4800.2
7f681af98000-7f681af99000 rw-p 00000000 00:00 0
7f681af99000-7f681afb0000 r-xp 00000000 08:01 798248 /usr/lib/x86_64-linux-gnu/libaudio.so.2.4
7f681afb0000-7f681b1b0000 ---p 00017000 08:01 798248 /usr/lib/x86_64-linux-gnu/libaudio.so.2.4
7f681b1b0000-7f681b1b1000 r--p 00017000 08:01 798248 /usr/lib/x86_64-linux-gnu/libaudio.so.2.4
7f681b1b1000-7f681b1b2000 rw-p 00018000 08:01 798248 /usr/lib/x86_64-linux-gnu/libaudio.so.2.4
7f681b1b2000-7f681b1ca000 r-xp 00000000 08:01 1057009 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f681b1ca000-7f681b3c9000 ---p 00018000 08:01 1057009 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f681b3c9000-7f681b3ca000 r--p 00017000 08:01 1057009 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f681b3ca000-7f681b3cb000 rw-p 00018000 08:01 1057009 /lib/x86_64-linux-gnu/libpthread-2.23.so
7f681b3cb000-7f681b3cf000 rw-p 00000000 00:00 0
7f681b3cf000-7f681b40c000 r-xp 00000000 08:01 797802 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.9.0
7f681b40c000-7f681b60b000 ---p 0003d000 08:01 797802 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.9.0
7f681b60b000-7f681b60d000 r--p 0003c000 08:01 797802 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.9.0
7f681b60d000-7f681b612000 rw-p 0003e000 08:01 797802 /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.9.0
7f681b612000-7f681bad7000 r-xp 00000000 08:01 798492 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1
7f681bad7000-7f681bae3000 r--p 004c4000 08:01 798492 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1
7f681bae3000-7f681bae4000 rw-p 004d0000 08:01 798492 /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.5.1
7f681bae4000-7f681bae8000 rw-p 00000000 00:00 0
7f681bae8000-7f681c00f000 r-xp 00000000 08:01 798549 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1
7f681c00f000-7f681c010000 ---p 00527000 08:01 798549 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1
7f681c010000-7f681c025000 r--p 00527000 08:01 798549 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1
7f681c025000-7f681c02b000 rw-p 0053c000 08:01 798549 /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5.5.1
7f681c02b000-7f681c030000 rw-p 00000000 00:00 0
7f681c030000-7f681c689000 r-xp 00000000 08:01 798561 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1
7f681c689000-7f681c6b7000 r--p 00658000 08:01 798561 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1
7f681c6b7000-7f681c6bc000 rw-p 00686000 08:01 798561 /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.5.1
7f681c6bc000-7f681c6bd000 rw-p 00000000 00:00 0
7f681c6bd000-7f681c7d7000 r-xp 00000000 08:01 796336 /usr/lib/x86_64-linux-gnu/libprotobuf.so.9.0.1
7f681c7d7000-7f681c9d6000 ---p 0011a000 08:01 796336 /usr/lib/x86_64-linux-gnu/libprotobuf.so.9.0.1
7f681c9d6000-7f681c9da000 r--p 00119000 08:01 796336 /usr/lib/x86_64-linux-gnu/libprotobuf.so.9.0.1
7f681c9da000-7f681c9db000 rw-p 0011d000 08:01 796336 /usr/lib/x86_64-linux-gnu/libprotobuf.so.9.0.1
7f681c9db000-7f681cb9b000 r-xp 00000000 08:01 1057023 /lib/x86_64-linux-gnu/libc-2.23.so
7f681cb9b000-7f681cd9b000 ---p 001c0000 08:01 1057023 /lib/x86_64-linux-gnu/libc-2.23.so
7f681cd9b000-7f681cd9f000 r--p 001c0000 08:01 1057023 /lib/x86_64-linux-gnu/libc-2.23.so
7f681cd9f000-7f681cda1000 rw-p 001c4000 08:01 1057023 /lib/x86_64-linux-gnu/libc-2.23.so
7f681cda1000-7f681cda5000 rw-p 00000000 00:00 0
7f681cda5000-7f681cdbb000 r-xp 00000000 08:01 1044576 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f681cdbb000-7f681cfba000 ---p 00016000 08:01 1044576 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f681cfba000-7f681cfbb000 rw-p 00015000 08:01 1044576 /lib/x86_64-linux-gnu/libgcc_s.so.1
7f681cfbb000-7f681d12d000 r-xp 00000000 08:01 786205 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f681d12d000-7f681d32d000 ---p 00172000 08:01 786205 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f681d32d000-7f681d337000 r--p 00172000 08:01 786205 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f681d337000-7f681d339000 rw-p 0017c000 08:01 786205 /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
7f681d339000-7f681d33d000 rw-p 00000000 00:00 0
7f681d33d000-7f681d624000 r-xp 00000000 08:01 835439 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.7
7f681d624000-7f681d824000 ---p 002e7000 08:01 835439 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.7
7f681d824000-7f681d82e000 r--p 002e7000 08:01 835439 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.7
7f681d82e000-7f681d82f000 rw-p 002f1000 08:01 835439 /usr/lib/x86_64-linux-gnu/libQtCore.so.4.8.7
7f681d82f000-7f681d830000 rw-p 00000000 00:00 0
7f681d830000-7f681e2dc000 r-xp 00000000 08:01 835514 /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.7
7f681e2dc000-7f681e4db000 ---p 00aac000 08:01 835514 /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.7
7f681e4db000-7f681e519000 r--p 00aab000 08:01 835514 /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.7
7f681e519000-7f681e520000 rw-p 00ae9000 08:01 835514 /usr/lib/x86_64-linux-gnu/libQtGui.so.4.8.7
7f681e520000-7f681e524000 rw-p 00000000 00:00 0

@bicobus
Copy link

bicobus commented May 30, 2019

Using cmake version 3.13.2 with flag -DUSE_QT5=1 works just fine on my PyQt5 app.
gdb.log.gz

@gipi
Copy link

gipi commented Aug 26, 2020

I have the same problem in Ubuntu 20.04 (QT5) and troubleshooting, it seems that in the library lib/libQtInspector.so the function qtInspectorInit() is not called, so the socket is not created by InspectorServer() and in my case the code is hanging at

	QString socketPath = InspectorServer::socketName(*pid);
	while (!QFile::exists(socketPath))
	{
#ifdef Q_OS_UNIX
		usleep(100 * 1000);
#endif
	}

(PreloadInjector.cpp). In particular analyzing a little more I found that QMetaObject::invokeMethod(this, "runInitFunc", Qt::QueuedConnection) is exeuted but StartupHelper::runInitFunct() is not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information needed
Projects
None yet
Development

No branches or pull requests

5 participants