NetBSD Problem Report #52829

From www@NetBSD.org  Sat Dec 16 22:46:06 2017
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 33B257A178
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 16 Dec 2017 22:46:06 +0000 (UTC)
Message-Id: <20171216224605.17B9B7A1C6@mollari.NetBSD.org>
Date: Sat, 16 Dec 2017 22:46:05 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: adjusting gdb tui window so it is too short segfaults
X-Send-Pr-Version: www-1.0

>Number:         52829
>Category:       toolchain
>Synopsis:       adjusting gdb tui window so it is too short segfaults
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 16 22:50:00 +0000 2017
>Closed-Date:    Thu Nov 15 20:03:06 +0000 2018
>Last-Modified:  Thu Nov 15 20:03:06 +0000 2018
>Originator:     coypu
>Release:        NetBSD 8.0
>Organization:
>Environment:
NetBSD 8.0, gdb 7.12
>Description:

>How-To-Repeat:
gdb -q
C-x 2 (or 'tui enable')
keep resizing the terminal window so it is too short.

Core was generated by `gdb'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000071255c01ad33 in redrawwin () from /usr/lib/libcurses.so.7
(gdb) bt
#0  0x000071255c01ad33 in redrawwin () from /usr/lib/libcurses.so.7
#1  0x0000000104410c42 in tui_refresh_all ()
#2  0x000000010441293a in tui_refresh_all_win ()
#3  0x0000000104412d78 in ?? ()
#4  0x0000000104303761 in ?? ()
#5  0x0000000104304088 in start_event_loop ()
#6  0x0000000104288415 in ?? ()
#7  0x0000000104304cf5 in catch_errors ()
#8  0x00000001042895bb in gdb_main ()
#9  0x0000000104595660 in main ()
>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Thu, 15 Nov 2018 20:03:06 +0000
State-Changed-Why:
fixed by christos a while back.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.