Bug 151788 - [PATCH] x11/xscreensaver 5.12 gltext gobbles memory
Summary: [PATCH] x11/xscreensaver 5.12 gltext gobbles memory
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Doug Barton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 23:30 UTC by John Marshall
Modified: 2010-12-05 20:40 UTC (History)
1 user (show)

See Also:


Attachments
xscreensaver-5.12.diff (929 bytes, patch)
2010-10-27 23:30 UTC, John Marshall
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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
How-To-Repeat: 
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 
  Log:
  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
http://lists.freebsd.org/mailman/listinfo/cvs-all
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!