public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/29185] New: GDB claims it was killed by a KeyboardInterrupt if it was killed by SIGTERM
@ 2022-05-25 22:21 volker.weissmann at gmx dot de
  2022-05-25 23:02 ` [Bug cli/29185] " volker.weissmann at gmx dot de
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: volker.weissmann at gmx dot de @ 2022-05-25 22:21 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29185

            Bug ID: 29185
           Summary: GDB claims it was killed by a KeyboardInterrupt if it
                    was killed by SIGTERM
           Product: gdb
           Version: 12.1
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: cli
          Assignee: unassigned at sourceware dot org
          Reporter: volker.weissmann at gmx dot de
  Target Milestone: ---

# How to reproduce:

Start gdb, then run 
> pkill --signal SIGTERM gdb
in another terminal.

# Observed outcome

[volker@battle ~]$ gdb
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
Exception ignored in: <gdb._GdbOutputFile object at 0x7fc1bed57160>
Traceback (most recent call last):
  File "/usr/share/gdb/python/gdb/__init__.py", line 47, in flush
    def flush(self):
KeyboardInterrupt: 
[volker@battle ~]$ 

# Expected Outcome:
Something like:

...

For help, type "help".
Type "apropos word" to search for commands related to "word".
(gdb) Received SIGTERM
[volker@battle ~]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/29185] GDB claims it was killed by a KeyboardInterrupt if it was killed by SIGTERM
  2022-05-25 22:21 [Bug cli/29185] New: GDB claims it was killed by a KeyboardInterrupt if it was killed by SIGTERM volker.weissmann at gmx dot de
@ 2022-05-25 23:02 ` volker.weissmann at gmx dot de
  2024-02-04 20:13 ` fw at immunant dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: volker.weissmann at gmx dot de @ 2022-05-25 23:02 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29185

Volker Weißmann <volker.weissmann at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |volker.weissmann at gmx dot de

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/29185] GDB claims it was killed by a KeyboardInterrupt if it was killed by SIGTERM
  2022-05-25 22:21 [Bug cli/29185] New: GDB claims it was killed by a KeyboardInterrupt if it was killed by SIGTERM volker.weissmann at gmx dot de
  2022-05-25 23:02 ` [Bug cli/29185] " volker.weissmann at gmx dot de
@ 2024-02-04 20:13 ` fw at immunant dot com
  2024-02-18 14:07 ` volker.weissmann at gmx dot de
  2024-02-18 17:23 ` vries at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: fw at immunant dot com @ 2024-02-04 20:13 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29185

Frances Wingerter <fw at immunant dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fw at immunant dot com

--- Comment #1 from Frances Wingerter <fw at immunant dot com> ---
I can confirm this behavior in gdb 12.1 but it seems fixed as of gdb 14.1.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/29185] GDB claims it was killed by a KeyboardInterrupt if it was killed by SIGTERM
  2022-05-25 22:21 [Bug cli/29185] New: GDB claims it was killed by a KeyboardInterrupt if it was killed by SIGTERM volker.weissmann at gmx dot de
  2022-05-25 23:02 ` [Bug cli/29185] " volker.weissmann at gmx dot de
  2024-02-04 20:13 ` fw at immunant dot com
@ 2024-02-18 14:07 ` volker.weissmann at gmx dot de
  2024-02-18 17:23 ` vries at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: volker.weissmann at gmx dot de @ 2024-02-18 14:07 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29185

Volker Weißmann <volker.weissmann at gmx dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Volker Weißmann <volker.weissmann at gmx dot de> ---
I tested version 14.1 and it seems to be fixed:

[volker@battle ~]$ gdb
GNU gdb (GDB) 14.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
[volker@battle ~]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug cli/29185] GDB claims it was killed by a KeyboardInterrupt if it was killed by SIGTERM
  2022-05-25 22:21 [Bug cli/29185] New: GDB claims it was killed by a KeyboardInterrupt if it was killed by SIGTERM volker.weissmann at gmx dot de
                   ` (2 preceding siblings ...)
  2024-02-18 14:07 ` volker.weissmann at gmx dot de
@ 2024-02-18 17:23 ` vries at gcc dot gnu.org
  3 siblings, 0 replies; 5+ messages in thread
From: vries at gcc dot gnu.org @ 2024-02-18 17:23 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29185

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.1
                 CC|                            |vries at gcc dot gnu.org

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Fixed by:
...
commit 3b431a3c9071d3e654e66a461e152c6bf8386096
Author: Kevin Buettner <kevinb@redhat.com>
Date:   Fri Mar 10 15:27:43 2023 -0700

    PR gdb/30219: Clear sync_quit_force_run in quit_force
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-02-18 17:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-25 22:21 [Bug cli/29185] New: GDB claims it was killed by a KeyboardInterrupt if it was killed by SIGTERM volker.weissmann at gmx dot de
2022-05-25 23:02 ` [Bug cli/29185] " volker.weissmann at gmx dot de
2024-02-04 20:13 ` fw at immunant dot com
2024-02-18 14:07 ` volker.weissmann at gmx dot de
2024-02-18 17:23 ` vries at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).