Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:3627 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98561 invoked from network); 29 Jul 2003 11:35:07 -0000 Received: from unknown (HELO is.magroup.ru) (213.147.47.162) by pb1.pair.com with SMTP; 29 Jul 2003 11:35:07 -0000 Received: from grp-dovgal.MEDIA-ARTS.RU ([192.168.3.226]) by is.magroup.ru with Microsoft SMTPSVC(5.0.2195.2966); Tue, 29 Jul 2003 15:35:04 +0400 Date: Tue, 29 Jul 2003 15:34:50 +0400 To: internals@lists.php.net Message-ID: <20030729153450.04c1a7a0.tony2001@phpclub.net> In-Reply-To: References: <20030729113929.0c775c45.tony2001@phpclub.net> X-Mailer: Sylpheed version 0.9.2 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 Jul 2003 11:35:04.0140 (UTC) FILETIME=[741BC0C0:01C355C5] Subject: Re: [PHP-DEV] Error while compiling CLI from current HEAD From: tony2001@phpclub.net (Antony Dovgal) On Tue, 29 Jul 2003 14:08:35 +0300 (EEST) Jani Taskinen wrote: > # ./cvsclean && ./buildconf && ./configure .. ok, thanx. # ./cvsclean && ./buildconf && ./configure --with-apxs=/usr/local/apache/apxs helps. but when I try to load libphp5 with Apache 1.3.27 I got segfault: # gdb httpd (gdb) run -X Starting program: /usr/local/apache/bin/httpd -X [New Thread 1024 (LWP 19401)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (LWP 19401)] 0x4034cb11 in zend_register_functions (scope=0x0, functions=0x4114891c, function_table=0x0, type=1) at /root/CVS/php-src/Zend/zend_API.c:1183 1183 fname_len = strlen(ptr->fname); (gdb) bt #0 0x4034cb11 in zend_register_functions (scope=0x0, functions=0x4114891c, function_table=0x0, type=1) at /root/CVS/php-src/Zend/zend_API.c:1183 #1 0x4034ce00 in zend_register_module (module=0x4114d0a0) at /root/CVS/php-src/Zend/zend_API.c:1261 #2 0x402cca89 in php_dl (file=0x80d4f18, type=1, return_value=0xbffff660) at /root/CVS/php-src/ext/standard/dl.c:244 #3 0x4031e8ee in php_load_function_extension_cb (arg=0x80d4f18) at /root/CVS/php-src/main/php_ini.c:245 #4 0x40342895 in zend_llist_apply (l=0x4049c75c, func=0x4031e8cc ) at /root/CVS/php-src/Zend/zend_llist.c:191 #5 0x4031ee49 in php_ini_delayed_modules_startup () at /root/CVS/php-src/main/php_ini.c:505 #6 0x4031b614 in php_module_startup (sf=0x404822c0, additional_modules=0x40482600, num_additional_modules=1) at /root/CVS/php-src/main/main.c:1402 #7 0x40384d3e in php_apache_startup (sapi_module=0x404822c0) at /root/CVS/php-src/sapi/apache/mod_php5.c:266 #8 0x403859a2 in php_init_handler (s=0x80b0d04, p=0x80b0cdc) at /root/CVS/php-src/sapi/apache/mod_php5.c:892 #9 0x0806cb76 in ap_init_modules () #10 0x080777c0 in main () #11 0x400cc294 in __libc_start_main () from /lib/libc.so.6 am I doing smthing extremely wrong? thanx in advance. --- WBR, Antony Dovgal aka tony2001 tony2001@phpclub.net