Bug 151788

Summary: [PATCH] x11/xscreensaver 5.12 gltext gobbles memory
Product: Ports & Packages Reporter: John Marshall <john>
Component: Individual Port(s)Assignee: Doug Barton <dougb>
Status: Closed FIXED    
Severity: Affects Only Me CC: john
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
xscreensaver-5.12.diff none

Description John Marshall 2010-10-27 23:30:08 UTC
Following upgrade of this port from 5.11 to 5.12 the gltext screensaver
would exhaust memory resources and then...

  rwpc12 kernel: pid 34420 (gltext), ..., was killed: out of swap space

I contacted the author, Jamie Zawinski, who promptly provided the patch
to hacks/glx/tube.c below.

Fix: The following patch upgrades the port to include the author's patch.

Files touched:

  - Makefile --> Bump PORTREVISION
  - files/patch-hacks_glx_tube.c --> Added
Installing x11/xscreensaver 5.12 on a Pentium III with 512MB RAM
triggered this problem.  I didn't try on a larger system.
Comment 1 Edwin Groothuis freebsd_committer 2010-10-27 23:30:17 UTC
Responsible Changed
From-To: freebsd-ports-bugs->dougb

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2010-12-05 20:30:56 UTC
dougb       2010-12-05 20:30:48 UTC

  FreeBSD ports repository

  Modified files:
    x11/xscreensaver     Makefile 
  Patch a memory exhaustion error in hacks/glx/tube.c. Patch confirmed
  with xscreensaver author.
  PR:             ports/151788
  Submitted by:   John Marshall <john.marshall@riverwillow.com.au>
  Revision  Changes    Path
  1.115     +4 -0      ports/x11/xscreensaver/Makefile
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Doug Barton freebsd_committer 2010-12-05 20:32:08 UTC
State Changed
From-To: open->closed

Patched in version 1.115 of Makefile. Thanks!