NetBSD Problem Report #52799

From martin@duskware.de  Sat Dec  9 13:59:13 2017
Return-Path: <martin@duskware.de>
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 666CC7A177
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  9 Dec 2017 13:59:13 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: gdb can't debug live threaded processes
X-Send-Pr-Version: 3.95

>Number:         52799
>Category:       toolchain
>Synopsis:       gdb can't debug live threaded processes
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 09 14:00:00 +0000 2017
>Closed-Date:    
>Last-Modified:  Wed Dec 27 19:20:01 +0000 2017
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.9
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.9 NetBSD 8.99.9 (NIGHT-OWL) #563: Sat Dec 9 07:57:41 CET 2017 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

Running gdb -p against a firefox process (build with options debug-info
and started from $PKGOBJ/work/build/dist/bin with ./run-mozilla.sh ./firefox)
does not work well:

 > gdb -p 676
GNU gdb (GDB) 8.0.1
Copyright (C) 2017 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--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".
Attaching to process 676

warning: : No such file or directory.
[New LWP 105 of process 676]
[New LWP 102 of process 676]
[New LWP 74 of process 676]
[New LWP 68 of process 676]
[New LWP 64 of process 676]
[New LWP 63 of process 676]
[New LWP 62 of process 676]
[New LWP 60 of process 676]
[New LWP 59 of process 676]
[New LWP 56 of process 676]
[New LWP 55 of process 676]
[New LWP 54 of process 676]
[New LWP 51 of process 676]
[New LWP 50 of process 676]
[New LWP 49 of process 676]
[New LWP 48 of process 676]
[New LWP 47 of process 676]
[New LWP 46 of process 676]
[New LWP 45 of process 676]
[New LWP 44 of process 676]
[New LWP 43 of process 676]
[New LWP 42 of process 676]
[New LWP 41 of process 676]
[New LWP 40 of process 676]
[New LWP 36 of process 676]
[New LWP 35 of process 676]
[New LWP 34 of process 676]
[New LWP 33 of process 676]
[New LWP 30 of process 676]
[New LWP 29 of process 676]
[New LWP 25 of process 676]
[New LWP 24 of process 676]
[New LWP 23 of process 676]
[New LWP 22 of process 676]
[New LWP 21 of process 676]
[New LWP 20 of process 676]
[New LWP 19 of process 676]
[New LWP 18 of process 676]
[New LWP 17 of process 676]
[New LWP 15 of process 676]
[New LWP 14 of process 676]
[New LWP 13 of process 676]
[New LWP 12 of process 676]
[New LWP 11 of process 676]
[New LWP 10 of process 676]
[New LWP 9 of process 676]
[New LWP 8 of process 676]
[New LWP 7 of process 676]
[New LWP 6 of process 676]
[New LWP 5 of process 676]
[New LWP 4 of process 676]
[New LWP 3 of process 676]
[New LWP 2 of process 676]
[New LWP 1 of process 676]
[Switching to LWP 106 of process 676]
0xf68a96ea in ?? ()
(gdb) c
Continuing.

and then exiting firefox (to make it crash):

[New LWP 109 of process 676]

Thread 56 stopped.
[Switching to LWP 109 of process 676]
0xf68a96ea in ?? ()
ptrace: No such process.

Disabling mprotect/aslr does not help.

>How-To-Repeat:
s/a

>Fix:
n/a

>Release-Note:

>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, toolchain-manager@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: toolchain/52799: gdb can't debug live threaded processes
Date: Sat, 9 Dec 2017 11:10:17 -0500

 On Dec 9,  2:00pm, martin@NetBSD.org (martin@NetBSD.org) wrote:
 -- Subject: toolchain/52799: gdb can't debug live threaded processes

 The default security.pax.mprotect.ptrace=1 does not allow it.

 christos

From: Martin Husemann <martin@duskware.de>
To: Christos Zoulas <christos@zoulas.com>
Cc: gnats-bugs@NetBSD.org, toolchain-manager@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: toolchain/52799: gdb can't debug live threaded processes
Date: Sat, 9 Dec 2017 17:13:48 +0100

 On Sat, Dec 09, 2017 at 11:10:17AM -0500, Christos Zoulas wrote:
 > On Dec 9,  2:00pm, martin@NetBSD.org (martin@NetBSD.org) wrote:
 > -- Subject: toolchain/52799: gdb can't debug live threaded processes
 > 
 > The default security.pax.mprotect.ptrace=1 does not allow it.

 Even if security.pax.mprotect.enabled = 0 ?

 Martin

