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
QOwnNotes crashing several times per hour #2393
Comments
Could you maybe please try turning off markdown highlighting and check if it is still crashing. |
Will try. |
Might be the same as #2388. |
There now is a new release, could you please test it and report if it works for you? |
Just had an other crash with version 22.1.8... While just editing a note; Markdown highlighting is enabled again; |
So there still seem to be crashes, @Waqar144... |
could be something else, without more details can't say |
have a patch here, try with this Waqar144/qmarkdowntextedit@6082c37 |
though it is probably unrelated, once we know where the crash is, I will create a PR. |
A stack-trace would be really great. 😅 |
or a reproducible case |
the backtrace is not very helpful unfortunately. maybe you can enabe debug symbols in the PKGBUILD? |
looking at the PKGBUILD here https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=qownnotes seems like `export CXXFLAGS="-g -ggdb" should be enough to enable debug symbols. You can then verify whether these flags are actually there when make executes. |
No sign of |
Quick crash - don't know if the trace is any better though... 20220129_qon_trace.txt Version:
|
You have to set the value yourself
If that doesn't work, PKGBUILD has another way of enabling debug symbols which I don't recall atm... |
I did just that :)
@pbek do you have more info on this? |
It's quite simple after a bit of googling: Get the pkgbuild https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=qownnotes Create your own makepkg.conf file in home dir ( To test whether it worked, you can run the built package and then send a sigsegv to it using |
Just tried it myself, seems to work. Here are the important bits from my
note that if you don't want to use this makepkg.conf file for everything, be sure to remove it afterwards. |
Were you able to reproduce the crash again? |
Thanks for the suggestions. I finally found time and got |
No crashes until I edit a specific file containing a lot of headers ( Version
|
should be fixed with #2448 |
Sounds promising! I'm wondering what block in that file is invalid and what defines the validity. doc.qt.io isn't too verbose about this. I'll run it through Qt Creator if I find the time. |
There now is a new release, could you please test it and report if it works for you? |
I also have crashes under macOS while typing every few minutes...
|
or this:
|
Second one should have been fixed with #2448 If not, then not sure what is crashing there. Maybe run it in a debugger and see what's going on? |
Ah, i see what's wrong. |
I'll link this to #2452 |
I never had a crash for a long time. |
As mentioned on IM: QOwnNotes is crashing a couple of times per hour now. Totally unworkable.
Version 22.1.7-1 on linux installed from the AUR
The text was updated successfully, but these errors were encountered: