From owner-freebsd-ports Thu Dec 6 14:30:12 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7AA4137B416 for ; Thu, 6 Dec 2001 14:30:00 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id fB6MU0Z96893; Thu, 6 Dec 2001 14:30:00 -0800 (PST) (envelope-from gnats) Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id E5AFD37B419 for ; Thu, 6 Dec 2001 14:24:07 -0800 (PST) Received: (from marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) id fB6MONq35975; Thu, 6 Dec 2001 17:24:23 -0500 (EST) (envelope-from marcus) Message-Id: <200112062224.fB6MONq35975@shumai.marcuscom.com> Date: Thu, 6 Dec 2001 17:24:23 -0500 (EST) From: Joe Marcus Clarke Reply-To: Joe Marcus Clarke To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/32566: Recent Nautilus patch causes infinite loop Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 32566 >Category: ports >Synopsis: Recent Nautilus patch causes infinite loop >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 06 14:30:00 PST 2001 >Closed-Date: >Last-Modified: >Originator: Joe Marcus Clarke >Release: FreeBSD 4.4-STABLE i386 >Organization: MarcusCom, Inc. >Environment: System: FreeBSD shumai.marcuscom.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Dec 1 19:32:11 EST 2001 marcus@shumai.marcuscom.com:/usr/obj/usr/src/sys/SHUMAI i386 >Description: After applying the patch to get rid of the harmless warning from gnomevfs about local path not starting with `/', nautilus doesn't work anymore. gdb shows nautilus is in an infinite loop around line 979. >How-To-Repeat: CVSup the latest ports, upgrade nautilus, and try running it. >Fix: Apply this patch to patch-libnautilus-private::nautilus-volume-monitor.c. Not sure if PORTREVISION should be bumped since it wasn't bumped with the addition of this patch. --- patch-libnautilus-private::nautilus-volume-monitor.c.orig Thu Dec 6 17:18:18 2001 +++ patch-libnautilus-private::nautilus-volume-monitor.c Thu Dec 6 17:18:52 2001 @@ -169,7 +169,6 @@ fclose (fh); +#else + while ((ent = getfsent ()) != NULL) { -+ {static int b = 1; while (b);} + if (strcmp(ent->fs_vfstype, "swap") == 0) + continue; + volume = create_volume (ent->fs_spec, ent->fs_file); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message