NetBSD Problem Report #52914

From www@NetBSD.org  Mon Jan  8 21:57:47 2018
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 0A4857A1AE
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  8 Jan 2018 21:57:47 +0000 (UTC)
Message-Id: <20180108215746.19DEA7A220@mollari.NetBSD.org>
Date: Mon,  8 Jan 2018 21:57:46 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: rtld core dump (running sudo on n32)
X-Send-Pr-Version: www-1.0

>Number:         52914
>Category:       port-mips
>Synopsis:       rtld core dump (running sudo on n32)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mips-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 08 22:00:01 +0000 2018
>Closed-Date:    Wed Mar 04 14:15:45 +0000 2020
>Last-Modified:  Wed Mar 04 14:15:45 +0000 2020
>Originator:     coypu
>Release:        NetBSD 8.99.11
>Organization:
>Environment:
NetBSD toy 8.99.11 NetBSD 8.99.11 (LOONGSON) #2: Mon Jan  8 19:54:40 IST 2018  fly@localhost:/home/fly/mipsel/sys/arch/evbmips/compile/LOONGSON evbmips

>Description:
(gdb) r
Starting program: /usr/pkg/bin/sudo 

Program received signal SIGSEGV, Segmentation fault.
0x786d4118 in _rtld () from /usr/libexec/ld.elf_so
(gdb) bt
#0  0x786d4118 in _rtld () from /usr/libexec/ld.elf_so
#1  0x786d09d4 in rtld_start () from /usr/libexec/ld.elf_so
Backtrace stopped: frame did not save the PC

>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-mips/52914: rtld core dump (running sudo on n32)
Date: Mon, 8 Jan 2018 23:07:12 +0000

 #0  0x786d3644 in _rtld (sp=<optimized out>, relocbase=<optimized out>) at /usr/src/libexec/ld.elf_so/rtld.c:753

From: Glyn Astill <glynastill@yahoo.co.uk>
To: "gnats-bugs@NetBSD.org" <gnats-bugs@NetBSD.org>
Cc: "coypu@sdf.org" <coypu@sdf.org>
Subject: Re: port-mips/52914
Date: Wed, 5 Jun 2019 10:31:37 +0000 (UTC)

 ------=_Part_257154_192156985.1559730697066
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 Was there any progress with this? I'm seeing similar on port-cobalt:

 qube2# uname -aNetBSD qube2.8kb.co.uk 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul =
 17 14:59:51 UTC 2018=C2=A0 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/cob=
 alt/compile/GENERIC cobalt
 qube2# gdb "/usr/pkg/bin/sudo"
 GNU gdb (GDB) 7.12
 Copyright (C) 2016 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
 l>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.=C2=A0 Type "show copy=
 ing"
 and "show warranty" for details.
 This GDB was configured as "mipsel--netbsd".
 Type "show configuration" for configuration details.
 For bug reporting instructions, please see:
 <http://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"...
 Reading symbols from /usr/pkg/bin/sudo...(no debugging symbols found)...don=
 e.
 (gdb) run
 Starting program: /usr/pkg/bin/sudo

 Program received signal SIGSEGV, Segmentation fault.
 0x7ded4ac8 in _rtld () from /usr/libexec/ld.elf_so
 (gdb) bt
 #0=C2=A0 0x7ded4ac8 in _rtld () from /usr/libexec/ld.elf_so
 #1=C2=A0 0x7ded0a60 in rtld_start () from /usr/libexec/ld.elf_so
 Backtrace stopped: frame did not save the PC

 ------=_Part_257154_192156985.1559730697066
 Content-Type: text/html; charset=UTF-8
 Content-Transfer-Encoding: quoted-printable

 <html><head></head><body><div class=3D"yahoo-style-wrap" style=3D"font-fami=
 ly:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div><div>=
 <div>Was there any progress with this? I'm seeing similar on port-cobalt:<b=
 r></div><div><br></div><div>qube2# uname -a</div>NetBSD qube2.8kb.co.uk 8.0=
  NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018&nbsp; mkrepro@mkrepr=
 o.NetBSD.org:/usr/src/sys/arch/cobalt/compile/GENERIC cobalt<br>qube2# gdb =
 "/usr/pkg/bin/sudo"<br>GNU gdb (GDB) 7.12<br>Copyright (C) 2016 Free Softwa=
 re Foundation, Inc.<br>License GPLv3+: GNU GPL version 3 or later &lt;http:=
 //gnu.org/licenses/gpl.html&gt;<br>This is free software: you are free to c=
 hange and redistribute it.<br>There is NO WARRANTY, to the extent permitted=
  by law.&nbsp; Type "show copying"<br>and "show warranty" for details.<br>T=
 his GDB was configured as "mipsel--netbsd".<br>Type "show configuration" fo=
 r configuration details.<br>For bug reporting instructions, please see:<br>=
 &lt;http://www.gnu.org/software/gdb/bugs/&gt;.<br>Find the GDB manual and o=
 ther documentation resources online at:<br>&lt;http://www.gnu.org/software/=
 gdb/documentation/&gt;.<br>For help, type "help".<br>Type "apropos word" to=
  search for commands related to "word"...<br>Reading symbols from /usr/pkg/=
 bin/sudo...(no debugging symbols found)...done.<br>(gdb) run<br>Starting pr=
 ogram: /usr/pkg/bin/sudo<br><br>Program received signal SIGSEGV, Segmentati=
 on fault.<br>0x7ded4ac8 in _rtld () from /usr/libexec/ld.elf_so<br>(gdb) bt=
 <br>#0&nbsp; 0x7ded4ac8 in _rtld () from /usr/libexec/ld.elf_so<br>#1&nbsp;=
  0x7ded0a60 in rtld_start () from /usr/libexec/ld.elf_so<br>Backtrace stopp=
 ed: frame did not save the PC</div><br></div></div></body></html>
 ------=_Part_257154_192156985.1559730697066--

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 04 Mar 2020 14:15:45 +0000
State-Changed-Why:
Fixed by thorpej in 55043


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.