Re: [Klara FreeBSD #2159] Second bug in our web server: mod_perl2 Apache2::Upload upload method silently dies

2025-07-22 Thread Alex Aminoff
ng mix of ports & packages in prod, perhaps with some pkg > lock, on the grounds that we know it works and we can roll forward to a better > solution when one comes out soon. I have done worse things in the past. > > I hope this makes sense. > > - Alex > > > On 7/

Re: Apache2::Upload ->upload method dies silently if any file field is empty

2025-07-21 Thread Alex Aminoff
On 7/18/25 13:35, Randolf Richardson via modperl wrote: On Jul 17, 2025, at 1:32PM, Alex Aminoff wrote: I have written up a description and replication code here: http://back.nber.org/sys-admin/apache2_upload_bug.html Is this something anyone else has seen? Hi, Alex. Yes, this is a known

Apache2::Upload ->upload method dies silently if any file field is empty

2025-07-17 Thread Alex Aminoff
I have written up a description and replication code here: http://back.nber.org/sys-admin/apache2_upload_bug.html Is this something anyone else has seen? Thanks,  - Alex Aminoff    NBER

Error in log - can't find ANONSUB's 'anon3' entry. - plus 500 response from server

2023-10-18 Thread Alex Masidlover
use gdb with threads? I've not (yet) raised a bug since at the moment we can't make this easily reproducible - we just know that, on our existing systems with plenty of data, if we enable mpm_event instead of mpm_prefork we get these errors. We're trying to narrow down the circumstances

Re: how to run regex calculation

2020-01-12 Thread Alex Mestiashvili
quot;; $str =~ s{(\d+)\s(\d+)\s(\d+)}{my $result="false";$result="true" if $3 == eval"$1*$2";$result}e;say $str' The magic is the /e modifier. Regards, Alex On 1/9/20 5:25 PM, MIchael Capone wrote: It probably won't ever work.  The problem is the * (star/a

Re: Bug - Strange issue with mod_perl 2.0.10 / Apache 2.4 corrupting nfreeze data

2016-08-07 Thread Alex Masidlover
On Sun, 2016-04-03 at 17:03 +0200, Vincent Veyron wrote: > On Sun, 03 Apr 2016 14:11:23 +0100 > Alex Masidlover wrote: > > > > > > > This has all worked perfectly up until I upgraded to Apache 2.4 / > > mod_perl 2.0.10 -  > After upgrading to Apache 2.4 and

Bug - Strange issue with mod_perl 2.0.10 / Apache 2.4 corrupting nfreeze data

2016-04-03 Thread Alex Masidlover
-8<-- Start Bug Report 8<-- 1. Problem Description: I'm running Perl 5.20.2 on a Gentoo virtual machine. We've had some code in place that uses a mod_perl handler to send complex hashref based structures between two servers using nfreeze / thaw; the code ne

Re: Cannot get mod_perl 2.0.6 to compile with apache 2.2.22 under perl 5.16.0

2012-05-29 Thread Alex Hunsaker
On Tue, May 29, 2012 at 12:07 PM, Doug Hunt wrote: > Hi mod_perl list! > > I've been using Apache and mod_perl for a long time on our web site, but I'm > having troubles getting it to compile under the most recent Apache, mod_perl > and perl. > > I'm working under CentOS 6.2 on an x86_64 system. >

filter priorities and order of execution

2012-05-29 Thread Alex Krohn
like: PerlRequire /home/alex/modperl.pl SetHandler modperl PerlResponseHandler VideoTest PerlOutputFilterHandler VideoTest::test_output_handler and my modperl code looks like: sub handler { my $r = shift; $r->sendfile('/tmp/video.mp4&

Re: mod_perl output filter and mod_proxy, mod_cache

2011-07-14 Thread Alex J. G. Burzyński
too etc. Cheers, Alex On 14/07/11 11:39, Tim Watts wrote: > On 14/07/11 11:16, André Warnier wrote: > > Hi Andre, > > Thanks for the quick reply :) > >> (That would probably be difficult, inefficient or both) >> >> Assuming that what you say about Tomcat is

Re: DBI and Apache::DBI issues

2011-02-08 Thread Alex Hunsaker
On Tue, Feb 8, 2011 at 16:26, Max Pinton wrote: > On Feb 8, 2011, at 7:36 AM, Perrin Harkins wrote: >> That doesn't explain all of your errors though.  I'm guessing that >> you're opening a connection during startup and forking with it.  You >> need to find that.  Look for things that might open a

Re: Custom directive and - bug?

2010-12-06 Thread Alex J. G. Burzyński
On 06/12/10 20:39, Philippe M. Chiasson wrote: On 10-11-30 07:51 , "Alex J. G. Burzyński" wrote: Hi, I've noticed that when using custom directives within nested the result of $r->location reports the parent one only, instead of the subdir. However if I add PerlSetVar the

Custom directive and - bug?

2010-11-30 Thread Alex J. G. Burzyński
>path_info: /subdir This has been tested on perl 5.12.2: Apache/2.2.16 + mod_perl/2.0.4 Apache/2.2.17 + mod_perl/2.0.5-dev (2010091957) Apache/2.2.17 + mod_perl/2.0.5-dev (20101130091946) Cheers, Alex

Re: [PATCH] END blocks may segfault

2010-07-02 Thread Alex Hunsaker
>>> On Wed, Jun 30, 2010 at 02:49, Tim Bunce 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 problems for m

Re: [PATCH] END blocks may segfault

2010-07-01 Thread Alex Hunsaker
On Wed, Jun 30, 2010 at 16:37, Tim Bunce wrote: > On Wed, Jun 30, 2010 at 09:24:42AM -0600, Alex Hunsaker wrote: >> On Wed, Jun 30, 2010 at 02:49, Tim Bunce wrote: >> > I suggest the code shift items off the main array, like perl does, >> > but also push those items

Re: [PATCH] END blocks may segfault

2010-06-30 Thread Alex Hunsaker
On Wed, Jun 30, 2010 at 02:49, Tim Bunce 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 of autogenerated

[PATCH] END blocks may segfault

2010-06-28 Thread Alex Hunsaker
Hi! perl: 5.10.1, 5.12.1 (i686-linux, x86_64-linux) mod_perl: 2.0.4 Basically if you have end blocks that modify/add END blocks things might go crazy. A simple test case for this is: package test: END { eval "END { }" for 1..10 } gives: Not a CODE reference. END failed--call queue aborted. if

Re: intermittent segfaults, ssl?

2010-01-12 Thread Alex Aminoff
with $/, we went from dozens of seg faults per hour to none. - Alex Aminoff BaseSpace.net National Bureau of Economic Research (nber.org) On Tue, 12 Jan 2010, Mark Copper wrote: Hi, I have a server like this: Server Version: Apache/2.2.9 (Debian) mod_ssl/2.2.9 OpenSSL/0.9.8g

Re: seg fault in modperl_perl_global_request_save

2009-12-31 Thread Alex Aminoff
On Thu, 31 Dec 2009, Philippe M. Chiasson wrote: On 09-12-31 12:52 , Alex Aminoff wrote: Most certainly, yes. A stack trace without debugging symbols is not very useful in trying to pin down the source of a segfault bug. OK, I compiled mod_perl with MP_DEBUG and MP_TRACE, and got apache

Re: seg fault in modperl_perl_global_request_save

2009-12-31 Thread Alex Aminoff
Most certainly, yes. A stack trace without debugging symbols is not very useful in trying to pin down the source of a segfault bug. OK, I compiled mod_perl with MP_DEBUG and MP_TRACE, and got apache to produce a core dump (kern.sugid_coredump=1 appears to be needed on FreeBSD): (gdb) bt #0

seg fault in modperl_perl_global_request_save

2009-12-30 Thread Alex Aminoff
2 : - Apache2::Request : 2.12 CGI: 3.42 ExtUtils::MakeMaker: 6.48, undef LWP: 5.834 mod_perl : - mod_perl2 : 2.04 3. This is the core dump trace: (if you get a core dump): [CORE TRACE COMES HERE] This report was generated by /usr/local/bin/mp2bug on Wed Dec 30 20:46:25 2009 GMT. - Alex Aminoff BaseSpace.net National Bureau of Economic Research (nber.org)

Multiple problems in mod_perl tests for apr-ext e.g t/apr-ext/brigade

2008-12-03 Thread Alex Goldney
Hi all, I have successfully compiled mod_perl on an AIX box using the AIX compiler. However, it fails a number of tests t/apr-ext/brigade.t 255 65280?? ?? % ?? t/apr-ext/bucket.t 255 65280?? ?? % ?? t/apr-ext/error.t255 65280?? ?? % ?? t/apr-e

[Apache::DBI] [PATCH] use PerlChildExitHandler to properly disconnect

2008-03-12 Thread Alex Hunsaker
This Patch fixes annoying log messages (notably with postgresql, but others may apply) because Apache::DBI fails to disconnect properly at exit time. (it stops the buggers below from filling my logs...) LOG: unexpected EOF on client connection LOG: could not receive data from client: Connection

Re: MP1 Security issue

2007-03-23 Thread Alex Solovey
space_from = \&ModPerl::RegistryCooker::namespace_from_uri; This may be present in some users code though, especially if it is migrated to mp2 from mp1 where uri-based namespaces were default, but I do not think it is common. -- Alex

Re: MP1 Security issue (was Re: [mp1] PerlRun fails if path_info contains special symbols)

2007-03-23 Thread Alex Solovey
using the non-standard uri-based methods then you will want to examine your code. Indeed, default mp2 setup is not affected. One cannot reproduce this problem unless something like *ModPerl::MyRegistry::namespace_from = \&ModPerl::RegistryCooker::namespace_from_uri; is done. -- Alex

[mp1] PerlRun fails if path_info contains special symbols

2007-03-22 Thread Alex Solovey
y problem because regular expression will not execute (?{ arbitrary code here }) unless "use re 'eval'" is in effect, but this is a problem that has to be fixed anyway. -- Alex

Re: Multiple versions of mod_perl?

2007-03-07 Thread Alex Beamish
ast one tied to something before the api switch ) should work. It's the old story -- this was a prototype thrown together that we spent a bit of time developing. It got turned into a piece of code that we used for 'a little processing' .. and then Production. I'm slowly upgrading it and moving it to newer platforms. Thanks again. -- Alex Beamish Toronto, Ontario aka talexb

Multiple versions of mod_perl?

2007-03-06 Thread Alex Beamish
27;s a test system so it typically has half a dozen installations on it). Is this a mad idea, or could it work? I look forward to hearing from you all. Thanks! -- Alex Beamish Toronto, Ontario aka talexb

Re: Mailing list down

2006-12-27 Thread Alex Beamish
keep in mind this is the after-Christmas period -- while some people are in at work, others are lounging around at home, enjoying (or recovering from) rich food and drink. -- Alex Beamish Toronto, Ontario aka talexb

Re: Forking to an interactive program under mod_perl

2006-12-15 Thread Alex Beamish
you, I am able to report that, no, IPC::Run does not appear to work under mod_perl -- I have posted a node at http://perlmonks.org/?node_id=590115 with more information. Next step, the more complicated solution. -- Alex Beamish Toronto, Ontario aka talexb

Re: Apache::DProf woes ...

2006-12-14 Thread Alex Beamish
b or something to hit them all a > few times at the same URL. the files are being created, with content. That isn't the problem. I've used the -X option to run Apache without spawning any kids .. that might make it easier for you to gather profiling information. -- Alex Beamish Toronto, Ontario aka talexb

Re: syswrite + Apache?

2006-12-14 Thread Alex Beamish
h a daemon that is itself running interactive programs through IPC::Run), I'm going to seriously consider looking through the mod_perl docs to see if there's a way to make sure a reader understands that if they want to do anything with STDOUT .. that they can't. -- Alex Beamish Toronto, Ontario aka talexb

