Ok, here is a mod_perl handler that reliably segfaults:
sub handler {
my $r = shift;
my $ba = $r->connection->bucket_alloc;
my $d1 = APR::Bucket->new("d1");
my $f1 = APR::Bucket::flush_create($ba);
my $bb = APR::Brigade->new($r->pool, $ba);
$bb->insert_head($d1);
# d1->f
Title: Dear PayPal user
Dear PayPal User,
We recently reviewed your account, and suspect that your PayPal account may
have been accessed by an unauthorized third party. Protecting the security
of your account and of the PayPal network is our primary concern.
Therefore, as a prevention m
Ed Holyat wrote:
Is the apr_global_mutex.. api available for Solaris and Linux?
sure; APR won't build without selecting and calling some native system
primitive for that
For me, the apr status is returning that apr_global_mutex_.. is not
implemented on solaris2.8, redhat 2 and 3 enterpri
Trying to reproduce it in a standalone C program didn't work, it's more
complex than what I thought, will keep you posted when I get a reproducable
test case.
--
__
Stas BekmanJAm_pH --> Just Another mod_perl Hacker
On Thu, May 20, 2004 at 01:44:11PM -0400, Ed Holyat wrote:
>
>
> the new test suite uses a \b in it's output. In my bash shell/emacs
> environment, this produces some ugly output.
>
> testatomic.c: |^H/^H-^H|^H\^H-^H|...etc
>
> using the octal value \008 produces the desired effect. I believe
Hi,
Currently mod_perl 2 provides some APR::* modules
(APR::Pool, APR::Table, ...) as perl interfaces to some apr
functions. Right now they require the mod_perl.so module for
some functions this provides, but we would like to change
this so the modules work outside of mod_perl/httpd (for
example
Joe Orton wrote:
On Thu, May 20, 2004 at 02:41:43AM -0700, Stas Bekman wrote:
Stas Bekman wrote:
Doing just:
apr_brigade_create(p, ba);
and leaving here segfaults:
[...]
With what 'p' and 'ba'?
r->pool
r->connection->bucket_alloc
> Can you post the complete test case?
Well, it's coming from mod_pe
I'll try to fix it tonight.
Ryan
On Thu, 20 May 2004, Ed Holyat wrote:
>
>
> the new test suite uses a \b in it's output. In my bash shell/emacs
> environment, this produces some ugly output.
>
> testatomic.c: |^H/^H-^H|^H\^H-^H|...etc
>
> using the octal value \008 produces the desired effect
the new test suite uses a \b in it's output. In my bash shell/emacs
environment, this produces some ugly output.
testatomic.c: |^H/^H-^H|^H\^H-^H|...etc
using the octal value \008 produces the desired effect. I believe this is
shell independent and portable.
© 2004 OpenLink Financial
Copy
Is the apr_global_mutex.. api available for Solaris and Linux?
For me, the apr status is returning that apr_global_mutex_.. is not
implemented on solaris2.8, redhat 2 and 3 enterprise. I am assuming that
it should be, in which case, the problem is in buildconf or libtool version
Hi,
Posted to dev@apr.apache.org and [EMAIL PROTECTED]
I am primarily trying to get a subversion client running on Sinix MIPS:
bash-2.04$ uname -a
SINIX-N erp 5.43 C4001 RM400 1/128 R4000
but running into a lot of problems in apr. Initially I ran configure for
subversion but it hangs during con
On Thu, 20 May 2004, Stas Bekman wrote:
> #0 0x4037db83 in mallopt () from /lib/tls/libc.so.6
> #1 0x4037b8ba in free () from /lib/tls/libc.so.6
A segfault in free() more or less always means heap corruption has
previously occurred. You might try enabling bucket debugging at compile
time -- th
On Thu, May 20, 2004 at 01:12:00PM +0100, Colm MacCarthaigh wrote:
> On Thu, May 20, 2004 at 07:37:00AM -0400, Jeff Trawick wrote:
> > if (sockaddr->family == AF_INET6 &&
> > IN6_IS_ADDR_V4MAPPED(&sockaddr->sa.sin6.sin6_addr)) {
> > -struct apr_sockaddr_t tmpsa;
> > -t
On Thu, May 20, 2004 at 07:37:00AM -0400, Jeff Trawick wrote:
> updated patch attached to remove configure-time logic and protect
> references to IPv6 goodies with APR_HAVE_IPV6...
>
> any comments from the crowd before I commit to both branches?
> ? build-outputs.mk.python
> ? build-outputs.mk.
On Thu, May 20, 2004 at 07:37:00AM -0400, Jeff Trawick wrote:
> updated patch attached to remove configure-time logic and protect
> references to IPv6 goodies with APR_HAVE_IPV6...
>
> any comments from the crowd before I commit to both branches?
+1 with the call removed from configure.in too.
Joe Orton wrote:
On Tue, May 18, 2004 at 04:58:14PM -0400, Jeff Trawick wrote:
Previously we went through this mess on older Mac OS X (DNS queries only?)
I just realized that the glibc shipping with RHAS 2.1 and 3.0 (and surely
many other Linux distros) has a problem with getnameinfo() for IPv4-ma
On Thu, May 20, 2004 at 02:41:43AM -0700, Stas Bekman wrote:
> Stas Bekman wrote:
> >Doing just:
> >
> > apr_brigade_create(p, ba);
> >
> >and leaving here segfaults:
> [...]
With what 'p' and 'ba'? Can you post the complete test case?
joe
Stas Bekman wrote:
Doing just:
apr_brigade_create(p, ba);
and leaving here segfaults:
[...]
I think my manual expansion of multiple nested macros went wrong somewhere,
the real backtrace for the cvs version is:
#0 0x4037db83 in mallopt () from /lib/tls/libc.so.6
#1 0x4037b8ba in free () from
Doing just:
apr_brigade_create(p, ba);
and leaving here segfaults:
#0 0x4017a81f in apr_brigade_cleanup (data=0x93e7110) at apr_brigade.c:47
47 apr_bucket_delete(e);
(gdb) bt
#0 0x4017a81f in apr_brigade_cleanup (data=0x93e7110) at apr_brigade.c:47
#1 0x4017a7d6 in brigade_cleanup
APRUTIL LIBRARY STATUS: -*-text-*-
Last modified at [$Date: 2003/03/31 05:32:43 $]
Release:
0.9.3 : Tagged March 30, 2002
0.9.2 : Released March 22, 2002 (alpha)
0.9.1 : Released September 11, 2002 (alpha)
0.9.0 : Not released
APACHE PORTABLE RUNTIME (APR) LIBRARY STATUS: -*-text-*-
Last modified at [$Date: 2004/04/09 01:36:32 $]
Release:
0.9.3 : tagged March 30, 2003
0.9.2 : released March 22, 2003
0.9.1 : released September 11, 2002
0.9.0 : released August 28, 2002
2.0a9
21 matches
Mail list logo