NetBSD Problem Report #51750

From martin@duskware.de  Wed Dec 28 16:03:39 2016
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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id B0F727A340
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 28 Dec 2016 16:03:39 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: gdb is useless on some core files
X-Send-Pr-Version: 3.95

>Number:         51750
>Category:       toolchain
>Synopsis:       gdb is useless on some core files
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 28 16:05:00 +0000 2016
>Last-Modified:  Fri Nov 06 16:57:46 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.53
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 7.99.53 NetBSD 7.99.53 (NIGHT-OWL) #450: Wed Dec 28 12:18:50 CET 2016 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

On some core files, like the ones generated by the Xorg server in PR lib/51749,
gdb does not properly map core memory and can not produce ussable backtraces.
It also seems to be missing all symbols, e.g. "list main" does not work.

I have uploaded that core, debug-info and binary to:
	https://www.NetBSD.org/~martin/bad_core.tgz

>How-To-Repeat:
s/a

>Fix:
n/a

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: toolchain-manager->kamil
Responsible-Changed-By: kamil@NetBSD.org
Responsible-Changed-When: Sat, 07 Oct 2017 00:14:52 +0200
Responsible-Changed-Why:
Take.


Responsible-Changed-From-To: kamil->toolchain-manager
Responsible-Changed-By: kamil@NetBSD.org
Responsible-Changed-When: Fri, 06 Nov 2020 17:57:46 +0100
Responsible-Changed-Why:
Reassign to toolchain-manager.


>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.