Re: Forking to an interactive program under mod_perl

2006-12-13 Thread Alex Beamish
On 12/13/06, Robert Landrum <[EMAIL PROTECTED]> wrote: Alex Beamish wrote: > I'll deal with multiple documents with some combination of stale timers > and LRU slots, but that's not really what I see as the most complicated > or difficult part of this problem. For this p

Re: Forking to an interactive program under mod_perl

2006-12-12 Thread Alex Beamish
On 12/12/06, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: On Dec 12, 2006, at 6:13 PM, Robert Landrum wrote: > Alex Beamish wrote: >> What I'm trying to do is come up with scaled page images from a >> PDF on the fly. Thus, I want to launch Ghostscript and then a

Forking to an interactive program under mod_perl

2006-12-12 Thread Alex Beamish
kly produce the required page image. Suggestions welcome. -- Alex Beamish Toronto, Ontario

Compressing response from SOAP::Transport::HTTP::Apache

2006-04-25 Thread Alex Greg
ot;Accept-Encoding: gzip" header, I don't get compressed data back. Any ideas? -- Alex

[MP2] Terminate / Redirect request in Input Filter

2006-03-30 Thread Alex
1) either terminate the whole further processing by Apache -> client would get connection aborted / access denied / server error or whatever 2) or redirect the request to some other url / file In both cases the orignal url should not be further processed by other filters / Apache. Thank You Alex --- End Message ---

modifying request on the fly

2006-01-27 Thread alex-lists-modperl
&appdata=requestlabel Thanks, Alex

[dbi] how many connections should i see?]

2006-01-13 Thread alex-lists-modperl
. However, Apache2::Status always displays 2 connection. Am I missing something? Apache2::Status 4.0 Perl 5.8.7 Apache 2.2.0 mod_perl 2.02 Apache::DBI 0.9901 Thanks, Alex

Re: Getting to learn more about modperl2 API

2005-07-24 Thread alex kren
worked, too (appearance of Directory Index was partly altered, depending on the handler). Does this only have to do with me using an old version of Apache::Filter(ver. 0.01) [1], which is not yet "directory-aware" or could there be other reasons? Any hints highly appr

Re: advice needed: mod_perl reverse proxy

2005-04-21 Thread Alex Greg
targeted to WSSO, and you'd be probably > better off starting from scratch or from HTTP::Proxy by Philippe Bruhat. Not sure if this is of any use, but it's what LiveJournal.com use as a reverse HTTP proxy: http://www.danga.com/perlbal/ -- Alex

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-03-10 Thread Alex Greg
on how fast they respond). Just thought I should put this in for the archives. Regards, -- Alex

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Alex Greg
On Mon, 31 Jan 2005 17:55:27 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Mon, 2005-01-31 at 21:23 +0000, Alex Greg wrote: > > I'm using Apache::RegistryFilter: > > > > PerlHandler Apache::RegistryFilter Apache::Dynagzip > > > > See the attache

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Alex Greg
On Mon, 31 Jan 2005 15:34:05 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Sun, 2005-01-30 at 21:54 +0000, Alex Greg wrote: > > The problem I have found is that when I modify print_content_type as > > follows: > > > > sub print_content_type

