-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
jabref does not shut down (on Linux); process keeps running #6559
Comments
This continues to be a problem with the recent builds. CPU use is 50-60%. Far too high, slows down the system. Processes continue to run even for hours |
JabRef 5.1--2020-06-08--b810356 Issue is still present - Jabref hangs my system... no error messages. |
Sorry, it is really quite terrible - jabref simply does not shut down - a process continues to run and slow down my computer. no error messages. |
Seems to be some linux issue, I cannot reproduce it on Windows. Maybe some file watching is still in the background active? |
thanks for reacting. It is running for hours, literally... it must have been introduced, I assume, at some point before 2020-05-29--ed275b6. I am not aware of a change of my file system. now ok, I am testing systematically for some minutes:
Hmm, I do not see any pattern. |
Try a Alternatively |
Just to check: for jstack and jconsole - do I need to download jdk14 from oracle? |
You need jdk 14, you can use the openjdk variant. |
Hi, please find the |
Thanks, that looks indeed helpful. It is somehow related to the search and to the recent implementation of the authors parser #6552 |
happily I can report that jabref JabRef 5.1--2020-06-30--5f2b994 has now been running for 3h without problems - let's see for how long it runs ;) |
ending my observation for the day. jabref successfully ran for 16h, well interrupted by computer sleeping. but still. and CPU use was very low. great, too. |
I am afraid I must report that the same jabref version has the old behaviour today again ;( too optimistic, I was. So, no visible change. |
JabRef 5.1-PullRequest6528.793--2020-07-11--93eaf4f a correlation: when jabref CPU use goes up, I cannot save the library anymore. |
JabRef 5.1--2020-08-03--586044a
still not functional on I am very happy to conduct more tests/provide more logs if that might help. |
It seems that installing Without Liberica JDK installed (i.e. just having the standard OpenJDK from Fedora repos) |
JabRef 5.2--2020-09-01--35f5078 as recommended by @vsht, I now use |
I think we finally found the issue for the problem with the shutdown. The fix just got merged, so it would be nice if you could test the new version in a few hours. |
In my case JabRef 5.1--2020-08-28--5540b93 JabRef already shut downs properly. My only issue was the CPU load and that one got fixed by installing |
JabRef 5.2--2020-09-03--1283f9f thanks all for the effort. You cannot believe how pleasant it is to see a well running and stopping jabref version again! it works. Yeah! |
Hi JabRef 5.2--2020-09-03--1283f9f hmm, sorry, I am afraid whilst it does work to close jabref now without error messages, it also happened at least one time that the process was not actually ended. |
Just crashed still with 80% CPU load JabRef 5.2--2020-09-09--46e9fe2 |
JabRef 5.2--2020-09-09--46e9fe2 does not reliably shut down. Sometimes the process keeps running after the window closes. @Siedlerchr - sorry to report this. Should I open a new issue or would you reopen this? |
Thanks for the report. I am working on a solution. Think have found the underlying issue. |
JabRef 5.2--2020-12-12--86e2c82 gets me again 90%ish CPU load with #6559 (comment) points me to bellsoft-java. I use shuts down ok. |
JabRef 5.3--2021-02-03--242a494 Well, it happens again, JabRef does not shut down reliably, a process continues to run, using between 30 to 90% CPU. I let it run for +5 minutes, no change A new dimension of this issue (or should this be a new issue?): when I shut down, and try to start JabRef anew a few seconds later, often the Linux system freezes. |
Do you have a shared sql database opened? |
No, I am not using sql databases. |
Problem continues. |
True. Especially using the search bar (e.g. to search for author names) and leaving the filtered view |
JabRef 5.3--2021-04-29--cfb14b2 problem continues |
JabRef 5.3--2021-05-15--0a26d31 I also suspect that the comment on the search bar detects something important! It seems to be a good predictor of how to get CPU use at 100%. |
Do you have autocomplete enabled? |
autocomplete is enabled for the entry editor. |
JabRef 5.3--2021-06-17--38d7a30 meanwhile slightly updated system - no significant change. I often seem to observe, that jabref hangs when I search for something and then go for entry editor tab that includes a local file field. |
JabRef 5.3--2021-07-16--c99d61c no change ;) |
JabRef 5.3--2021-07-16--c99d61c I have now disabled autocomplete. But I have changed one aspect today - with seeming success: the jabref preference window told me to not include specific signs twice today: once in the entry editor dialogue and once in the custom editor tabs dialogue. I checked and found I was using a "prohibited" sign in there. I am not sure how many months or years ago I had created these field names. But I have now removed the prohibited signs and seemingly JabRef runs and closes stable now. I will observe this for a bit longer and report back. |
I have now run JabRef for many hours today without the problems I had for a year or so. So, maybe that was the issue. Suggestion: could JabRef notify the user in a more accessible way that their preferences are set with a problem - such as saying, Dear user, you have an illegal field name OLD1, OLD2 in the Preferences section "entry editor" and the "custom editor tabs". This risks unstable behaviour. Suggested field names are NEW (removed prohibited characters). Shall all the field names "OLD" be updated to NEW in the library? |
Thanks for the analysis! I'm sure we can add a preferences migration. Can you please specify which "illegal character" you entered/had there? |
Just as an update in between. I have used jabref quite much over the last days - and encountered this problem not again as regularly occurring. so, I guess, the problem might have really been the incorrectly formulated preferences file. |
Given that I am now on |
JabRef 5.1--2020-05-29--ed275b6
Linux 5.6.14-300.fc32.x86_64 amd64
Java 14.0.1
Not on every run, but often, shutting down jabref does not cleanly proceed. A process continues to run for many minutes. Maybe related to #5071 ?
If you give me pointers for how to investigate this further, I am happy to do.
The text was updated successfully, but these errors were encountered: