Segmentation Fault?

Rick Coloccia <[email protected]> Mon, 23 Jun 2003 12:29:44 -0400
Newsgroups gmane.comp.apache.mod-mp3
Message-ID <[email protected]>
Hi Folks-

I'm using redhat 7.3.

I downloaded the mp3 module, version 0.40, compiled it, and integrated it 
into my redhat-distributed httpd rpms, 1.3.27.

At first it didn't work at all, I tracked that down to where the module was 
placed in the httpd.conf - within the block that loads a python module only 
if I have python.  Since I don't have python, the mp3 module was never 
loading at all.

OK, I moved around the lines in the conf file, and now apache and the 
module both load.  The module creates the log file I put in the httpd.conf 
directives, and seems happy.

Then when I try to connect to the location named in my directive, I get an 
access denied and the module segfaults.

So I downloaded apache 1.3.27, compiled (included DSO), installed, 
configured it to run on another port, recompiled mod_mp3 (versions 0.39 & 
0.40, trying both) against the new apache, and low and behold, I still get 
the seg faults.

Here's the relevant files:

mp3.conf:
<IfModule mod_mp3.c>
         <Location /stream>
                 MP3Random On
                 MP3LimitPlayConnections 2
                 MP3Log /usr/local/apache/logs/mp3stream_log
                 MP3Engine On
                 MP3CastName "mod_mp3"
                 MP3Genre "Sounds of Open Source"
                 MP3 /music/mp3/group1
                 # If you want to announce yourself, enable this
                 #MP3DirectoryServer http://yp.modmp3.net/
         </Location>
</IfModule>


And the entry in error_log:
[Mon Jun 23 12:14:33 2003] [notice] Apache/1.3.27 (Unix) mod_mp3/0.39 
configured -- resuming normal operations
[Mon Jun 23 12:14:33 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Jun 23 12:15:52 2003] [notice] child pid 10678 exit signal 
Segmentation fault (11)
[Mon Jun 23 12:15:52 2003] [notice] child pid 10677 exit signal 
Segmentation fault (11)


[Mon Jun 23 12:11:09 2003] [notice] Apache/1.3.27 (Unix) mod_mp3/0.40 
configured -- resuming normal operations
[Mon Jun 23 12:11:09 2003] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Jun 23 12:11:50 2003] [notice] child pid 10426 exit signal 
Segmentation fault (11)
[Mon Jun 23 12:11:53 2003] [notice] child pid 10427 exit signal 
Segmentation fault (11)


Does anyone have any suggestions?

Thanks! Looking forward to getting this running!

-Rick


--
Rick Coloccia
Network Analyst
SUNY Geneseo
119 South Hall
1 College Circle
Geneseo, NY 14454
Voice: (585) 245-5577
Fax:(585) 245-5579