Re: [mp2] Child process exited

2003-08-20 Thread Chuck Tribolet
I just stumbled into this thread, trying to figure out how to fix the same error, generated by a C module. Convert 3221225725 to hex, and you get C0FD and THAT's the code for a stack overflow. Maybe a recursive function in your PERL code? -- Chuck Tribolet [EMAIL PROTECTED]

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
I said, in my last message: I'll try removing modules from my startup.pl as Randy Kobes suggested, see if that changes anything. It doesn't. I removed Apache::Reload from my httpd.conf, and put an empty startup.pl instead of my real one (this one just returns 1; nothing else) and it still

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
Steve, I found that almost whatever I removed from the template -- not just the nobr tag -- fixed it, and I began to wonder about the *size* of the template. That's what I was wondering too when I reported that just adding 3 line breaks somewhere in the file broke it, and removing them fixed

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
Jean-Sebastien Guay wrote: Stas, I just checked, and when the Apache crash occurs, nothing gets written to access_log. It would seem that the crash happens before the request is logged. That's possible, but at least you can see that it's not IE that generates some followup request that causes

Re: [mp2] Child process exited

2003-08-14 Thread Steve Hay
Jean-Sebastien Guay wrote: Steve, and the good news for you is that I've reproduced your problem. GREAT! Thank you so much for persevering through this! So do you have a traceback or some info that the developers might be able to use to track this down? Not sure how to get a stack

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
Jean-Sebastien Guay wrote: Hello, I think I've made good steps towards getting my scripts to work (Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0). However, now, when I try to reload one of the pages to test, IE tells me that The exception unknown software exception (0xc0fd)

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
Stas, Thanks for trying out my code. Jean-Sebastien, are you *sure* that what crashes is apache and not your client? it seems that you have the client crashing if removing nobr changes everything. What's your error_log says? My client is IE, and it stays open and responsive after the crash

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
(only a hunch), so I'll start there. Keep you posted... Thanks J-S - Original Message - From: Stas Bekman [EMAIL PROTECTED] To: Jean-Sebastien Guay [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 12:03 PM Subject: Re: [mp2] Child process exited Jean-Sebastien

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
Jean-Sebastien Guay wrote: Stas, Thanks for trying out my code. Jean-Sebastien, are you *sure* that what crashes is apache and not your client? it seems that you have the client crashing if removing nobr changes everything. What's your error_log says? My client is IE, and it stays open and

Re: [mp2] Child process exited

