-
-
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 freeze in opening entry editor #2963
Comments
Could you please try again with an updated JRE? The log indicates that your runtime version is older than the version with which the javafx stuff was created
|
JabRef 4.0.0-dev--snapshot--2017-07-03--master--6897b10fb java version "1.8.0_131" I confirm the issue. Opening a database works. But double clicking an entry to open entry editor does not work and jabref freezes. |
Hm, I just tested the steps above. On Xubuntu 16.04 (8GB ram) with oracle jdk I cannot reproduce this behaviour. It takes a moment to open the entry editor, but I can not report a freeze. |
@Siedlerchr I believe I use oracle jdk, because openjdk would/should be indicated when prompting the shell for java -version. |
After update of Java from Oracle:
and using the last master (JabRef-4.0.0-dev--snapshot--2017-07-06--master--edd3f7cc1.jar), In the terminal, I get: So, no more warnings regarding JavaFX. And same behavior when using an existing database and double-clicking on an entry (in an attempt to edit this entry). |
I just tried this with the current master on Windows 7. Everything is working fine. Could this be a linux problem? |
Could be. Any way to help in the diagnosis? |
We have Linux users (@Siedlerchr, @lynyus) that do not experience this problem, so it's not a blocker for Linux per se. |
Sorry, I overlooked this point. |
We just talked about that in the devcall and are also unsure what the underlying problem is and which information can help us to solve this issue for everybody. :/ |
To follow up on this: What we need is someone who experiences this error (no one in the dev team can reproduce it, no one uses Mint) to install the development environment and debug the failure. So far there were two people using Linux Mint experiencing this, but no other OS (if I didn't overlook something). It might be something in the Mint environment. |
Note: JabRef-4.0-dev--snapshot--2017-07-22--master--8730d02d9.jar does not freeze when using
with
|
I had confirmed the issue, too, and I am running Fedora. |
Can you please check which |
version 8.0.60 |
@ilippert Good to know, thanks! Could you try out openjfx 8.0.60 and see if this solves the problem on your machine? In #3038 we also have a Mint user who doesn't report that the entry editor crashes. So this is most definitely a javafx configuration problem on Linux that's not specific for a certain distro. Can we just tell people to use the javafx version 8.0.60 if they experience this? I still see very little that we can do from the side of JabRef here. |
@lenhard Hmm, to be detailed: JabRef 4.0-dev--snapshot--2017-07-25--master--0847f5d15 uname -a results in With this configuration the error persists. |
@Siedlerchr fixed an issue yesterday that let JabRef freeze in another context - see #3058. If you are using a configuration with automatic timestamp updates upon changing an entry the underlying problem might also be the cause of the freezes reported by you @mlep and @ilippert Could you please check, whether the problem persists with the latest master builds from https://builds.jabref.org/master ? Thanks! |
Works as expected with JabRef-4.0-dev--snapshot--2017-07-30--master--81e6e8ed6.jar |
JabRef 4.0-dev--snapshot--2017-07-30--master--81e6e8ed6 does not work as expected; still crashes. |
... too bad. |
@ilippert Could you please try to start JabRef from commandline and check if there is any exception or error printed? |
I did check, nothing gets printed in the shell after producing the freeze effect. I am happy to offer other traces - if you suggest which |
Okay, as the Problem is solved for @mlep now this might be related to some weird combination of different aspects. Let's try to narrow the potential cause: Could you please export your preferences (Options -> Preferences -> Export in the lower left side of the Dialog) and then reset the preferences (same Dialog). Does the problem of freezing persist? |
thanks, the problem persists. This morning, I have even experienced a few java core dumps today. see https://pastebin.com/XkNReGKi Now, if I set the JabRef master jar as read only, the core dumps do not seem to happen. Then I tested JabRef for the original issue, with no files opened, and preferences reset. I then created a new file, imported some entries; and once I attempt to open the entry editor, it crashes; and nothing is reported on the shell. |
Regarding your java core dumps, I found this bug report with a potential solution: As you say this only happens when you open the entry editor, I have the vague feeling that it could be related to the CSL citation style lib. but no idea how to fix this, Could you try to compile and run it directly from source code? |
compiled and then started successfully. I am not registering anything in the shell when it crashes (crash reproduced). |
I have also now started without all my preferences. I have closed all files; and created a blank one. As soon as I create a new entry (that would be opened in the entry editor), JabRef breaks down. I am happy to investigate further with your patient guidance |
@ilippert We assume recent fedora with recent updates and OrcleJDK 1.8.131? |
thanks! this java version is from http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Fedora is up to date. hmm, how does OrcleJDK 1.8.131 relate to Java 1.8.0_144? |
hi, c9566c2 allows me partially to use the editor; though it literally takes seconds for the entry editor to load. I can then work in the editor and close it with the entry editor close button (I can repeat this for many entries >10). However, when I simply click onto another entry in the entry table whilst having opened the entry editor (hoping to open the entry editor for that other entry), it normally crashes (with one exception in which it did not directly crash). ea76246 allows me partially to use the editor: opening the editor is much much faster (within a one second range; sometimes, however, JabRef directly crashes when trying to open the entry editor). I can then work in the editor and close it with the entry editor close button. Sometimes, it works then to open the entry editor for another entry (sometimes it crashes then; I achieved opening max 2 or 3 different entries in the entry editor). However, when I simply click onto another entry in the entry table whilst having opened the entry editor (hoping to open the entry editor for that other entry), it directly crashes. Sorry, this is not a straightforward confirmation... |
"playing" with various checkouts... beta works wonderfully, of course ;) that is: 0bbb930 c3a898f, 3acd1f8, 3344c629c114349115354fbaa7b08da593b055 and 6c4e71c do not allow me to open entry editor. ede4dc8, fcac527, a9e2066 work wonderfully. b02433b gets me to a behaviour in which I can open the entry editor, but then it starts to crash, similar to the description in #2963 (comment) 4832e5d, 4543592 do not seem to have an entry editor ;) 7818515 does have the frame of the editor, but not fields; but no crashes ;) |
Oh, wow, good to know. Superficial question: Does |
works well, it I get a range of warnings, like as well as
|
So apart from some GTK errors and the warnings, the snap works fine and does not crash? |
yes, indeed - it works fine at least with respect to this current issue of the entry editor; I did not check it with respect to other issues. |
Okay, so I would close this for the moment. |
JabRef-4.0.0-dev--snapshot--2017-07-03--master--6897b10fb.jar on LInux Mint LMDE.
java version "1.8.0_66"
Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
Steps to reproduce:
JabRef does not do anything (processor idle) and cannot even be closed.
Log File
$ java -jar ./bin/JabRef-4.0.0-dev--snapshot--2017-07-03--mast--6897b10fb.jar AI: INFO 04-07-2017 11:56, 19: Configuration file has been successfully found as resource File: grouptree.fxml not found, attempting with camel case Jul 04, 2017 11:56:48 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66 File: grouptree.css not found, attempting with camel case Jul 04, 2017 11:57:44 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66 Jul 04, 2017 11:57:45 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66 Jul 04, 2017 11:57:45 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66 Jul 04, 2017 11:57:45 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66 Jul 04, 2017 11:57:45 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66 Jul 04, 2017 11:57:45 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66 Jul 04, 2017 11:57:45 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66 Jul 04, 2017 11:57:45 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66 Jul 04, 2017 11:57:45 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66 Jul 04, 2017 11:57:45 AM javafx.fxml.FXMLLoader$ValueElement processValue WARNING: Loading FXML document with JavaFX API of version 8.0.112 by JavaFX runtime of version 8.0.66The text was updated successfully, but these errors were encountered: