Pedro Alves
8455d26243
Fix Python unwinder frames regression
...
The gdb.python/py-unwind.exp test is crashing GDB / leaving core dumps
in the test dir, even though it all passes cleanly. The crash is not
visible in gdb.sum/gdb.log because it happens as side effect of the
"quit" command, while flushing the frame cache.
The problem is simply a typo in a 'for' loop's condition, introduced
by a recent change [4fa847d78edd ("Remove MAX_REGISTER_SIZE from
py-unwind.c")], resulting in infinite loop / double-free.
The new test exposes the crash, like:
Running src/gdb/testsuite/gdb.python/py-unwind.exp ...
ERROR: Process no longer exists
gdb/ChangeLog:
2017-07-06 Pedro Alves <palves@redhat.com>
* python/py-unwind.c (pyuw_dealloc_cache): Fix for loop condition.
gdb/testsuite/ChangeLog:
2017-07-06 Pedro Alves <palves@redhat.com>
* gdb.python/py-unwind.exp: Test flushregs.
2017-07-06 00:19:24 +01:00
..
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-06-30 09:31:21 -04:00
2017-03-08 12:46:44 +00:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-02-14 10:38:56 -07:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-06-13 15:20:26 +02:00
2017-01-01 10:52:34 +04:00
2017-03-16 10:43:21 -07:00
2017-03-16 09:28:11 -07:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-05-02 11:35:54 +02:00
2017-05-04 16:02:36 +01:00
2017-02-14 10:57:56 +01:00
2017-05-02 11:35:54 +02:00
2017-02-14 10:57:56 +01:00
2017-02-14 10:57:56 +01:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-03-20 13:47:59 -07:00
2017-03-20 13:47:59 -07:00
2017-01-01 10:52:34 +04:00
2017-03-29 21:53:43 +02:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-26 16:12:12 -05:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-07-06 00:19:24 +01:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-03-16 09:28:11 -07:00
2017-03-16 09:28:11 -07:00
2017-01-01 10:52:34 +04:00
2017-02-10 12:24:35 -07:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00
2017-01-20 13:15:36 -06:00
2017-01-01 10:52:34 +04:00
2017-01-01 10:52:34 +04:00