I've rebuit with --enable-pool-debug CPPFLAGS="-DAPR_BUCKET_DEBUG", but also apr1/httpd2.1

% ~/perl/5.8.x/bin/perl -MApache2 -MAPR::Pool -MAPR::Table -wle '
$t= APR::Table::make(APR::Pool->new, 10); $t->set($_=>$_), print "Set $_" for 1..20'


Segmentation fault

Now I get the segfault

#0  0x40392d66 in apr_table_set (t=0x8067fc0, key=0x805f040 "2",
    val=0x805f040 "2") at tables/apr_tables.c:531
531         next_elt->key = apr_pstrdup(t->a.pool, key);
(gdb) bt
#0  0x40392d66 in apr_table_set (t=0x8067fc0, key=0x805f040 "2",
    val=0x805f040 "2") at tables/apr_tables.c:531
#1  0x404e7bb4 in XS_APR__Table_set (my_perl=0x804c008, cv=0x813b648)
    at Table.c:243
#2  0x400bb649 in Perl_pp_entersub (my_perl=0x804c008) at pp_hot.c:2890
#3  0x40097a4d in Perl_runops_debug (my_perl=0x804c008) at dump.c:1449
#4  0x4003bead in S_run_body (my_perl=0x804c008, oldscope=1) at perl.c:1934
#5  0x4003b8ed in perl_run (my_perl=0x804c008) at perl.c:1853
#6  0x080494c6 in main (argc=2, argv=0xbffff374, env=0xbffff380)
    at perlmain.c:98

Great!

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to