From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 98D5E386F018; Mon, 10 Aug 2020 14:58:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 98D5E386F018 From: "mpratt at google dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/26056] SIGSEGV in tui_async_resize_screen -> rl_resize_terminal on SIGWINCH with non-tty stdin/stdout Date: Mon, 10 Aug 2020 14:58:40 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mpratt at google dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2020 14:58:40 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26056 --- Comment #2 from Michael Pratt --- I'm still seeing the same behavior at 3eb651743e06fb360687a26be87bc6b710fc7= 066 ("Implement missing powerpc mtspr and mfspr extended insns"). $ gdb/gdb -nx -batch -ex 'run' --args sleep 60 &1 | cat Python Exception No module named gdb: gdb/gdb: warning: Could not load the Python gdb module from `/usr/local/share/gdb/python'. Limited Python support is available from the _gdb module. Suggest passing --data-directory=3D/path/to/gdb/data-directory.=20 zsh: abort gdb/gdb -nx -batch -ex 'run' --args sleep 60 < /dev/null 2>= &1 | zsh: done cat=20=20=20 $ pkill -WINCH gdb Same crash location: (top-gdb) bt #0 __GI___fileno (fp=3D0x0) at fileno.c:35 #1 0x000055d06e689d40 in rl_resize_terminal () at terminal.c:368 #2 0x000055d06e634c0b in tui_async_resize_screen (arg=3D) at tui/tui-win.c:541 #3 0x000055d06e358ee2 in invoke_async_signal_handlers () at async-event.c:= 206 #4 0x000055d06e751e4e in gdb_do_one_event () at event-loop.cc:172 #5 0x000055d06e6126cc in wait_sync_command_done () at top.c:526 #6 0x000055d06e612e32 in maybe_wait_sync_command_done (was_sync=3D0) at top.c:543 #7 execute_command (p=3D, p@entry=3D, from_tty=3D) at top.c:670 #8 0x000055d06e4f3b50 in catch_command_errors (command=3D, arg=3D, from_tty=3D) at main.c:457 #9 0x000055d06e4f5119 in captured_main_1 (context=3D) at main.c:1218 #10 0x000055d06e4f59bb in captured_main (data=3D) at main.c:= 1268 #11 gdb_main (args=3D) at main.c:1268 #12 0x000055d06e31dd9c in main (argc=3D, argv=3D) at gdb.c:32 --=20 You are receiving this mail because: You are on the CC list for the bug.=