php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22029 Segfault on startup using ZE2
Submitted: 2003-02-03 07:30 UTC Modified: 2003-02-19 01:00 UTC
Votes:2
Avg. Score:2.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: john@php.net Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 5CVS-2003-02-03 (dev) OS: Redhat
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: john@php.net
New email:
PHP Version: OS:

 

 [2003-02-03 07:30 UTC] john@php.net
ZE2 is segfaulting on startup in the PHP5 HEAD as well as the snapshot from last Monday (I didn't bother trying go to farther back then that). Checked the other segfault bugs that came up, and configured with --disable-all to make sure it wasn't an automatically turned on module..

Here is the BT:

#0  0x081114b4 in zend_register_functions (scope=0x0, functions=0x4001a260,
    function_table=0x0, type=1) at /home/php/php4-ze2/Zend/zend_API.c:1099
#1  0x08111704 in zend_register_module (module=0x400237a0)
    at /home/php/php4-ze2/Zend/zend_API.c:1172
#2  0x080941a5 in php_dl (file=0x8183ee8, type=1, return_value=0xbffff860)
    at /home/php/php4-ze2/ext/standard/dl.c:242
#3  0x080ee128 in php_load_function_extension_cb (arg=0x8183ee8)
    at /home/php/php4-ze2/main/php_ini.c:247
#4  0x08108a35 in zend_llist_apply (l=0x8175c3c,
    func=0x80ee114 <php_load_function_extension_cb>)
    at /home/php/php4-ze2/Zend/zend_llist.c:190
#5  0x080ee5aa in php_ini_delayed_modules_startup ()
    at /home/php/php4-ze2/main/php_ini.c:499
#6  0x080eb0bc in php_module_startup (sf=0x8174ac0, additional_modules=0x0,
    num_additional_modules=0) at /home/php/php4-ze2/main/main.c:1284
#7  0x08132530 in main (argc=1, argv=0xbffffaf4)
    at /home/php/php4-ze2/sapi/cli/php_cli.c:480
#8  0x400c8306 in __libc_start_main (main=0x8132420 <main>, argc=1,
    ubp_av=0xbffffaf4, init=0x8063128 <_init>, fini=0x8133140 <_fini>,
    rtld_fini=0x4000d2dc <_dl_fini>, stack_end=0xbffffaec)
    at ../sysdeps/generic/libc-start.c:129

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-03 08:23 UTC] moriyoshi@php.net
What version of libc? and are you sure that any shared extensions are disabled in php.ini?

 [2003-02-03 08:35 UTC] john@php.net
Yep, you were right it was my php.ini file. I was loading java.so from it. I'll make it suspended because the engine shouldn't crash regardless of the situation, if you want I'll dig into it more and find out the details about that module (only one I was loading).
 [2003-02-03 08:38 UTC] sniper@php.net
excuse me, but from what build was that java.so from?

 [2003-02-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Nov 28 12:05:52 2022 UTC