Having problems with simple threaded perl CGI in mod_perl 1.29 (Apache 1.3.33)

[prev] [thread] [next] [Date index for 2005/05/05]

From: Bill Hess
Subject: Having problems with simple threaded perl CGI in mod_perl 1.29 (Apache 1.3.33)
Date: 12:48 on 05 May 2005
I am trying to write a simple threaded perl CGI script to run under 
Apache::Registry on mod_perl 1.29 and Apache 1.3.33.
The perl scipt only creates 2 or 3 threads and perform a join() on each 
one to wait for data each thread returns.  The script seems to work 
fine, returning all the data I expect and all the HTML is generated 
using CGI.pm, thus rendering a complete and accurate page in a web 
browser.  On the server I get errors in my Apache error_log:

[Thu May  5 01:01:03 2005] null: semi-panic: attempt to dup freed string.
[Thu May  5 01:01:03 2005] [error] Undefined subroutine &main:: called.\n
[Thu May  5 01:01:03 2005] null: semi-panic: attempt to dup freed string.
[Thu May  5 01:01:03 2005] [error] Undefined subroutine &main:: called.\n
[Thu May  5 01:01:04 2005] [notice] child pid 13166 exit signal 
Segmentation fault (11), possible coredump in /usr/local/dmx/www

Running on RH 9 Linux - Perl 5.8.6, Apache 1.3.33, and mod_perl 1.29 all 
built by myself from source (not using RPM's)

Any Ideas?  Thanks...

        -- 
        
Bill Hess

Having problems with simple threaded perl CGI in mod_perl 1.29 (Apache 1.3.33)
Bill Hess 12:48 on 05 May 2005

Generated at 11:50 on 06 May 2005 by mariachi v0.52