From Fedora Project Wiki

Revision as of 10:38, 1 April 2010 by Jmoskovc (talk | contribs) (Created page with '{{QA/Test_Case |description=This test case tests the functionality of the ABRT together with EasierPythonDebugging. |actions=...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case tests the functionality of the ABRT together with EasierPythonDebugging.


How to test

  • Try to run this one-liner python scripts that abuse the ctypes module in such a way as to cause /usr/bin/python to segfault/abort:
[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)
  • repeat all of the above for python3 and python3-debuginfo

Expected Results

  1. In each case, there should be a meaningful information at the Python level, as well as at the C level in the bactrace.

This category currently contains no pages or media.