php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50869 Crashed Apache+php5.x+FireBird 2.x
Submitted: 2010-01-28 04:13 UTC Modified: 2013-02-18 00:34 UTC
Votes:7
Avg. Score:4.9 ± 0.3
Reproduced:6 of 6 (100.0%)
Same Version:6 (100.0%)
Same OS:5 (83.3%)
From: ant-n at yandex dot ru Assigned:
Status: No Feedback Package: InterBase related
PHP Version: 5.3.1 OS: FreeBSD 8.0 Release (amd64)
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-01-28 04:13 UTC] ant-n at yandex dot ru
Description:
------------
Apache crashed then in php script "ibase_connect()";
In console: php script.php All work Good!
Apache+PHP without "ibase_connect" Work Good;
PHP+FireBird without Apache Work Good;
Apache+PHP+FireBird Don't Work!
In Log Apache i Find: segmentation fault (11)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-28 05:08 UTC] ant-n at yandex dot ru
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8013021c0 (LWP 100124)]
0x00000008058b9949 in ThreadData::restoreSpecific ()
   from /usr/local/firebird/lib/libfbclient.so.2
(gdb) bt
#0  0x00000008058b9949 in ThreadData::restoreSpecific ()
   from /usr/local/firebird/lib/libfbclient.so.2
#1  0x00000008058d7439 in error ()
   from /usr/local/firebird/lib/libfbclient.so.2
#2  0x00000008058e0cc7 in REM_attach_database ()
   from /usr/local/firebird/lib/libfbclient.so.2
#3  0x00000008058cbd4b in isc_attach_database ()
   from /usr/local/firebird/lib/libfbclient.so.2
#4  0x0000000804e289d7 in _php_ibase_attach_db (args=0x7fffffffcb40,
    len=0x7fffffffcb20, largs=0x7fffffffcb00, db=0x7fffffffca44,
    tsrm_ls=0x806056e00) at /data/php-
5.3.1/ext/interbase/interbase.c:887
#5  0x0000000804e29193 in _php_ibase_connect (ht=4, 
return_value=0x806099948,
    return_value_ptr=0x0, this_ptr=0x0, return_value_used=1,
    tsrm_ls=0x806056e00, persistent=0)
    at /data/php-5.3.1/ext/interbase/interbase.c:991
#6  0x0000000804e29541 in zif_ibase_connect (ht=4, 
return_value=0x806099948,
    return_value_ptr=0x0, this_ptr=0x0, return_value_used=1,
    tsrm_ls=0x806056e00) at /data/php-
5.3.1/ext/interbase/interbase.c:1038
#7  0x00000008050f6ed8 in zend_do_fcall_common_helper_SPEC (
    execute_data=0x80633e088, tsrm_ls=0x806056e00) at 
zend_vm_execute.h:313
#8  0x00000008050fe37d in ZEND_DO_FCALL_SPEC_CONST_HANDLER (
    execute_data=0x80633e088, tsrm_ls=0x806056e00) at 
zend_vm_execute.h:1602
#9  0x00000008050f5843 in execute (op_array=0x8060944d8, 
tsrm_ls=0x806056e00)
    at zend_vm_execute.h:104
#10 0x00000008050bc70d in zend_execute_scripts (type=8, 
tsrm_ls=0x806056e00,
    retval=0x0, file_count=3) at /data/php-5.3.1/Zend/zend.c:1194
#11 0x000000080501b208 in php_execute_script 
(primary_file=0x7fffffffe560,
    tsrm_ls=0x806056e00) at /data/php-5.3.1/main/main.c:2225
#12 0x00000008051cda72 in php_handler (r=0x8063380a8)
    at /data/php-5.3.1/sapi/apache2handler/sapi_apache2.c:648
#13 0x000000000043571a in ap_run_handler ()
#14 0x000000000043894c in ap_invoke_handler ()
#15 0x0000000000442cae in ap_process_request ()
#16 0x00000000004400b8 in ap_process_http_connection ()
#17 0x000000000043c612 in ap_run_process_connection ()
#18 0x0000000000446f01 in child_main ()
#19 0x0000000000447108 in make_child ()
#20 0x0000000000447b6f in ap_mpm_run ()
#21 0x00000000004230ca in main ()
(gdb)
 [2010-04-24 04:14 UTC] felipe@php.net
-Status: Open +Status: Feedback
 [2010-04-24 04:14 UTC] felipe@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 22:01:28 2024 UTC