Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Dec 2001 17:24:23 -0500 (EST)
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/32566: Recent Nautilus patch causes infinite loop
Message-ID:  <200112062224.fB6MONq35975@shumai.marcuscom.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112062224.fB6MONq35975>