Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 53639 invoked from network); 11 Jun 2004 01:20:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 11 Jun 2004 01:20:38 -0000 Received: (qmail 44791 invoked by uid 500); 11 Jun 2004 01:21:01 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 44694 invoked by uid 500); 11 Jun 2004 01:21:00 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 44681 invoked by uid 99); 11 Jun 2004 01:21:00 -0000 Received: from [80.91.224.249] (HELO main.gmane.org) (80.91.224.249) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 10 Jun 2004 18:21:00 -0700 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BYaiZ-0004iY-00 for ; Fri, 11 Jun 2004 03:20:27 +0200 Received: from adsl-34-76-42.mia.bellsouth.net ([67.34.76.42]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jun 2004 03:20:27 +0200 Received: from joe+gmane by adsl-34-76-42.mia.bellsouth.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Jun 2004 03:20:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: apreq-dev@httpd.apache.org To: apreq-dev@httpd.apache.org From: Joe Schaefer Subject: Re: 2.03-dev-rc1 available Date: 10 Jun 2004 21:20:23 -0400 Lines: 32 Message-ID: <87brjqx548.fsf@gemini.sunstarsys.com> References: <877jufxyj3.fsf@gemini.sunstarsys.com> <40C88F91.90603@gneto.com> <87u0xjwdd7.fsf@gemini.sunstarsys.com> <40C8A4AD.4050603@gneto.com> <200406101859.i5AIxNue008545@alderaan.gsfc.nasa.gov> <87k6yfw6cj.fsf@gemini.sunstarsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-34-76-42.mia.bellsouth.net Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Sender: news X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Joe Schaefer writes: [...] > > On a related note, I get the same segfaults with 5.6.1 (no ithreads) > on Debian woody. Everything compiles and all the non-perl tests > pass, but all the perl tests segfault. The main problem appears to be that sv_magic has changed substantially between 5.6.1 and 5.8.x. I can get all the request tests to pass after rewriting the sv_magic() call in glue/perl/apreq_xs_postperl.h like so APR_INLINE SV *apreq_xs_c2perl(pTHX_ void *obj, void *env, const char *class) { SV *rv = sv_setref_pv(newSV(0), class, obj); if (env) { sv_magic(SvRV(rv), Nullsv, PERL_MAGIC_ext, env, -1); SvMAGIC(SvRV(rv))->mg_ptr = env; } return rv; } The cookie.t bake tests (6-7) still segfault, but I imagine the problem there is similar (the request_rec looks partially corrupted). -- Joe Schaefer