efficiency boosts in your modperl handlers
with sealed.pm, (but avoid reentrancy/recursion for those subs, or you may
segfault).
--
Joe Schaefer, Ph.D.
<https://sunstarsys.com/orion/features>
Orion - The Enterprise Jamstack Wiki <https://sunstarsys.com/orion/features>
954.253.3732
On Tue, May 31, 2016 at 7:35 AM, William A Rowe Jr
wrote:
> On May 29, 2016 01:02, "Jie Gao" wrote:
> >
> > Hi All
> >
> > I wonder if anybody is looking at this issue. At the moment, the build
> cores even at the end of generating a Makefile.
> >
> >
On May 29, 2016 01:02, "Jie Gao" wrote:
>
> Hi All
>
> I wonder if anybody is looking at this issue. At the moment, the build
cores even at the end of generating a Makefile.
>
> If not, I would like to get my hands dirty in an attmpt to get the ball
rolling. Any help on how
Jr <wr...@rowe-clan.net>
> Subject: Re: New segfault with 2.4.20 with mod_perl
> User-Agent: Mutt/1.5.21 (2010-09-15)
>
> Hi All
>
> I wonder if anybody is looking at this issue. At the moment, the build cores
> even at the end of generating a Makefile.
>
> If no
W. Rowe Jr would be much appreciated.
Regards,
Jie
* William A Rowe Jr <wr...@rowe-clan.net> wrote:
> Date: Thu, 19 May 2016 11:23:33 -0500
> From: William A Rowe Jr <wr...@rowe-clan.net>
> To: httpd <d...@httpd.apache.org>, modperl@perl.apache.org
> Subject: Re
Re-sending to include the correct perl.a.o dev list.
On Thu, Apr 14, 2016 at 1:25 PM, William A Rowe Jr
wrote:
> The defect appears to be in t/protocol/TestProtocol/pseudo_http.pm...
>
> First, the handler is registered using
>
> PerlProcessConnectionHandler
Hello,
simply adding Perl $[ /Perl
to /etc/apache2/apache2.conf (or PerlPostConfigRequire a file
containing $[) causes apache to segfault (trace below).
Strangely this happens _only_ if mod_php is also loaded!
Is PHP acting like a Poltergeist? (Sorry, I couldn't resist
Subject: Re: mod_perl always segfault on thread creation
-=| hack bear, 22.08.2012 16:16:33 -0700 |=-
I'm doing a dynamic build (the default setting I believe.) here are the ldd
results (that's how we can tell, right?)
To me this seems like a static build. Yes, it links dynamicly to
system
is there any existing RPM for RHEL that is dynamic build already?
Date: Thu, 23 Aug 2012 09:17:48 +0300
From: d...@debian.org
To: modperl@perl.apache.org
Subject: Re: mod_perl always segfault on thread creation
-=| hack bear, 22.08.2012 16:16:33 -0700 |=-
I'm doing a dynamic build
='-shared -O2 -L/usr/local/lib
-fstack-protector'
And BTW is there any existing RPM for RHEL that is dynamic build already?
Date: Thu, 23 Aug 2012 09:17:48 +0300
From: d...@debian.org
To: modperl@perl.apache.org
Subject: Re: mod_perl always segfault on thread creation
-=| hack bear, 22.08.2012 16:16:33 -0700 |=-
I'm doing a dynamic build (the default setting I believe.) here are the ldd
results (that's how we can tell, right?)
To me this seems like a static build. Yes, it links dynamicly to
system libraries, but the perl library is staticly linked.
-fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -fPIC -m64 -mtune=nocona',
Then I install the perl build, build mod_perl and install. Verify I'm using the
new versions in apache. But still the script produces segfault consistently.
Did people ever get threads
-aliasing
-pipe -fstack-protector -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -m64 -mtune=nocona',
Then I install the perl build, build mod_perl and install. Verify I'm using the
new versions in apache. But still the script
produces segfault consistently.
Did people ever get
(0x7fbe6de0e000)
/lib64/ld-linux-x86-64.so.2 (0x0039be80)
libfreebl3.so = /lib64/libfreebl3.so (0x7fbe6dbac000)
Date: Wed, 22 Aug 2012 17:11:32 -0600
From: dh...@ucar.edu
To: hackingb...@hotmail.com
CC: modperl@perl.apache.org
Subject: RE: mod_perl always segfault on thread creation
: Tuesday, August 21, 2012 2:06 AM
To: modperl@perl.apache.org
Subject: mod_perl always segfault on thread creation
hi,
This is totally frustrating. My mod_perl script always causes segmentation
fault when it tries to create a thread. I searched the Web and this forum, but
there is still
successfully the first time by
running strace. The segfault can be traced to one line in Carp.pm:
%
# Transform an argument to a function into a string.
sub format_arg {
...
# The following handling of control chars
hi,
This is totally frustrating. My mod_perl script always causes segmentation
fault when it tries to create a thread. I searched the Web and this forum, but
there is still no definitive answers. My perl and mod_perl are of pretty recent
versions and I check for the inclusion of useithreads
)
We can tell that apache starts up perl successfully the first time by running
strace. The segfault can be traced to one line in Carp.pm:
%
# Transform an argument to a function into a string.
sub format_arg
httpd.conf which worked previously.
As far as I can tell, the segfault seems to be triggered while trying to
load any Perl module using either PerlModule directive or in Perl block in
httpd.conf that directly or indirectly use Carp, or even just try to load
Carp itself. Strace shows
Hello Fred,
Thank you for pointing out the upcoming release. Unfortunately, after
checking out and installing the latest version from SVN, I'm still
seeing the same issue. Apache still segfault while trying to load any
Perl module that directly or indirectly use Carp. According to SVN info
httpd.conf which worked previously.
As far as I can tell, the segfault seems to be triggered while trying to
load any Perl module using either PerlModule directive or in Perl
block in httpd.conf that directly or indirectly use Carp, or even just
try to load Carp itself. Strace shows
$second_num )
);
}
1;
### End Broken.pm ###
Another option is to 'use Test::More' explicitly:
(Do note that I have managed to segfault this)
use Apache::Test qw(:withtestmore);
use Test::More;
And finally, if it works for you, to use Test.pm and not Test::More with
just
use
On Wednesday, 07 December 2011 02:37:19 gAzZaLi wrote:
Another option is to 'use Test::More' explicitly:
(Do note that I have managed to segfault this)
use Apache::Test qw(:withtestmore);
use Test::More;
As of Apache::Test 1.35++ this is wrong. Sorry about the interface change. The
point
On Tuesday, 06 December 2011 17:40:14 Merlyn Kline wrote:
To REPRODUCE the problem, you need a Broken.pm module like this:
package Broken;
my $Testout;
create(); sub create { # Insert {# at the start of this line and the
segfault goes away open( $Testout, STDOUT ) or die Can't
discovered that simply useing Test::More in a mod_perl script causes
my apache to segfault. I originally reported this to the author of Test::More
(see https://rt.cpan.org/Public/Bug/Display.html?id=69687) but now believe the
problem to have wider scope. By progressively removing code from my
-- Start Bug Report 8--
1. Problem Description:
Apache segfault when using mod_perl.
Seems to occures when a process send more than 32kB of data.
2. Used Components and their Configuration:
*** mod_perl version 2.05
*** using /tmp/libapache2-mod-perl2-2.0.5/lib
Same problem on 2.0.5 and gentoo 2010
That's how I run it
r -D SSL -D SSL_DEFAULT_VHOST -D DEFAULT_VHOST -D INFO -D DAV -D DAV_FS
-D CACHE -D MEM_CACHE -D PHP5 -D PERL_VHOST -D PYTHON -D STATUS -D PROXY
-D PROXY_HTML -d /usr/lib/apache2 -f /etc/apache2/httpd.conf -E
We recently ran into the problem documented here:
http://www.mail-archive.com/modperl@perl.apache.org/msg00947.html
http://tech.groups.yahoo.com/group/modperl/messages/55410?threaded=1m=evar=1tidx=1
We ended up finding the offending global storage that was holding on
the Apache::Table
-8-- Start Bug Report 8--
1. Problem Description:
Crash gentoo apache2 start. core dump below, think tries to dup
a 0 file pointer
[DESCRIBE THE PROBLEM HERE]
2. Used Components and their Configuration:
*** mod_perl version 2.04
*** using
Have you tried 2.0.5?
On Sat, Mar 19, 2011 at 9:15 AM, A. Przygienda p...@mail.zeta2.ch wrote:
-8-- Start Bug Report 8--
1. Problem Description:
Crash gentoo apache2 start. core dump below, think tries to dup
a 0 file pointer
[DESCRIBE THE
On 03/19/2011 06:11 PM, Fred Moyer wrote:
Have you tried 2.0.5?
nope, was on gentoo 2008 which I tried to keep but looks like I must
upgrade so I check out 2011 distro now and see whether it persists
-- tony
On Sat, Mar 19, 2011 at 9:15 AM, A. Przygienda p...@mail.zeta2.ch wrote:
version. There's some stuff about recent fixes for segfaults in the
changes file.
Next thing I'm going to try is to selectively remove bits from
my startup.pl to pinpoint areas of the code that might
lead to this segfault.
Not a bad idea, but you also could remove Class::XSAccessor
completely
.
The first thing I'd suggest is making sure you have the latest
version. There's some stuff about recent fixes for segfaults in the
changes file.
Confirmed. Class::XSAccessor 0.11 (latest CPAN version atm) fixes my
segfault problems.
Thanks Perrin,
--
Cosimo
Hi all,
I'm still trying to track down this weird segfault
problem on Apache startup. I had originally targetet dbi-users@
because it initially seemed to be DBI-related. Was trying to get
some feedback, has anyone ever seen this? type of question.
Now I have a stack backtrace, that might narrow
::XSAccessor through
Class::Accessor::Grouped. That's the only use of Class::XSAccessor
I could find in my perl directories.
Next thing I'm going to try is to selectively remove bits from
my startup.pl to pinpoint areas of the code that might
lead to this segfault.
In the meantime, does thing ring a bell
On Wed, Jun 30, 2010 at 02:49, Tim Bunce tim.bu...@pobox.com wrote:
I suggest the code shift items off the main array, like perl does,
but also push those items onto a new temp array.
Find attached a patch that does the above (perhaps naively), passes a
make test and fixes the reported
On Wed, Jun 30, 2010 at 16:37, Tim Bunce tim.bu...@pobox.com wrote:
On Wed, Jun 30, 2010 at 09:24:42AM -0600, Alex Hunsaker wrote:
On Wed, Jun 30, 2010 at 02:49, Tim Bunce tim.bu...@pobox.com wrote:
I suggest the code shift items off the main array, like perl does,
but also push those items
subs... But at least we wont
segfault/crap out.
Thoughts?
I think getting rid of the segfault is a good thing. But if the main
problem is issues with NYTProf, then it seems like this change won't
solve the core problem of autogenerated null end blocks faulting. I'm
don't fully
On Wed, Jun 30, 2010 at 02:49, Tim Bunce tim.bu...@pobox.com wrote:
On Tue, Jun 29, 2010 at 09:50:00PM -0700, Fred Moyer wrote:
I think getting rid of the segfault is a good thing. But if the main
problem is issues with NYTProf, then it seems like this change won't
solve the core problem
On Wed, Jun 30, 2010 at 09:24:42AM -0600, Alex Hunsaker wrote:
On Wed, Jun 30, 2010 at 02:49, Tim Bunce tim.bu...@pobox.com wrote:
On Tue, Jun 29, 2010 at 09:50:00PM -0700, Fred Moyer wrote:
I think getting rid of the segfault is a good thing. But if the main
problem is issues with NYTProf
breakage into deployments which use MP::RC
Another option would be to copy/local() the array in
modpler_perl_call_list. Of course that still wont get it right
because we wont run any newly defined subs... But at least we wont
segfault/crap out.
Thoughts?
I think getting rid of the segfault
in
modpler_perl_call_list. Of course that still wont get it right
because we wont run any newly defined subs... But at least we wont
segfault/crap out.
Thoughts?
--- modperl_util.c.orig 2010-06-28 10:58:53.535686254 -0600
+++ modperl_util.c 2010-06-28 11:01:25.059112059 -0600
@@ -467,30 +467,12 @@
void
I just built up a new mod_perl1.30 with apache 1.3.41 and started
seeing segfaults in my logs. I ended up tracking the problem down to http://svn.apache.org/viewvc?view=revrevision=555908
It looks like a fix was committed almost 2 years ago.
So my questions are these. Is a 1.31 ever going
On Thu, May 7, 2009 at 4:41 PM, Brian Hirt bh...@mobygames.com wrote:
I just built up a new mod_perl1.30 with apache 1.3.41 and started seeing
segfaults in my logs. I ended up tracking the problem down to
http://svn.apache.org/viewvc?view=revrevision=555908
It looks like a fix was committed
::RegistryPrefork
causes it to segfault on a very regular basis.
Here's the message I posted on CPAN Forum for Test::Simple:
Recently, during the process of porting all my apache 1.3/mod_perl 1.x
CGI's running under ModPerl::RegistryPrefork, I started running into
regular segfaults. After a whole bunch
-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Perrin Harkins
Sent: Thursday, September 04, 2008 6:36 PM
To: Berg, Eric
Cc: modperl@perl.apache.org
Subject: Re: mod_perl2 + ModPerl::RegistryPrefork +
Test::Builder = segfault
On Thu, Sep 4, 2008 at 6:09 PM, Berg, Eric
I don't know the details, but there is something about the way
PerlModule works in mod_perl 1 that causes it to load the module again
when apache restarts at startup (it runs yours conf file twice when
you start, as documented). Using an explicit use() puts an entry in
%INC and fixes the
Quoting Perrin Harkins [EMAIL PROTECTED]:
How are you loading this? With a PerlModule call? Can you try
loading it from a Perl section like this?
Perl
use MyModule;
/Perl
Wow, it seems that this fixes the problem! At least with my minimal application.
Here's the debug output which looks
Quoting Tobias Kremer [EMAIL PROTECTED]:
Quoting Perrin Harkins [EMAIL PROTECTED]:
How are you loading this? With a PerlModule call? Can you try
loading it from a Perl section like this?
Perl
use MyModule;
/Perl
Wow, it seems that this fixes the problem!
Do you have any idea what
On Wed, Jul 2, 2008 at 5:12 AM, Tobias Kremer [EMAIL PROTECTED] wrote:
No more errors there either! :)
Great!
I don't know anything about the internals but to me the mod_perl source looks
like PerlModule is using require instead of use to load modules. I guess
that is making the difference?
Quoting Perrin Harkins [EMAIL PROTECTED]:
On a closer look, you're not. You are keeping around your $foo
closure variable in handler(), as well as putting it in a global.
It's not obvious why that causes this problem. If you want to
determine whether Apache::DBI is malfunctioning for you in
On Tue, Jul 1, 2008 at 3:42 AM, Tobias Kremer [EMAIL PROTECTED] wrote:
Removing Apache::DBI makes the errors go away.
Ok. First, check that you're on the latest version. Then, turn on
the debug flag and see if it thinks it is reusing the startup
connection or not.
- Perrin
Quoting Perrin Harkins [EMAIL PROTECTED]:
Ok. First, check that you're on the latest version. Then, turn on
the debug flag and see if it thinks it is reusing the startup
connection or not.
Yes, I'm using the latest 1.07 release. I already had the debug flag on and it's
correctly telling me
On Tue, Jul 1, 2008 at 9:56 AM, Tobias Kremer [EMAIL PROTECTED] wrote:
Yes, I'm using the latest 1.07 release. I already had the debug flag on and
it's
correctly telling me that it's skipping connection during server startup.
Yes, but what does it tell you on the first connection AFTER
Quoting Perrin Harkins [EMAIL PROTECTED]:
Yes, but what does it tell you on the first connection AFTER startup?
It should say whether it's making a new connection or not.
Here's the complete debug output which suggests that the connection during
startup is reused for the first request.
On
On Tue, Jul 1, 2008 at 10:08 AM, Tobias Kremer [EMAIL PROTECTED] wrote:
On server start:
20097 Apache::DBI skipping connection during server startup, read the docu !!
20097 Apache::DBI push PerlCleanupHandler
20097 Apache::DBI need ping: yes
20097 Apache::DBI new connect
On Mon, Jun 30, 2008 at 4:54 AM, Tobias Kremer [EMAIL PROTECTED] wrote:
We never fork and I thought that Apache::DBI takes care of checking if a
connection went stale by utilizing DBI's/DBD::mysql's ping() method?
It does, but it can't stop you from doing things like putting a
database handle
Quoting Perrin Harkins [EMAIL PROTECTED]:
On Mon, Jun 30, 2008 at 4:54 AM, Tobias Kremer [EMAIL PROTECTED] wrote:
We never fork and I thought that Apache::DBI takes care of checking if a
connection went stale by utilizing DBI's/DBD::mysql's ping() method?
It does, but it can't stop you from
On Mon, Jun 30, 2008 at 9:28 AM, Tobias Kremer [EMAIL PROTECTED] wrote:
Ok, I narrowed it down to the database connection initiated during server
startup. As soon as I remove it the errors vanish completely.
Good, that's major progress.
Here are some snippets to illustrate what I'm doing:
I
On Mon, Jun 30, 2008 at 10:54:20AM +0200, Tobias Kremer wrote:
Any other ideas? Thanks!
It could be that your query(result) is too large for the
'max_allowed_packet' setting. The mysql-client that is connected to your
process will then silently die, giving the 'Lost mysql...' error as
result.
Quoting Perrin Harkins [EMAIL PROTECTED]:
I don't see anything in this code, but you're not really showing us
much here. I think you'll need to try commenting out parts of it
until you find which part breaks it. I'd start with that
selectall_arrayref that you store.
I can reproduce the
Tobias Kremer wrote:
use vars qw( $dbh $thefoo );
Why are you storing the DB handle in a global variable?
If you do that then Apache::DBI can't help you if the connection goes away.
--
Michael Peters
Plus Three, LP
Quoting Michael Peters [EMAIL PROTECTED]:
Tobias Kremer wrote:
use vars qw( $dbh $thefoo );
Why are you storing the DB handle in a global variable?
If you do that then Apache::DBI can't help you if the connection goes away.
To make this variable available to all Mason components.
Tobias Kremer wrote:
Quoting Michael Peters [EMAIL PROTECTED]:
Why are you storing the DB handle in a global variable?
If you do that then Apache::DBI can't help you if the connection goes away.
To make this variable available to all Mason components.
Then use a method to do this, not a
On 30.06.2008, at 17:10, Perrin Harkins wrote:
It's not Apache::DBI that's caching it -- you're caching it. Don't
put a database handle in a global before you fork. It will stay, and
there's nothing Apache::DBI can do about it.
Could you please show me the exact line in my example in which I
On Mon, Jun 30, 2008 at 1:40 PM, Tobias Kremer [EMAIL PROTECTED] wrote:
Could you please show me the exact line in my example in which I put the
database handle in a
global during startup?
On a closer look, you're not. You are keeping around your $foo
closure variable in handler(), as well as
Stephen Howard wrote:
1. Problem Description:
I have an intermittent segfault with one particular ResponseHandler.
The segfault, when it occurs, is triggered by calling $r-content_type
in a lightly modified CGI::Simple (I made changes to it as it wasn't
playing well with mod_perl2). What
Quoting Tobias Kremer [EMAIL PROTECTED]:
On 25.06.2008, at 20:58, Amiri Barksdale wrote:
I had big trouble with DBD::mysql 4.007. I didn't get rid of my
segfault problem running mod_perl 1.31 until I went back to 4.004.
Thanx. It really looks a lot like my problem:
http://bugs.mysql.com
On AIX 5.2 I am using Perl 5.8.0, MySQL 5.0.51a, Apache 2.2.28, mod_perl
2.04, DBI 1.604 and DBD 4.0007 and it all works good.
--Brian
-Original Message-
From: Tobias Kremer [mailto:[EMAIL PROTECTED]
Sent: Friday, June 27, 2008 5:51 AM
To: modperl@perl.apache.org
Subject: Re: Segfault
On Fri, Jun 27, 2008 at 5:51 AM, Tobias Kremer [EMAIL PROTECTED] wrote:
Now if I could just get rid of those annoying random Commands out of sync
and
Lost connection to MySQL server during query errors that happen once in a
while ...
Those generally mean that you timed out (set MySQL's
1. Problem Description:
I have an intermittent segfault with one particular ResponseHandler.
The segfault, when it occurs, is triggered by calling $r-content_type
in a lightly modified CGI::Simple (I made changes to it as it wasn't
playing well with mod_perl2). What might be going awry
We have a mod_perl application that needs to connect to the database during
Apache startup to prefetch some data. The database handle for this is not
stored or re-used in any way.
According to the documentation, Apache::DBI does not cache database connections
made during server startup, so I
- Ubuntu Feisty with apache-perl.
- stock Ubuntu Perl 5.8.8 (which unfortunately comes with threads)
- self-rolled DBD::mysql (against libmysqlclient15-dev), DBI and Apache::DBI
I should have mentioned that we're using DBI 1.605, Apache::DBI 1.07 and
DBD::mysql 4.007. The Ubuntu apache-perl
Quoting Tobias Kremer [EMAIL PROTECTED]:
- Ubuntu Feisty with apache-perl.
- stock Ubuntu Perl 5.8.8 (which unfortunately comes with threads)
- self-rolled DBD::mysql (against libmysqlclient15-dev), DBI and
Apache::DBI
I should have mentioned that we're using DBI 1.605, Apache::DBI 1.07
Quoting André Warnier [EMAIL PROTECTED]:
I don't know if the above versions are imposed to you, but in case you
have a choice, I would recommend de-installing your Apache and mod_perl,
and re-install the Apache 2.2 version and the mod_perl that goes with it.
Apache 1.x and mod_perl 1.x are old
this is a problem with the new DBD::mysql then, rather
than Apache::DBI. If you want to determine that the problem is the
version and not your compile options, you can compile the Ubuntu
versions yourself and see if they segfault.
Another possibility here is that although Apache::DBI doesn't cache
I had big trouble with DBD::mysql 4.007. I didn't get rid of my
segfault problem running mod_perl 1.31 until I went back to 4.004.
Amiri
On Jun 25, 2008, at 12:14 PM, Perrin Harkins wrote:
On Wed, Jun 25, 2008 at 5:49 AM, Tobias Kremer [EMAIL PROTECTED]
wrote:
After de-installing
On 25.06.2008, at 20:58, Amiri Barksdale wrote:
I had big trouble with DBD::mysql 4.007. I didn't get rid of my
segfault problem running mod_perl 1.31 until I went back to 4.004.
Thanx. It really looks a lot like my problem:
http://bugs.mysql.com/bug.php?id=36810
I'll try reverting
It appears that downgrading DBD::mysql to version 4.004 has done the trick.
Amiri
--
View this message in context:
http://www.nabble.com/Segfault-Help%21-%21--tp17599739p17668030.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
What version were you using that was causing the problems?
amiribarksdale wrote:
It appears that downgrading DBD::mysql to version 4.004 has done the trick.
Amiri
--
Red Hot Penguin Consulting LLC
mod_perl/PostgreSQL consulting and implementation
http://www.redhotpenguin.com/
Fred Moyer wrote:
What version were you using that was causing the problems?
4.007.
Amiri
--
View this message in context:
http://www.nabble.com/Segfault-Help%21-%21--tp17599739p17675687.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
I reinstalled mysql from source and recompiled my DBD::mysql against
its new libs, and I still get the same backtrace:
Using host libthread_db library /lib64/tls/libthread_db.so.1.
...
#0 0x002a994cf93e in mysql_send_query ()
from /home/mysql/lib/mysql/libmysqlclient.so.15
(gdb) bt
Does anyone have any guidance on what I should do here?
Amiri
--
View this message in context:
http://www.nabble.com/Segfault-Help%21-%21--tp17599739p17627528.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
amiribarksdale wrote:
Does anyone have any guidance on what I should do here?
Amiri
From the archive thread: -
http://www.nabble.com/Segfault-Help%21-%21--tp17599739p17627528.html
Here are two short snippets of gdb output from the other evening. Can
someone lead me in the right direction
this message in context:
http://www.nabble.com/Segfault-Help%21-%21--tp17599739p17628964.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
amiribarksdale wrote:
Yes, I moved from 32 bit to 64 bit. But I did exactly what you said. I
reinstalled everything--perl, apache, mysql, DBI, DBD::mysql, every single
module--the whole shebang. So it's not just some careless oversight or file
copy. Everything has already been rebuilt and
of
those 32-bit and 64 bit errors. I just built everything back up from
barebones CentOS.
From my cursory look through the stack trace it looks like the segfault
is occurring when the database connections are being closed, either as a
result of the httpd child dying, or the apache dbi
the stack trace it looks like the segfault
is occurring when the database connections are being closed, either as a
result of the httpd child dying, or the apache dbi connection closing.
Apache::DBI disconnect (overloaded)
Try setting the debug level for Apache::DBI to 2 to get verbose
everything back up from
barebones CentOS.
From my cursory look through the stack trace it looks like the segfault
is occurring when the database connections are being closed, either as a
result of the httpd child dying, or the apache dbi connection closing.
Apache::DBI disconnect
',
),
);
sub handler {
my $r = shift;
$ah{$r-dir_config('site')}-handle_request($r);
}
1;
--
View this message in context:
http://www.nabble.com/Segfault-Help%21-%21--tp17599739p17633171.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
, {SIG_DFL}, {SIG_DFL}, 8) = 0
kill(2396, SIGSEGV) = 0
rt_sigreturn(0x95c) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 2396 detached
--
View this message in context:
http://www.nabble.com/Segfault-Help%21-%21--tp17599739p17599739.html
Sent from
Here are some better and further details. I turned on DBI debugging, so I can
see that before a segfault, I get the error
Apache::DBI disconnect (overloaded)
I have also done some gdb backtraces--I put strace output before. Here is
one gdb full bt:
(gdb) bt full
#0 0x002a994e37be
-multi/auto/XML/LibXML/LibXML.so
#0 0x002a994e37be in mysql_send_query ()
from /usr/lib64/mysql/libmysqlclient.so.15
--
View this message in context:
http://www.nabble.com/Segfault-Help%21-%21--tp17599739p17613827.html
Sent from the mod_perl - General mailing list archive at Nabble.com.
On Mon, May 19, 2008 at 09:33:49PM +0300, Niko Tyni wrote:
On Mon, May 19, 2008 at 11:12:08AM +0200, Louis-David Mitterrand wrote:
Since I've upgraded to perl 5.10 on my debian unstable/sid box I get a
segfault when using MasonX::Request::WithApacheSession:
[Sat May 17 16:14:55
[this message elicited no answers so far from mason-users, so maybe the
modperl community might be of help, thanks]
Hi,
Since I've upgraded to perl 5.10 on my debian unstable/sid box I get a
segfault when using MasonX::Request::WithApacheSession:
[Sat May 17 16:14:55 2008] [notice
On Mon, May 19, 2008 at 5:12 AM, Louis-David Mitterrand
## When commented out perl 5.10 works fine
request_class = 'MasonX::Request::WithApacheSession',
session_class = 'Apache::Session::Postgres',
Louis-David Mitterrand wrote:
[this message elicited no answers so far from mason-users, so maybe the
modperl community might be of help, thanks]
Hi,
Since I've upgraded to perl 5.10 on my debian unstable/sid box I get a
segfault when using MasonX::Request::WithApacheSession:
[Sat
On Mon, May 19, 2008 at 10:31:06AM -0400, Perrin Harkins wrote:
On Mon, May 19, 2008 at 5:12 AM, Louis-David Mitterrand
## When commented out perl 5.10 works fine
request_class =
'MasonX::Request::WithApacheSession',
a
segfault when using MasonX::Request::WithApacheSession:
[Sat May 17 16:14:55 2008] [notice] Apache/2.2.8 (Debian)
mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming
normal operations
[Sat May 17 16:15:03 2008] [notice] child pid 25786 exit signal
Segmentation
On Mon, May 19, 2008 at 11:12:08AM +0200, Louis-David Mitterrand wrote:
Since I've upgraded to perl 5.10 on my debian unstable/sid box I get a
segfault when using MasonX::Request::WithApacheSession:
[Sat May 17 16:14:55 2008] [notice] Apache/2.2.8 (Debian)
mod_apreq2-20051231/2.6.0
1 - 100 of 211 matches
Mail list logo