From: Martin Husemann <martin@duskware.de>
To: Christos Zoulas <christos@zoulas.com>
Cc: gnats-bugs@NetBSD.org, toolchain-manager@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: toolchain/52799: gdb can't debug live threaded processes
Date: Sat, 9 Dec 2017 17:17:31 +0100

 On Sat, Dec 09, 2017 at 05:13:48PM +0100, Martin Husemann wrote:
 > On Sat, Dec 09, 2017 at 11:10:17AM -0500, Christos Zoulas wrote:
 > > On Dec 9,  2:00pm, martin@NetBSD.org (martin@NetBSD.org) wrote:
 > > -- Subject: toolchain/52799: gdb can't debug live threaded processes
 > > 
 > > The default security.pax.mprotect.ptrace=1 does not allow it.
 > 
 > Even if security.pax.mprotect.enabled = 0 ?

 I get the same with security.pax.mprotect.enabled=2

 (gdb) c
 Continuing.
 [New LWP 64 of process 5713]
 Couldn't get registers: No such process.

 Martin

From: christos@zoulas.com (Christos Zoulas)
To: Martin Husemann <martin@duskware.de>
Cc: gnats-bugs@NetBSD.org, toolchain-manager@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: toolchain/52799: gdb can't debug live threaded processes
Date: Sat, 9 Dec 2017 11:25:59 -0500

 On Dec 9,  5:13pm, martin@duskware.de (Martin Husemann) wrote:
 -- Subject: Re: toolchain/52799: gdb can't debug live threaded processes

 | On Sat, Dec 09, 2017 at 11:10:17AM -0500, Christos Zoulas wrote:
 | > On Dec 9,  2:00pm, martin@NetBSD.org (martin@NetBSD.org) wrote:
 | > -- Subject: toolchain/52799: gdb can't debug live threaded processes
 | > 
 | > The default security.pax.mprotect.ptrace=1 does not allow it.
 | 
 | Even if security.pax.mprotect.enabled = 0 ?

 No, that should always work. So something else is busted.

 christos

From: Joerg Sonnenberger <joerg@bec.de>
To: Christos Zoulas <christos@zoulas.com>
Cc: gnats-bugs@NetBSD.org, toolchain-manager@netbsd.org,
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: toolchain/52799: gdb can't debug live threaded processes
Date: Sun, 10 Dec 2017 00:28:34 +0100

 On Sat, Dec 09, 2017 at 11:10:17AM -0500, Christos Zoulas wrote:
 > On Dec 9,  2:00pm, martin@NetBSD.org (martin@NetBSD.org) wrote:
 > -- Subject: toolchain/52799: gdb can't debug live threaded processes
 > 
 > The default security.pax.mprotect.ptrace=1 does not allow it.

 You should be able to attach to them just fine. What you can't do is set
 break points.

 Joerg

From: christos@zoulas.com (Christos Zoulas)
To: Joerg Sonnenberger <joerg@bec.de>
Cc: gnats-bugs@NetBSD.org, toolchain-manager@netbsd.org, 
	gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Subject: Re: toolchain/52799: gdb can't debug live threaded processes
Date: Sat, 9 Dec 2017 19:11:41 -0500

 On Dec 10, 12:28am, joerg@bec.de (Joerg Sonnenberger) wrote:
 -- Subject: Re: toolchain/52799: gdb can't debug live threaded processes

 | On Sat, Dec 09, 2017 at 11:10:17AM -0500, Christos Zoulas wrote:
 | > On Dec 9,  2:00pm, martin@NetBSD.org (martin@NetBSD.org) wrote:
 | > -- Subject: toolchain/52799: gdb can't debug live threaded processes
 | > 
 | > The default security.pax.mprotect.ptrace=1 does not allow it.
 | 
 | You should be able to attach to them just fine. What you can't do is set
 | break points.

 Right. 

 christos

From: "Christos Zoulas" <christos@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/52799 CVS commit: src/external/gpl3/gdb/dist/gdb
Date: Sun, 10 Dec 2017 00:36:25 -0500

 Module Name:	src
 Committed By:	christos
 Date:		Sun Dec 10 05:36:25 UTC 2017

 Modified Files:
 	src/external/gpl3/gdb/dist/gdb: nbsd-nat.c

 Log Message:
 PR/52799: Martin Husemann: Correct sysctl args to find executable.


 To generate a diff of this commit:
 cvs rdiff -u -r1.4 -r1.5 src/external/gpl3/gdb/dist/gdb/nbsd-nat.c

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Martin Husemann <martin@duskware.de>
To: Christos Zoulas <christos@zoulas.com>
Cc: gnats-bugs@NetBSD.org
Subject: Re: toolchain/52799: gdb can't debug live threaded processes
Date: Sun, 10 Dec 2017 14:59:22 +0100

 This still does fail for me (after updating with your latest changes):

 Reading symbols from /usr/libexec/ld.elf_so...Reading symbols from /usr/libdata/debug//usr/libexec/ld.elf_so.debug...done.
 done.
 [Switching to LWP 98 of process 645]
 0x00007f7ff68a973a in ___lwp_park60 () from /usr/lib/libc.so.12
 (gdb) c
 Continuing.
 [New LWP 100 of process 645]
 Couldn't get registers: No such process.


 Martin

State-Changed-From-To: open->feedback
State-Changed-By: christos@NetBSD.org
State-Changed-When: Wed, 27 Dec 2017 14:00:01 -0500
State-Changed-Why:
The "ptrace: Couldn't get registes" message is normal
if the thread has joined. You can run "info thread" and
then "thread <ID>" to change to a running thread.


