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

Crash pango with italic characters #5866

Closed
sambo57u opened this issue Jan 25, 2020 · 14 comments · Fixed by #7018
Closed

Crash pango with italic characters #5866

sambo57u opened this issue Jan 25, 2020 · 14 comments · Fixed by #7018

Comments

@sambo57u
Copy link

JabRef 5.0-beta.360--2020-01-21--7ddfd9f
Java(TM) SE Runtime Environment (build 13.0.2+8)
pango-1.44.7
Fedora Linux 31

When I open jabref with the attached bib file, it opens ok but when I try to use the scroll bar to scroll down about half way through jabref crashes with the message:

Pango:ERROR:../pango/pango-context.c:1434:itemize_state_process_run: assertion failed: (state->run_end != state->run_start)
Bail out! Pango:ERROR:../pango/pango-context.c:1434:itemize_state_process_run: assertion failed: (state->run_end != state->run_start)
Aborted (core dumped)

JacekD.bib.gz

@Siedlerchr
Copy link
Member

I am not a LInux expert and on Windows I cannot encounter a problem, but it might be related to Font stuff. E.g. Maybe there is a problem with the font or the Unicode-italic rendering in the form here.
Maybe one of the other fedora users can reproduce this problem.
But I would close this issue as it seems to be some javafx/linux problems which we can't do anything about here

@sambo57u
Copy link
Author

It is related to unicode characters. I am not sure why you closed it since it core dumps jabref on a stable Linux distribution and core dump is always a bug!

@Siedlerchr Siedlerchr reopened this Jan 26, 2020
@Siedlerchr
Copy link
Member

Well, the problem is not in JabRef itself I think, but either in JavaFX or the pango library.
You better should report this bug to the pango team as this error dump is clearly related to pango.
https://gitlab.gnome.org/GNOME/pango/issues

You could try to change the Font in settings and see if that helps.

@sambo57u
Copy link
Author

Hi, I narrowed it down to a single reference. The attached bib file crashes jabref every time. It seems like the latex sequence in Garc'{\i}a-Recio crashes jabref.

crash.bib.gz

@sambo57u
Copy link
Author

NOTE: Look at the actual bib file since the pasting into message missed a \

@sambo57u
Copy link
Author

It is '{\i} that is making jabref coredump. Removing the slash works ok '{i}

@Siedlerchr
Copy link
Member

@sambo57u Yes, that's what I suspected as well. It's the latex command for displaying text in italics.
Could you try to convert it using the latex2unicode formatter and test if that works?

@sambo57u
Copy link
Author

Yes, using http://latex2unicode.herokuapp.com/ for interactive testing produces the correct dotless i
with French accent.

@sambo57u
Copy link
Author

I guess this is passed to Pango after conversion that somehow leads to jabref coredump. Pango I have is the latest one. And as jabref I am using today's rpm build.

@tobiasdiez tobiasdiez added the ui label Feb 1, 2020
@tobiasdiez tobiasdiez changed the title Crash pango with attached bib file Crash pango with italic characters Feb 1, 2020
@Siedlerchr
Copy link
Member

I think this issue is not in JabRef's , it's beyond our realm and we cannot do anything about this. Therefore I'm closing this issue.

@candrews
Copy link

candrews commented Oct 7, 2020

Has anyone reported this issue to Pango? If so, can you please provide a link to it?

@Siedlerchr
Copy link
Member

It might be fixed in javafx 15 (we plan to use that soon), at least there was something I read about pango

@Siedlerchr Siedlerchr mentioned this issue Oct 14, 2020
5 tasks
@Siedlerchr
Copy link
Member

I just merged in the new javafx version. According to the changelog https://github.com/openjdk/jfx/blob/jfx15/doc-files/release-notes-15.md
this issue might be finally fixed

@sambo57u
Copy link
Author

I can confirm that it is fixed! Thanks.

koppor pushed a commit that referenced this issue Feb 1, 2022
76f23a2 Fix the order for conference papers in APA styles (#5875)
5125c43 Fix bibliography date sorting (#5876)
873df06 Change order of publisher and publisher-place (#5874)
8066c66 Fix independent for BioScientific Review
9cc567e Add AMA brackets w 2 dependents (#5871)
c33dd24 Create medicine-publishing.csl (#5866)
9cb9cdb Fishery&wildlife journals: Remove publishers for articles (#5868)
fbd9165 Update universitatsmedizin-gottingen.csl (#5864)
c563f03 Update mla8 and mla9 (#5859)
98d6a03 [ASM] Add DOI for preprints. (#5862)
05e7071 Create current-neurology-aktualnosci-neurologiczne.csl (#5858)
78d771d Update journal-of-clinical-neurophysiology.csl (#5857)

git-subtree-dir: buildres/csl/csl-styles
git-subtree-split: 76f23a2
@koppor koppor moved this to Done in Prioritization Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants