Re: #24447 [Asn->Fbk]: APD shared so crashes on startup

From: Date: Mon, 02 May 2005 23:19:59 +0000
Subject: Re: #24447 [Asn->Fbk]: APD shared so crashes on startup
References: 1 2  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-2333@lists.php.net to get a copy of this message
Yes, Im having this problem also however Im running a Fedora Core 3 box with PHP 5.0.3 I did notice however that if I try and run php --version from the command line I get the following: PHP 5.0.3 (cgi) (built: Mar 22 2005 04:02:38) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies with Advanced PHP Debugger (APD) v0.9, , by George Schlossnagle Note it states APD v0.9 which is incorrect it should read 1.0.1, unless the version I downloaded which claims to be v1.0.1 is actually version 0.9? Im just wondering, I was not able to run pecl install apd, however if I downloaded apd I was able to run phpize, ./configure and then make (eventually) and that shows that it creates 2 files. I assume that the modules/apd.so needs to go in the php extension directory and then the following configuration used. ;; activate the extension zend_extension=/usr/lib/php/modules/apd.so ;; set the directory for trace dumps apd.dumpdir="/tmp/php-apd/tracedump/" apd.statement_trace=0 Note I have created the directory /tmp/php-apd/tracedump/ and just while im testing it has chmod 777... Any ideas? Does the modules/apd.la file need to exist somewhere or is it not used by apd.so? Im guessing as because I could not find any info about it its not used.... Even so I tried placing it in a couple of directories and still it produces a seg fault. Thanks Alex <andrey@php.net> wrote in message news:200504280818.j3S8IwBd021704@ez1.php.net... > ID: 24447 > Updated by: andrey@php.net > Reported By: hartmann@php.net > -Status: Assigned > +Status: Feedback > Bug Type: PECL related > Operating System: Linux PPC (Yellow Dog) > PHP Version: 4CVS-2003-07-01 (stable) > Assigned To: gschlossnagle > New Comment: > > Please try using this CVS snapshot: > > http://snaps.php.net/php4-STABLE-latest.tar.gz > > For Windows: > > http://snaps.php.net/win32/php4-win32-STABLE-latest.zip > > does it still happen? > > > Previous Comments: > ------------------------------------------------------------------------ > > [2003-07-01 20:40:24] sniper@php.net > > Moving to PEAR related since we don't have any better category for PECL > extensions.. > > > ------------------------------------------------------------------------ > > [2003-07-01 15:26:26] hartmann@php.net > > Description: > ------------ > php with apd segfaults straight on request, php without apd doesn't. > Freshly installed Yellow Dog Linux 3.0 on an ibook. > > Reproduce code: > --------------- > <?php phpinfo; // :-) ?> > > Actual result: > -------------- > Backtrace: > #0 0x0fdd7410 in strlen () at mtrace.c:200 > #1 0x0fda3a20 in _IO_vfprintf (s=0x7fff9008, format=0x8 <Address 0x8 > out of bounds>, ap=0x7fff91b0) at vfprintf.c:1528 > #2 0x0fdc5730 in _IO_vsnprintf (string=0x7fff8a50 "\177ÿ\220", > maxlen=0, format=0xf253324 <Address 0xf253324 out of bounds>, > args=0x7fff9008) at vsnprintf.c:130 > #3 0x0f238ff0 in apd_sprintf_real (fmt=0x8 <Address 0x8 out of > bounds>, args=0x0) at /home/src/cvs/pecl/apd/apd_lib.c:208 > #4 0x0f235530 in apd_pprof_fprintf (fmt=0xf253324 <Address 0xf253324 > out of bounds>) at /home/src/cvs/pecl/apd/php_apd.c:129 > #5 0x0f237c58 in apd_pprof_header () at > /home/src/cvs/pecl/apd/php_apd.c:1239 > #6 0x0f237d60 in zif_apd_set_pprof_trace (ht=254096164, > return_value=0x10115de8, this_ptr=0x0, return_value_used=84) at > /home/src/cvs/pecl/apd/php_apd.c:1285 > #7 0x0f23661c in apd_execute_internal (execute_data_ptr=0x7fffc938, > return_value_used=0) at /home/src/cvs/pecl/apd/php_apd.c:761 > #8 0x0f747d70 in execute (op_array=0x10112fb0) at > /home/src/cvs/stable/Zend/zend_execute.c:1618 > #9 0x0f23653c in apd_execute (op_array=0x10112fb0) at > /home/src/cvs/pecl/apd/php_apd.c:742 > #10 0x0f748fec in execute (op_array=0x1010e788) at > /home/src/cvs/stable/Zend/zend_execute.c:2177 > #11 0x0f23653c in apd_execute (op_array=0x1010e788) at > /home/src/cvs/pecl/apd/php_apd.c:742 > #12 0x0f738050 in zend_execute_scripts (type=8, retval=0x0, > file_count=3) at /home/src/cvs/stable/Zend/zend.c:886 > #13 0x0f7091d8 in php_execute_script (primary_file=0x7ffff028) at > /home/src/cvs/stable/main/main.c:1685 > #14 0x0f74b784 in apache_php_module_main (r=0xf253324, > display_source_mode=0) at > /home/src/cvs/stable/sapi/apache/sapi_apache.c:54 > #15 0x0f74c620 in send_php (r=0x0, display_source_mode=0, filename=0x0) > at /home/src/cvs/stable/sapi/apache/mod_php4.c:620 > #16 0x0f74c79c in send_parsed_php (r=0xf253324) at > /home/src/cvs/stable/sapi/apache/mod_php4.c:635 > #17 0x1002d6d4 in ap_invoke_handler () > #18 0x1004a374 in process_request_internal () > #19 0x1004a3fc in ap_process_request () > #20 0x1003e86c in child_main () > #21 0x1003ea54 in make_child () > #22 0x1003ec1c in startup_children () > #23 0x1003f4bc in standalone_main () > #24 0x1003feb0 in main () > #25 0x0fd7104c in __libc_start_main (argc=2, ubp_av=0x7ffffad4, > ubp_ev=0x0, auxvec=0x7ffffb40, rtld_fini=0xf253324, stinfo=0x1006c7b0, > stack_on_entry=0x20) > at ../sysdeps/powerpc/elf/libc-start.c:178 > > > > ------------------------------------------------------------------------ > > > -- > Edit this bug report at > http://bugs.php.net/?id=24447&edit=1

« previous php.pecl.dev (#2333) next »