This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Josiah Ulfers
Recipients Josiah Ulfers
Date 2019-02-07.00:02:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1549497741.38.0.310308715457.issue35924@roundup.psfhosted.org>
In-reply-to
Content
To provoke a segmentation fault, run the attached, then grab the top or
bottom edge of the window. Move it down or up until it overlaps the box.
Might need to wiggle the edge a little, but it's reliably reproducible.

Expected error, which is what happens when dragging the left or right edge
instead of the top or bottom:

    Traceback (most recent call last):
      File "cursesfault.py", line 12, in <module>
        curses.wrapper(main)
      File "/usr/lib64/python3.6/curses/__init__.py", line 94, in wrapper
        return func(stdscr, *args, **kwds)
      File "cursesfault.py", line 9, in main
        w.addstr(0, 0, box)
    _curses.error: addwstr() returned ERR

Actual error message varies a little. It's either:

    *** Error in `python3': corrupted size vs. prev_size: 0x000055b3055ba820 ***
        Aborted (core dumped)

Or:

    *** Error in `python3': double free or corruption (!prev): 0x000055b61e1ffbb0 ***
        Aborted (core dumped)

Or:

    *** Error in `python': malloc(): memory corruption: 0x0000564907a5a4f0 ***
        Aborted (core dumped)

Possibly relates to issue15581

---

Python 2.7.14 and 3.6.5
OpenSUSE 15.0
KDE Plasma 5.12.6

uname -a
Linux ... 4.12.14-lp150.12.45-default #1 SMP Mon Jan 14 20:29:59 UTC 2019 (7a62739) x86_64 x86_64 x86_64 GNU/Linux
History
Date User Action Args
2019-02-07 00:02:23Josiah Ulferssetrecipients: + Josiah Ulfers
2019-02-07 00:02:21Josiah Ulferssetmessageid: <1549497741.38.0.310308715457.issue35924@roundup.psfhosted.org>
2019-02-07 00:02:21Josiah Ulferslinkissue35924 messages
2019-02-07 00:02:21Josiah Ulferscreate