Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2003 22:02:59 -0400 (EDT)
From:      Bruce Walker <bmw@mxtreme.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/52257: mod_mp3 0.39 requires this patch for a runtime error
Message-ID:  <200305150202.h4F22xOe018342@bmwpc.home.wezel.com>
Resent-Message-ID: <200305150210.h4F2A55E000863@freefall.freebsd.org>

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

>Number:         52257
>Category:       ports
>Synopsis:       mod_mp3 0.39 requires this patch for a runtime error
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 14 19:10:04 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bruce Walker
>Release:        FreeBSD 4.6-RELEASE i386
>Organization:
BorderWare Technologies Inc.
>Environment:
System: FreeBSD bmwpc.home.wezel.com 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386


	
>Description:
	If you build and install mod_mp3, enable mod_mp3 in httpd.conf
	and then try to start Apache, "apachectl configtest" will fail
	with a message about "Cannot create Shared Memory"
>How-To-Repeat:
	cd /usr/ports/www/mod_mp3
	make install
	apachectl configtest
>Fix:

*** /dev/null	Wed May 14 21:57:45 2003
--- files/patch-aa	Wed May 14 21:27:39 2003
***************
*** 0 ****
--- 1,20 ----
+ *** src/mod_mp3.c.orig	Mon Nov 18 11:26:53 2002
+ --- src/mod_mp3.c	Mon Nov 18 11:26:42 2002
+ ***************
+ *** 6,12 ****
+   #include "mod_mp3.h"
+   
+   /* Setup for our scoreboard */
+ ! static key_t shmkey = IPC_CREAT;
+   
+   extern mp3_dispatch internal;
+   #ifdef MYSQL_ENABLED
+ --- 6,12 ----
+   #include "mod_mp3.h"
+   
+   /* Setup for our scoreboard */
+ ! static key_t shmkey = IPC_PRIVATE;
+   
+   extern mp3_dispatch internal;
+   #ifdef MYSQL_ENABLED
+ 

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



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