NetBSD Problem Report #53138

From martin@duskware.de  Wed Mar 28 13:43:48 2018
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 4D3BF7A1F0
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 28 Mar 2018 13:43:48 +0000 (UTC)
Message-Id: <20180328134338.6A90C5CC770@emmas.aprisoft.de>
Date: Wed, 28 Mar 2018 15:43:38 +0200 (CEST)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: gdb internal issue
X-Send-Pr-Version: 3.95

>Number:         53138
>Category:       toolchain
>Synopsis:       gdb internal issue: can't debug firefox
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 28 13:45:02 +0000 2018
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.14
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.14 NetBSD 8.99.14 (NIGHT-OWL) #590: Mon Mar 19 14:59:01 CET 2018 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

Trying to start a firefox with debuginfo on amd64/current under gdb
fails with:

Starting program: /usr/pkgobj/www/firefox/work/build/dist/bin/firefox 
[New process 8841]
[New LWP 15 of process 8841]

(firefox:8841): GVFS-RemoteVolumeMonitor-WARNING **: remote volume monitor with dbus name org.gtk.Private.HalVolumeMonitor is not supported
[New LWP 70 of process 8841]
/usr/src/external/gpl3/gdb/lib/libgdb/../../dist/gdb/infrun.c:7146: internal-error: [LWP 15 of process 8841] has inconsistent state: trap_expected=1

A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) y

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

/usr/src/external/gpl3/gdb/lib/libgdb/../../dist/gdb/infrun.c:7146: internal-error: [LWP 15 of process 8841] has inconsistent state: trap_expected=1


>How-To-Repeat:

build firefox with options debug-info and:
cd /usr/pkgobj/www/firefox/work/build/dist/bin
./run-mozilla.sh -g ./firefox
(gdb) run

>Fix:
n/a

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.