Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [mp2] pools that go out of scope aren't a problem anymore?: msg#00220

apache.mod-perl.devel

Subject: Re: [mp2] pools that go out of scope aren't a problem anymore?

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:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation