-
Notifications
You must be signed in to change notification settings - Fork 71
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
Comments
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.
What is the stack trace in that case? |
I probably can't reply soon, I rebooted to Windows for the first time in months maybe, so I can't test it now. |
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 - please tell me if i need to provide other information thanks! |
Did you build the application for Qt 4 or Qt 5? What version of Qt are you using in your test app? |
please let me know what else needed thanks |
Did you set the |
i'm sorry to bother you with this but how to properly set cmake -DUSE_QT5 ? as when doing this way i get
this cmake -D USE_QT5 . finally with this cmake -D=USE_QT5 . i actually got executable which name is - USE_QT5qtinspector -- Detecting C compile features |
I think the syntax is |
ok cmake with -DUSE_QT5=ON actually produced executable but trying to connect still return:
|
when tried to start by name receive this:
|
Using cmake version 3.13.2 with flag |
I have the same problem in Ubuntu 20.04 (QT5) and troubleshooting, it seems that in the library QString socketPath = InspectorServer::socketName(*pid);
while (!QFile::exists(socketPath))
{
#ifdef Q_OS_UNIX
usleep(100 * 1000);
#endif
} ( |
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 foruname
to exit.Debugging Konsole crash
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?The text was updated successfully, but these errors were encountered: