#35304 [Bgs]: PHP always segfaults with --without-sqlite
| From: | matteo at beccati dot com | Date: | Wed, 23 Nov 2005 00:01:40 +0000 |
| Subject: | #35304 [Bgs]: PHP always segfaults with --without-sqlite | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-88747@lists.php.net to get a copy of this message | ||
ID: 35304
User updated by: matteo at beccati dot com
Reported By: matteo at beccati dot com
Status: Bogus
Bug Type: PDO related
Operating System: Debian GNU/Linux testing/etch
PHP Version: 5CVS-2005-11-20 (snap)
New Comment:
I agree, but shouldn't configure fail in this case?
Previous Comments:
------------------------------------------------------------------------
[2005-11-23 00:55:20] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
You are using an unsupported version on awk (please use GNU Awk) that
fails to generate a proper module dependancy list.
------------------------------------------------------------------------
[2005-11-23 00:54:43] matteo at beccati dot com
In fact, after installing gawk, the php_builtin_extensions array looks
quite different:
zend_module_entry *php_builtin_extensions[] = {
phpext_libxml_ptr,
phpext_xml_ptr,
phpext_tokenizer_ptr,
phpext_standard_ptr,
phpext_spl_ptr,
phpext_simplexml_ptr,
phpext_session_ptr,
phpext_posix_ptr,
phpext_pdo_ptr,
phpext_pdo_sqlite_ptr,
phpext_iconv_ptr,
phpext_dom_ptr,
phpext_date_ptr,
phpext_ctype_ptr,
phpext_pcre_ptr,
};
------------------------------------------------------------------------
[2005-11-23 00:49:41] matteo at beccati dot com
# awk -W version
mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan
compiled limits:
max NF 32767
sprintf buffer 1020
------------------------------------------------------------------------
[2005-11-23 00:40:28] iliaa@php.net
What version of awk are you using?
------------------------------------------------------------------------
[2005-11-22 16:19:56] matteo at beccati dot com
good-ol:~/compile/php5-200511220530# sapi/cli/php -m
Segmentation fault
This is what main/internal_functions.c contains (initial and ending
comments were stripped):
/* $Id: internal_functions.c.in,v 1.30 2005/08/03 14:08:29 sniper Exp $
*/
#include "php.h"
#include "php_main.h"
#include "zend_modules.h"
#include "zend_compile.h"
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include "ext/libxml/php_libxml.h"
#include "ext/pcre/php_pcre.h"
#include "ext/ctype/php_ctype.h"
#include "ext/date/php_date.h"
#include "ext/dom/php_dom.h"
#include "ext/iconv/php_iconv.h"
#include "ext/pdo/php_pdo.h"
#include "ext/pdo_sqlite/php_pdo_sqlite.h"
#include "ext/posix/php_posix.h"
#include "ext/session/php_session.h"
#include "ext/simplexml/php_simplexml.h"
#include "ext/spl/php_spl.h"
#include "ext/standard/php_standard.h"
#include "ext/tokenizer/php_tokenizer.h"
#include "ext/xml/php_xml.h"
zend_module_entry *php_builtin_extensions[] = {
phpext_xml_ptr,
phpext_tokenizer_ptr,
phpext_standard_ptr,
phpext_spl_ptr,
phpext_simplexml_ptr,
phpext_session_ptr,
phpext_posix_ptr,
phpext_pdo_sqlite_ptr,
phpext_pdo_ptr,
phpext_iconv_ptr,
phpext_dom_ptr,
phpext_date_ptr,
phpext_ctype_ptr,
phpext_pcre_ptr,
phpext_libxml_ptr,
};
#define EXTCOUNT
(sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
int php_register_internal_extensions(TSRMLS_D)
{
return php_register_extensions(php_builtin_extensions, EXTCOUNT
TSRMLS_CC);
}
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/35304
--
Edit this bug report at http://bugs.php.net/?id=35304&edit=1