NetBSD Problem Report #57247

From martin@aprisoft.de  Mon Feb 27 18:01:01 2023
Return-Path: <martin@aprisoft.de>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_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 02DF51A923B
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 27 Feb 2023 18:01:01 +0000 (UTC)
Message-Id: <20230227180050.C3DBE5CC81D@emmas.aprisoft.de>
Date: Mon, 27 Feb 2023 19:00:50 +0100 (CET)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: kernel assert fails in uvm_map_findspace()
X-Send-Pr-Version: 3.95

>Number:         57247
>Category:       kern
>Synopsis:       kernel assert fails in uvm_map_findspace()
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 27 18:05:00 +0000 2023
>Originator:     Martin Husemann
>Release:        NetBSD 10.99.2
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD martins.aprisoft.de 10.99.2 NetBSD 10.99.2 (GENERIC) #159: Tue Feb 21 15:27:55 CET 2023 martin@martins.aprisoft.de:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:

While testing the newly functional amdgpu driver in -current I ran the
webgl basemark benchmark and it caused a firefox core dump, which triggered
a kernel assertion failure.

Unfortunately I got no crash dump.

Manually transcribed:

kernel disagnostic assertion "tmp && tmp->maxgap >= length" failed: file "../../../../uvm/uvm_map.c", line 2126
..
uvm_map_findspace()+0x879
uvm_map_prepare()+0x1f7
uvm_map+0x70
uvm_km_alloc()+0x101
pool_grow()+0x74
pool_get()+0x3c7
allocbuf()+0x114
getblk()+0x18c
ffs_getblk()+0x3a
ffs_indirtrunc()+0xaf
ffs_truncate()+0x1219
ufs_truncate_retry()+0x66
ufs_setattr()+0x5ae
VOP_SETATTR()+0x168
coredump()+0x539
sigexit()+0x347
postsig()+0x35b
lwp_userret()+0x28a
mi_userret()+0x234
trap()+0x12d

>How-To-Repeat:
See above, not sure if it is repeatble.

>Fix:
n/a

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.