NetBSD Problem Report #53138

From  Wed Mar 28 13:43:48 2018
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer " CA" (not verified))
	by (Postfix) with ESMTPS id 4D3BF7A1F0
	for <>; Wed, 28 Mar 2018 13:43:48 +0000 (UTC)
Message-Id: <>
Date: Wed, 28 Mar 2018 15:43:38 +0200 (CEST)
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
The NetBSD Foundation, Inc.
System: NetBSD 8.99.14 NetBSD 8.99.14 (NIGHT-OWL) #590: Mon Mar 19 14:59:01 CET 2018 amd64
Architecture: x86_64
Machine: amd64

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:

/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


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


NetBSD Home
NetBSD PR Database Search

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