Bug 15644 - python: 2 failures in ptest: segfault, incorrect parsing
Summary: python: 2 failures in ptest: segfault, incorrect parsing
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 5.2
Hardware: x86 Multiple
: Medium normal
Target Milestone: 6.1
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-11-08 21:43 UTC by Randy MacLeod
Modified: 2026-06-11 08:09 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy MacLeod 2024-11-08 21:43:33 UTC
When Peter was testing an openssl update, he noticed:

During the investigation, I have also found 2 following problems with python:

1) when running ptest in core-image-minimal, there are two crashes in console (both with openssl 3.3.1 and 3.4.0):
[   91.482461] python3[8605]: segfault at 10 ip 00007f5b0760f561 sp 00007ffeda12c440 error 4 in libpython3.12.so.1.0[1ae561,7f5b07566000+23c000] likely on CPU 0 (core 0, socket 0)
[   91.485213] Code: 0f 1f 84 00 00 00 00 00 90 41 54 55 53 48 89 fb 66 48 8d 3d c9 d9 35 00 66 66 48 e8 79 90 f5 ff 4c 8b 25 ca d7 35 00 48 8b 00 <48> 8b 68 10 49 3b 6c 24 30 74 09 f6 85 b0 06 00 00 20 75 4b 48 8d
[  118.871057] python3[12214]: segfault at 10 ip 00007f7ad5dd2561 sp 00007f7ad50f7dd0 error 4 in libpython3.12.so.1.0[1ae561,7f7ad5d29000+23c000] likely on CPU 2 (core 2, socket 0)
[  118.873991] Code: 0f 1f 84 00 00 00 00 00 90 41 54 55 53 48 89 fb 66 48 8d 3d c9 d9 35 00 66 66 48 e8 79 90 f5 ff 4c 8b 25 ca d7 35 00 48 8b 00 <48> 8b 68 10 49 3b 6c 24 30 74 09 f6 85 b0 06 00 00 20 75 4b 48 8d

2) python ptest parsing is wrong, it detected only one from 8 test failures (see my cpython issue and ptest logs).
Comment 1 Randy MacLeod 2024-11-08 21:45:19 UTC
Peter is: peter.marko@siemens.com, who doesn't yet have a bugzilla account.
Comment 2 Randy MacLeod 2025-05-01 14:07:08 UTC
Bulk move of all unassigned 5.2 medium importance bugs to 5.3.
Comment 3 Randy MacLeod 2026-04-01 19:07:39 UTC
Add Peter.

Have you seen this again? 
Do you want to keep this defect open?
Comment 4 Randy MacLeod 2026-04-02 15:12:33 UTC
Randy, check if I see any segfaults when running this test on the target image as well.
Comment 5 Peter Marko 2026-06-11 08:09:26 UTC
I have tested with with current Wrynose and it no longer occurs.
I think it can be closed as resolved,