[Bug 1993670] segfault with pango-view assert in cairo

2021-09-17 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1993670

Peng Wu  changed:

   What|Removed |Added

 Status|CLOSED  |NEW
 Resolution|ERRATA  |---
   Keywords||Reopened




-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1993670
___
fonts-bugs mailing list -- fonts-bugs@lists.fedoraproject.org
To unsubscribe send an email to fonts-bugs-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Bug 1993670] segfault with pango-view assert in cairo

2021-09-17 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1993670

a3emdot  changed:

   What|Removed |Added

  Flags||needinfo?(p...@redhat.com)



--- Comment #14 from a3emdot  ---
I can finally reproduce the segfaults with the help of valgrind on Fedora 34

$ ./pango-view-segfaults-20210917.sh > pango-view-segfaults-20210917.txt 2>&1

where one can find the following in the written txt file
---
pango-view: cairo-hash.c:217: _cairo_hash_table_destroy: Assertion
`hash_table->live_entries == 0' failed.
==8093== 
==8093== Process terminating with default action of signal 6 (SIGABRT): dumping
core
==8093==at 0x4D932A2: raise (in /usr/lib64/libc-2.33.so)
==8093==by 0x4D7C8A3: abort (in /usr/lib64/libc-2.33.so)
==8093==by 0x4D7C788: __assert_fail_base.cold (in /usr/lib64/libc-2.33.so)
==8093==by 0x4D8BA15: __assert_fail (in /usr/lib64/libc-2.33.so)
==8093==by 0x4C642EF: ??? (in /usr/lib64/libcairo.so.2.11704.0)
==8093==by 0x4C64A0A: cairo_debug_reset_static_data (in
/usr/lib64/libcairo.so.2.11704.0)
==8093==by 0x111E2C: ??? (in /usr/bin/pango-view)
==8093==by 0x10EAF6: ??? (in /usr/bin/pango-view)
==8093==by 0x4D7DB74: (below main) (in /usr/lib64/libc-2.33.so)
==8093== 
==8093== Process terminating with default action of signal 11 (SIGSEGV)
==8093==  General Protection Fault
==8093==at 0x5493C82: __pthread_once_slow (in
/usr/lib64/libpthread-2.33.so)
==8093==by 0x4E8603E: __rpc_thread_variables.part.0 (in
/usr/lib64/libc-2.33.so)
==8093==by 0x4EC861C: free_mem (in /usr/lib64/libc-2.33.so)
==8093==by 0x4EC8271: __libc_freeres (in /usr/lib64/libc-2.33.so)
==8093==by 0x48351E7: _vgnU_freeres (vg_preloaded.c:74)
==8093== 
==8093== HEAP SUMMARY:
==8093== in use at exit: 1,226,659 bytes in 20,130 blocks
==8093==   total heap usage: 37,522 allocs, 17,392 frees, 5,374,996 bytes
allocated
==8093== 
==8093== LEAK SUMMARY:
==8093==definitely lost: 151,552 bytes in 585 blocks
==8093==indirectly lost: 208,373 bytes in 8,421 blocks
==8093==  possibly lost: 1,947 bytes in 9 blocks
==8093==still reachable: 861,435 bytes in 11,079 blocks
==8093== suppressed: 0 bytes in 0 blocks
==8093== Rerun with --leak-check=full to see details of leaked memory
==8093== 
==8093== For lists of detected and suppressed errors, rerun with: -s
==8093== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
---

$ uname -a
Linux localhost.localdomain 5.13.15-200.fc34.x86_64 #1 SMP Wed Sep 8 15:51:46
UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ dnf list installed | grep pango
pango.i686  1.48.10-1.fc34 
@updates
pango.x86_641.48.10-1.fc34 
@updates
pango-devel.x86_64  1.48.10-1.fc34 
@updates
pangomm.x86_64  2.46.1-1.fc34  
@updates

$ dnf list installed | grep roboto
google-roboto-condensed-fonts.noarch2.138-8.fc34   
@fedora
google-roboto-fonts.noarch  2.138-8.fc34   
@fedora

I would have liked to use the pango-view tool for a font rendering validation
tool
but the segfaults make it totally useless here.

It also looks like the segfaulting behavior depends on the font to be used.
Using "DejaVu Sans" instead of "Roboto Condensed" I don't get the segfaults
with the newer reproducing shell script.

So could we please reopen this issue?


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1993670
___
fonts-bugs mailing list -- fonts-bugs@lists.fedoraproject.org
To unsubscribe send an email to fonts-bugs-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Bug 1993670] segfault with pango-view assert in cairo

2021-09-17 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1993670



--- Comment #13 from a3emdot  ---
Created attachment 1824035
  --> https://bugzilla.redhat.com/attachment.cgi?id=1824035=edit
shell script showing nondeterminism on Fedora 34 (output)


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1993670
___
fonts-bugs mailing list -- fonts-bugs@lists.fedoraproject.org
To unsubscribe send an email to fonts-bugs-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Bug 1993670] segfault with pango-view assert in cairo

2021-09-17 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1993670



--- Comment #12 from a3emdot  ---
Created attachment 1824034
  --> https://bugzilla.redhat.com/attachment.cgi?id=1824034=edit
shell script showing nondeterminism on Fedora 34


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1993670
___
fonts-bugs mailing list -- fonts-bugs@lists.fedoraproject.org
To unsubscribe send an email to fonts-bugs-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Bug 1999078] Hinting strangely broken in Epiphany

2021-09-17 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1999078



--- Comment #29 from Michael Catanzaro  ---
I doubt you'll get any response from the package maintainer here. You'll
probably need to take this to upstream.

That said, be prepared to be told that subpixel antialiasing is the new
hotness, and horizontal hinting (as performed by the v35 interpreter) is just
going to look bad.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1999078
___
fonts-bugs mailing list -- fonts-bugs@lists.fedoraproject.org
To unsubscribe send an email to fonts-bugs-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Bug 1999078] Hinting strangely broken in Epiphany

2021-09-17 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1999078

Marek Kašík  changed:

   What|Removed |Added

 CC||o...@redhat.com
  Component|webkit2gtk3 |cairo
   Assignee|mcata...@redhat.com |o...@redhat.com



--- Comment #28 from Marek Kašík  ---
Thank you for the confirmation. I'm reassigning this to cairo for their
consideration.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1999078
___
fonts-bugs mailing list -- fonts-bugs@lists.fedoraproject.org
To unsubscribe send an email to fonts-bugs-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Bug 1999078] Hinting strangely broken in Epiphany

2021-09-17 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1999078



--- Comment #27 from Pierre Ossman  ---
Never mind, that was some oddity with DejaVu. Installing Bitstream got more
consistent behaviour.

I tried that special build of Cairo, and it does indeed seem to be it. With
that applied I'm getting correct rendering in both Epiphany and GNOME software.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1999078
___
fonts-bugs mailing list -- fonts-bugs@lists.fedoraproject.org
To unsubscribe send an email to fonts-bugs-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Bug 1999078] Hinting strangely broken in Epiphany

2021-09-17 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1999078



--- Comment #26 from Pierre Ossman  ---
Created attachment 1823810
  --> https://bugzilla.redhat.com/attachment.cgi?id=1823810=edit
screenshot of gnome software


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1999078
___
fonts-bugs mailing list -- fonts-bugs@lists.fedoraproject.org
To unsubscribe send an email to fonts-bugs-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[Bug 1999078] Hinting strangely broken in Epiphany

2021-09-17 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1999078



--- Comment #25 from Pierre Ossman  ---
Sorry for the delay here. I'm trying to set up a VM so I can play around more
freely with things. However I'm having trouble getting epiphany to respect the
settings properly. It's still not doing full hinting, even with the
modifications from comment 6. So there must be something else I've done to my
workstation. Everything else is fully hinted, just not Epiphany.

Marek, were you able to get Epiphany to render things the way I'm seeing? And
if so, with what changes?


On the plus side, I'm seeing something similar in GNOME Software, which
supports the idea that this is not specific to Epiphany. However it doesn't
have the per-character behaviour, but rather per paragraph. It is also
misplacing things vertically, rather than horizontally. But wouldn't that cause
issues with "modern" hinting as well, as that still hints vertically? If so,
then it is perhaps a general bug rather than incompatibility with full hinting.

I'll attach a screenshot of what I'm seeing with GNOME software.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=1999078
___
fonts-bugs mailing list -- fonts-bugs@lists.fedoraproject.org
To unsubscribe send an email to fonts-bugs-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure