NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-alpha/51678: gdb can't run threaded programs



The following reply was made to PR port-alpha/51678; it has been noted by GNATS.

From: Kamil Rytarowski <n54%gmx.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-alpha/51678: gdb can't run threaded programs
Date: Thu, 1 Dec 2016 16:50:52 +0100

 This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
 --UEvsAVuW0OepbFfDVAtwI52eqtmpXmGfh
 Content-Type: multipart/mixed; boundary="FRCvXhWmd7hN4fNE9F3CuIC9Lon2nvKOA"
 From: Kamil Rytarowski <n54%gmx.com@localhost>
 To: gnats-bugs%NetBSD.org@localhost
 Message-ID: <03e022e4-6854-da30-0504-75ce5ba16e54%gmx.com@localhost>
 Subject: Re: port-alpha/51678: gdb can't run threaded programs
 References: <pr-port-alpha-51678%gnats.netbsd.org@localhost>
  <20161201084000.D3C407A34A%mollari.NetBSD.org@localhost>
 In-Reply-To: <20161201084000.D3C407A34A%mollari.NetBSD.org@localhost>
 
 --FRCvXhWmd7hN4fNE9F3CuIC9Lon2nvKOA
 Content-Type: text/plain; charset=windows-1252
 Content-Transfer-Encoding: quoted-printable
 
 
 
 On 01.12.2016 09:40, martin%NetBSD.org@localhost wrote:
 >> Number:         51678
 >> Category:       port-alpha
 >> Synopsis:       gdb can't run threaded programs
 >> Confidential:   no
 >> Severity:       critical
 >> Priority:       high
 >> Responsible:    port-alpha-maintainer
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Thu Dec 01 08:40:00 +0000 2016
 >> Originator:     Martin Husemann
 >> Release:        NetBSD 7.99.43
 >> Organization:
 > The NetBSD Foundation, Inc.
 >> Environment:
 > System: NetBSD gemini.duskware.de 7.99.43 NetBSD 7.99.43 (GENERIC-$Revi=
 sion: 1.371 $) #34: Tue Nov 29 16:32:43 CET 2016 martin@martins.aprisoft.=
 de:/ssd/src/sys/arch/alpha/compile/GENERIC alpha
 > Architecture: alpha
 > Machine: alpha
 >> Description:
 >=20
 > Trying to run a pthreaded program under gdb fails:
 >=20
 > [~] martin@gemini > gdb dig
 > 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=
 =2Ehtml>
 > This is free software: you are free to change and redistribute it.
 > There is NO WARRANTY, to the extent permitted by law.  Type "show copyi=
 ng"
 > and "show warranty" for details.
 > This GDB was configured as "alpha--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 dig...Reading symbols from /usr/libdata/debug//usr=
 /bin/dig.debug...done.
 > done.
 > (gdb) run
 > Starting program: /usr/bin/dig=20
 > [New LWP 4]
 > [New LWP 3]
 > [New LWP 2]
 >=20
 > Thread 1 received signal SIGTRAP, Trace/breakpoint trap.
 > [Switching to LWP 1]
 > 0x000003fffd44d968 in _sys___kevent50 () from /usr/lib/libc.so.12
 >=20
 >=20
 >> How-To-Repeat:
 > s/a
 >=20
 >> Fix:
 > n/a
 >=20
 
 Please try to bisect src/lib/libpthread_dbg/pthread_dbg.c between 1.44
 and HEAD (1.51).
 
 Only this file, no other file should be changed (if I remember correctly
 the newest pthread_dbg.h is compatible with all versions between these
 revisions).
 
 
 --FRCvXhWmd7hN4fNE9F3CuIC9Lon2nvKOA--
 
 --UEvsAVuW0OepbFfDVAtwI52eqtmpXmGfh
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: OpenPGP digital signature
 Content-Disposition: attachment; filename="signature.asc"
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
 iQIcBAEBCAAGBQJYQEbwAAoJEEuzCOmwLnZs2IAP/AhbXL8hGjlN0Picsed46AaY
 CqHa2MAi3IisWYAU7bhWKk9BqvdaJ3ViTXgWaYwXXrtxKxVXIhcKq+G0z8k7dt4S
 XwPgYrh3+RwfZeb2VTByJu+z9JVHE2Uwya5OKJ1UxocfFHk2IPLD0lEU2TR5zr5T
 o1YjRWCSytWHbZ6Rju/XRHhk/6OJ04XLTnovjSF2+0RkbNZax1SzQLCGm5iYazm0
 QUuByEArYgBZf3+HWcElqGRsbUxOJdVqBbEDgB3SPr5Vv3o4lPNzVYmSJtdI7MlC
 6U54e+dy0txF8mco0LNiErKvvWlkiSH3BHzNWozLAAPAZfbpofiI8/ANussjPfqi
 PhObUJ97wT6R+if8U+JMFVhhvEQ/bIoxrGKt2+nOTXEcF5yFZY101aL/P6CE2lEo
 O+qENI6y7iBPHQuFai927zSF2b1/cRv9c048R0Wr7gVc1gFTKiOm6uN+aMUsnT7o
 v4NG0nqKWSna03iNJri2pF/4npHD7RJEynEbUXEjLNtDVrsWV1pncbmpelnquP9n
 YQap+PxU5T+L4qMfqaI7dcfw+TZv7ChZjLOVjLECMjIlHukb61QNwXo39BJvcGHf
 PdknLBMAL73p6lCIj7JSNTVZRi4O1K4mlkLb2cK3a0fVQMPn17Y1W+sFsLbmjuHW
 Ow7C/j2qBbHkqL137kwV
 =6pN9
 -----END PGP SIGNATURE-----
 
 --UEvsAVuW0OepbFfDVAtwI52eqtmpXmGfh--
 


Home | Main Index | Thread Index | Old Index