FAQ
From: eelco_dotinga@planet.nl
Operating system: AIX 4.3.3
PHP version: 4.2.2
PHP Bug Type: Reproducible crash
Bug description: Segmentation fault

while starting apache getting an segmentation fault

dbx output
Segmentation fault in glink.apr_palloc at 0xd0a25ee4 ($t1)
0xd0a25ee4 (apr_palloc+0x8) 800c0000 lwz r0,0x0(r12)

with httpd -X no crash but php's won't work (no errors in logs)

AIX version 4.3.3 ML10
gcc 3.1.1
apache 2.0.40
php cvs stable version 08/20/2002

tnx in advance

Search Discussions

  • Kalowsky at Aug 21, 2002 at 3:14 pm
    ID: 19020
    Updated by: kalowsky@php.net
    Reported By: eelco_dotinga@planet.nl
    -Status: Open
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    A) Whats your configure line?
    B) can you build us a backtrace by adding debug symbols to PHP?


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

    [2002-08-21 10:10:43] eelco_dotinga@planet.nl

    while starting apache getting an segmentation fault

    dbx output
    Segmentation fault in glink.apr_palloc at 0xd0a25ee4 ($t1)
    0xd0a25ee4 (apr_palloc+0x8) 800c0000 lwz r0,0x0(r12)

    with httpd -X no crash but php's won't work (no errors in logs)

    AIX version 4.3.3 ML10
    gcc 3.1.1
    apache 2.0.40
    php cvs stable version 08/20/2002

    tnx in advance


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


    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Eelco_dotinga at Aug 21, 2002 at 3:28 pm
    ID: 19020
    User updated by: eelco_dotinga@planet.nl
    Reported By: eelco_dotinga@planet.nl
    -Status: Feedback
    +Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    A) configure line:
    ./configure --with-mysql --with-apxs=/usr/local/apache2

    B) can you be more specific what kind of info you want. I'm guessing
    --enable-debug. I'm trying that but it will take a litte time because
    my machine isn't a fast one. I didn't install gdb yet.

    Ill get back to you after the new compalition


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

    [2002-08-21 11:14:16] kalowsky@php.net

    A) Whats your configure line?
    B) can you build us a backtrace by adding debug symbols to PHP?

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

    [2002-08-21 10:10:43] eelco_dotinga@planet.nl

    while starting apache getting an segmentation fault

    dbx output
    Segmentation fault in glink.apr_palloc at 0xd0a25ee4 ($t1)
    0xd0a25ee4 (apr_palloc+0x8) 800c0000 lwz r0,0x0(r12)

    with httpd -X no crash but php's won't work (no errors in logs)

    AIX version 4.3.3 ML10
    gcc 3.1.1
    apache 2.0.40
    php cvs stable version 08/20/2002

    tnx in advance


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


    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Eelco_dotinga at Aug 21, 2002 at 3:31 pm
    ID: 19020
    User updated by: eelco_dotinga@planet.nl
    Reported By: eelco_dotinga@planet.nl
    Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    OOPS the apxs bit fell off this is the correct line

    ./configure --with-mysql --with-apxs=/usr/local/apache2/bin/apxs


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

    [2002-08-21 11:28:15] eelco_dotinga@planet.nl

    A) configure line:
    ./configure --with-mysql --with-apxs=/usr/local/apache2

    B) can you be more specific what kind of info you want. I'm guessing
    --enable-debug. I'm trying that but it will take a litte time because
    my machine isn't a fast one. I didn't install gdb yet.

    Ill get back to you after the new compalition

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

    [2002-08-21 11:14:16] kalowsky@php.net

    A) Whats your configure line?
    B) can you build us a backtrace by adding debug symbols to PHP?

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

    [2002-08-21 10:10:43] eelco_dotinga@planet.nl

    while starting apache getting an segmentation fault

    dbx output
    Segmentation fault in glink.apr_palloc at 0xd0a25ee4 ($t1)
    0xd0a25ee4 (apr_palloc+0x8) 800c0000 lwz r0,0x0(r12)

    with httpd -X no crash but php's won't work (no errors in logs)

    AIX version 4.3.3 ML10
    gcc 3.1.1
    apache 2.0.40
    php cvs stable version 08/20/2002

    tnx in advance


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


    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Kalowsky at Aug 21, 2002 at 3:52 pm
    ID: 19020
    Updated by: kalowsky@php.net
    Reported By: eelco_dotinga@planet.nl
    Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    Please realize that Apache2 support in PHP is extremely experimental,
    and is not assured to work.


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

    [2002-08-21 11:31:56] eelco_dotinga@planet.nl

    OOPS the apxs bit fell off this is the correct line

    ./configure --with-mysql --with-apxs=/usr/local/apache2/bin/apxs

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

    [2002-08-21 11:28:15] eelco_dotinga@planet.nl

    A) configure line:
    ./configure --with-mysql --with-apxs=/usr/local/apache2

    B) can you be more specific what kind of info you want. I'm guessing
    --enable-debug. I'm trying that but it will take a litte time because
    my machine isn't a fast one. I didn't install gdb yet.

    Ill get back to you after the new compalition

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

    [2002-08-21 11:14:16] kalowsky@php.net

    A) Whats your configure line?
    B) can you build us a backtrace by adding debug symbols to PHP?

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

    [2002-08-21 10:10:43] eelco_dotinga@planet.nl

    while starting apache getting an segmentation fault

    dbx output
    Segmentation fault in glink.apr_palloc at 0xd0a25ee4 ($t1)
    0xd0a25ee4 (apr_palloc+0x8) 800c0000 lwz r0,0x0(r12)

    with httpd -X no crash but php's won't work (no errors in logs)

    AIX version 4.3.3 ML10
    gcc 3.1.1
    apache 2.0.40
    php cvs stable version 08/20/2002

    tnx in advance


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


    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Nohn at Aug 21, 2002 at 3:54 pm
    ID: 19020
    Updated by: nohn@php.net
    Reported By: eelco_dotinga@planet.nl
    -Status: Open
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    If you use apache2 it has to be --with-apxs2


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

    [2002-08-21 11:52:16] kalowsky@php.net

    Please realize that Apache2 support in PHP is extremely experimental,
    and is not assured to work.

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

    [2002-08-21 11:31:56] eelco_dotinga@planet.nl

    OOPS the apxs bit fell off this is the correct line

    ./configure --with-mysql --with-apxs=/usr/local/apache2/bin/apxs

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

    [2002-08-21 11:28:15] eelco_dotinga@planet.nl

    A) configure line:
    ./configure --with-mysql --with-apxs=/usr/local/apache2

    B) can you be more specific what kind of info you want. I'm guessing
    --enable-debug. I'm trying that but it will take a litte time because
    my machine isn't a fast one. I didn't install gdb yet.

    Ill get back to you after the new compalition

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

    [2002-08-21 11:14:16] kalowsky@php.net

    A) Whats your configure line?
    B) can you build us a backtrace by adding debug symbols to PHP?

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

    [2002-08-21 10:10:43] eelco_dotinga@planet.nl

    while starting apache getting an segmentation fault

    dbx output
    Segmentation fault in glink.apr_palloc at 0xd0a25ee4 ($t1)
    0xd0a25ee4 (apr_palloc+0x8) 800c0000 lwz r0,0x0(r12)

    with httpd -X no crash but php's won't work (no errors in logs)

    AIX version 4.3.3 ML10
    gcc 3.1.1
    apache 2.0.40
    php cvs stable version 08/20/2002

    tnx in advance


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


    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Eelco_dotinga at Aug 21, 2002 at 4:50 pm
    ID: 19020
    User updated by: eelco_dotinga@planet.nl
    Reported By: eelco_dotinga@planet.nl
    -Status: Feedback
    +Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    you' right about apxs2 (another typo from me). I did use apxs2 on
    configure line so the correct line I used would be:
    ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs

    And yes I know its all experimental what I'm doing, but why then you
    give warnings about static modules and why are the guys from apache
    telling me that apache2 is the best version to use.
    And I figured you still want to know about failures and successes of
    the stuff youre cooking.


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

    [2002-08-21 11:54:08] nohn@php.net

    If you use apache2 it has to be --with-apxs2

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

    [2002-08-21 11:52:16] kalowsky@php.net

    Please realize that Apache2 support in PHP is extremely experimental,
    and is not assured to work.

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

    [2002-08-21 11:31:56] eelco_dotinga@planet.nl

    OOPS the apxs bit fell off this is the correct line

    ./configure --with-mysql --with-apxs=/usr/local/apache2/bin/apxs

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

    [2002-08-21 11:28:15] eelco_dotinga@planet.nl

    A) configure line:
    ./configure --with-mysql --with-apxs=/usr/local/apache2

    B) can you be more specific what kind of info you want. I'm guessing
    --enable-debug. I'm trying that but it will take a litte time because
    my machine isn't a fast one. I didn't install gdb yet.

    Ill get back to you after the new compalition

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

    [2002-08-21 11:14:16] kalowsky@php.net

    A) Whats your configure line?
    B) can you build us a backtrace by adding debug symbols to PHP?

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Eelco_dotinga at Aug 21, 2002 at 5:02 pm
    ID: 19020
    User updated by: eelco_dotinga@planet.nl
    Reported By: eelco_dotinga@planet.nl
    Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    output
    #dbx httpd
    (dbx) run

    Segmentation fault in create_php_config at line 196 in file "" ($t1)
    could not read "apache_config.c"

    now its also crash with httpd -X
    only change is added --enable-debug with configure


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

    [2002-08-21 12:50:21] eelco_dotinga@planet.nl

    you' right about apxs2 (another typo from me). I did use apxs2 on
    configure line so the correct line I used would be:
    ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs

    And yes I know its all experimental what I'm doing, but why then you
    give warnings about static modules and why are the guys from apache
    telling me that apache2 is the best version to use.
    And I figured you still want to know about failures and successes of
    the stuff youre cooking.

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

    [2002-08-21 11:54:08] nohn@php.net

    If you use apache2 it has to be --with-apxs2

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

    [2002-08-21 11:52:16] kalowsky@php.net

    Please realize that Apache2 support in PHP is extremely experimental,
    and is not assured to work.

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

    [2002-08-21 11:31:56] eelco_dotinga@planet.nl

    OOPS the apxs bit fell off this is the correct line

    ./configure --with-mysql --with-apxs=/usr/local/apache2/bin/apxs

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

    [2002-08-21 11:28:15] eelco_dotinga@planet.nl

    A) configure line:
    ./configure --with-mysql --with-apxs=/usr/local/apache2

    B) can you be more specific what kind of info you want. I'm guessing
    --enable-debug. I'm trying that but it will take a litte time because
    my machine isn't a fast one. I didn't install gdb yet.

    Ill get back to you after the new compalition

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Sander at Aug 21, 2002 at 5:32 pm
    ID: 19020
    Updated by: sander@php.net
    Reported By: eelco_dotinga@planet.nl
    -Status: Open
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    Please try using this CVS snapshot:

    http://snaps.php.net/php4-latest.tar.gz

    For Windows:

    http://snaps.php.net/win32/php4-win32-latest.zip




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

    [2002-08-21 13:02:43] eelco_dotinga@planet.nl

    output
    #dbx httpd
    (dbx) run

    Segmentation fault in create_php_config at line 196 in file "" ($t1)
    could not read "apache_config.c"

    now its also crash with httpd -X
    only change is added --enable-debug with configure

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

    [2002-08-21 12:50:21] eelco_dotinga@planet.nl

    you' right about apxs2 (another typo from me). I did use apxs2 on
    configure line so the correct line I used would be:
    ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs

    And yes I know its all experimental what I'm doing, but why then you
    give warnings about static modules and why are the guys from apache
    telling me that apache2 is the best version to use.
    And I figured you still want to know about failures and successes of
    the stuff youre cooking.

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

    [2002-08-21 11:54:08] nohn@php.net

    If you use apache2 it has to be --with-apxs2

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

    [2002-08-21 11:52:16] kalowsky@php.net

    Please realize that Apache2 support in PHP is extremely experimental,
    and is not assured to work.

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

    [2002-08-21 11:31:56] eelco_dotinga@planet.nl

    OOPS the apxs bit fell off this is the correct line

    ./configure --with-mysql --with-apxs=/usr/local/apache2/bin/apxs

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Eelco_dotinga at Aug 21, 2002 at 9:25 pm
    ID: 19020
    User updated by: eelco_dotinga@planet.nl
    Reported By: eelco_dotinga@planet.nl
    -Status: Feedback
    +Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    hmm, somehow I aspected that answer. I will try it tomorrow. I'm in
    different timezone. I let you know if it has been fixed.

    tnx


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

    [2002-08-21 13:32:38] sander@php.net

    Please try using this CVS snapshot:

    http://snaps.php.net/php4-latest.tar.gz

    For Windows:

    http://snaps.php.net/win32/php4-win32-latest.zip



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

    [2002-08-21 13:02:43] eelco_dotinga@planet.nl

    output
    #dbx httpd
    (dbx) run

    Segmentation fault in create_php_config at line 196 in file "" ($t1)
    could not read "apache_config.c"

    now its also crash with httpd -X
    only change is added --enable-debug with configure

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

    [2002-08-21 12:50:21] eelco_dotinga@planet.nl

    you' right about apxs2 (another typo from me). I did use apxs2 on
    configure line so the correct line I used would be:
    ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs

    And yes I know its all experimental what I'm doing, but why then you
    give warnings about static modules and why are the guys from apache
    telling me that apache2 is the best version to use.
    And I figured you still want to know about failures and successes of
    the stuff youre cooking.

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

    [2002-08-21 11:54:08] nohn@php.net

    If you use apache2 it has to be --with-apxs2

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

    [2002-08-21 11:52:16] kalowsky@php.net

    Please realize that Apache2 support in PHP is extremely experimental,
    and is not assured to work.

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Eelco_dotinga at Aug 22, 2002 at 10:01 am
    ID: 19020
    User updated by: eelco_dotinga@planet.nl
    Reported By: eelco_dotinga@planet.nl
    Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    :-( no dice newer gives the same fault. So now what the do?
    any suggestions?


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

    [2002-08-21 17:25:44] eelco_dotinga@planet.nl

    hmm, somehow I aspected that answer. I will try it tomorrow. I'm in
    different timezone. I let you know if it has been fixed.

    tnx

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

    [2002-08-21 13:32:38] sander@php.net

    Please try using this CVS snapshot:

    http://snaps.php.net/php4-latest.tar.gz

    For Windows:

    http://snaps.php.net/win32/php4-win32-latest.zip



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

    [2002-08-21 13:02:43] eelco_dotinga@planet.nl

    output
    #dbx httpd
    (dbx) run

    Segmentation fault in create_php_config at line 196 in file "" ($t1)
    could not read "apache_config.c"

    now its also crash with httpd -X
    only change is added --enable-debug with configure

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

    [2002-08-21 12:50:21] eelco_dotinga@planet.nl

    you' right about apxs2 (another typo from me). I did use apxs2 on
    configure line so the correct line I used would be:
    ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs

    And yes I know its all experimental what I'm doing, but why then you
    give warnings about static modules and why are the guys from apache
    telling me that apache2 is the best version to use.
    And I figured you still want to know about failures and successes of
    the stuff youre cooking.

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

    [2002-08-21 11:54:08] nohn@php.net

    If you use apache2 it has to be --with-apxs2

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Sander at Aug 22, 2002 at 11:42 am
    ID: 19020
    Updated by: sander@php.net
    Reported By: eelco_dotinga@planet.nl
    -Status: Open
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    Thank you for this bug report. To properly diagnose the problem, we
    need a backtrace to see what is happening behind the scenes. To
    find out how to generate a backtrace, please read
    http://bugs.php.net/bugs-generating-backtrace.php

    Once you have generated a backtrace, please submit it to this bug
    report and change the status back to "Open". Thank you for helping
    us make PHP better.




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

    [2002-08-22 06:01:01] eelco_dotinga@planet.nl

    :-( no dice newer gives the same fault. So now what the do?
    any suggestions?

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

    [2002-08-21 17:25:44] eelco_dotinga@planet.nl

    hmm, somehow I aspected that answer. I will try it tomorrow. I'm in
    different timezone. I let you know if it has been fixed.

    tnx

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

    [2002-08-21 13:32:38] sander@php.net

    Please try using this CVS snapshot:

    http://snaps.php.net/php4-latest.tar.gz

    For Windows:

    http://snaps.php.net/win32/php4-win32-latest.zip



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

    [2002-08-21 13:02:43] eelco_dotinga@planet.nl

    output
    #dbx httpd
    (dbx) run

    Segmentation fault in create_php_config at line 196 in file "" ($t1)
    could not read "apache_config.c"

    now its also crash with httpd -X
    only change is added --enable-debug with configure

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

    [2002-08-21 12:50:21] eelco_dotinga@planet.nl

    you' right about apxs2 (another typo from me). I did use apxs2 on
    configure line so the correct line I used would be:
    ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs

    And yes I know its all experimental what I'm doing, but why then you
    give warnings about static modules and why are the guys from apache
    telling me that apache2 is the best version to use.
    And I figured you still want to know about failures and successes of
    the stuff youre cooking.

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Eelco_dotinga at Aug 22, 2002 at 3:06 pm
    ID: 19020
    User updated by: eelco_dotinga@planet.nl
    Reported By: eelco_dotinga@planet.nl
    -Status: Feedback
    +Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    output from gdb as you can see

    #gdb httpd
    GNU gdb 5.2.1
    Copyright 2002 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 "powerpc-ibm-aix4.3.3.0"...
    (gdb) run
    Starting program: /usr/local/apache2/bin/httpd

    Program received signal SIGSEGV, Segmentation fault.
    0xd1088d6c in apr_palloc () from /usr/local/apache2/modules/libphp4.so

    so far nothing has been changed if you look to the first comment.

    so more suggestions


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

    [2002-08-22 07:42:30] sander@php.net

    Thank you for this bug report. To properly diagnose the problem, we
    need a backtrace to see what is happening behind the scenes. To
    find out how to generate a backtrace, please read
    http://bugs.php.net/bugs-generating-backtrace.php

    Once you have generated a backtrace, please submit it to this bug
    report and change the status back to "Open". Thank you for helping
    us make PHP better.



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

    [2002-08-22 06:01:01] eelco_dotinga@planet.nl

    :-( no dice newer gives the same fault. So now what the do?
    any suggestions?

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

    [2002-08-21 17:25:44] eelco_dotinga@planet.nl

    hmm, somehow I aspected that answer. I will try it tomorrow. I'm in
    different timezone. I let you know if it has been fixed.

    tnx

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

    [2002-08-21 13:32:38] sander@php.net

    Please try using this CVS snapshot:

    http://snaps.php.net/php4-latest.tar.gz

    For Windows:

    http://snaps.php.net/win32/php4-win32-latest.zip



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

    [2002-08-21 13:02:43] eelco_dotinga@planet.nl

    output
    #dbx httpd
    (dbx) run

    Segmentation fault in create_php_config at line 196 in file "" ($t1)
    could not read "apache_config.c"

    now its also crash with httpd -X
    only change is added --enable-debug with configure

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Eelco_dotinga at Aug 22, 2002 at 3:10 pm
    ID: 19020
    User updated by: eelco_dotinga@planet.nl
    Reported By: eelco_dotinga@planet.nl
    Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    and the next bit
    (gdb) bt
    #0 0xd1088d6c in apr_palloc () from
    /usr/local/apache2/modules/libphp4.so
    #1 0xd1088cb0 in create_php_config () from
    /usr/local/apache2/modules/libphp4.so
    #2 0x1000df34 in ap_single_module_configure (p=0x2002f000,
    s=0x2002ed80, m=0x200285c0) at config.c:1822
    #3 0x10054c20 in load_module (cmd=0x2ff22988, dummy=0x200b183c,
    modname=0x2006bd40 "php4_module", filename=0x2002f000 " \006½@
    \v\030<")
    at mod_so.c:335
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    #5 0x1000ce44 in execute_now (cmd_line=0x2006bce8 "LoadModule",
    args=0x2ff20943 "php4_module modules/libphp4.so",
    parms=0x2ff22988,
    p=0xf020ce1c, ptemp=0x2006c098, sub_tree=0x2ff208d8,
    parent=0x200b8214) at config.c:1342
    #6 0x1000c300 in ap_build_config_sub (p=0x200285c0,
    temp_pool=0x200661e0, l=0x200b183c "\0011}\224", parms=0x2ff22988,
    current=0x2ff22938,
    curr_parent=0x2ff2293c, conftree=0x20000fa4) at config.c:939
    #7 0x1000c818 in ap_build_config (parms=0x2ff22988, p=0x200285c0,
    temp_pool=0x200661e0, conftree=0x20000fa4) at config.c:1146
    #8 0x1000d3cc in ap_process_resource_config (s=0x2002ed80,
    fname=0x20069600 "/usr/local/apache2/conf/httpd.conf",
    conftree=0x20000fa4,
    p=0x200285c0, ptemp=0x200661e0) at config.c:1527
    #9 0x1000de24 in ap_read_config (process=0x200b8214, ptemp=0x200661e0,
    filename=0x100686bc "conf/httpd.conf", conftree=0x20000fa4)
    at config.c:1805
    #10 0x10001024 in main (argc=1, argv=0x2ff22c50) at main.c:557
    #11 0x100001dc in __start ()


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

    [2002-08-22 11:06:31] eelco_dotinga@planet.nl

    output from gdb as you can see

    #gdb httpd
    GNU gdb 5.2.1
    Copyright 2002 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 "powerpc-ibm-aix4.3.3.0"...
    (gdb) run
    Starting program: /usr/local/apache2/bin/httpd

    Program received signal SIGSEGV, Segmentation fault.
    0xd1088d6c in apr_palloc () from /usr/local/apache2/modules/libphp4.so

    so far nothing has been changed if you look to the first comment.

    so more suggestions

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

    [2002-08-22 07:42:30] sander@php.net

    Thank you for this bug report. To properly diagnose the problem, we
    need a backtrace to see what is happening behind the scenes. To
    find out how to generate a backtrace, please read
    http://bugs.php.net/bugs-generating-backtrace.php

    Once you have generated a backtrace, please submit it to this bug
    report and change the status back to "Open". Thank you for helping
    us make PHP better.



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

    [2002-08-22 06:01:01] eelco_dotinga@planet.nl

    :-( no dice newer gives the same fault. So now what the do?
    any suggestions?

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

    [2002-08-21 17:25:44] eelco_dotinga@planet.nl

    hmm, somehow I aspected that answer. I will try it tomorrow. I'm in
    different timezone. I let you know if it has been fixed.

    tnx

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

    [2002-08-21 13:32:38] sander@php.net

    Please try using this CVS snapshot:

    http://snaps.php.net/php4-latest.tar.gz

    For Windows:

    http://snaps.php.net/win32/php4-win32-latest.zip



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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Eelco_dotinga at Aug 22, 2002 at 3:15 pm
    ID: 19020
    User updated by: eelco_dotinga@planet.nl
    Reported By: eelco_dotinga@planet.nl
    Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    and the last bit

    (gdb) frame 4
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    736 config.c: No such file or directory.
    in config.c


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

    [2002-08-22 11:10:33] eelco_dotinga@planet.nl

    and the next bit
    (gdb) bt
    #0 0xd1088d6c in apr_palloc () from
    /usr/local/apache2/modules/libphp4.so
    #1 0xd1088cb0 in create_php_config () from
    /usr/local/apache2/modules/libphp4.so
    #2 0x1000df34 in ap_single_module_configure (p=0x2002f000,
    s=0x2002ed80, m=0x200285c0) at config.c:1822
    #3 0x10054c20 in load_module (cmd=0x2ff22988, dummy=0x200b183c,
    modname=0x2006bd40 "php4_module", filename=0x2002f000 " \006½@
    \v\030<")
    at mod_so.c:335
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    #5 0x1000ce44 in execute_now (cmd_line=0x2006bce8 "LoadModule",
    args=0x2ff20943 "php4_module modules/libphp4.so",
    parms=0x2ff22988,
    p=0xf020ce1c, ptemp=0x2006c098, sub_tree=0x2ff208d8,
    parent=0x200b8214) at config.c:1342
    #6 0x1000c300 in ap_build_config_sub (p=0x200285c0,
    temp_pool=0x200661e0, l=0x200b183c "\0011}\224", parms=0x2ff22988,
    current=0x2ff22938,
    curr_parent=0x2ff2293c, conftree=0x20000fa4) at config.c:939
    #7 0x1000c818 in ap_build_config (parms=0x2ff22988, p=0x200285c0,
    temp_pool=0x200661e0, conftree=0x20000fa4) at config.c:1146
    #8 0x1000d3cc in ap_process_resource_config (s=0x2002ed80,
    fname=0x20069600 "/usr/local/apache2/conf/httpd.conf",
    conftree=0x20000fa4,
    p=0x200285c0, ptemp=0x200661e0) at config.c:1527
    #9 0x1000de24 in ap_read_config (process=0x200b8214, ptemp=0x200661e0,
    filename=0x100686bc "conf/httpd.conf", conftree=0x20000fa4)
    at config.c:1805
    #10 0x10001024 in main (argc=1, argv=0x2ff22c50) at main.c:557
    #11 0x100001dc in __start ()

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

    [2002-08-22 11:06:31] eelco_dotinga@planet.nl

    output from gdb as you can see

    #gdb httpd
    GNU gdb 5.2.1
    Copyright 2002 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 "powerpc-ibm-aix4.3.3.0"...
    (gdb) run
    Starting program: /usr/local/apache2/bin/httpd

    Program received signal SIGSEGV, Segmentation fault.
    0xd1088d6c in apr_palloc () from /usr/local/apache2/modules/libphp4.so

    so far nothing has been changed if you look to the first comment.

    so more suggestions

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

    [2002-08-22 07:42:30] sander@php.net

    Thank you for this bug report. To properly diagnose the problem, we
    need a backtrace to see what is happening behind the scenes. To
    find out how to generate a backtrace, please read
    http://bugs.php.net/bugs-generating-backtrace.php

    Once you have generated a backtrace, please submit it to this bug
    report and change the status back to "Open". Thank you for helping
    us make PHP better.



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

    [2002-08-22 06:01:01] eelco_dotinga@planet.nl

    :-( no dice newer gives the same fault. So now what the do?
    any suggestions?

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

    [2002-08-21 17:25:44] eelco_dotinga@planet.nl

    hmm, somehow I aspected that answer. I will try it tomorrow. I'm in
    different timezone. I let you know if it has been fixed.

    tnx

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Rasmus at Aug 22, 2002 at 3:20 pm
    ID: 19020
    Updated by: rasmus@php.net
    Reported By: eelco_dotinga@planet.nl
    Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    You really should be using php4.3-dev (latest unstable snapshot) if you
    are going to be playing with Apache 2.0

    Also, which mpm are you using for Apache2?


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

    [2002-08-22 11:15:57] eelco_dotinga@planet.nl

    and the last bit

    (gdb) frame 4
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    736 config.c: No such file or directory.
    in config.c

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

    [2002-08-22 11:10:33] eelco_dotinga@planet.nl

    and the next bit
    (gdb) bt
    #0 0xd1088d6c in apr_palloc () from
    /usr/local/apache2/modules/libphp4.so
    #1 0xd1088cb0 in create_php_config () from
    /usr/local/apache2/modules/libphp4.so
    #2 0x1000df34 in ap_single_module_configure (p=0x2002f000,
    s=0x2002ed80, m=0x200285c0) at config.c:1822
    #3 0x10054c20 in load_module (cmd=0x2ff22988, dummy=0x200b183c,
    modname=0x2006bd40 "php4_module", filename=0x2002f000 " \006½@
    \v\030<")
    at mod_so.c:335
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    #5 0x1000ce44 in execute_now (cmd_line=0x2006bce8 "LoadModule",
    args=0x2ff20943 "php4_module modules/libphp4.so",
    parms=0x2ff22988,
    p=0xf020ce1c, ptemp=0x2006c098, sub_tree=0x2ff208d8,
    parent=0x200b8214) at config.c:1342
    #6 0x1000c300 in ap_build_config_sub (p=0x200285c0,
    temp_pool=0x200661e0, l=0x200b183c "\0011}\224", parms=0x2ff22988,
    current=0x2ff22938,
    curr_parent=0x2ff2293c, conftree=0x20000fa4) at config.c:939
    #7 0x1000c818 in ap_build_config (parms=0x2ff22988, p=0x200285c0,
    temp_pool=0x200661e0, conftree=0x20000fa4) at config.c:1146
    #8 0x1000d3cc in ap_process_resource_config (s=0x2002ed80,
    fname=0x20069600 "/usr/local/apache2/conf/httpd.conf",
    conftree=0x20000fa4,
    p=0x200285c0, ptemp=0x200661e0) at config.c:1527
    #9 0x1000de24 in ap_read_config (process=0x200b8214, ptemp=0x200661e0,
    filename=0x100686bc "conf/httpd.conf", conftree=0x20000fa4)
    at config.c:1805
    #10 0x10001024 in main (argc=1, argv=0x2ff22c50) at main.c:557
    #11 0x100001dc in __start ()

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

    [2002-08-22 11:06:31] eelco_dotinga@planet.nl

    output from gdb as you can see

    #gdb httpd
    GNU gdb 5.2.1
    Copyright 2002 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 "powerpc-ibm-aix4.3.3.0"...
    (gdb) run
    Starting program: /usr/local/apache2/bin/httpd

    Program received signal SIGSEGV, Segmentation fault.
    0xd1088d6c in apr_palloc () from /usr/local/apache2/modules/libphp4.so

    so far nothing has been changed if you look to the first comment.

    so more suggestions

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

    [2002-08-22 07:42:30] sander@php.net

    Thank you for this bug report. To properly diagnose the problem, we
    need a backtrace to see what is happening behind the scenes. To
    find out how to generate a backtrace, please read
    http://bugs.php.net/bugs-generating-backtrace.php

    Once you have generated a backtrace, please submit it to this bug
    report and change the status back to "Open". Thank you for helping
    us make PHP better.



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

    [2002-08-22 06:01:01] eelco_dotinga@planet.nl

    :-( no dice newer gives the same fault. So now what the do?
    any suggestions?

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Eelco_dotinga at Aug 22, 2002 at 3:45 pm
    ID: 19020
    User updated by: eelco_dotinga@planet.nl
    Reported By: eelco_dotinga@planet.nl
    Status: Open
    Bug Type: Reproducible crash
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    I hope this tell's you enough

    # more php_version.h
    /* automatically generated by configure */
    /* edit configure.in to change version number */
    #define PHP_MAJOR_VERSION 4
    #define PHP_MINOR_VERSION 3
    #define PHP_RELEASE_VERSION 0
    #define PHP_EXTRA_VERSION "-dev"
    #define PHP_VERSION "4.3.0-dev"

    php4-200208211200

    apache info:

    ./httpd -l
    Compiled in modules:
    core.c
    mod_access.c
    mod_auth.c
    mod_include.c
    mod_log_config.c
    mod_env.c
    mod_setenvif.c
    prefork.c
    http_core.c
    mod_mime.c
    mod_status.c
    mod_autoindex.c
    mod_asis.c
    mod_cgi.c
    mod_negotiation.c
    mod_dir.c
    mod_imap.c
    mod_actions.c
    mod_userdir.c
    mod_alias.c
    mod_so.c
    # ./httpd -v
    Server version: Apache/2.0.40
    Server built: Aug 16 2002 16:40:35
    # ./httpd -V
    Server version: Apache/2.0.40
    Server built: Aug 16 2002 16:40:35
    Server's Module Magic Number: 20020628:0
    Architecture: 32-bit
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6
    -D APR_USE_PROC_PTHREAD_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D HTTPD_ROOT="/usr/local/apache2"
    -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
    -D DEFAULT_PIDLOG="logs/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_LOCKFILE="logs/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="conf/mime.types"
    -D SERVER_CONFIG_FILE="conf/httpd.conf"

    apcache configure line
    ./configure --enable-so --enable-cgi
    so I guess the mpm would be prefork


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

    [2002-08-22 11:20:11] rasmus@php.net

    You really should be using php4.3-dev (latest unstable snapshot) if you
    are going to be playing with Apache 2.0

    Also, which mpm are you using for Apache2?

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

    [2002-08-22 11:15:57] eelco_dotinga@planet.nl

    and the last bit

    (gdb) frame 4
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    736 config.c: No such file or directory.
    in config.c

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

    [2002-08-22 11:10:33] eelco_dotinga@planet.nl

    and the next bit
    (gdb) bt
    #0 0xd1088d6c in apr_palloc () from
    /usr/local/apache2/modules/libphp4.so
    #1 0xd1088cb0 in create_php_config () from
    /usr/local/apache2/modules/libphp4.so
    #2 0x1000df34 in ap_single_module_configure (p=0x2002f000,
    s=0x2002ed80, m=0x200285c0) at config.c:1822
    #3 0x10054c20 in load_module (cmd=0x2ff22988, dummy=0x200b183c,
    modname=0x2006bd40 "php4_module", filename=0x2002f000 " \006½@
    \v\030<")
    at mod_so.c:335
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    #5 0x1000ce44 in execute_now (cmd_line=0x2006bce8 "LoadModule",
    args=0x2ff20943 "php4_module modules/libphp4.so",
    parms=0x2ff22988,
    p=0xf020ce1c, ptemp=0x2006c098, sub_tree=0x2ff208d8,
    parent=0x200b8214) at config.c:1342
    #6 0x1000c300 in ap_build_config_sub (p=0x200285c0,
    temp_pool=0x200661e0, l=0x200b183c "\0011}\224", parms=0x2ff22988,
    current=0x2ff22938,
    curr_parent=0x2ff2293c, conftree=0x20000fa4) at config.c:939
    #7 0x1000c818 in ap_build_config (parms=0x2ff22988, p=0x200285c0,
    temp_pool=0x200661e0, conftree=0x20000fa4) at config.c:1146
    #8 0x1000d3cc in ap_process_resource_config (s=0x2002ed80,
    fname=0x20069600 "/usr/local/apache2/conf/httpd.conf",
    conftree=0x20000fa4,
    p=0x200285c0, ptemp=0x200661e0) at config.c:1527
    #9 0x1000de24 in ap_read_config (process=0x200b8214, ptemp=0x200661e0,
    filename=0x100686bc "conf/httpd.conf", conftree=0x20000fa4)
    at config.c:1805
    #10 0x10001024 in main (argc=1, argv=0x2ff22c50) at main.c:557
    #11 0x100001dc in __start ()

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

    [2002-08-22 11:06:31] eelco_dotinga@planet.nl

    output from gdb as you can see

    #gdb httpd
    GNU gdb 5.2.1
    Copyright 2002 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 "powerpc-ibm-aix4.3.3.0"...
    (gdb) run
    Starting program: /usr/local/apache2/bin/httpd

    Program received signal SIGSEGV, Segmentation fault.
    0xd1088d6c in apr_palloc () from /usr/local/apache2/modules/libphp4.so

    so far nothing has been changed if you look to the first comment.

    so more suggestions

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

    [2002-08-22 07:42:30] sander@php.net

    Thank you for this bug report. To properly diagnose the problem, we
    need a backtrace to see what is happening behind the scenes. To
    find out how to generate a backtrace, please read
    http://bugs.php.net/bugs-generating-backtrace.php

    Once you have generated a backtrace, please submit it to this bug
    report and change the status back to "Open". Thank you for helping
    us make PHP better.



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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Shark at Sep 23, 2002 at 1:38 pm
    ID: 19020
    Comment by: shark@hoflink.com
    Reported By: eelco_dotinga@planet.nl
    Status: Open
    Bug Type: Apache2 related
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    I am having this same issue with solaris 2.7 and php version 4.2.3. It
    seems if I remove the line that calls the apache module . . . Apache
    starts up fine.


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

    [2002-08-22 11:45:13] eelco_dotinga@planet.nl

    I hope this tell's you enough

    # more php_version.h
    /* automatically generated by configure */
    /* edit configure.in to change version number */
    #define PHP_MAJOR_VERSION 4
    #define PHP_MINOR_VERSION 3
    #define PHP_RELEASE_VERSION 0
    #define PHP_EXTRA_VERSION "-dev"
    #define PHP_VERSION "4.3.0-dev"

    php4-200208211200

    apache info:

    ./httpd -l
    Compiled in modules:
    core.c
    mod_access.c
    mod_auth.c
    mod_include.c
    mod_log_config.c
    mod_env.c
    mod_setenvif.c
    prefork.c
    http_core.c
    mod_mime.c
    mod_status.c
    mod_autoindex.c
    mod_asis.c
    mod_cgi.c
    mod_negotiation.c
    mod_dir.c
    mod_imap.c
    mod_actions.c
    mod_userdir.c
    mod_alias.c
    mod_so.c
    # ./httpd -v
    Server version: Apache/2.0.40
    Server built: Aug 16 2002 16:40:35
    # ./httpd -V
    Server version: Apache/2.0.40
    Server built: Aug 16 2002 16:40:35
    Server's Module Magic Number: 20020628:0
    Architecture: 32-bit
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6
    -D APR_USE_PROC_PTHREAD_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D HTTPD_ROOT="/usr/local/apache2"
    -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
    -D DEFAULT_PIDLOG="logs/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_LOCKFILE="logs/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="conf/mime.types"
    -D SERVER_CONFIG_FILE="conf/httpd.conf"

    apcache configure line
    ./configure --enable-so --enable-cgi
    so I guess the mpm would be prefork

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

    [2002-08-22 11:20:11] rasmus@php.net

    You really should be using php4.3-dev (latest unstable snapshot) if you
    are going to be playing with Apache 2.0

    Also, which mpm are you using for Apache2?

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

    [2002-08-22 11:15:57] eelco_dotinga@planet.nl

    and the last bit

    (gdb) frame 4
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    736 config.c: No such file or directory.
    in config.c

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

    [2002-08-22 11:10:33] eelco_dotinga@planet.nl

    and the next bit
    (gdb) bt
    #0 0xd1088d6c in apr_palloc () from
    /usr/local/apache2/modules/libphp4.so
    #1 0xd1088cb0 in create_php_config () from
    /usr/local/apache2/modules/libphp4.so
    #2 0x1000df34 in ap_single_module_configure (p=0x2002f000,
    s=0x2002ed80, m=0x200285c0) at config.c:1822
    #3 0x10054c20 in load_module (cmd=0x2ff22988, dummy=0x200b183c,
    modname=0x2006bd40 "php4_module", filename=0x2002f000 " \006½@
    \v\030<")
    at mod_so.c:335
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    #5 0x1000ce44 in execute_now (cmd_line=0x2006bce8 "LoadModule",
    args=0x2ff20943 "php4_module modules/libphp4.so",
    parms=0x2ff22988,
    p=0xf020ce1c, ptemp=0x2006c098, sub_tree=0x2ff208d8,
    parent=0x200b8214) at config.c:1342
    #6 0x1000c300 in ap_build_config_sub (p=0x200285c0,
    temp_pool=0x200661e0, l=0x200b183c "\0011}\224", parms=0x2ff22988,
    current=0x2ff22938,
    curr_parent=0x2ff2293c, conftree=0x20000fa4) at config.c:939
    #7 0x1000c818 in ap_build_config (parms=0x2ff22988, p=0x200285c0,
    temp_pool=0x200661e0, conftree=0x20000fa4) at config.c:1146
    #8 0x1000d3cc in ap_process_resource_config (s=0x2002ed80,
    fname=0x20069600 "/usr/local/apache2/conf/httpd.conf",
    conftree=0x20000fa4,
    p=0x200285c0, ptemp=0x200661e0) at config.c:1527
    #9 0x1000de24 in ap_read_config (process=0x200b8214, ptemp=0x200661e0,
    filename=0x100686bc "conf/httpd.conf", conftree=0x20000fa4)
    at config.c:1805
    #10 0x10001024 in main (argc=1, argv=0x2ff22c50) at main.c:557
    #11 0x100001dc in __start ()

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

    [2002-08-22 11:06:31] eelco_dotinga@planet.nl

    output from gdb as you can see

    #gdb httpd
    GNU gdb 5.2.1
    Copyright 2002 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 "powerpc-ibm-aix4.3.3.0"...
    (gdb) run
    Starting program: /usr/local/apache2/bin/httpd

    Program received signal SIGSEGV, Segmentation fault.
    0xd1088d6c in apr_palloc () from /usr/local/apache2/modules/libphp4.so

    so far nothing has been changed if you look to the first comment.

    so more suggestions

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Iliaa at Oct 17, 2002 at 10:54 pm
    ID: 19020
    Updated by: iliaa@php.net
    Reported By: eelco_dotinga@planet.nl
    -Status: Open
    +Status: Feedback
    Bug Type: Apache2 related
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    Please try using this CVS snapshot:

    http://snaps.php.net/php4-latest.tar.gz

    For Windows:

    http://snaps.php.net/win32/php4-win32-latest.zip




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

    [2002-09-23 08:43:14] shark@hoflink.com

    I am having this same issue with solaris 2.7 and php version 4.2.3. It
    seems if I remove the line that calls the apache module . . . Apache
    starts up fine.

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

    [2002-08-22 11:45:13] eelco_dotinga@planet.nl

    I hope this tell's you enough

    # more php_version.h
    /* automatically generated by configure */
    /* edit configure.in to change version number */
    #define PHP_MAJOR_VERSION 4
    #define PHP_MINOR_VERSION 3
    #define PHP_RELEASE_VERSION 0
    #define PHP_EXTRA_VERSION "-dev"
    #define PHP_VERSION "4.3.0-dev"

    php4-200208211200

    apache info:

    ./httpd -l
    Compiled in modules:
    core.c
    mod_access.c
    mod_auth.c
    mod_include.c
    mod_log_config.c
    mod_env.c
    mod_setenvif.c
    prefork.c
    http_core.c
    mod_mime.c
    mod_status.c
    mod_autoindex.c
    mod_asis.c
    mod_cgi.c
    mod_negotiation.c
    mod_dir.c
    mod_imap.c
    mod_actions.c
    mod_userdir.c
    mod_alias.c
    mod_so.c
    # ./httpd -v
    Server version: Apache/2.0.40
    Server built: Aug 16 2002 16:40:35
    # ./httpd -V
    Server version: Apache/2.0.40
    Server built: Aug 16 2002 16:40:35
    Server's Module Magic Number: 20020628:0
    Architecture: 32-bit
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6
    -D APR_USE_PROC_PTHREAD_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D HTTPD_ROOT="/usr/local/apache2"
    -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
    -D DEFAULT_PIDLOG="logs/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_LOCKFILE="logs/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="conf/mime.types"
    -D SERVER_CONFIG_FILE="conf/httpd.conf"

    apcache configure line
    ./configure --enable-so --enable-cgi
    so I guess the mpm would be prefork

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

    [2002-08-22 11:20:11] rasmus@php.net

    You really should be using php4.3-dev (latest unstable snapshot) if you
    are going to be playing with Apache 2.0

    Also, which mpm are you using for Apache2?

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

    [2002-08-22 11:15:57] eelco_dotinga@planet.nl

    and the last bit

    (gdb) frame 4
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    736 config.c: No such file or directory.
    in config.c

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

    [2002-08-22 11:10:33] eelco_dotinga@planet.nl

    and the next bit
    (gdb) bt
    #0 0xd1088d6c in apr_palloc () from
    /usr/local/apache2/modules/libphp4.so
    #1 0xd1088cb0 in create_php_config () from
    /usr/local/apache2/modules/libphp4.so
    #2 0x1000df34 in ap_single_module_configure (p=0x2002f000,
    s=0x2002ed80, m=0x200285c0) at config.c:1822
    #3 0x10054c20 in load_module (cmd=0x2ff22988, dummy=0x200b183c,
    modname=0x2006bd40 "php4_module", filename=0x2002f000 " \006½@
    \v\030<")
    at mod_so.c:335
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    #5 0x1000ce44 in execute_now (cmd_line=0x2006bce8 "LoadModule",
    args=0x2ff20943 "php4_module modules/libphp4.so",
    parms=0x2ff22988,
    p=0xf020ce1c, ptemp=0x2006c098, sub_tree=0x2ff208d8,
    parent=0x200b8214) at config.c:1342
    #6 0x1000c300 in ap_build_config_sub (p=0x200285c0,
    temp_pool=0x200661e0, l=0x200b183c "\0011}\224", parms=0x2ff22988,
    current=0x2ff22938,
    curr_parent=0x2ff2293c, conftree=0x20000fa4) at config.c:939
    #7 0x1000c818 in ap_build_config (parms=0x2ff22988, p=0x200285c0,
    temp_pool=0x200661e0, conftree=0x20000fa4) at config.c:1146
    #8 0x1000d3cc in ap_process_resource_config (s=0x2002ed80,
    fname=0x20069600 "/usr/local/apache2/conf/httpd.conf",
    conftree=0x20000fa4,
    p=0x200285c0, ptemp=0x200661e0) at config.c:1527
    #9 0x1000de24 in ap_read_config (process=0x200b8214, ptemp=0x200661e0,
    filename=0x100686bc "conf/httpd.conf", conftree=0x20000fa4)
    at config.c:1805
    #10 0x10001024 in main (argc=1, argv=0x2ff22c50) at main.c:557
    #11 0x100001dc in __start ()

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1
  • Php-bugs at Nov 2, 2002 at 7:00 am
    ID: 19020
    Updated by: php-bugs@lists.php.net
    Reported By: eelco_dotinga@planet.nl
    -Status: Feedback
    +Status: No Feedback
    Bug Type: Apache2 related
    Operating System: AIX 4.3.3
    PHP Version: 4.2.2
    New Comment:

    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".


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

    [2002-10-17 17:54:32] iliaa@php.net

    Please try using this CVS snapshot:

    http://snaps.php.net/php4-latest.tar.gz

    For Windows:

    http://snaps.php.net/win32/php4-win32-latest.zip



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

    [2002-09-23 08:43:14] shark@hoflink.com

    I am having this same issue with solaris 2.7 and php version 4.2.3. It
    seems if I remove the line that calls the apache module . . . Apache
    starts up fine.

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

    [2002-08-22 11:45:13] eelco_dotinga@planet.nl

    I hope this tell's you enough

    # more php_version.h
    /* automatically generated by configure */
    /* edit configure.in to change version number */
    #define PHP_MAJOR_VERSION 4
    #define PHP_MINOR_VERSION 3
    #define PHP_RELEASE_VERSION 0
    #define PHP_EXTRA_VERSION "-dev"
    #define PHP_VERSION "4.3.0-dev"

    php4-200208211200

    apache info:

    ./httpd -l
    Compiled in modules:
    core.c
    mod_access.c
    mod_auth.c
    mod_include.c
    mod_log_config.c
    mod_env.c
    mod_setenvif.c
    prefork.c
    http_core.c
    mod_mime.c
    mod_status.c
    mod_autoindex.c
    mod_asis.c
    mod_cgi.c
    mod_negotiation.c
    mod_dir.c
    mod_imap.c
    mod_actions.c
    mod_userdir.c
    mod_alias.c
    mod_so.c
    # ./httpd -v
    Server version: Apache/2.0.40
    Server built: Aug 16 2002 16:40:35
    # ./httpd -V
    Server version: Apache/2.0.40
    Server built: Aug 16 2002 16:40:35
    Server's Module Magic Number: 20020628:0
    Architecture: 32-bit
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6
    -D APR_USE_PROC_PTHREAD_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D HTTPD_ROOT="/usr/local/apache2"
    -D SUEXEC_BIN="/usr/local/apache2/bin/suexec"
    -D DEFAULT_PIDLOG="logs/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_LOCKFILE="logs/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="conf/mime.types"
    -D SERVER_CONFIG_FILE="conf/httpd.conf"

    apcache configure line
    ./configure --enable-so --enable-cgi
    so I guess the mpm would be prefork

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

    [2002-08-22 11:20:11] rasmus@php.net

    You really should be using php4.3-dev (latest unstable snapshot) if you
    are going to be playing with Apache 2.0

    Also, which mpm are you using for Apache2?

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

    [2002-08-22 11:15:57] eelco_dotinga@planet.nl

    and the last bit

    (gdb) frame 4
    #4 0x1000b7e4 in invoke_cmd (cmd=0x200028a0, parms=0x2ff22988,
    mconfig=0x2ff208d8, args=0x2ff20968 "") at config.c:736
    736 config.c: No such file or directory.
    in config.c

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

    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
    http://bugs.php.net/19020

    --
    Edit this bug report at http://bugs.php.net/?id=19020&edit=1

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-bugs @
categoriesphp
postedAug 21, '02 at 2:10p
activeNov 2, '02 at 7:00a
posts20
users8
websitephp.net

People

Translate

site design / logo © 2022 Grokbase