php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24530 segfault on redhat9
Submitted: 2003-07-08 02:21 UTC Modified: 2003-07-16 01:10 UTC
From: mfladischer at gmx dot net Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5CVS-2003-07-08 (dev) OS: Redhat 9
Private report: No CVE-ID: None
 [2003-07-08 02:21 UTC] mfladischer at gmx dot net
Description:
------------
Compiled with:
./configure \
--prefix=/usr \
--with-config-file-path=/etc/server \
--with-apxs2=/usr/bin/apxs \
--with-zlib \
--disable-cgi \
--enable-debug \
--disable-all

`make test` results in a segfault.
glibc: glibc-2.3.2
gcc: gcc-3.2.2

Actual result:
--------------
[root@gateway cli]# gdb ./php
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) run
Starting program: /home/share/software/linux/devel/php5/sapi/cli/php

Program received signal SIGSEGV, Segmentation fault.
0x08124b72 in _zend_is_inconsistent (ht=0x0, file=0x8170960 "/linux/devel/php5/Zend/zend_hash.c", line=837) at /linux/devel/php5/Zend/zend_hash.c:53
53              if (ht->inconsistent==HT_OK) {
(gdb) bt
#0  0x08124b72 in _zend_is_inconsistent (ht=0x0, file=0x8170960 "/linux/devel/php5/Zend/zend_hash.c", line=837) at /linux/devel/php5/Zend/zend_hash.c:53
#1  0x08126d6e in zend_hash_find (ht=0x0, arKey=0xbfffe810 "lwp", nKeyLength=4, pData=0xbfffe840) at /linux/devel/php5/Zend/zend_hash.c:837
#2  0x081159db in zend_lookup_class (name=0xbfffe810 "lwp", name_length=3, ce=0xbfffe840) at /linux/devel/php5/Zend/zend_execute_API.c:736
#3  0x0811356b in zend_get_constant (name=0x81d3688 "LWP::Simple", name_len=11, result=0xbfffe870) at /linux/devel/php5/Zend/zend_constants.c:251
#4  0x08106882 in zend_ini_get_constant (result=0xbfffe8d0, name=0xbfffe930) at zend_ini_parser.y:101
#5  0x08107282 in ini_parse () at zend_ini_parser.y:229
#6  0x08106a43 in zend_parse_ini_file (fh=0xbffff7b0, unbuffered_errors=1 '\001', ini_parser_cb=0x807e8e2 <php_browscap_parser_cb>, arg=0x817f960)
    at zend_ini_parser.y:156
#7  0x0807ec87 in zm_startup_browscap (type=1, module_number=1) at /linux/devel/php5/ext/standard/browscap.c:165
#8  0x08077bcb in zm_startup_basic (type=1, module_number=1) at /linux/devel/php5/ext/standard/basic_functions.c:1069
#9  0x0812311a in zend_startup_module (module=0x8175e20) at /linux/devel/php5/Zend/zend_API.c:1126
#10 0x080e116f in php_startup_extensions (ptr=0x817ef28, count=2) at /linux/devel/php5/main/main.c:1222
#11 0x08148df4 in php_startup_internal_extensions () at main/internal_functions_cli.c:52
#12 0x080e166f in php_module_startup (sf=0x817eea0, additional_modules=0x0, num_additional_modules=0) at /linux/devel/php5/main/main.c:1387
#13 0x081479d6 in main (argc=1, argv=0xbffffb04) at /linux/devel/php5/sapi/cli/php_cli.c:592
#14 0x400bba07 in __libc_start_main () from /lib/i686/libc.so.6

Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-08 10:01 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

See bug: #24243  
 [2003-07-15 23:20 UTC] mfladischer at gmx dot net
Thanks for your Help.
Was the same error!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Aug 20 00:01:28 2024 UTC