Re: Barrier to implementing web content compression in mod_perl

2005-01-31 Thread Alex Greg
On Sun, 30 Jan 2005 23:02:53 -0500, Stas Bekman <[EMAIL PROTECTED]> wrote: > Alex Greg wrote: > > Hi, > > > > > > I've been trying for some considerable time now to implement web > > content compression for our application, but it seems impossible > &

Barrier to implementing web content compression in mod_perl

2005-01-30 Thread Alex Greg
SH reference" error, but the solution he suggested (using "$r = Apache->request->pnotes('filterobject')" instead of "$r = Apache->request" produced the same error. Regards, -- Alex

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Alex Greg
On Thu, 06 Jan 2005 14:40:20 -0500, Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Thu, 2005-01-06 at 19:35 +0000, Alex Greg wrote: > > Any further advice would be appreciated, before I take the next step > > and compile my own Perl. > > The final variable here i

Re: mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Alex Greg
On Thu, 6 Jan 2005 12:40:01 -0600, Frank Wiles <[EMAIL PROTECTED]> wrote: > On Thu, 6 Jan 2005 18:15:27 +0000 > Alex Greg <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > Recently I've upgraded one of our mod_perl servers to Fedora Co

mod_perl speed difference between Fedora Core 1 and Fedora Core 3

2005-01-06 Thread Alex Greg
od_perl 1.29 and run on identical hardware (P4 3.06Ghz, 3GB RAM). The only reason we're using Fedora Core 3 on the 4th one is because the SCSI firmware version is different and doesn't work under Fedora Core 1. Any advice on this would be much appreciated. Regards, -- Alex

Re: Apache::Dynagzip not seeing my headers from Apache::Registry script

2004-12-29 Thread Alex Greg
On 24 Dec 2004 20:53:57 -0600, Slava Bizyayev <[EMAIL PROTECTED]> wrote: > Please Alex, "reply to all" in order to keep the thread on list. Yikes! Sorry about that - I'm still not quite used to Gmail's interface! > I believe that Ken Williams could give you a

Apache::Dynagzip not seeing my headers from Apache::Registry script

2004-12-24 Thread Alex Greg
r On PerlSendHeader Off PerlSetupEnv On AllowOverride AuthConfig Options +ExecCGI Any advice on this would be much appreciated, as I have been banging my head against it all evening! -- Alex -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apa

Gzip compression for dynamically generated content

2004-11-26 Thread Alex Greg
r application, so I'm not sure why it's being sent by Dynagzip as well. Can anyone shed any light on this, or suggest an alternative way to dynamically compress the output from mod_perl? Regards, -- Alex -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apach

Re: mod_perl crashing / hanging

2004-10-04 Thread Alex Greg
Tom Schindl wrote: Alex Greg wrote: Geoffrey Young wrote: [...] Thanks for your response. Sorry I wasn't clear; the httpd processes don't actually kill the server, they just slow Apache right down to the point at which it doesn't respond to requests any more. I am still able

Re: mod_perl crashing / hanging

2004-09-30 Thread Alex Greg
Geoffrey Young wrote: Alex Greg wrote: Hi, [...] [Thu Sep 30 09:44:43 2004] [error] (12)Cannot allocate memory: fork: Unable to fork new process there is lots of documentation around about how to tune your httpd processes so that they don't kill your box. see, for example

mod_perl crashing / hanging

2004-09-30 Thread Alex Greg
nobody 29980 0.0 7.0 78476 72324 ? S 10:09 0:00 /www/bin/httpd root 29982 0.0 0.0 5052 572 pts/0 R 10:09 0:00 grep ht Any ideas as to what might be causing this problem would be greatly appreciated. Regards, -- Alex -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://pe

Re[2]: multipart/form failure

2004-09-01 Thread Alex Oboimov
I applied temporary solution just to tame my clients. I inserted in my script the lines 'if ($type='application/msword') {...} just to cut out both leading and trailing \r\n's. And it works!! But I'm curious to find the source of the problem. Plans: to use libapreq though

multipart/form failure

2004-08-31 Thread Alex Oboimov
sion for this sort of files. Any suggestions? -- Regards, Alex mailto:[EMAIL PROTECTED] -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html

[mp2] modperl test failed

2004-06-15 Thread Alex Oboimov
tate - should I DEGRADE my system to find out what was wrong with my perl-5.8.1-1.RC4.mdk? Regards, Alex ___ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself

[mp2] modperl test failed

2004-06-15 Thread Alex Oboimov
erl   tier. Is this advisable?   >>sure, take your time. but please follow up to the list.   Sorry Stas, I press automatically the Respond button and realized itwas your private account afterwards... will never repeat this.   Best regards, Alex Oboimov ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself

Re[2]: [mp2] modperl test failed

2004-06-11 Thread Alex Oboimov
have. Suppose, without symbols compiled in there's not enough information SB> And if it reports that there was a segfault, show us exactly how did you SB> invoke gdb. Shown above. SB> Thanks. Sorry for this lengthy message, thanks. Alex -- Report problems: http:/

[mp2] modperl test failed

2004-06-10 Thread Alex Oboimov
ache2/lib/libaprutil-0.so.0...done. Loaded symbols for /usr/local/apache2/lib/libaprutil-0.so.0 Here follows 120 lines of Reading symbols/Loaded symbols without any errors... Sorry I haven't included debug options in httpd nor modperl builds... This report was generated by t/REPORT on Thu

Re: environment not getting reset

2004-05-18 Thread Alex Krohn
ad: $SIG{USR1} = \&usr1_handler; $SIG{TERM} = \&term_handler; $SIG{PIPE} = \&pipe_handler; $SIG{__WARN__} = \&warn_handler; $SIG{__DIE__} = \&die_handler; in it that were not local'd. Once I commented these out, things started working again

environment not getting reset

2004-05-15 Thread Alex Krohn
che 1.3.31, mod_perl 1.29. Cheers, Alex -- Alex Krohn <[EMAIL PROTECTED]> -- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html