[PATCH 0/3] Fix crash if connection drops in scoped_restore_current_thread's ctor
Pedro Alves
pedro@palves.net
Fri Jul 10 23:02:55 GMT 2020
On 7/9/20 12:31 AM, Pedro Alves wrote:
> (I have internet again: found a sim card of a different operator that
> works. This will do until the communications tower near me is
> repaired and get I fiber back...)
>
> This series fixes the crashes exposed by the
> gdb.multi/multi-target.exp testcase when run against an Asan-enabled
> GDB build, initially reported by Simon here:
>
> https://sourceware.org/pipermail/gdb-patches/2020-July/170222.html
>
> The first two patches fix the crashes, and we should probably put them
> in GDB 10.
>
> The last patch is a follow up that avoids swallowing exceptions in
> scoped_restore_current_thread's dtor that I'm thinking would be a bit
> too invasive to put in GDB 10, I think it could do with a longer
> baking period in master.
>
> Pedro Alves (3):
> Fix crash if connection drops in scoped_restore_current_thread's ctor,
> part 1
> Fix crash if connection drops in scoped_restore_current_thread's ctor,
> part 2
> Make scoped_restore_current_thread's cdtors exception free (RFC)
I've now merged patches 1 and 2. Patch 3 will wait until after the branch
is cut.
More information about the Gdb-patches
mailing list