NetBSD Problem Report #49184

From gson@gson.org  Mon Sep  8 14:04:38 2014
Return-Path: <gson@gson.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(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 24971B9148
	for <gnats-bugs@gnats.NetBSD.org>; Mon,  8 Sep 2014 14:04:38 +0000 (UTC)
Message-Id: <20140908140427.78A9875E39@guava.gson.org>
Date: Mon,  8 Sep 2014 17:04:27 +0300 (EEST)
From: gson@gson.org (Andreas Gustafsson)
Reply-To: gson@gson.org (Andreas Gustafsson)
To: gnats-bugs@gnats.NetBSD.org
Subject: udf_symlink_long test case panics rump kernel
X-Send-Pr-Version: 3.95

>Number:         49184
>Category:       kern
>Synopsis:       udf_symlink_long test case panics rump kernel
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    reinoud
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 08 14:05:00 +0000 2014
>Closed-Date:    Thu Nov 05 06:57:57 +0000 2020
>Last-Modified:  Thu Nov 05 06:57:57 +0000 2020
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date >= 2014.09.07.09.10.09
>Organization:

>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:

I recently added a new test case "symlink_long" to the t_vnops test
program.  This test case creates symlinks with long target names, for a
number of different values of "long", and expects the operation to
either succeed or return ENAMETOOLONG.  It passes for all file systems
except UDF, where it panics the rump kernel:

  panic: kernel diagnostic assertion "old_size > new_size" failed: file "/tmp/bracket/build/2014.09.07.09.10.09-i386/src/sys/rump/fs/lib/libudf/../../../../fs/udf/udf_allocation.c", line 2957 

Backtrace:

  #5  0xbb886d21 in rumpns_vpanic () from /usr/lib/librump.so.0
  #6  0xbb86a150 in rumpns_kern_assert () from /usr/lib/librump.so.0
  #7  0xbbaccf56 in rumpns_udf_shrink_node () from /usr/lib/librumpfs_udf.so.0
  #8  0xbbac1328 in rumpns_udf_symlink () from /usr/lib/librumpfs_udf.so.0
  #9  0xbb87a1f9 in rumpns_VOP_SYMLINK () from /usr/lib/librump.so.0
  #10 0xbb94d457 in ?? () from /usr/lib/librumpvfs.so.0
  #11 0xbb8c086d in rump_syscall () from /usr/lib/librump.so.0
  #12 0xbb8b4d55 in rump___sysimpl_symlink () from /usr/lib/librump.so.0
  #13 0x0805c644 in symlink_len.constprop ()
  #14 0x0805c7a5 in symlink_long.constprop ()
  #15 0x0806a197 in atfu_udf_symlink_long_body ()
  #16 0xbb674c97 in atf_tc_run () from /usr/lib/libatf-c.so.0
  #17 0xbb671bef in atf_tp_run () from /usr/lib/libatf-c.so.0
  #18 0xbb6716a9 in atf_tp_main () from /usr/lib/libatf-c.so.0
  #19 0x080822fc in main ()

>How-To-Repeat:

cd /usr/tests/fs/vfs
atf-run t_vnops | atf-report

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: kern-bug-people->reinoud
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Thu, 11 Sep 2014 18:39:43 +0000
Responsible-Changed-Why:
over to udf guy


State-Changed-From-To: open->closed
State-Changed-By: reinoud@NetBSD.org
State-Changed-When: Thu, 05 Nov 2020 06:57:57 +0000
State-Changed-Why:
This PR should have been marked closed since the problem has been fixed long ago.


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