From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 46CD33851C31; Wed, 27 May 2020 06:20:18 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 46CD33851C31 From: "phi.debian at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug tui/26036] GDB core dump TUI + rl Date: Wed, 27 May 2020 06:20:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui X-Bugzilla-Version: 9.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: phi.debian at gmail dot com X-Bugzilla-Status: UNCONFIRMED 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: Wed, 27 May 2020 06:20:18 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26036 --- Comment #1 from Phi --- Verified on GDB-9.2=20 Build on Ubuntu 20.04 I guess the root cause is the same (rl not initialised) but now it material= ize elsewhere in 9.2. -----------------------------------------v #0 __GI__IO_fputs (str=3D0x555556187410 "(gdb) ", fp=3D0x0) at iofputs.c:32 #1 0x0000555555bc4199 in readline_internal_setup () at ../../../readline/readline/readline.c:436 #2 0x0000555555be44a7 in _rl_callback_newline () at ../../../readline/readline/callback.c:100 ../../../readline/readline/readline.c:436 ... if (rl_prompt && rl_already_prompted =3D=3D 0) { nprompt =3D _rl_strip_prompt (rl_prompt); fprintf (_rl_out_stream, "%s", nprompt); fflush (_rl_out_stream); xfree (nprompt); }=20 ... (*) (gdb) p _rl_out_stream $2 =3D (FILE *) 0 I guess it should be fixed at 9.2 and backported at 9.1... --=20 You are receiving this mail because: You are on the CC list for the bug.=