From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Jun 25 04:26:40 2009 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FE0F106564A; Thu, 25 Jun 2009 04:26:40 +0000 (UTC) (envelope-from Fluffy@fluffy.khv.ru) Received: from ns.ael.RU (ns.ael.ru [62.76.207.226]) by mx1.freebsd.org (Postfix) with ESMTP id 25ADD8FC28; Thu, 25 Jun 2009 04:26:38 +0000 (UTC) (envelope-from Fluffy@fluffy.khv.ru) Received: from Fluffy.Khv.RU ([192.168.101.222]) by ns.ael.RU (8.14.3/8.14.3/Fluffy/5.3) with ESMTP id n5P4QaG4013030; Thu, 25 Jun 2009 15:26:36 +1100 (VLAST) (envelope-from Fluffy@fluffy.khv.ru) Received: from fluffy.khv.ru (localhost [127.0.0.1]) by Fluffy.Khv.RU (8.14.3/8.14.3/Fluffy/5.4.1) with ESMTP id n5P4QGI4009926; Thu, 25 Jun 2009 15:26:16 +1100 (VLAST) (envelope-from Fluffy@fluffy.khv.ru) From: Dima Panov Organization: Twilight Zone To: freebsd-ports-bugs@freebsd.org Date: Thu, 25 Jun 2009 15:26:12 +1100 User-Agent: KMail/1.11.90 (FreeBSD/8.0-800097-CURRENT; KDE/4.2.90; i386; ; ) References: <200906231837.n5NIbC8i093066@www.freebsd.org> <200906251050.17659.Fluffy@fluffy.khv.ru> <4A42D9D2.7020306@p6m7g8.com> In-Reply-To: <4A42D9D2.7020306@p6m7g8.com> X-Face: 0@4\7E\1@^")_h0MTxV2Z#bWo~ni{%d|UX`wd/|!A(('v)"Ca5\s=!+, ]~m!iHnuVR3]&Q 9X##/4I^QwrTnqhqQsk!Ut]4gn60yAn6vcZt?7}u1M|(3$o3(?9+Oaszo\xq&Am#<`~E{0 4,Y]-BbQW5WrGc'HC[7As:4g\V0Lk#tiF!Du1N; Hxf1>4%V; :t4@; \F-b.*bKpC@E,+h4& 1; Ui0}PwyBs!Ku[|Lhh(.&u,e>(UdPzP\7s)RaY}Z2$>Z]O1Lw&X|NbR]O^}>i^cS[vQy< iL#U;k67<%JR MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <200906251526.15521.Fluffy@fluffy.khv.ru> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ns.ael.RU [192.168.1.1]); Thu, 25 Jun 2009 15:26:36 +1100 (VLAST) X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (Fluffy.Khv.RU [127.0.0.1]); Thu, 25 Jun 2009 15:26:17 +1100 (VLAST) X-Spam-Status: No, score=-4.4 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ns.ael.RU Cc: shaun@freebsd.org Subject: Re: ports/135974: innd core dumps with newer versions of libperl X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2009 04:26:40 -0000 On Thursday 25 June 2009 12:58:42 Philip M. Gollucci wrote: > Have you submitted this to p5p ? No, I found this in innd mail lists and use this locally since problem was appear at perl5.8.9 commit. Maintainer was been informed in ports-busg@, but no answer. BTW, some times ago (18 May 2009) new update was submitted == ports/134618: news/inn update to 2.4.6, and no answer from maintainer again. > Actually its looks like a gcc optimization bug similiar to one that > affected www/mod_perl recently > > > http://lists.cpan.org/showlist.cgi?name=perl5-porters > > >> Building innd-2.4.5 and perl-5.10.0_3 from ports ends up with innd > >> segmentation faulting in libperl.so whenever it tries to start. > > > > --- lib/perl.c.orig 2008-06-30 04:56:57.000000000 +1100 > > +++ lib/perl.c 2009-02-11 00:49:49.000000000 +1000 > > @@ -110,14 +110,18 @@ > > if (PerlCode == NULL) { > > /* Perl waits on standard input if not called with '-e'. */ > > int argc = 3; > > - const char *argv[] = { "innd", "-e", "0", NULL }; > > - char *env[] = { NULL }; > > + const char *argv_innd[] = { "innd", "-e", "0", NULL }; > > + char **argv = (char **)argv_innd; /* Cast required by Perl 5.10. > > */ + char **env = { NULL }; > > #ifdef PERL_SYS_INIT3 > > PERL_SYS_INIT3(&argc, &argv, &env); > > #endif > > PerlCode = perl_alloc(); > > perl_construct(PerlCode); > > - perl_parse(PerlCode, xs_init, argc, (char **)argv, env) ; > > +#ifdef PERL_EXIT_DESTRUCT_END > > + PL_exit_flags |= PERL_EXIT_DESTRUCT_END; > > +#endif > > + perl_parse(PerlCode, xs_init, argc, argv, env) ; > > } > > > > if (startupfile != NULL && filterfile != NULL) { > -- Dmitry "Red Fox" Panov @ Home | KDE@FreeBSD Team | FreeBSD since September 1995 Khabarovsk, Russia | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:1745024