php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #15155 Mailparse causes segfault in DSO, apxs2
Submitted: 2002-01-21 20:24 UTC Modified: 2007-04-04 18:29 UTC
From: paul at visualeye dot org Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.1.1 OS: RedHat 6.2
Private report: No CVE-ID: None
 [2002-01-21 20:24 UTC] paul at visualeye dot org
Every time i compile as DSO for Apache2 it segfaults on startup!, also happens on php4-200201211500 snap.


configure was:
--prefix=/a2 
--with-apxs2=/a2/bin/apxs 
--enable-track-vars 
--enable-sockets 
--enable-ftp 
--enable-magic-quotes 
--with-mysql 
--with-zlib 
--with-gettext 
--with-imap 
--with-xml 
--enable-inline-optimization 
--with-curl 
--enable-mailparse

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-01-21 22:32 UTC] mfischer@php.net
Please compile with --enable-debug and provide a backtrace. Also try to minimize the options to configure to those which still reproduce your crash.
 [2002-01-22 09:44 UTC] paul at visualeye dot org
configure this time was:
--prefix=/a2
--with-apxs2=/a2/bin/apxs
--enable-mailparse
--enable-debug

using snap: php4-200201211500

backtrace:
(gdb) bt
#0  0x807b36c in zend_register_functions (functions=0x818fc80, function_table=0x0, type=1, tsrm_ls=0x81aab38) at zend_API.c:1033
#1  0x807b550 in zend_register_module (module=0x818fd40) at zend_API.c:1099
#2  0x807b30a in zend_startup_module (module=0x818fd40) at zend_API.c:1010
#3  0x808467e in php_startup_extensions (ptr=0x818fc40, count=9) at main.c:782
#4  0x808d579 in php_startup_internal_extensions () at internal_functions_cli.c:62
#5  0x8084b0d in php_module_startup (sf=0x818c1c0) at main.c:939
#6  0x80618e6 in main (argc=1, argv=0xbffffd14) at php_cli.c:355
 [2002-02-12 13:41 UTC] elixer@php.net
With latest CVS of both Apache and PHP this works fine for me with the same configuration options.  Please upgrade Apache and PHP and reopen this bug report if it doesn't fix your problem.

Sean
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 01 06:01:32 2024 UTC