2003-08-14 Thread Steve Hay
Jean-Sebastien Guay wrote: Steve, How did you build Apache 2? I downloaded the binaries... Sorry, can't help there. Please keep me posted as to your progress. OK, I've now got Apache 2 building (with a little off-list help from Randy Kobes - the secret is to use the .zip sources

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
Jean-Sebastien Guay wrote: Stas, One of the following will work. PerlSwitches -Id:/htdocs or PerlSwitches -Mlib=d:/htdocs Thanks, I'll try those. But I still don't know a) why Apache crashes (I know you can't repro, maybe someone else on Win32 will, so this is stalled for now). b) why my

Re: [mp2] Child process exited

2003-08-14 Thread Randy Kobes
On Wed, 13 Aug 2003, Stas Bekman wrote: Jean-Sebastien Guay wrote: Stas, I just checked, and when the Apache crash occurs, nothing gets written to access_log. It would seem that the crash happens before the request is logged. That's possible, but at least you can see that it's not IE

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
Jean-Sebastien Guay wrote: I'll try to make a small test case so you can try to repro. I think it's related to DBI (only a hunch), so I'll start there. Ok, I've got it as simple as I can (I think - 25.1k zip). It isn't related to DBI, but to template toolkit. So to try my test case, you'll need

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
Jean-Sebastien Guay wrote: So, did anyone have time to check this out? This is pretty major for me, I can't implement mod_perl at my site until I find out what is causing this crash and fix it. And I really have no idea what could be causing it. I'm using CGI.pm 2.98, Template-Toolkit 2.10,

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
Stas, Thanks for the quick response. You did load things in startup.pl, remember? some module could override $SIG{__WARN__}. Don't load those modules if you don't need them. I very much doubt anything in my startup.pl would modify the signal handlers. Here's my startup.pl, for reference: use

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
I've actually pinpointed the problem to one HTML tag in the output that Template-Toolkit sends to Apache as a result of the cgi script's run. Actually, I've just found out another thing, which is really weird. If I just change the amount of whitespace in the template file (see the zip file

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
Steve, and the good news for you is that I've reproduced your problem. GREAT! Thank you so much for persevering through this! So do you have a traceback or some info that the developers might be able to use to track this down? The variable will not stay shared error is a common problem with

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
Stas, e.g. I'd check the access_log to see whether it issues only one request or more. Also make sure to debug in the single process (thread?) mode (httpd -X) I'll check those out this afternoon. It's possible that some of your code or the modules that you use either misuse $^W or trap

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
Stas, I just checked, and when the Apache crash occurs, nothing gets written to access_log. It would seem that the crash happens before the request is logged. Also, b) why my warnings don't show up in the error_log. I just moved my mod_perl config from httpd.conf to another file,

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
It's possible that some of your code or the modules that you use either misuse $^W or trap $SIG{__WARN__} which prevents from warnings to be printed. grep for these two things. Remember - there's only the code I showed you. No other modules (other than Template, strict and warnings which are

Re: [mp2] Child process exited

2003-08-14 Thread Stas Bekman
I can't help you with those things without being able to reproduce the problem :( but see below regarding the reload confusion. [...] # Add the top-level directory for the modules into the module search path. use lib qw($ENV{SCRIPT_ROOT}); Apache::Reload didn't seem to want to reload my

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
]; [EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 3:40 AM Subject: Re: [mp2] Child process exited Jean-Sebastien Guay wrote: So, did anyone have time to check this out? This is pretty major for me, I can't implement mod_perl at my site until I find out what is causing this crash and fix it. And I

Re: [mp2] Child process exited

2003-08-14 Thread Steve Hay
Jean-Sebastien Guay wrote: So, did anyone have time to check this out? This is pretty major for me, I can't implement mod_perl at my site until I find out what is causing this crash and fix it. And I really have no idea what could be causing it. I'm using CGI.pm 2.98, Template-Toolkit 2.10,

Re: [mp2] Child process exited

2003-08-14 Thread Steve Hay
Jean-Sebastien Guay wrote: Can't get http://whitestar02.webhop.org/Files/ApacheCrash.zip it resolves to an internal address: 192.168.0.3 Darn, looks like my web server didn't come back up right last night. I'll have to be there to fix it, because ssh doesn't get through either. Here's

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
Is it only mp2 that it fails under? I've tried it under mp1.28/perl5.8.0/apache1.3.27 on WinXP and it runs fine. I haven't tried other mod_perl versions, since the threading issue would render the site unusable. so I assume that there is no point trying it on linux, if Steve can't

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
Can't get http://whitestar02.webhop.org/Files/ApacheCrash.zip it resolves to an internal address: 192.168.0.3 Darn, looks like my web server didn't come back up right last night. I'll have to be there to fix it, because ssh doesn't get through either. Here's another link, on my ISP's server:

Re: [mp2] Child process exited

2003-08-14 Thread Jean-Sebastien Guay
I'll try to make a small test case so you can try to repro. I think it's related to DBI (only a hunch), so I'll start there. Ok, I've got it as simple as I can (I think - 25.1k zip). It isn't related to DBI, but to template toolkit. So to try my test case, you'll need that installed. Should I

Re: [mp2] Child process exited

2003-08-12 Thread Jean-Sebastien Guay
Guay [EMAIL PROTECTED] To: Stas Bekman [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, August 08, 2003 1:13 PM Subject: Re: [mp2] Child process exited Is it only mp2 that it fails under? I've tried it under mp1.28/perl5.8.0/apache1.3.27 on WinXP and it runs fine. I haven't

Re: [mp2] Child process exited

2003-08-10 Thread Jean-Sebastien Guay
Is it only mp2 that it fails under? I've tried it under mp1.28/perl5.8.0/apache1.3.27 on WinXP and it runs fine. I haven't tried other mod_perl versions, since the threading issue would render the site unusable. What version of Template-Toolkit do you have? It's worth ensuring that you're

Re: [mp2] Child process exited

2003-08-07 Thread Jean-Sebastien Guay
So, has anyone checked out my test case? Any results (good or bad)? As I said in my last post, I'm getting this for differing amounts of whitespace in my template files, so it isn't just one tag to be removed everywhere. I have something like 30 template files, most of them much more complex than

Re: [mp2] Child process exited

2003-08-06 Thread Jean-Sebastien Guay
25k zip? that's a not quite a short test case ;) Can it possibly be 25 lines of code instead? You're absolutely right, I've pared it down a lot while waiting for your answer. I was trying to get my test case to you as fast as possible, that's why I didn't spend that much time on it before. It's

[mp2] Child process exited

2003-08-05 Thread Jean-Sebastien Guay
Hello, I think I've made good steps towards getting my scripts to work (Apache/2.0.47 (Win32) mod_perl/1.99_10-dev Perl/v5.8.0). However, now, when I try to reload one of the pages to test, IE tells me that "The exception unknown software exception (0xc0fd) occured in the application