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
Segmentation fault in Ubuntu 17.10 #496
Comments
Thanks for the clear bug report. Confirmed. |
I have the same issue and I believe this is an issue with libQt5WebKit.so.5.9.1:
However this does not happen with the AppImage version because it would be using its own libQt5WebKit version. Looks like an issue with libQt5WebKit.so.5.9.1. |
Same situation here, worked fine in ubuntu 17.04, while a fresh install of 17.10 crashes while editing for example the digit "6" on the number 16 in the list below: |
Confirming this on Ubuntu MATE 17.10 with a fresh install of Notepadqq -- tested out @Johnreidsilver's simplest test case and indeed, Notepadqq crashes every time. As per @skyide's comment, the AppImage version is unaffected so I'm using that now. |
Nqq's a bit of a mess right now, what with QWebKit slowly being phased out. I'll update the repo's README to notify users of this issue and suggest installing the AppImage instead. The long-term fix would be to get rid of QWebKit entirely but that won't happen anytime soon as nobody's working on it. Edit: Done in b14749b |
This crash was really annoying me and since it hasn't been fixed yet here is a (probably bad) workaround for anybody that wants it. sudo apt build-dep libqt5webkit5 |
Updated workaroundPlease use the snap package instead.
|
Fixed by switching to QtWebEngine |
I'm submitting a bug report.
Current behavior
Notepadqq segfaults when I try to edit text in some ways (typing in overwrite mode, removing indentation with shift+tab, etc) in line containing specific text.
Expected behavior
Not crashing at all
Minimal reproduction of the problem with instructions
I can reproduce this on many very specific procedures. Here goes one of them:
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Notepadqq crashes with segmentation fault before you can finish overwriting the whole line in step 3.
Notes:
--> It doesn't occur when you type all 45 a's in step 1 instead of pasting.
--> It does occur if you open a file containing this line in step 1, instead of pasting.
Notepadqq was crashing on me frequently and apparently at random after I updated my system, then I figured out some specific procedures that would make it crash.
Please tell us about your environment:
Ubuntu 17.10 (artful) fully updated (as of 24th Oct)
Notepadqq 1.2.0 from official repo (notepadqq amd64 1.2.0-1~artful1)
Qt 5.9 (using libqt5webkit5=5.9.1+dfsg-5ubuntu1)
Qt was updated from 5.7 to 5.9 when upgrading from Ubuntu 17.04 to 17.10. Unfortunately it seems to be impossible to downgrade Qt to test if it solves the problem without breaking the system.
The text was updated successfully, but these errors were encountered: