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

program won't quit when loading a library bound to a postgresql #4804

Closed
shichuzhu opened this issue Mar 24, 2019 · 2 comments
Closed

program won't quit when loading a library bound to a postgresql #4804

shichuzhu opened this issue Mar 24, 2019 · 2 comments
Labels
shared-database status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects

Comments

@shichuzhu
Copy link

shichuzhu commented Mar 24, 2019

JabRef version
<JabRef 5.0-dev--snapshot--2019-03-20--master--6c61664a8
Linux 4.15.0-46-generic amd64
Java 1.8.0_201>
on <Ubuntu 18.04>

It's OK if I'm using JabRef with a regular .db file. However, if the .db file is bound to a postgresql database (i.e., the .db file starts with a line
"% DBID: 4grj2t8cd5i......"
), then JabRef program won't terminate when I click "File--Quit".

Steps to reproduce the behavior:

  1. /usr/lib/jvm/java-8-oracle/bin/java -jar /home/shichu/usr/jabref/JabRef.jar
  2. File -- Open library -- select the .db file containing the "% DBID" attribute.
  3. File -- Quit
  4. The GUI interface will close, but in the terminal that I run the step 1, the program is still blocking. If I'm using the Desktop shortcut, then after "Quit", ps aux | grep JabRef still shows the program is not terminated.

Upon the GUI close, the only one line of log I got from the terminal is following:

Log File
21:39:31.919 [JavaFX Application Thread] INFO  org.jabref.logic.importer.OpenDatabase - Opening: /mnt/data/shared/path/to/thedbfile.bib
@tobiasdiez tobiasdiez added this to Needs triage in Bugs via automation Mar 25, 2019
@tobiasdiez tobiasdiez moved this from Needs triage to High priority in Bugs Apr 24, 2019
@tobiasdiez
Copy link
Member

It could be that this issue is fixed now in the development version. Can you please try it again. Thanks!

@tobiasdiez tobiasdiez added the status: waiting-for-feedback The submitter or other users need to provide more information about the issue label Sep 16, 2019
@shichuzhu
Copy link
Author

I'm sorry I've switched to use the db file instead of using postgresql, so I won't be able to confirm the fix.
Anyone else is welcome to validate this.

Bugs automation moved this from High priority to Closed Sep 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
shared-database status: waiting-for-feedback The submitter or other users need to provide more information about the issue
Projects
Archived in project
Bugs
  
Done
Development

No branches or pull requests

2 participants