From dev-return-12744-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Wed Sep 08 21:02:20 2004 Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 67749 invoked from network); 8 Sep 2004 21:02:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Sep 2004 21:02:19 -0000 Received: (qmail 67306 invoked by uid 500); 8 Sep 2004 21:01:42 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 67194 invoked by uid 500); 8 Sep 2004 21:01:41 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 67113 invoked by uid 99); 8 Sep 2004 21:01:37 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Message-ID: <413F732D.3030603@stason.org> Date: Wed, 08 Sep 2004 17:01:33 -0400 From: Stas Bekman Organization: Hope, Humanized User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040804 X-Accept-Language: en-us, en, he, ru MIME-Version: 1.0 To: Arshavir Grigorian , APR Development Subject: [Fwd: [mp2] coredump strerror code on Solaris 8 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Arshavir reports segfaults on Solaris 8 all in the apr land: Here is one: #0 0xff2a7fec in apr_cpystrn (dst=0xffbeee90 "яПН\001", src=0x0, dst_size=256) at apr_cpystrn.c:57 57 if (!(*d = *src)) { (gdb) where #0 0xff2a7fec in apr_cpystrn (dst=0xffbeee90 "яПН\001", src=0x0, dst_size=256) at apr_cpystrn.c:57 #1 0xff2c0f18 in stuffbuffer (buf=0xffbeee90 "яПН\001", bufsize=256, s=0x0) at errorcodes.c:34 #2 0xff2c18e8 in native_strerror (statcode=-4264304, buf=0x100
, bufsize=0) at errorcodes.c:375 Here is another: (gdb) bt #0 apr_cpystrn (dst=0xffbef010 "", src=0x0, dst_size=4290703375) at apr_cpystrn.c:57 #1 0xff1d4c4c in stuffbuffer (buf=0xffbeef10 "", bufsize=256, s=0x0) at errorcodes.c:34 #2 0xfee074f0 in modperl_error_strerror (rc=500) at modperl_error.c:37 #3 0xfe990c90 in XS_APR__Error_strerror (cv=0x1f4) at Error.xs:36 In the second one the trace seems to be optimized away, since modperl_error_strerror does not call stuffbuffer, so it's some internal function that is broken. Anybody has an idea of the cause? *** /usr/local/apache2/bin/httpd -V Server version: Apache/2.0.50 Server built: Aug 31 2004 15:02:12 Server's Module Magic Number: 20020903:8 Architecture: 32-bit Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_PROC_PTHREAD_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D HTTPD_ROOT="/usr/local/apache2/" -D SUEXEC_BIN="/usr/local/apache2//bin/suexec" -D DEFAULT_PIDLOG="logs/httpd.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="logs/accept.lock" -D DEFAULT_ERRORLOG="logs/error_log" -D AP_TYPES_CONFIG_FILE="conf/mime.types" -D SERVER_CONFIG_FILE="conf/httpd.conf" *** (apr|apu)-config linking info -L/usr/local/apache2//lib -lapr-0 -lsendfile -lrt -lm -lsocket -lnsl -lresolv -lpthread -ldl -L/usr/local/apache2//lib -laprutil-0 -lgdbm -lexpat -liconv -- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:stas@stason.org http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com