Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2011 10:57:34 GMT
From:      Lars <dakta@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/156088: Segmentation fault, if opengl is the only renderer and hasn't been explicitly defined
Message-ID:  <201103311057.p2VAvYAw083929@red.freebsd.org>
Resent-Message-ID: <201103311100.p2VB0LR9054349@freefall.freebsd.org>

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

>Number:         156088
>Category:       ports
>Synopsis:       Segmentation fault, if opengl is the only renderer and hasn't been explicitly defined
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 31 11:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Lars
>Release:        6.4
>Organization:
>Environment:
FreeBSD bsdlhers.incore 6.4-STABLE FreeBSD 6.4-STABLE #0: Mon Aug 17 18:53:58 CEST 2009     root@bsdlhers.incore:/usr/obj/usr/src/sys/BSDV6  i386
>Description:

>How-To-Repeat:
build gnash with opengl as only renderer and then run gnash without set an renderer on command line or in gnashrc
>Fix:
build gnash with patch or set renderer explicitly on command line or in gnashrc

Patch attached with submission follows:

--- gui/gtk/gtk_canvas.cpp.orig	2010-08-21 16:26:58.000000000 +0200
+++ gui/gtk/gtk_canvas.cpp	2011-03-31 11:14:35.000000000 +0200
@@ -214,8 +214,8 @@
         renderer = "agg";
 #elif defined (RENDERER_CAIRO)
         renderer = "cairo";
-#elif defined (RENDERER_OGL)
-        renderer = "ogl";
+#elif defined (RENDERER_OPENGL)
+        renderer = "opengl";
 #endif
     }
 


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



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