From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: toolchain/52799 (gdb can't debug live threaded processes)
Date: Wed, 27 Dec 2017 20:16:27 +0100

 --RASg3xLB4tUQ4RcS
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline

 Just try:

  > firefox &
  > gdb -p ` pgrep firefox `

 or gdb -p $( pgrep firefox ) ;-)

 then let gdb continue, do anything in firefox and quit it gracefully.

 A typescript of my run is attached.

 This used to work a lot better (no spurious "stopped" signals) and I am
 not sure the SIGSEGV is for real or induced by broken debugger interaction.
 There is a real SIGSEGV when terminating firefox, but I don't get that
 far within gdb.

 Martin

 --RASg3xLB4tUQ4RcS
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=typescript
 Content-Transfer-Encoding: quoted-printable

 Script started on Wed Dec 27 20:09:33 2017
 =1B]2;martin:/tmp =07=1B]1;martin=07martin has logged on pts/1 from :0.0.=0D
 martin has logged on pts/2 from :0.0.=0D
 martin has logged on pts/3 from :0.0.=0D
 martin has logged on pts/4 from :0.0.=0D
 martin has logged on pts/5 from :0.0.=0D
 martin has logged on pts/6 from :0.0.=0D
 martin has logged on pts/7 from :0.0.=0D
 [/tmp] martin@night-owl > gdb -p =1B[27G=1B[Kpgrep firefox=0D=0D
 16333=0D
 [/tmp] martin@night-owl > gdb -p `pgrep firefox`=0D=0D
 =1B[?1034hGNU gdb (GDB) 8.0.1=0D
 Copyright (C) 2017 Free Software Foundation, Inc.=0D
 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.htm=
 l>=0D
 This is free software: you are free to change and redistribute it.=0D
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"=
 =0D
 and "show warranty" for details.=0D
 This GDB was configured as "x86_64--netbsd".=0D
 Type "show configuration" for configuration details.=0D
 For bug reporting instructions, please see:=0D
 <http://www.gnu.org/software/gdb/bugs/>.=0D
 Find the GDB manual and other documentation resources online at:=0D
 <http://www.gnu.org/software/gdb/documentation/>.=0D
 For help, type "help".=0D
 Type "apropos word" to search for commands related to "word".=0D
 Attaching to process 16333=0D
 Reading symbols from /usr/pkgobj/www/firefox/work/build/dist/bin/./firefox.=
 =2E.done.=0D
 [New LWP 67 of process 16333]=0D
 [New LWP 65 of process 16333]=0D
 [New LWP 62 of process 16333]=0D
 [New LWP 61 of process 16333]=0D
 [New LWP 58 of process 16333]=0D
 [New LWP 57 of process 16333]=0D
 [New LWP 54 of process 16333]=0D
 [New LWP 53 of process 16333]=0D
 [New LWP 52 of process 16333]=0D
 [New LWP 51 of process 16333]=0D
 [New LWP 50 of process 16333]=0D
 [New LWP 49 of process 16333]=0D
 [New LWP 48 of process 16333]=0D
 [New LWP 47 of process 16333]=0D
 [New LWP 46 of process 16333]=0D
 [New LWP 45 of process 16333]=0D
 [New LWP 44 of process 16333]=0D
 [New LWP 43 of process 16333]=0D
 [New LWP 36 of process 16333]=0D
 [New LWP 35 of process 16333]=0D
 [New LWP 34 of process 16333]=0D
 [New LWP 33 of process 16333]=0D
 [New LWP 30 of process 16333]=0D
 [New LWP 29 of process 16333]=0D
 [New LWP 28 of process 16333]=0D
 [New LWP 25 of process 16333]=0D
 [New LWP 24 of process 16333]=0D
 [New LWP 23 of process 16333]=0D
 [New LWP 22 of process 16333]=0D
 [New LWP 21 of process 16333]=0D
 [New LWP 20 of process 16333]=0D
 [New LWP 19 of process 16333]=0D
 [New LWP 18 of process 16333]=0D
 [New LWP 16 of process 16333]=0D
 [New LWP 15 of process 16333]=0D
 [New LWP 14 of process 16333]=0D
 [New LWP 13 of process 16333]=0D
 [New LWP 12 of process 16333]=0D
 [New LWP 11 of process 16333]=0D
 [New LWP 10 of process 16333]=0D
 [New LWP 9 of process 16333]=0D
 [New LWP 8 of process 16333]=0D
 [New LWP 7 of process 16333]=0D
 [New LWP 6 of process 16333]=0D
 [New LWP 5 of process 16333]=0D
 [New LWP 4 of process 16333]=0D
 [New LWP 3 of process 16333]=0D
 [New LWP 2 of process 16333]=0D
 [New LWP 1 of process 16333]=0D
 Reading symbols from /usr/lib/libpthread.so.1...Reading symbols from /usr/l=
 ibdata/debug//usr/lib/libpthread.so.1.3.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/libstdc++.so.8...Reading symbols from /usr/li=
 bdata/debug//usr/lib/libstdc++.so.8.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/libm.so.0...Reading symbols from /usr/libdata=
 /debug//usr/lib/libm.so.0.12.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/libgcc_s.so.1...Reading symbols from /usr/lib=
 data/debug//usr/lib/libgcc_s.so.1.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/libc.so.12...Reading symbols from /usr/libdat=
 a/debug//usr/lib/libc.so.12.209.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkgobj/www/firefox/work/build/dist/bin/liblgpllib=
 s.so...done.=0D
 Reading symbols from /usr/pkgobj/www/firefox/work/build/dist/bin/libmozsqli=
 te3.so...done.=0D
 Reading symbols from /usr/pkgobj/www/firefox/work/build/dist/bin/libmozgtk.=
 so...done.=0D
 Reading symbols from /usr/pkg/lib/libgtk-3.so.0...(no debugging symbols fou=
 nd)...done.=0D
 Reading symbols from /usr/pkg/lib/libgdk-3.so.0...(no debugging symbols fou=
 nd)...done.=0D
 Reading symbols from /usr/X11R7/lib/libXinerama.so.2...Reading symbols from=
  /usr/libdata/debug//usr/X11R7/lib/libXinerama.so.2.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXrandr.so.3...Reading symbols from /=
 usr/libdata/debug//usr/X11R7/lib/libXrandr.so.3.2.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXcursor.so.2...Reading symbols from =
 /usr/libdata/debug//usr/X11R7/lib/libXcursor.so.2.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/libpangocairo-1.0.so.0...(no debugging sy=
 mbols found)...done.=0D
 Reading symbols from /usr/X11R7/lib/libXcomposite.so.2...Reading symbols fr=
 om /usr/libdata/debug//usr/X11R7/lib/libXcomposite.so.2.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXdamage.so.2...Reading symbols from =
 /usr/libdata/debug//usr/X11R7/lib/libXdamage.so.2.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXfixes.so.4...Reading symbols from /=
 usr/libdata/debug//usr/X11R7/lib/libXfixes.so.4.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/libcairo-gobject.so.2...(no debugging sym=
 bols found)...done.=0D
 Reading symbols from /usr/pkg/lib/libcairo.so.2...(no debugging symbols fou=
 nd)...done.=0D
 Reading symbols from /usr/X11R7/lib/libpixman-1.so.2...Reading symbols from=
  /usr/libdata/debug//usr/X11R7/lib/libpixman-1.so.2.2.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libxcb-shm.so.0...Reading symbols from =
 /usr/libdata/debug//usr/X11R7/lib/libxcb-shm.so.0.1.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libxcb.so.2...Reading symbols from /usr=
 /libdata/debug//usr/X11R7/lib/libxcb.so.2.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libxcb-render.so.0...Reading symbols fr=
 om /usr/libdata/debug//usr/X11R7/lib/libxcb-render.so.0.1.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXrender.so.2...Reading symbols from =
 /usr/libdata/debug//usr/X11R7/lib/libXrender.so.2.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXext.so.7...Reading symbols from /us=
 r/libdata/debug//usr/X11R7/lib/libXext.so.7.1.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/librt.so.1...Reading symbols from /usr/libdat=
 a/debug//usr/lib/librt.so.1.1.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/libgdk_pixbuf-2.0.so.0...(no debugging sy=
 mbols found)...done.=0D
 Reading symbols from /usr/pkg/lib/libpng16.so.16...(no debugging symbols fo=
 und)...done.=0D
 Reading symbols from /usr/pkg/lib/libatk-bridge-2.0.so.0...(no debugging sy=
 mbols found)...done.=0D
 Reading symbols from /usr/pkg/lib/libatk-1.0.so.0...(no debugging symbols f=
 ound)...done.=0D
 Reading symbols from /usr/pkg/lib/libatspi.so.0...(no debugging symbols fou=
 nd)...done.=0D
 Reading symbols from /usr/X11R7/lib/libX11.so.7...Reading symbols from /usr=
 /libdata/debug//usr/X11R7/lib/libX11.so.7.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXtst.so.7...Reading symbols from /us=
 r/libdata/debug//usr/X11R7/lib/libXtst.so.7.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXi.so.7...Reading symbols from /usr/=
 libdata/debug//usr/X11R7/lib/libXi.so.7.1.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/libdbus-1.so.3...(no debugging symbols fo=
 und)...done.=0D
 Reading symbols from /usr/lib/libexecinfo.so.0...Reading symbols from /usr/=
 libdata/debug//usr/lib/libexecinfo.so.0.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/libepoxy.so.0...(no debugging symbols fou=
 nd)...done.=0D
 Reading symbols from /usr/pkg/lib/libpangoft2-1.0.so.0...(no debugging symb=
 ols found)...done.=0D
 Reading symbols from /usr/pkg/lib/libharfbuzz.so.0...(no debugging symbols =
 found)...done.=0D
 Reading symbols from /usr/pkg/lib/libpango-1.0.so.0...(no debugging symbols=
  found)...done.=0D
 Reading symbols from /usr/pkg/lib/libgthread-2.0.so.0...(no debugging symbo=
 ls found)...done.=0D
 Reading symbols from /usr/X11R7/lib/libfreetype.so.18...Reading symbols fro=
 m /usr/libdata/debug//usr/X11R7/lib/libfreetype.so.18.0.13.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/libbz2.so.1...Reading symbols from /usr/libda=
 ta/debug//usr/lib/libbz2.so.1.1.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libfontconfig.so.2...Reading symbols fr=
 om /usr/libdata/debug//usr/X11R7/lib/libfontconfig.so.2.3.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/libgio-2.0.so.0...(no debugging symbols f=
 ound)...done.=0D
 Reading symbols from /usr/pkg/lib/libgmodule-2.0.so.0...(no debugging symbo=
 ls found)...done.=0D
 Reading symbols from /usr/lib/libz.so.1...Reading symbols from /usr/libdata=
 /debug//usr/lib/libz.so.1.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/libgobject-2.0.so.0...(no debugging symbo=
 ls found)...done.=0D
 Reading symbols from /usr/pkg/lib/libffi.so.6...(no debugging symbols found=
 )...done.=0D
 Reading symbols from /usr/pkg/lib/libglib-2.0.so.0...(no debugging symbols =
 found)...done.=0D
 Reading symbols from /usr/pkg/lib/libpcre.so.1...(no debugging symbols foun=
 d)...done.=0D
 Reading symbols from /usr/lib/libintl.so.1...Reading symbols from /usr/libd=
 ata/debug//usr/lib/libintl.so.1.1.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXau.so.7...Reading symbols from /usr=
 /libdata/debug//usr/X11R7/lib/libXau.so.7.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXdmcp.so.7...Reading symbols from /u=
 sr/libdata/debug//usr/X11R7/lib/libXdmcp.so.7.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/libelf.so.2...Reading symbols from /usr/libda=
 ta/debug//usr/lib/libelf.so.2.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/libexpat.so.2...Reading symbols from /usr/lib=
 data/debug//usr/lib/libexpat.so.2.3.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkgobj/www/firefox/work/build/dist/bin/libxul.so.=
 =2E.done.=0D
 Reading symbols from /usr/pkg/lib/libicui18n.so.60...(no debugging symbols =
 found)...done.=0D
 Reading symbols from /usr/pkg/lib/libicuuc.so.60...(no debugging symbols fo=
 und)...done.=0D
 Reading symbols from /usr/pkg/lib/libicudata.so.60...(no debugging symbols =
 found)...done.=0D
 Reading symbols from /usr/pkg/lib/nspr/libplds4.so...(no debugging symbols =
 found)...done.=0D
 Reading symbols from /usr/pkg/lib/nspr/libplc4.so...(no debugging symbols f=
 ound)...done.=0D
 Reading symbols from /usr/pkg/lib/nspr/libnspr4.so...(no debugging symbols =
 found)...done.=0D
 Reading symbols from /usr/pkg/lib/nss/libnss3.so...(no debugging symbols fo=
 und)...done.=0D
 Reading symbols from /usr/pkg/lib/nss/libsmime3.so...(no debugging symbols =
 found)...done.=0D
 Reading symbols from /usr/pkg/lib/nss/libssl3.so...(no debugging symbols fo=
 und)...done.=0D
 Reading symbols from /usr/pkg/lib/nss/libsoftokn3.so...(no debugging symbol=
 s found)...done.=0D
 Reading symbols from /usr/pkg/lib/nss/libnssutil3.so...(no debugging symbol=
 s found)...done.=0D
 Reading symbols from /usr/pkg/lib/libjpeg.so.9...(no debugging symbols foun=
 d)...done.=0D
 Reading symbols from /usr/lib/libevent.so.4...Reading symbols from /usr/lib=
 data/debug//usr/lib/libevent.so.4.1.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/libvpx.so.0...(no debugging symbols found=
 )...done.=0D
 Reading symbols from /usr/lib/libossaudio.so.1...Reading symbols from /usr/=
 libdata/debug//usr/lib/libossaudio.so.1.1.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/libdbus-glib-1.so.2...(no debugging symbo=
 ls found)...done.=0D
 Reading symbols from /usr/X11R7/lib/libX11-xcb.so.1...Reading symbols from =
 /usr/libdata/debug//usr/X11R7/lib/libX11-xcb.so.1.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libXt.so.7...Reading symbols from /usr/=
 libdata/debug//usr/X11R7/lib/libXt.so.7.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/libsqlite3.so.1...Reading symbols from /usr/l=
 ibdata/debug//usr/lib/libsqlite3.so.1.3.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libSM.so.7...Reading symbols from /usr/=
 libdata/debug//usr/X11R7/lib/libSM.so.7.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/libICE.so.7...Reading symbols from /usr=
 /libdata/debug//usr/X11R7/lib/libICE.so.7.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/i18n/libiconv_std.so.5.0...Reading symbols fr=
 om /usr/libdata/debug//usr/lib/i18n/libiconv_std.so.5.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/i18n/libUTF1632.so.5.0...Reading symbols from=
  /usr/libdata/debug//usr/lib/i18n/libUTF1632.so.5.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/i18n/libmapper_std.so.5.0...Reading symbols f=
 rom /usr/libdata/debug//usr/lib/i18n/libmapper_std.so.5.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/X11R7/lib/X11/locale/lib/common/xlcDef.so.2...Rea=
 ding symbols from /usr/libdata/debug//usr/X11R7/lib/X11/locale/lib/common/x=
 lcDef.so.2.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/lib/i18n/libUTF8.so.5.0...Reading symbols from /u=
 sr/libdata/debug//usr/lib/i18n/libUTF8.so.5.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/gio/modules/libgvfsdbus.so...(no debuggin=
 g symbols found)...done.=0D
 Reading symbols from /usr/pkg/lib/libgvfscommon.so.0...(no debugging symbol=
 s found)...done.=0D
 Reading symbols from /usr/lib/libutil.so.7...Reading symbols from /usr/libd=
 ata/debug//usr/lib/libutil.so.7.24.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbuflo=
 ader-png.so...(no debugging symbols found)...done.=0D
 Reading symbols from /usr/pkg/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbuflo=
 ader-svg.so...(no debugging symbols found)...done.=0D
 Reading symbols from /usr/pkg/lib/librsvg-2.so.2...(no debugging symbols fo=
 und)...done.=0D
 Reading symbols from /usr/pkg/lib/libcroco-0.6.so.3...(no debugging symbols=
  found)...done.=0D
 Reading symbols from /usr/pkg/lib/libxml2.so.2...(no debugging symbols foun=
 d)...done.=0D
 Reading symbols from /usr/lib/liblzma.so.2...Reading symbols from /usr/libd=
 ata/debug//usr/lib/liblzma.so.2.0.debug...done.=0D
 done.=0D
 Reading symbols from /usr/pkg/lib/nss/libnssdbm3.so...(no debugging symbols=
  found)...done.=0D
 Reading symbols from /usr/pkg/lib/nss/libfreebl3.so...(no debugging symbols=
  found)...done.=0D
 Reading symbols from /usr/pkg/lib/nss/libnssckbi.so...(no debugging symbols=
  found)...done.=0D
 Reading symbols from /usr/pkg/lib/gio/modules/libgioremote-volume-monitor.s=
 o...(no debugging symbols found)...done.=0D
 Reading symbols from /usr/libexec/ld.elf_so...Reading symbols from /usr/lib=
 data/debug//usr/libexec/ld.elf_so.debug...done.=0D
 done.=0D
 [Switching to LWP 68 of process 16333]=0D
 0x00007f7ff683e8ba in read () from /usr/lib/libc.so.12=0D
 (gdb) c=0D
 Continuing.=0D
 =0D
 Thread 1 stopped.=0D
 0x00007f7ff683e8ba in read () from /usr/lib/libc.so.12=0D
 ptrace: No such process.=0D
 (gdb) c=0D
 Continuing.=0D
 [New LWP 115 of process 16333]=0D
 [New LWP 114 of process 16333]=0D
 [New LWP 113 of process 16333]=0D
 [New LWP 81 of process 16333]=0D
 [New LWP 74 of process 16333]=0D
 [New LWP 73 of process 16333]=0D
 [New LWP 71 of process 16333]=0D
 [New LWP 70 of process 16333]=0D
 [New LWP 69 of process 16333]=0D
 =0D
 Thread 51 stopped.=0D
 [Switching to LWP 115 of process 16333]=0D
 0x00007f7ff68a974a in ___lwp_park60 () from /usr/lib/libc.so.12=0D
 ptrace: No such process.=0D
 (gdb) c=0D
 Continuing.=0D
 [New LWP 116 of process 16333]=0D
 =0D
 Thread 60 stopped.=0D
 [Switching to LWP 116 of process 16333]=0D
 0x00007f7ff68a974a in ___lwp_park60 () from /usr/lib/libc.so.12=0D
 ptrace: No such process.=0D
 (gdb) c=0D
 Continuing.=0D
 [New LWP 117 of process 16333]=0D
 =0D
 Thread 61 stopped.=0D
 [Switching to LWP 117 of process 16333]=0D
 0x00007f7ff68a974a in ___lwp_park60 () from /usr/lib/libc.so.12=0D
 ptrace: No such process.=0D
 (gdb) c=0D
 Continuing.=0D
 =0D
 Thread 51 stopped.=0D
 [Switching to LWP 115 of process 16333]=0D
 0x00007f7ff68a974a in ___lwp_park60 () from /usr/lib/libc.so.12=0D
 ptrace: No such process.=0D
 (gdb) c=0D
 Continuing.=0D
 [New LWP 119 of process 16333]=0D
 [New LWP 120 of process 16333]=0D
 =0D
 Thread 63 stopped.=0D
 [Switching to LWP 120 of process 16333]=0D
 0x00007f7ff68a974a in ___lwp_park60 () from /usr/lib/libc.so.12=0D
 ptrace: No such process.=0D
 (gdb) c=0D
 Continuing.=0D
 [New LWP 122 of process 16333]=0D
 [New LWP 121 of process 16333]=0D
 =0D
 Thread 64 stopped.=0D
 [Switching to LWP 122 of process 16333]=0D
 0x00007f7ff68a974a in ___lwp_park60 () from /usr/lib/libc.so.12=0D
 ptrace: No such process.=0D
 (gdb) c=0D
 Continuing.=0D
 =0D
 Thread 64 stopped.=0D
 0x00007f7ff68a974a in ___lwp_park60 () from /usr/lib/libc.so.12=0D
 ptrace: No such process.=0D
 (gdb) c=0D
 Continuing.=0D
 [New LWP 124 of process 16333]=0D
 =0D
 Thread 66 received signal SIGTRAP, Trace/breakpoint trap.=0D
 [Switching to LWP 124 of process 16333]=0D
 0x00007f7ff683e97a in _sys___nanosleep50 () from /usr/lib/libc.so.12=0D
 (gdb) c=0D
 Continuing.=0D
 =0D
 Thread 66 received signal SIGSEGV, Segmentation fault.=0D
 0x00007f7ff683e97a in _sys___nanosleep50 () from /usr/lib/libc.so.12=0D
 (gdb) bt=0D
 #0  0x00007f7ff683e97a in _sys___nanosleep50 () from /usr/lib/libc.so.12=0D
 #1  0x00007f7ff7807287 in __nanosleep50 (rqtp=3Drqtp@entry=3D0x7f7fc25dff80=
 , =0D
     rmtp=3Drmtp@entry=3D0x0) at /usr/src/lib/libpthread/pthread_cancelstub.=
 c:398=0D
 #2  0x00007f7fe6ac496c in mozilla::(anonymous namespace)::RunWatchdog (=0D
     arg=3D<optimized out>)=0D
     at /usr/pkgobj/www/firefox/work/firefox-57.0.1/toolkit/components/termi=
 nator/nsTerminator.cpp:155=0D
 #3  0x00007f7fe0a2654b in _pt_root () from /usr/pkg/lib/nspr/libnspr4.so=0D
 #4  0x00007f7ff780b8b5 in pthread__create_tramp (cookie=3D0x7f7fc70ee000)=0D
     at /usr/src/lib/libpthread/pthread.c:593=0D
 #5  0x00007f7ff688d0c0 in ?? () from /usr/lib/libc.so.12=0D
 #6  0x0000000000000000 in ?? ()=0D
 (gdb) c=0D
 Continuing.=0D
 =0D
 Thread 66 received signal SIGSEGV, Segmentation fault.=0D
 0x00007f7ff683e97a in _sys___nanosleep50 () from /usr/lib/libc.so.12=0D
 (gdb) c=0D
 Continuing.=0D
 =0D
 Program terminated with signal SIGSEGV, Segmentation fault.=0D
 The program no longer exists.=0D
 (gdb) quit=0D
 [/tmp] martin@night-owl > ^D=08=08exit=0D

 Script done on Wed Dec 27 20:13:19 2017

 --RASg3xLB4tUQ4RcS--

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.