#40751 [NEW]: Apache segmentation fault

Ask a Question related to PHP Bugs, Design and Development.

  1. #1

    Default #40751 [NEW]: Apache segmentation fault

    From: sti-pe2 at online dot no
    Operating system: FreeBSD 5.3-RELEASE
    PHP version: 4.4.6
    PHP Bug Type: Session related
    Bug description: Apache segmentation fault

    Description:
    ------------
    When running some of my php-pages, I get segmentation faults in Apache.
    I think I have narrowed it down to session-handling in php, see reproduce
    code. Pages not including sessions works fine.
    I have upgraded both Apache, PHP and MySQL lately, but don't know if this
    is related to the errors I experience.

    Systeminfo:
    FreeBSD 5.3-RELEASE
    Apache 1.3.37
    PHP 4.4.6
    ZendOptimizer 3.2.2 (disabled for now)
    MySQL 4.1.22

    register_globals=on
    Tests with register_globals=off does not make any difference.

    PHP compile options:
    ../configure --enable-versioning --enable-memory-limit --with-layout=GNU
    --with-config-file-scan-dir=/usr/local/etc/php --disable-all
    --with-regex=php --with-apxs=/usr/local/sbin/apxs --disable-ipv6
    --prefix=/usr/local

    Reproduce code:
    ---------------
    <?
    session_register("test_sessie");

    echo "does this work?";
    ?>

    Expected result:
    ----------------
    Output to screen/browser:
    does this work?

    Actual result:
    --------------
    The browser returns a blank page, command line returns "Segmentation fault
    (core dumped)".

    /var/log/messages:
    kernel: pid 459 (httpd), uid 80: exited on signal 11

    Apache's error.log:
    child pid 458 exit signal Segmentation fault (11)

    # gdb php
    GNU gdb 6.1.1 [FreeBSD]
    Copyright 2004 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-marcel-freebsd"...
    (gdb) run test.php
    Starting program: /usr/local/bin/php test.php

    Program received signal SIGSEGV, Segmentation fault.
    0x080cae9a in _zval_ptr_dtor (zval_ptr=0x282e7928) at
    /root/dl/php-4.4.6/Zend/zend_execute_API.c:287
    287 (*zval_ptr)->refcount--;
    (gdb)


    --
    Edit bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    --
    Try a CVS snapshot (PHP 4.4): [url]http://bugs.php.net/fix.php?id=40751&r=trysnapshot44[/url]
    Try a CVS snapshot (PHP 5.2): [url]http://bugs.php.net/fix.php?id=40751&r=trysnapshot52[/url]
    Try a CVS snapshot (PHP 6.0): [url]http://bugs.php.net/fix.php?id=40751&r=trysnapshot60[/url]
    Fixed in CVS: [url]http://bugs.php.net/fix.php?id=40751&r=fixedcvs[/url]
    Fixed in release: [url]http://bugs.php.net/fix.php?id=40751&r=alreadyfixed[/url]
    Need backtrace: [url]http://bugs.php.net/fix.php?id=40751&r=needtrace[/url]
    Need Reproduce Script: [url]http://bugs.php.net/fix.php?id=40751&r=needscript[/url]
    Try newer version: [url]http://bugs.php.net/fix.php?id=40751&r=oldversion[/url]
    Not developer issue: [url]http://bugs.php.net/fix.php?id=40751&r=support[/url]
    Expected behavior: [url]http://bugs.php.net/fix.php?id=40751&r=notwrong[/url]
    Not enough info: [url]http://bugs.php.net/fix.php?id=40751&r=notenoughinfo[/url]
    Submitted twice: [url]http://bugs.php.net/fix.php?id=40751&r=submittedtwice[/url]
    register_globals: [url]http://bugs.php.net/fix.php?id=40751&r=globals[/url]
    PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=40751&r=php3[/url]
    Daylight Savings: [url]http://bugs.php.net/fix.php?id=40751&r=dst[/url]
    IIS Stability: [url]http://bugs.php.net/fix.php?id=40751&r=isapi[/url]
    Install GNU Sed: [url]http://bugs.php.net/fix.php?id=40751&r=gnused[/url]
    Floating point limitations: [url]http://bugs.php.net/fix.php?id=40751&r=float[/url]
    No Zend Extensions: [url]http://bugs.php.net/fix.php?id=40751&r=nozend[/url]
    MySQL Configuration Error: [url]http://bugs.php.net/fix.php?id=40751&r=mysqlcfg[/url]
    sti-pe2 at online dot no Guest

  2. Similar Questions and Discussions

    1. #23122 [Com]: ImageTTFText causes segmentation fault while under Apache
      ID: 23122 Comment by: babansky at mail dot ru Reported By: 1413 at blargh dot com Status: Closed Bug Type: ...
    2. #23122 [Csd]: ImageTTFText causes segmentation fault while under Apache
      ID: 23122 User updated by: 1413 at blargh dot com Reported By: 1413 at blargh dot com Status: Closed Bug Type: ...
    3. #20358 [Ver->Fbk]: Apache is "Segmentation fault" by session_start() with libmm
      ID: 20358 Updated by: iliaa@php.net Reported By: mtak at beyondnetworks dot co dot jp -Status: Verified...
    4. #13088 [Com]: Java call creates Segmentation Fault in Apache.
      ID: 13088 Comment by: bduell at ncacasi dot org Reported By: hertz60 at hotmail dot com Status: No Feedback...
    5. #23952 [Fbk->NoF]: segmentation fault during script execution under apache
      ID: 23952 Updated by: sniper@php.net Reported By: anton at ur dot ru -Status: Feedback +Status: No...
  3. #2

    Default #40751 [Opn->Fbk]: Apache segmentation fault

    ID: 40751
    Updated by: [email]tony2001@php.net[/email]
    Reported By: sti-pe2 at online dot no
    -Status: Open
    +Status: Feedback
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    After 10 thousands requests with ab I still can't see anything except
    "does this work?".
    --enable-versioning - could you please remove this option?



    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-07 21:39:16] sti-pe2 at online dot no

    Description:
    ------------
    When running some of my php-pages, I get segmentation faults in Apache.

    I think I have narrowed it down to session-handling in php, see
    reproduce code. Pages not including sessions works fine.
    I have upgraded both Apache, PHP and MySQL lately, but don't know if
    this is related to the errors I experience.

    Systeminfo:
    FreeBSD 5.3-RELEASE
    Apache 1.3.37
    PHP 4.4.6
    ZendOptimizer 3.2.2 (disabled for now)
    MySQL 4.1.22

    register_globals=on
    Tests with register_globals=off does not make any difference.

    PHP compile options:
    ../configure --enable-versioning --enable-memory-limit --with-layout=GNU
    --with-config-file-scan-dir=/usr/local/etc/php --disable-all
    --with-regex=php --with-apxs=/usr/local/sbin/apxs --disable-ipv6
    --prefix=/usr/local

    Reproduce code:
    ---------------
    <?
    session_register("test_sessie");

    echo "does this work?";
    ?>

    Expected result:
    ----------------
    Output to screen/browser:
    does this work?

    Actual result:
    --------------
    The browser returns a blank page, command line returns "Segmentation
    fault (core dumped)".

    /var/log/messages:
    kernel: pid 459 (httpd), uid 80: exited on signal 11

    Apache's error.log:
    child pid 458 exit signal Segmentation fault (11)

    # gdb php
    GNU gdb 6.1.1 [FreeBSD]
    Copyright 2004 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-marcel-freebsd"...
    (gdb) run test.php
    Starting program: /usr/local/bin/php test.php

    Program received signal SIGSEGV, Segmentation fault.
    0x080cae9a in _zval_ptr_dtor (zval_ptr=0x282e7928) at
    /root/dl/php-4.4.6/Zend/zend_execute_API.c:287
    287 (*zval_ptr)->refcount--;
    (gdb)



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    tony2001@php.net Guest

  4. #3

    Default #40751 [Fbk->Opn]: Apache segmentation fault

    ID: 40751
    User updated by: sti-pe2 at online dot no
    Reported By: sti-pe2 at online dot no
    -Status: Feedback
    +Status: Open
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    Recompiled without --enable-versioning, but I still get the same error.


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-07 21:57:46] [email]tony2001@php.net[/email]

    After 10 thousands requests with ab I still can't see anything except
    "does this work?".
    --enable-versioning - could you please remove this option?


    ------------------------------------------------------------------------

    [2007-03-07 21:39:16] sti-pe2 at online dot no

    Description:
    ------------
    When running some of my php-pages, I get segmentation faults in Apache.

    I think I have narrowed it down to session-handling in php, see
    reproduce code. Pages not including sessions works fine.
    I have upgraded both Apache, PHP and MySQL lately, but don't know if
    this is related to the errors I experience.

    Systeminfo:
    FreeBSD 5.3-RELEASE
    Apache 1.3.37
    PHP 4.4.6
    ZendOptimizer 3.2.2 (disabled for now)
    MySQL 4.1.22

    register_globals=on
    Tests with register_globals=off does not make any difference.

    PHP compile options:
    ../configure --enable-versioning --enable-memory-limit --with-layout=GNU
    --with-config-file-scan-dir=/usr/local/etc/php --disable-all
    --with-regex=php --with-apxs=/usr/local/sbin/apxs --disable-ipv6
    --prefix=/usr/local

    Reproduce code:
    ---------------
    <?
    session_register("test_sessie");

    echo "does this work?";
    ?>

    Expected result:
    ----------------
    Output to screen/browser:
    does this work?

    Actual result:
    --------------
    The browser returns a blank page, command line returns "Segmentation
    fault (core dumped)".

    /var/log/messages:
    kernel: pid 459 (httpd), uid 80: exited on signal 11

    Apache's error.log:
    child pid 458 exit signal Segmentation fault (11)

    # gdb php
    GNU gdb 6.1.1 [FreeBSD]
    Copyright 2004 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-marcel-freebsd"...
    (gdb) run test.php
    Starting program: /usr/local/bin/php test.php

    Program received signal SIGSEGV, Segmentation fault.
    0x080cae9a in _zval_ptr_dtor (zval_ptr=0x282e7928) at
    /root/dl/php-4.4.6/Zend/zend_execute_API.c:287
    287 (*zval_ptr)->refcount--;
    (gdb)



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    sti-pe2 at online dot no Guest

  5. #4

    Default #40751 [Opn]: Apache segmentation fault

    ID: 40751
    User updated by: sti-pe2 at online dot no
    Reported By: sti-pe2 at online dot no
    Status: Open
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    I installed older versions of PHP, and 4.3.10(!) actually works... All
    newer versions result in the same error.

    Are there any known issues regarding sessions when upgrading from
    4.3.10 to 4.3.11? Any config in Apache that may be a problem?


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-08 07:37:27] sti-pe2 at online dot no

    Recompiled without --enable-versioning, but I still get the same error.

    ------------------------------------------------------------------------

    [2007-03-07 21:57:46] [email]tony2001@php.net[/email]

    After 10 thousands requests with ab I still can't see anything except
    "does this work?".
    --enable-versioning - could you please remove this option?


    ------------------------------------------------------------------------

    [2007-03-07 21:39:16] sti-pe2 at online dot no

    Description:
    ------------
    When running some of my php-pages, I get segmentation faults in Apache.

    I think I have narrowed it down to session-handling in php, see
    reproduce code. Pages not including sessions works fine.
    I have upgraded both Apache, PHP and MySQL lately, but don't know if
    this is related to the errors I experience.

    Systeminfo:
    FreeBSD 5.3-RELEASE
    Apache 1.3.37
    PHP 4.4.6
    ZendOptimizer 3.2.2 (disabled for now)
    MySQL 4.1.22

    register_globals=on
    Tests with register_globals=off does not make any difference.

    PHP compile options:
    ../configure --enable-versioning --enable-memory-limit --with-layout=GNU
    --with-config-file-scan-dir=/usr/local/etc/php --disable-all
    --with-regex=php --with-apxs=/usr/local/sbin/apxs --disable-ipv6
    --prefix=/usr/local

    Reproduce code:
    ---------------
    <?
    session_register("test_sessie");

    echo "does this work?";
    ?>

    Expected result:
    ----------------
    Output to screen/browser:
    does this work?

    Actual result:
    --------------
    The browser returns a blank page, command line returns "Segmentation
    fault (core dumped)".

    /var/log/messages:
    kernel: pid 459 (httpd), uid 80: exited on signal 11

    Apache's error.log:
    child pid 458 exit signal Segmentation fault (11)

    # gdb php
    GNU gdb 6.1.1 [FreeBSD]
    Copyright 2004 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-marcel-freebsd"...
    (gdb) run test.php
    Starting program: /usr/local/bin/php test.php

    Program received signal SIGSEGV, Segmentation fault.
    0x080cae9a in _zval_ptr_dtor (zval_ptr=0x282e7928) at
    /root/dl/php-4.4.6/Zend/zend_execute_API.c:287
    287 (*zval_ptr)->refcount--;
    (gdb)



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    sti-pe2 at online dot no Guest

  6. #5

    Default #40751 [Opn->Fbk]: Apache segmentation fault

    ID: 40751
    Updated by: [email]tony2001@php.net[/email]
    Reported By: sti-pe2 at online dot no
    -Status: Open
    +Status: Feedback
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    Do you have open_basedir set?


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-09 09:02:42] sti-pe2 at online dot no

    I installed older versions of PHP, and 4.3.10(!) actually works... All
    newer versions result in the same error.

    Are there any known issues regarding sessions when upgrading from
    4.3.10 to 4.3.11? Any config in Apache that may be a problem?

    ------------------------------------------------------------------------

    [2007-03-08 07:37:27] sti-pe2 at online dot no

    Recompiled without --enable-versioning, but I still get the same error.

    ------------------------------------------------------------------------

    [2007-03-07 21:57:46] [email]tony2001@php.net[/email]

    After 10 thousands requests with ab I still can't see anything except
    "does this work?".
    --enable-versioning - could you please remove this option?


    ------------------------------------------------------------------------

    [2007-03-07 21:39:16] sti-pe2 at online dot no

    Description:
    ------------
    When running some of my php-pages, I get segmentation faults in Apache.

    I think I have narrowed it down to session-handling in php, see
    reproduce code. Pages not including sessions works fine.
    I have upgraded both Apache, PHP and MySQL lately, but don't know if
    this is related to the errors I experience.

    Systeminfo:
    FreeBSD 5.3-RELEASE
    Apache 1.3.37
    PHP 4.4.6
    ZendOptimizer 3.2.2 (disabled for now)
    MySQL 4.1.22

    register_globals=on
    Tests with register_globals=off does not make any difference.

    PHP compile options:
    ../configure --enable-versioning --enable-memory-limit --with-layout=GNU
    --with-config-file-scan-dir=/usr/local/etc/php --disable-all
    --with-regex=php --with-apxs=/usr/local/sbin/apxs --disable-ipv6
    --prefix=/usr/local

    Reproduce code:
    ---------------
    <?
    session_register("test_sessie");

    echo "does this work?";
    ?>

    Expected result:
    ----------------
    Output to screen/browser:
    does this work?

    Actual result:
    --------------
    The browser returns a blank page, command line returns "Segmentation
    fault (core dumped)".

    /var/log/messages:
    kernel: pid 459 (httpd), uid 80: exited on signal 11

    Apache's error.log:
    child pid 458 exit signal Segmentation fault (11)

    # gdb php
    GNU gdb 6.1.1 [FreeBSD]
    Copyright 2004 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-marcel-freebsd"...
    (gdb) run test.php
    Starting program: /usr/local/bin/php test.php

    Program received signal SIGSEGV, Segmentation fault.
    0x080cae9a in _zval_ptr_dtor (zval_ptr=0x282e7928) at
    /root/dl/php-4.4.6/Zend/zend_execute_API.c:287
    287 (*zval_ptr)->refcount--;
    (gdb)



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    tony2001@php.net Guest

  7. #6

    Default #40751 [Fbk->Opn]: Apache segmentation fault

    ID: 40751
    User updated by: sti-pe2 at online dot no
    Reported By: sti-pe2 at online dot no
    -Status: Feedback
    +Status: Open
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    No, my php.ini says
    ;open_basedir =


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-09 10:42:39] [email]tony2001@php.net[/email]

    Do you have open_basedir set?

    ------------------------------------------------------------------------

    [2007-03-09 09:02:42] sti-pe2 at online dot no

    I installed older versions of PHP, and 4.3.10(!) actually works... All
    newer versions result in the same error.

    Are there any known issues regarding sessions when upgrading from
    4.3.10 to 4.3.11? Any config in Apache that may be a problem?

    ------------------------------------------------------------------------

    [2007-03-08 07:37:27] sti-pe2 at online dot no

    Recompiled without --enable-versioning, but I still get the same error.

    ------------------------------------------------------------------------

    [2007-03-07 21:57:46] [email]tony2001@php.net[/email]

    After 10 thousands requests with ab I still can't see anything except
    "does this work?".
    --enable-versioning - could you please remove this option?


    ------------------------------------------------------------------------

    [2007-03-07 21:39:16] sti-pe2 at online dot no

    Description:
    ------------
    When running some of my php-pages, I get segmentation faults in Apache.

    I think I have narrowed it down to session-handling in php, see
    reproduce code. Pages not including sessions works fine.
    I have upgraded both Apache, PHP and MySQL lately, but don't know if
    this is related to the errors I experience.

    Systeminfo:
    FreeBSD 5.3-RELEASE
    Apache 1.3.37
    PHP 4.4.6
    ZendOptimizer 3.2.2 (disabled for now)
    MySQL 4.1.22

    register_globals=on
    Tests with register_globals=off does not make any difference.

    PHP compile options:
    ../configure --enable-versioning --enable-memory-limit --with-layout=GNU
    --with-config-file-scan-dir=/usr/local/etc/php --disable-all
    --with-regex=php --with-apxs=/usr/local/sbin/apxs --disable-ipv6
    --prefix=/usr/local

    Reproduce code:
    ---------------
    <?
    session_register("test_sessie");

    echo "does this work?";
    ?>

    Expected result:
    ----------------
    Output to screen/browser:
    does this work?

    Actual result:
    --------------
    The browser returns a blank page, command line returns "Segmentation
    fault (core dumped)".

    /var/log/messages:
    kernel: pid 459 (httpd), uid 80: exited on signal 11

    Apache's error.log:
    child pid 458 exit signal Segmentation fault (11)

    # gdb php
    GNU gdb 6.1.1 [FreeBSD]
    Copyright 2004 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-marcel-freebsd"...
    (gdb) run test.php
    Starting program: /usr/local/bin/php test.php

    Program received signal SIGSEGV, Segmentation fault.
    0x080cae9a in _zval_ptr_dtor (zval_ptr=0x282e7928) at
    /root/dl/php-4.4.6/Zend/zend_execute_API.c:287
    287 (*zval_ptr)->refcount--;
    (gdb)



    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    sti-pe2 at online dot no Guest

  8. #7

    Default #40751 [Opn->Fbk]: Apache segmentation fault

    ID: 40751
    Updated by: [email]tony2001@php.net[/email]
    Reported By: sti-pe2 at online dot no
    -Status: Open
    +Status: Feedback
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]




    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-09 11:21:45] sti-pe2 at online dot no

    No, my php.ini says
    ;open_basedir =

    ------------------------------------------------------------------------

    [2007-03-09 10:42:39] [email]tony2001@php.net[/email]

    Do you have open_basedir set?

    ------------------------------------------------------------------------

    [2007-03-09 09:02:42] sti-pe2 at online dot no

    I installed older versions of PHP, and 4.3.10(!) actually works... All
    newer versions result in the same error.

    Are there any known issues regarding sessions when upgrading from
    4.3.10 to 4.3.11? Any config in Apache that may be a problem?

    ------------------------------------------------------------------------

    [2007-03-08 07:37:27] sti-pe2 at online dot no

    Recompiled without --enable-versioning, but I still get the same error.

    ------------------------------------------------------------------------

    [2007-03-07 21:57:46] [email]tony2001@php.net[/email]

    After 10 thousands requests with ab I still can't see anything except
    "does this work?".
    --enable-versioning - could you please remove this option?


    ------------------------------------------------------------------------

    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
    [url]http://bugs.php.net/40751[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    tony2001@php.net Guest

  9. #8

    Default #40751 [Fbk->Opn]: Apache segmentation fault

    ID: 40751
    User updated by: sti-pe2 at online dot no
    Reported By: sti-pe2 at online dot no
    -Status: Feedback
    +Status: Open
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    Installed latest snapshot, but I still get the same error.


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-09 11:34:20] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]



    ------------------------------------------------------------------------

    [2007-03-09 11:21:45] sti-pe2 at online dot no

    No, my php.ini says
    ;open_basedir =

    ------------------------------------------------------------------------

    [2007-03-09 10:42:39] [email]tony2001@php.net[/email]

    Do you have open_basedir set?

    ------------------------------------------------------------------------

    [2007-03-09 09:02:42] sti-pe2 at online dot no

    I installed older versions of PHP, and 4.3.10(!) actually works... All
    newer versions result in the same error.

    Are there any known issues regarding sessions when upgrading from
    4.3.10 to 4.3.11? Any config in Apache that may be a problem?

    ------------------------------------------------------------------------

    [2007-03-08 07:37:27] sti-pe2 at online dot no

    Recompiled without --enable-versioning, but I still get the same error.

    ------------------------------------------------------------------------

    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
    [url]http://bugs.php.net/40751[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    sti-pe2 at online dot no Guest

  10. #9

    Default #40751 [Opn->Fbk]: Apache segmentation fault

    ID: 40751
    Updated by: [email]tony2001@php.net[/email]
    Reported By: sti-pe2 at online dot no
    -Status: Open
    +Status: Feedback
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    I'm still unable to reproduce it.


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-09 11:56:55] sti-pe2 at online dot no

    Installed latest snapshot, but I still get the same error.

    ------------------------------------------------------------------------

    [2007-03-09 11:34:20] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]



    ------------------------------------------------------------------------

    [2007-03-09 11:21:45] sti-pe2 at online dot no

    No, my php.ini says
    ;open_basedir =

    ------------------------------------------------------------------------

    [2007-03-09 10:42:39] [email]tony2001@php.net[/email]

    Do you have open_basedir set?

    ------------------------------------------------------------------------

    [2007-03-09 09:02:42] sti-pe2 at online dot no

    I installed older versions of PHP, and 4.3.10(!) actually works... All
    newer versions result in the same error.

    Are there any known issues regarding sessions when upgrading from
    4.3.10 to 4.3.11? Any config in Apache that may be a problem?

    ------------------------------------------------------------------------

    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
    [url]http://bugs.php.net/40751[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    tony2001@php.net Guest

  11. #10

    Default #40751 [Com]: Apache segmentation fault

    ID: 40751
    Comment by: scottmacvicar at ntlworld dot com
    Reported By: sti-pe2 at online dot no
    Status: Feedback
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    What other extensions do you load in php.ini an what order are they
    loaded?

    If you disable all apart from session do you still get the crash?


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-09 12:22:04] [email]tony2001@php.net[/email]

    I'm still unable to reproduce it.

    ------------------------------------------------------------------------

    [2007-03-09 11:56:55] sti-pe2 at online dot no

    Installed latest snapshot, but I still get the same error.

    ------------------------------------------------------------------------

    [2007-03-09 11:34:20] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]



    ------------------------------------------------------------------------

    [2007-03-09 11:21:45] sti-pe2 at online dot no

    No, my php.ini says
    ;open_basedir =

    ------------------------------------------------------------------------

    [2007-03-09 10:42:39] [email]tony2001@php.net[/email]

    Do you have open_basedir set?

    ------------------------------------------------------------------------

    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
    [url]http://bugs.php.net/40751[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    scottmacvicar at ntlworld dot com Guest

  12. #11

    Default #40751 [Fbk->Opn]: Apache segmentation fault

    ID: 40751
    User updated by: sti-pe2 at online dot no
    Reported By: sti-pe2 at online dot no
    -Status: Feedback
    +Status: Open
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    These are loaded, in this order:
    mysql.so
    pcre.so
    bz2.so
    session.so
    xml.so

    And guess what? Yes, it crashes even if just session is loaded...


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-09 14:43:35] scottmacvicar at ntlworld dot com

    What other extensions do you load in php.ini an what order are they
    loaded?

    If you disable all apart from session do you still get the crash?

    ------------------------------------------------------------------------

    [2007-03-09 12:22:04] [email]tony2001@php.net[/email]

    I'm still unable to reproduce it.

    ------------------------------------------------------------------------

    [2007-03-09 11:56:55] sti-pe2 at online dot no

    Installed latest snapshot, but I still get the same error.

    ------------------------------------------------------------------------

    [2007-03-09 11:34:20] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]



    ------------------------------------------------------------------------

    [2007-03-09 11:21:45] sti-pe2 at online dot no

    No, my php.ini says
    ;open_basedir =

    ------------------------------------------------------------------------

    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
    [url]http://bugs.php.net/40751[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    sti-pe2 at online dot no Guest

  13. #12

    Default #40751 [Opn->Fbk]: Apache segmentation fault

    ID: 40751
    Updated by: [email]tony2001@php.net[/email]
    Reported By: sti-pe2 at online dot no
    -Status: Open
    +Status: Feedback
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    Any other information?
    A working reproduce code? Full backtrace? Valgrind report? Anything?


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-09 21:06:09] sti-pe2 at online dot no

    These are loaded, in this order:
    mysql.so
    pcre.so
    bz2.so
    session.so
    xml.so

    And guess what? Yes, it crashes even if just session is loaded...

    ------------------------------------------------------------------------

    [2007-03-09 14:43:35] scottmacvicar at ntlworld dot com

    What other extensions do you load in php.ini an what order are they
    loaded?

    If you disable all apart from session do you still get the crash?

    ------------------------------------------------------------------------

    [2007-03-09 12:22:04] [email]tony2001@php.net[/email]

    I'm still unable to reproduce it.

    ------------------------------------------------------------------------

    [2007-03-09 11:56:55] sti-pe2 at online dot no

    Installed latest snapshot, but I still get the same error.

    ------------------------------------------------------------------------

    [2007-03-09 11:34:20] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]



    ------------------------------------------------------------------------

    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
    [url]http://bugs.php.net/40751[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    tony2001@php.net Guest

  14. #13

    Default #40751 [Fbk->Csd]: Apache segmentation fault

    ID: 40751
    User updated by: sti-pe2 at online dot no
    Reported By: sti-pe2 at online dot no
    -Status: Feedback
    +Status: Closed
    Bug Type: Session related
    Operating System: FreeBSD 5.3-RELEASE
    PHP Version: 4.4.6
    New Comment:

    Ok, case closed. I was using an old version of session.so. I thought
    this was automaticly updated during installation of new version of PHP,
    but no.

    Thanks for your help!


    Previous Comments:
    ------------------------------------------------------------------------

    [2007-03-09 23:56:52] [email]tony2001@php.net[/email]

    Any other information?
    A working reproduce code? Full backtrace? Valgrind report? Anything?

    ------------------------------------------------------------------------

    [2007-03-09 21:06:09] sti-pe2 at online dot no

    These are loaded, in this order:
    mysql.so
    pcre.so
    bz2.so
    session.so
    xml.so

    And guess what? Yes, it crashes even if just session is loaded...

    ------------------------------------------------------------------------

    [2007-03-09 14:43:35] scottmacvicar at ntlworld dot com

    What other extensions do you load in php.ini an what order are they
    loaded?

    If you disable all apart from session do you still get the crash?

    ------------------------------------------------------------------------

    [2007-03-09 12:22:04] [email]tony2001@php.net[/email]

    I'm still unable to reproduce it.

    ------------------------------------------------------------------------

    [2007-03-09 11:56:55] sti-pe2 at online dot no

    Installed latest snapshot, but I still get the same error.

    ------------------------------------------------------------------------

    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
    [url]http://bugs.php.net/40751[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=40751&edit=1[/url]
    sti-pe2 at online dot no Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139