[Bug 1595421] fontforge on Python 3.7: Fatal Python error: _Py_InitializeCore: main interpreter already initialized

2018-06-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1595421



--- Comment #11 from Miro Hrončok  ---
Victor, would you be able to provide a workaround patch for fontforge? Naively
removing Py_Initialize doesn't solve this.

Program received signal SIGSEGV, Segmentation fault.
0x7629a9f5 in PyTuple_New () from /lib64/libpython3.7m.so.1.0
(gdb) backtrace
#0  0x7629a9f5 in PyTuple_New () from /lib64/libpython3.7m.so.1.0
#1  0x76279985 in PyType_Ready () from /lib64/libpython3.7m.so.1.0
#2  0x762799b5 in PyType_Ready () from /lib64/libpython3.7m.so.1.0
#3  0x768b5115 in CreatePyModule () from /lib64/libfontforge.so.2
#4  0x768baa22 in FontForge_InitializeEmbeddedPython () from
/lib64/libfontforge.so.2
#5  0x768baf5c in PyFF_Main () from /lib64/libfontforge.so.2
#6  0x768deafd in CheckIsScript () from /lib64/libfontforge.so.2
#7  0x77a6ae62 in fontforge_main () from /lib64/libfontforgeexe.so.2
#8  0x719162fb in __libc_start_main () from /lib64/libc.so.6
#9  0x496a in _start ()

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org/message/UU2K2TKNV5FMI767V7BYHIPFU42YTXXH/


[Bug 1595421] fontforge on Python 3.7: Fatal Python error: _Py_InitializeCore: main interpreter already initialized

2018-06-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1595421

Victor Stinner  changed:

   What|Removed |Added

  Flags|needinfo?(vstinner@redhat.c |
   |om) |



--- Comment #10 from Victor Stinner  ---
Oh no. My change https://bugs.python.org/issue33932 didn't fix fontforge :-(
fontforge calls Py_Initialize() and then Py_Main(). It seems like my fix
doesn't cover this use case. I didn't expect that an application embeds Python
using Py_Main(). For me, Py_Main() was only used by Python itself.

I reopened the issue upstream: https://bugs.python.org/issue33932#msg320665

For fontforge, the workaround/fix is to not call Py_Initialize() before
Py_Main().

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org/message/PRNZF4AUP7RAPWXVYQXZI47ZVCKIRMM3/


[Bug 1595421] fontforge on Python 3.7: Fatal Python error: _Py_InitializeCore: main interpreter already initialized

2018-06-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1595421



--- Comment #9 from Miro Hrončok  ---
#0  0x7192a14b in raise () from /lib64/libc.so.6
#1  0x719146d1 in abort () from /lib64/libc.so.6
#2  0x761e4c6a in fatal_error.lto_priv () from
/lib64/libpython3.7m.so.1.0
#3  0x762420a4 in _Py_FatalInitError () from
/lib64/libpython3.7m.so.1.0
#4  0x76245b5f in pymain_main.constprop.357.cold () from
/lib64/libpython3.7m.so.1.0
#5  0x76245dfe in Py_Main () from /lib64/libpython3.7m.so.1.0
#6  0x768bb063 in PyFF_Main () from /lib64/libfontforge.so.2
#7  0x768deb4d in CheckIsScript () from /lib64/libfontforge.so.2
#8  0x77a6ae62 in fontforge_main () from /lib64/libfontforgeexe.so.2
#9  0x719162fb in __libc_start_main () from /lib64/libc.so.6
#10 0x496a in _start ()

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org/message/UBWLBRWZJES2QFQ27Y3MFSEFV24D7WKN/


[Bug 1595421] fontforge on Python 3.7: Fatal Python error: _Py_InitializeCore: main interpreter already initialized

2018-06-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1595421

Miro Hrončok  changed:

   What|Removed |Added

 Status|ON_QA   |ASSIGNED
   Fixed In Version|python3-3.7.0-1.fc29,   |
   |fontforge-20170731-7.fc29   |
  Flags||needinfo?(vstinner@redhat.c
   ||om)



--- Comment #8 from Miro Hrončok  ---
fontforge -lang=py -script apply_featurefile.py Lohit-Assamese.sfd
Lohit-Assamese.fea
Copyright (c) 2000-2014 by George Williams. See AUTHORS for Contributors.
 License GPLv3+: GNU GPL version 3 or later 
 with many parts BSD . Please read LICENSE.
 Based on sources from 09:57 UTC 28-Jun-2018-ML-D.
 Based on source from git with hash: 
Fatal Python error: _Py_InitializeCore: main interpreter already initialized

OK, Victor, what now?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org/message/TDPHRCSWNZXDWDUO5MRYPTLWJJOOF2PP/


[Bug 1595421] fontforge on Python 3.7: Fatal Python error: _Py_InitializeCore: main interpreter already initialized

2018-06-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1595421

Miro Hrončok  changed:

   What|Removed |Added

 Status|ASSIGNED|ON_QA
   Fixed In Version||python3-3.7.0-1.fc29,
   ||fontforge-20170731-7.fc29



--- Comment #7 from Miro Hrončok  ---
Built. Will try to build lohit-*-fonts to see if it's fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org/message/OCED7RFI2KBO7NNTIMBMXSQRGXOEZI6B/


[Bug 1595421] fontforge on Python 3.7: Fatal Python error: _Py_InitializeCore: main interpreter already initialized

2018-06-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1595421



--- Comment #6 from Miro Hrončok  ---
python3-3.7.0-1.fc29 built. will rebuild fontforge.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org/message/AG4C4LZJCYC5ILTLNW3P4Q2YW4EGPRTH/


[Bug 1072095] Liberation Sans renders most Latin combining characters incorrectly

2018-06-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1072095

Jens Petersen  changed:

   What|Removed |Added

   Assignee|psatp...@redhat.com |peter...@redhat.com



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org/message/Z7UQGWDE4A3O2DDP4PNKSSWRBBJZLSHQ/


[Bug 1072095] Liberation Sans renders most Latin combining characters incorrectly

2018-06-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1072095

Jens Petersen  changed:

   What|Removed |Added

Version|28  |rawhide



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org/message/7YZVQQK3WNCAFD4O4ARJ4IHO4NS3WZ6M/


[Bug 1072095] Liberation Sans renders most Latin combining characters incorrectly

2018-06-28 Thread bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1072095

Jens Petersen  changed:

   What|Removed |Added

   Assignee|peter...@redhat.com |vvija...@redhat.com



-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
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://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/fonts-bugs@lists.fedoraproject.org/message/XGN7ZEK5E7X2JWH5QOYBBFA2ZGSOFN6K/