|
|
Line 1: |
Line 1: |
| {{QA/Test_Case
| | |
| |description=This test case tests the functionality of the [[Features/ABRT|ABRT]] together with [[Features/EasierPythonDebugging|EasierPythonDebugging]].
| |
| |actions=
| |
| * Try to run this one-liner python scripts that abuse the <code>ctypes</code> module in such a way as to cause <code>/usr/bin/python</code> to segfault/abort:
| |
| <pre>[david@brick ~]$ python -c "import ctypes; ctypes.string_at(0xffffffff)"
| |
| Segmentation fault (core dumped)
| |
| [david@brick ~]$ python -c "import ctypes; ctypes.string_at(0x0)"
| |
| python: Objects/stringobject.c:115: PyString_FromString: Assertion `str != ((void *)0)' failed.
| |
| Aborted (core dumped)
| |
| </pre>
| |
| * repeat all of the above for <code>python3</code> and <code>python3-debuginfo</code>
| |
| |results=
| |
| # In each case, there should be a meaningful information at the Python level, as well as at the C level in the bactrace.
| |
| #* please see [[Features/EasierPythonDebugging#How_To_Test|EasierPythonDebuggingTests]] for more information.
| |
| }}
| |
| [[Category:ABRT_Test_Cases]]
| |
Latest revision as of 10:46, 1 April 2010
This category currently contains no pages or media.