Re: [mp2] threaded applications inside of mod_perl

[prev] [thread] [next] [Date index for 2005/02/03]

From: Stas Bekman
Subject: Re: [mp2] threaded applications inside of mod_perl
Date: 13:28 on 03 Feb 2005
bob-modperl@xxxxxxxxxxx.xxx wrote:
> -------------8<---------- Start Bug Report ------------8<----------
> 1. Problem Description:
> 
> This program when run under :
> 
> =====================
> #!/usr/bin/perl
> use strict;
> use threads;
> 
> my $thread = threads->create(sub { print "I am a thread"; },undef);
> 
> =====================
> 
> Causes a segfault
> 
> [Wed Feb 02 16:55:57 2005] [notice] child pid 15039 exit signal 
> Segmentation
> fault (11)

Almost there. What this report lacks is:

1) the explanation of how this script was invoked. Is it running under 
ModPerl::Registry or else? Please show us the relevant httpd.conf bits.

2) backtrace. Please read:
http://perl.apache.org/docs/2.0/user/help/help.html#Resolving_Segmentation_Faults

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

[mp2] threaded applications inside of mod_perl
bob-modperl 03:15 on 03 Feb 2005

Re: [mp2] threaded applications inside of mod_perl
Stas Bekman 13:28 on 03 Feb 2005

Generated at 11:21 on 20 Feb 2005 by mariachi v0.52