Bug 1333064
Summary: | /CoreOS/python/Sanity/gdb test is failing on s390x | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Branislav Náter <bnater> |
Component: | python | Assignee: | Charalampos Stratakis <cstratak> |
Status: | CLOSED ERRATA | QA Contact: | Branislav Náter <bnater> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.3 | CC: | cstratak, pviktori |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | s390x | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-2.7.5-58.el7 | Doc Type: | No Doc Update |
Doc Text: |
undefined
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 20:25:03 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Branislav Náter
2016-05-04 15:04:09 UTC
Another test (also related to gdb) is failing on s390x. "frame information optimized out" is displayed instead of frame content. old python python-debug-2.7.5-38.el7_2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :: [ BEGIN ] :: Running gdb :: actually running 'gdb -q -batch -x cmd --args python-debug test.py 2>&1 | tee output' [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x000003fffde58dcc in PyString_FromString (str=0xdeadbeef <Address 0xdeadbeef out of bounds>) at /usr/src/debug/Python-2.7.5/Objects/stringobject.c:121 121 size = strlen(str); #9 Frame 0x802588a8, for file /usr/lib64/python2.7/ctypes/__init__.py, line 504, in string_at (ptr=3735928559, size=-1) return _string_at(ptr, size) #13 Frame 0x80089d08, for file test.py, line 5, in bar (self=<Foo(someattr=42, someotherattr={'three': [(), (None,), (None, None)], 'two': 2L, 'one': 1}) at remote 0x80236288>, string_at=<function at remote 0x8027ca58>) string_at(0xDEADBEEF) # this code will cause Python to segfault #16 Frame 0x80087b18, for file test.py, line 16, in <module> () f.bar() A debugging session is active. Inferior 1 [process 30596] will be killed. Quit anyway? (y or n) [answered Y; input not from terminal] :: [ PASS ] :: Running gdb (Expected 0, got 0) :: [ PASS ] :: File 'output' should not contain 'Error occurred in Python command' :: [ PASS ] :: File 'output' should contain '[fF]ile .*ctypes.*in.*string_at' :: [ PASS ] :: File 'output' should contain '[fF]ile test.py, line 5, in bar.*someattr=42' :: [ PASS ] :: File 'output' should contain '[fF]ile test.py, line 16, in <module>' new python python-debug-2.7.5-48.el7 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :: [ BEGIN ] :: Running gdb :: actually running 'gdb -q -batch -x cmd --args python-debug test.py 2>&1 | tee output' [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x000003fffde5462c in PyString_FromString (str=0xdeadbeef <Address 0xdeadbeef out of bounds>) at /usr/src/debug/Python-2.7.5/Objects/stringobject.c:121 121 size = strlen(str); #9 (frame information optimized out) #13 (frame information optimized out) #16 (frame information optimized out) A debugging session is active. Inferior 1 [process 29849] will be killed. Quit anyway? (y or n) [answered Y; input not from terminal] :: [ PASS ] :: Running gdb (Expected 0, got 0) :: [ PASS ] :: File 'output' should not contain 'Error occurred in Python command' :: [ FAIL ] :: File 'output' should contain '[fF]ile .*ctypes.*in.*string_at' :: [ FAIL ] :: File 'output' should contain '[fF]ile test.py, line 5, in bar.*someattr=42' :: [ FAIL ] :: File 'output' should contain '[fF]ile test.py, line 16, in <module>' Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2017:1868 |