-
-
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
convert latex encoding - code in entry that crashes jabref #6399
Comments
JabRef 5.1--2020-05-04--b5599c9 AND JabRef 5.1--2020-05-04--b5599c9 using a database with >19,000 entries Cannot reproduce this issue. Might be related to specific database, preferences or hardware? @ilippert : Can you reliably reproduce this problem? Or does it appear only sometimes? |
JabRef 5.1--2020-05-04--7bb1e24 yes, I can still reproduce this reliably. |
Can you tell us, what the ram usage is of JabRef when this happens? |
before adding new entry: when adding: shared memory goes up to 250mb; memory and resident memory each go up by +100mb. |
I don't really know much about java memory usage, but a 250 mb of ram usage rise when adding one entry seems not normal... |
sorry, I just checked something else: i created an entirely new bib file, copying in 10500 entries. Then adding an entry succeeded. |
ok, comparing the original database file and the newly created one, with the same entries: I see a difference of file size: 1.5mb difference file size. I have now copied the group structure from the original bib file and copied into the new bib file. That new bib file is still by 1.5mb smaller than the original file. I can still add entries to this new file. Upps, the new jabref file has, of course, changed all my timestamps. that's not good. i need the old timestamps.... |
So, maybe we can close the issue at this point - as in, it was an "artefact" of that original database. However, the original database is simply one that has grown throughout the years and versions of jabref. Maybe other users have also such naturally growing biblatex databases. |
JabRef 5.1--2020-05-04--7bb1e24 wait, now, having deactivated the timestamp update, creating a new file and pasting the entries results (tested in two instances) in a new database of the equivalent size as the original bib file. And now adding a new entry results in crashing jabref. |
this bug is quite new, it started to emerge around last weekend. before i was able to add entries to the original database file without crash. |
Think, we need your database to be able to reproduce the issue. Would it be possible that you share it? Only the core developers will have access to the file - it won't be published, ... |
Yes, I am happy to share, please advise how you like to receive the file |
You'll see my email address at my GitHub profile. Could you try sending it there? |
I now noted, that regularly, with my Intel® Core™ i7-6700HQ CPU @ 2.60GHz × 8 system, if the said file is open, jabref needs 40-60% of my CPU. If I close the file, Jabref needs only about 2%. |
I investigated the database and identified one entry that reliably breaks jabref. However, I cannot detect what is wrong with it.
Without this entry, jabref seems to run more smoothly... |
Just an idea and possible workaround (?). Have you tried making the following changes:
Does that make any difference? |
Maybe a parsing error in the month field? Is there maybe a max length for the title? |
Actually, it might be best to write the umlauts differently (see https://tex.stackexchange.com/questions/366546/jabref-cant-read-bib-file-created-by-jabref-3-0/434268#434268 and So change |
the problem is in inserting
this breaks jabref. |
Thank you for triangulating this. |
issue topic - I have moved all my old entries from my 15y old database to a new database (and in that process caught #6399 (comment) with this bug #6399 (comment)). |
I can't shed much light on the underlying issue, but I don't think it should be the latex2unicode converter. Adding the following test case to
where the unicode on the left comes from yaytext.com. |
This issue has been inactive for half a year. Since JabRef is constantly evolving this issue may not be relevant any longer and it will be closed in two weeks if no further activity occurs. As part of an effort to ensure that the JabRef team is focusing on important and valid issues, we would like to ask if you could update the issue if it still persists. This could be in the following form:
Thank you for your contribution! |
a985762505 Update environmental-and-engineering-geoscience.csl (#6512) 5118058ea0 Update norsk-henvisningsstandard-for-rettsvitenskapelige-tekster.csl (#6515) e9830d3f5e Create polish-archives-of-internal-medicine.csl (#6399) 05ef543bd6 Update ieee.csl (#6511) b6e6292e4b Update universite-de-bordeaux-ecole-doctorale-de-droit.csl (#6510) af38aba0e9 Create la-nouvelle-revue-du-travail.csl (#6400) 4b23d7a03e Create north-pacific-anadromous-fish-commission-bulletin.csl (#6436) 77ea82a242 Create journal-of-dental-traumatology.csl (#6403) af4578d1a7 Make magnetic-resonance-in-medicine.csl AMA dependent (#6433) 5467a4f901 Create medizinische-universitaet-innsbruck-vancouver.csl (#6484) 8a3c0a2b9b Update united-states-international-trade-commissio (#6487) 789267a9cb Update cardiff-university-harvard.csl (#6482) 252a5b5c08 Locators in palaeontology journal styles (#6496) 3d2bff0794 Update ecosistemas.csl (#6503) 199baca2c6 Bump nokogiri from 1.13.10 to 1.14.3 (#6504) feffe61ae4 Update universite-du-quebec-a-montreal-etudes-litteraires-et-semiologie.csl (#6505) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: a985762505418bd63c26a54c59b48e3ed7426953
JabRef 5.1--2020-05-02--1d9957b
Linux 5.6.8-200.fc31.x86_64 amd64
Java 14.0.1
In a test database with >10500 entries, add an entry (ctrl n, or with button): this crashes jabref. No log message.
In a smaller database, no problem adding a new entry. I can copy and paste it into the larger database.
The text was updated successfully, but these errors were encountered: