php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57050 segfault on module load
Submitted: 2006-05-30 17:58 UTC Modified: 2006-05-30 18:24 UTC
From: jason at jasonjustman dot com Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 4.4.1 OS: solaris 10
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jason at jasonjustman dot com
New email:
PHP Version: OS:

 

 [2006-05-30 17:58 UTC] jason at jasonjustman dot com
Description:
------------
compiling as DSO AND static include on solaris 10 sparcv9 (64bit)

Starting program:  -i
No executable file specified.
Use the "file" or "exec-file" command.
(gdb) run php
Starting program:  php
No executable file specified.
Use the "file" or "exec-file" command.
(gdb) file php
Reading symbols from /export/home/lse_environment/php-4.4.2/bin/php...r
done.
(gdb) r
Starting program: /export/home/lse_environment/php-4.4.2/bin/php php

Program received signal SIGSEGV, Segmentation fault.
0x0012af14 in OnUpdateInt (entry=0x3206e8, new_value=0xff1dd588 "0", new_value_length=1, mh_arg1=0x35, mh_arg2=0xff1efb58,
    mh_arg3=0x0, stage=1) at /export/home/software/php-4.4.2/Zend/zend_ini.c:480
480             *p = zend_atoi(new_value, new_value_length);
(gdb) backtrace
#0  0x0012af14 in OnUpdateInt (entry=0x3206e8, new_value=0xff1dd588 "0", new_value_length=1, mh_arg1=0x35, mh_arg2=0xff1efb58,
    mh_arg3=0x0, stage=1) at /export/home/software/php-4.4.2/Zend/zend_ini.c:480
#1  0x0012a83c in zend_register_ini_entries (ini_entry=0xff1efa14, module_number=11)
    at /export/home/software/php-4.4.2/Zend/zend_ini.c:190
#2  0xff1d48ec in zm_startup_apc (type=1, module_number=11) at /export/home/software/APC-3.0.10/php_apc.c:184
#3  0x000889bc in php_dl (file=0x31ca68, type=1, return_value=0xffbff9c0) at /export/home/software/php-4.4.2/ext/standard/dl.c:216
#4  0x000f4c7c in php_load_function_extension_cb (arg=0x31ca68) at /export/home/software/php-4.4.2/main/php_ini.c:221
#5  0x0011763c in zend_llist_apply (l=0x31ca60, func=0xf4c68 <php_load_function_extension_cb>)
    at /export/home/software/php-4.4.2/Zend/zend_llist.c:189
#6  0x000f5270 in php_ini_delayed_modules_startup () at /export/home/software/php-4.4.2/main/php_ini.c:504
#7  0x000eee94 in php_module_startup (sf=0xffbffbb8, additional_modules=0x0, num_additional_modules=0)
    at /export/home/software/php-4.4.2/main/main.c:1241
#8  0x0013bf90 in main (argc=2, argv=0xffbffd8c) at /export/home/software/php-4.4.2/sapi/cli/php_cli.c:582
(gdb)



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-30 18:24 UTC] jason at jasonjustman dot com
This seems ok with the apc-cvs 2006-05-30
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 13:01:33 2025 UTC