<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>37310</bug_id>
          
          <creation_ts>2019-10-07 20:32:07 +0300</creation_ts>
          <short_desc>Падение новой сборки</short_desc>
          <delta_ts>2019-10-07 23:55:21 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>python-module-PyQt5</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Grigory Ustinov">grenka</assigned_to>
          <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>cow</cc>
    
    <cc>darktemplar</cc>
    
    <cc>evg</cc>
    
    <cc>george</cc>
    
    <cc>grenka</cc>
    
    <cc>imz</cc>
    
    <cc>lav</cc>
    
    <cc>mithraen</cc>
    
    <cc>nbr</cc>
    
    <cc>qa_viy</cc>
    
    <cc>rider</cc>
    
    <cc>sem</cc>
    
    <cc>shaba</cc>
    
    <cc>sin</cc>
    
    <cc>slev</cc>
    
    <cc>vitty</cc>
    
    <cc>viy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>184803</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2019-10-07 20:32:07 +0300</bug_when>
    <thetext>собрал python sip, потом PyQt5 с ним:

python-module-PyQt5-5.12.3-alt1.x86_64
python-module-PyQt5-debuginfo-5.12.3-alt1.x86_64
python-module-PyQt5-devel-5.12.3-alt1.noarch
python-module-PyQt5-sip-4.19.19-alt1.x86_64

и получил падение:
&gt;&gt;&gt; import PyQt5.QtCore
...
Program received signal SIGSEGV, Segmentation fault.
QUtf16::convertToUnicode (chars=0xffffffffffffffff &lt;error: Cannot access memory at address 0xffffffffffffffff&gt;, len=103, state=state@entry=0x0, e=e@entry=DetectEndianness) at codecs/qutfcodec.cpp:803
803	        if (half) {
(gdb) bt
#0  QUtf16::convertToUnicode (chars=0xffffffffffffffff &lt;error: Cannot access memory at address 0xffffffffffffffff&gt;, len=103, state=state@entry=0x0, e=e@entry=DetectEndianness) at codecs/qutfcodec.cpp:803
#1  0x0000003114f3dba3 in QString::fromUtf16 (unicode=&lt;optimized out&gt;, size=&lt;optimized out&gt;) at tools/qstring.cpp:5667
#2  0x00007ffff7c014c6 in qpycore_PyObject_AsQString (obj=0x7ffff7f14810) at ../qpy/QtCore/qpycore_qstring.cpp:185
#3  0x00007ffff7c0159c in qpycore_qt_conf () at ../qpy/QtCore/qpycore_qt_conf.cpp:82
#4  0x00007ffff7a36a1f in qpycore_post_init (module_dict=0x7ffff7eabd70) at qpycore_post_init.cpp:156
#5  0x00007ffff7be7cfb in initQtCore () at /usr/src/debug/PyQt-gpl-5.12.3/sip/QtCore/qobject.sip:750
#6  0x0000003108b151c6 in _PyImport_LoadDynamicModule (name=name@entry=0x494350 &quot;PyQt5.QtCore&quot;, pathname=pathname@entry=0x516830 &quot;/usr/lib64/python2.7/site-packages/PyQt5/QtCore.so&quot;, fp=&lt;optimized out&gt;) at Python/importdl.c:53

Причём только на python
$ python3 -c &apos;from PyQt5 import QtGui&apos;
$ python -c &apos;from PyQt5 import QtGui&apos;
Ошибка сегментирования</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184804</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2019-10-07 20:43:19 +0300</bug_when>
    <thetext>А зачем тебе python-2 версия ? он же уже почти одной ногой в могиле.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184805</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2019-10-07 20:44:22 +0300</bug_when>
    <thetext>(В ответ на комментарий №1)
&gt; А зачем тебе python-2 версия ? он же уже почти одной ногой в могиле.
Да я бы рад и выкинуть, но я всё это ради calibre, а они ещё не python3 не перешли.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184806</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2019-10-07 20:45:59 +0300</bug_when>
    <thetext>Сизиф можно и попробовать перевести:
https://github.com/kovidgoyal/calibre/blob/master/README.python3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>184810</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2019-10-07 23:55:21 +0300</bug_when>
    <thetext>Что-то очень похожее:

Only manifests on python2, python3 is fine. Initially reported in
https://bugs.archlinux.org/task/63051

$ python -c &apos;import PyQt5.QtCore&apos;
$ python2 -c &apos;import PyQt5.QtCore&apos;
Fatal Python error: PyQt5.QtCore: Unable to embed qt.conf
Aborted (core dumped)

https://www.riverbankcomputing.com/pipermail/pyqt/2019-July/041896.html


Обещали исправить тогда же.
И да, с python-module-PyQt5.git=5.13.1-alt1
ничего не падает.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>