Bug 26845

Summary: mageiawelcome fails to start (due to segfault)
Product: Mageia Reporter: Martin Whitaker <mageia>
Component: RPM PackagesAssignee: papoteur <yvesbrungard>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: geiger.david68210, kde, tarazed25
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: mageiawelcome-2.01-3.mga8.src.rpm CVE:
Status comment:
Attachments: A backtrace from gdb
And a full backtrace

Description Martin Whitaker 2020-06-22 00:11:29 CEST
Tested in a fresh all-DE install of cauldron in VirtualBox. When run from a terminal, the following messages are displayed:

[martin@localhost ~]$ mageiawelcome
/usr/share/mageiawelcome/mageiawelcome.py:202: DeprecationWarning: an integer is required (got type float).  Implicit conversion to integers using __int__ is deprecated, and may be removed in a future version of Python.
  view.setGeometry(centerPoint.x() -defaultWidth/2, centerPoint.y() - defaultHeight/2, defaultWidth,defaultHeight)
file:///usr/share/mageiawelcome/mw-ui.qml:928:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.
Qt Quick Layouts: Detected recursive rearrange. Aborting after two iterations.

dmesg shows:

[  422.931765] python3[3383]: segfault at 18 ip 00007f42c8c7ace7 sp 00007ffc2fb13650 error 4 in libpython3.8.so.1.0[7f42c8bd3000+187000]
[  422.931772] Code: ff e9 08 41 f6 ff e9 7b 42 f6 ff 4d 89 ec e9 be f7 ff ff 41 57 49 89 cf 41 56 41 55 41 54 55 48 89 d5 53 48 89 f3 48 83 ec 18 <4c> 8b 6f 18 4d 85 ed 0f 84 cc 00 00 00 49 39 55 30 0f 85 c2 00 00

This was in a 64-bit system, but I saw the same thing in a 32-bit system.
Comment 1 papoteur 2020-06-23 22:25:41 CEST
Created attachment 11712 [details]
A backtrace from gdb
Comment 2 papoteur 2020-06-23 22:26:17 CEST
Created attachment 11713 [details]
And a full backtrace
Comment 3 Lewis Smith 2020-06-24 20:46:20 CEST
*** Bug 26850 has been marked as a duplicate of this bug. ***

CC: (none) => tarazed25

papoteur 2020-06-24 22:25:18 CEST

CC: (none) => kde

Comment 4 David GEIGER 2020-06-25 06:22:48 CEST
So ok found what is going wrong here!

python-qt5 was compiled against sip 4.19.22 which contains a wrong race condition when calling the PyQt5-specific meta-call helper:

https://www.riverbankcomputing.com/hg/sip/raw-rev/812b5e26df96

This was fixed upstream in sip 4.19.23 and now python-qt5 needs a rebuild against new sip that is now in progress on BS.

Please test with latest python-qt5 update.

CC: (none) => geiger.david68210

Comment 5 papoteur 2020-06-25 07:56:10 CEST
Updating.
Got:
rpm -qa |grep -i python3-qt
python3-qt5-qml-debuginfo-5.15.0-2.mga8
python3-qt5-core-5.15.0-2.mga8
python3-qt5-widgets-5.15.0-2.mga8
python3-qt5-core-debuginfo-5.15.0-2.mga8
python3-qt5-dbus-5.15.0-2.mga8
python3-qt5-gui-5.15.0-2.mga8
python3-qt5-qml-5.15.0-2.mga8
python3-qt5-network-5.15.0-2.mga8
python3-qt5-quick-5.15.0-2.mga8

And mageiawelcome works.

Thanks David.
Closing

Status: NEW => RESOLVED
Resolution: (none) => FIXED