ports/65404: x11/xscreensaver: FIX for xscreensaver-demo crash

Manuel Rabade Garcia mig at mig-29.net
Sat Apr 10 18:50:18 UTC 2004


>Number:         65404
>Category:       ports
>Synopsis:       x11/xscreensaver: FIX for xscreensaver-demo crash
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 10 11:50:17 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Manuel Rabade Garcia
>Release:        5.2
>Organization:
>Environment:
FreeBSD fulcrum.mig-29.net 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #4: Sat Mar 20 23:58:23 CST 2004     mig at fulcrum.mig-29.net:/usr/obj/usr/src/sys/FULCRUM  i386

>Description:
xscreensaver-demo was crashing, after loking in google, found this: http://lists.freebsd.org/mailman/htdig/freebsd-gnome/2004-March/005815.html, so adding the threading support to xscreensaver Makefile and works like a charm :)
>How-To-Repeat:
mig at fulcrum:~$ xscreensaver &
[1] 25546
mig at fulcrum:~$ xscreensaver-demo 
xscreensaver-demo: 13:11:34: error closing "/home                               escriptor
xscreensaver-demo: too early for dialog?
Fatal error 'Unable to read from thread kernel pi                               rc/lib/libc_r/uthread/uthread_kern.c (errno = 0)
Abort trap (core dumped)
mig at fulcrum:~$ 

>Fix:
diff -urN xscreensaver.old/Makefile xscreensaver/Makefile
--- xscreensaver.old/Makefile   Sat Apr 10 13:03:23 2004
+++ xscreensaver/Makefile       Sat Apr 10 13:32:17 2004
@@ -34,6 +34,9 @@
                --with-jpeg=${LOCALBASE} --without-gnome --without-kerberos \
                --without-motif
 
+CFLAGS+=       ${PTHREAD_CFLAGS}
+LDFLAGS+=      ${PTHREAD_LIBS}
+
 .include <bsd.port.pre.mk>
 
 .if defined(XS_WITH_ALL_FORTUNES)

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list