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

Crash when opening Git mode on Linux #4

Open
jimbo1qaz opened this issue Dec 17, 2019 · 6 comments
Open

Crash when opening Git mode on Linux #4

jimbo1qaz opened this issue Dec 17, 2019 · 6 comments

Comments

@jimbo1qaz
Copy link

@jimbo1qaz jimbo1qaz commented Dec 17, 2019

Qt Creator 4.11.0, from Manjaro Testing branch.

I downloaded libGitQlientPlugin_1.0.0-qtc4.11.x.so.

When I open Qt Creator, open a project, and switch to Git panel, I get the following terminal error, then Qt Creator exits:

"/home/nyanpasu64/Dropbox/encrypted/code/exotracker"
qtcreator: symbol lookup error: /home/nyanpasu64/.local/share/data/QtProject/qtcreator/plugins/4.11.0/libGitQlientPlugin_1.0.0-qtc4.11.x.so: undefined symbol: _ZdlPvm, version Qt_5
ConnectionServer error: "QLocalSocket: Remote closed" "/tmp/QtCreator-CLqyde/ClangBackEnd-18652"

The first time, Qt Creator froze (possibly due to mechanical disk iowait). I launched Qt Creator from .desktop file and could not see what was printed to the terminal.

@francescmm

This comment has been minimized.

Copy link
Owner

@francescmm francescmm commented Dec 17, 2019

I think it can be a problem with the new Qt Creator 4.11 and the build system. I'll try to build a new version ASAP! :)

@francescmm francescmm added the fixed label Dec 17, 2019
@francescmm

This comment has been minimized.

Copy link
Owner

@francescmm francescmm commented Dec 17, 2019

Hi, I've uploaded a new version of libGitQlientPlugin_1.0.0-qtc4.11.x.so for linux and QtCreator 4.11. I tested locally and so far it works.

Could you double check it? :)

@Adverpol

This comment has been minimized.

Copy link

@Adverpol Adverpol commented Dec 17, 2019

I'm getting the same error for the creator 4.10.2 version (also manjaro). Could you do the same for that plugin?

@francescmm

This comment has been minimized.

Copy link
Owner

@francescmm francescmm commented Dec 17, 2019

I would have to check what could be happening since I have 4.10.2 working in three different places... could you paste some system info?

Gcc version, Qt version, QtCreator version. Where is that Qt Creator build from? Arch linux package? Qt Project download?

Can you please run Qt Creator from GDB and generate a full backtrace?

Start from a terminal with
gdb <path_to_qtcreator_binary>
In GDB then run with
run
After it crashed generate backtrace with
thread apply all bt
and attach the result here.

If I find time today/tomorrow I'll try Manjaro to see what's going on, but I would need more info about how QtCreator was built :)

@jimbo1qaz

This comment has been minimized.

Copy link
Author

@jimbo1qaz jimbo1qaz commented Dec 18, 2019

After it crashed generate backtrace with
thread apply all bt
and attach the result here.

There was no crash to obtain a backtrace from. The program appears to have exited semi-cleanly.

EDIT:

I obtained Qt Creator through sudo pacman -S qtcreator. I used to have a self-build 4.11 RC1, but switched to 4.11 release.

Qt Creator 4.11.0
Based on Qt 5.13.2 (GCC 9.2.0, 64 bit)

Operating System: Manjaro Linux
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2
Kernel Version: 5.4.3-1-MANJARO
OS Type: 64-bit

@francescmm

This comment has been minimized.

Copy link
Owner

@francescmm francescmm commented Dec 18, 2019

Seeing your compiler version, I think that could be the root of the problems. I compiled with 5.3 and that could explain the issues.

I'll do a bit more of research on it and update the documentation as well.

Thanks for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.