#40479 [NEW]: zend_mm_heap corrupted

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

  1. #1

    Default #40479 [NEW]: zend_mm_heap corrupted

    From: rrossi at maggioli dot it
    Operating system: Suse Linux 9.0
    PHP version: 5.2.1
    PHP Bug Type: Reproducible crash
    Bug description: zend_mm_heap corrupted

    Description:
    ------------
    Instead of printing the desired string, PHP breaks and gives me the
    message in the summary (found in the apache log)

    No problems with 5.2.0

    my config.nice

    './configure' \
    '--with-apxs' \
    '--with-mysql=/usr/local/mysql' \
    '--with-bz2' \
    '--with-mcrypt' \
    '--with-pgsql' \
    '--without-pear' \
    "$@"
    Apache 1.3.37

    Reproduce code:
    ---------------
    header('Content-type: text/xml');
    $xmlOut = "<?xml version='1.0' encoding='iso-8859-1'?>"
    . "<ajax-response>";
    $xmlOut .=
    "<fragment><id>approfondimenti</id><content><![CDATA[$stApprofondimenti]]></content></fragment>"
    ..

    "<fragment><id>inevidenza</id><content><![CDATA[$stInevidenza]]></content></fragment>"
    ..

    "<fragment><id>normativa</id><content><![CDATA[$stNormativa]]></content></fragment>"
    ..

    "<fragment><id>giurisprudenza</id><content><![CDATA[$stGiurisprudenza]]></content></fragment>"
    ..

    "<fragment><id>progress</id><content><![CDATA[$stNewsMenu]]></content></fragment>"
    ..
    "<num_news>$numNews</num_news>";
    $xmlOut .= "</ajax-response>";
    die($xmlOut);


    Expected result:
    ----------------
    An xml stream.

    Actual result:
    --------------
    No response from server.

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

  2. Similar Questions and Discussions

    1. #40632 [NEW]: setcookie() with huge lifetime causes segfault or "zend_mm_heap corrupted"
      From: phpbugs at thequod dot de Operating system: Ubuntu Linux PHP version: 5CVS-2007-02-25 (CVS) PHP Bug Type: Reproducible...
    2. #40466 [NEW]: zend_mm_heap corruption
      From: stojmir at on dot net dot mk Operating system: Linux 2.6.9 PHP version: 5.2.1 PHP Bug Type: Reproducible crash Bug...
    3. #40449 [NEW]: libTidy Rel. 2007-01-23 produces "zend_mm_heap corrupted"
      From: dg at artegic dot de Operating system: SunsOS 5.9 PHP version: 5.2.1 PHP Bug Type: Reproducible crash Bug description:...
    4. WHY index can corrupted???
      Hi all, OS : Sun Solaris 2.7 IDS : 7.31.UD5 Recently my database engine was crashed due to the index corruption. The engine was back up after...
    5. corrupted png?
      Argh! I've used FW for years and have never had this problem! All of a sudden this evening, FW started rebooting my computer. I've done all the...
  3. #2

    Default #40479 [Opn->Fbk]: zend_mm_heap corrupted

    ID: 40479
    Updated by: [email]tony2001@php.net[/email]
    Reported By: rrossi at maggioli dot it
    -Status: Open
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: Suse Linux 9.0
    PHP Version: 5.2.1
    New Comment:

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]




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

    [2007-02-14 11:21:55] rrossi at maggioli dot it

    Description:
    ------------
    Instead of printing the desired string, PHP breaks and gives me the
    message in the summary (found in the apache log)

    No problems with 5.2.0

    my config.nice

    './configure' \
    '--with-apxs' \
    '--with-mysql=/usr/local/mysql' \
    '--with-bz2' \
    '--with-mcrypt' \
    '--with-pgsql' \
    '--without-pear' \
    "$@"
    Apache 1.3.37

    Reproduce code:
    ---------------
    header('Content-type: text/xml');
    $xmlOut = "<?xml version='1.0' encoding='iso-8859-1'?>"
    . "<ajax-response>";
    $xmlOut .=
    "<fragment><id>approfondimenti</id><content><![CDATA[$stApprofondimenti]]></content></fragment>"
    ..

    "<fragment><id>inevidenza</id><content><![CDATA[$stInevidenza]]></content></fragment>"
    ..

    "<fragment><id>normativa</id><content><![CDATA[$stNormativa]]></content></fragment>"
    ..

    "<fragment><id>giurisprudenza</id><content><![CDATA[$stGiurisprudenza]]></content></fragment>"
    ..

    "<fragment><id>progress</id><content><![CDATA[$stNewsMenu]]></content></fragment>"
    ..
    "<num_news>$numNews</num_news>";
    $xmlOut .= "</ajax-response>";
    die($xmlOut);


    Expected result:
    ----------------
    An xml stream.

    Actual result:
    --------------
    No response from server.


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


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

  4. #3

    Default #40479 [Com]: zend_mm_heap corrupted

    ID: 40479
    Comment by: tlongren at gmail dot com
    Reported By: rrossi at maggioli dot it
    Status: No Feedback
    Bug Type: Reproducible crash
    Operating System: Suse Linux 9.0
    PHP Version: 5.2.1
    New Comment:

    I've tried the latest CVS snapshot and this problem still occurs there.


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

    [2007-02-22 01:00:01] php-bugs at lists dot php dot net

    No feedback was provided for this bug for over a week, 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".

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

    [2007-02-14 11:44:26] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]



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

    [2007-02-14 11:21:55] rrossi at maggioli dot it

    Description:
    ------------
    Instead of printing the desired string, PHP breaks and gives me the
    message in the summary (found in the apache log)

    No problems with 5.2.0

    my config.nice

    './configure' \
    '--with-apxs' \
    '--with-mysql=/usr/local/mysql' \
    '--with-bz2' \
    '--with-mcrypt' \
    '--with-pgsql' \
    '--without-pear' \
    "$@"
    Apache 1.3.37

    Reproduce code:
    ---------------
    header('Content-type: text/xml');
    $xmlOut = "<?xml version='1.0' encoding='iso-8859-1'?>"
    . "<ajax-response>";
    $xmlOut .=
    "<fragment><id>approfondimenti</id><content><![CDATA[$stApprofondimenti]]></content></fragment>"
    ..

    "<fragment><id>inevidenza</id><content><![CDATA[$stInevidenza]]></content></fragment>"
    ..

    "<fragment><id>normativa</id><content><![CDATA[$stNormativa]]></content></fragment>"
    ..

    "<fragment><id>giurisprudenza</id><content><![CDATA[$stGiurisprudenza]]></content></fragment>"
    ..

    "<fragment><id>progress</id><content><![CDATA[$stNewsMenu]]></content></fragment>"
    ..
    "<num_news>$numNews</num_news>";
    $xmlOut .= "</ajax-response>";
    die($xmlOut);


    Expected result:
    ----------------
    An xml stream.

    Actual result:
    --------------
    No response from server.


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


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

  5. #4

    Default #40479 [NoF->Fbk]: zend_mm_heap corrupted

    ID: 40479
    Updated by: [email]tony2001@php.net[/email]
    Reported By: rrossi at maggioli dot it
    -Status: No Feedback
    +Status: Feedback
    Bug Type: Reproducible crash
    Operating System: Suse Linux 9.0
    PHP Version: 5.2.1
    New Comment:

    Thank you for this bug report. To properly diagnose the problem, we
    need a short but complete example script to be able to reproduce
    this bug ourselves.

    A proper reproducing script starts with <?php and ends with ?>,
    is max. 10-20 lines long and does not require any external
    resources such as databases, etc. If the script requires a
    database to demonstrate the issue, please make sure it creates
    all necessary tables, stored procedures etc.

    Please avoid embedding huge scripts into the report.




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

    [2007-02-26 22:10:47] tlongren at gmail dot com

    I've tried the latest CVS snapshot and this problem still occurs there.

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

    [2007-02-22 01:00:01] php-bugs at lists dot php dot net

    No feedback was provided for this bug for over a week, 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".

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

    [2007-02-14 11:44:26] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-latest.zip[/url]



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

    [2007-02-14 11:21:55] rrossi at maggioli dot it

    Description:
    ------------
    Instead of printing the desired string, PHP breaks and gives me the
    message in the summary (found in the apache log)

    No problems with 5.2.0

    my config.nice

    './configure' \
    '--with-apxs' \
    '--with-mysql=/usr/local/mysql' \
    '--with-bz2' \
    '--with-mcrypt' \
    '--with-pgsql' \
    '--without-pear' \
    "$@"
    Apache 1.3.37

    Reproduce code:
    ---------------
    header('Content-type: text/xml');
    $xmlOut = "<?xml version='1.0' encoding='iso-8859-1'?>"
    . "<ajax-response>";
    $xmlOut .=
    "<fragment><id>approfondimenti</id><content><![CDATA[$stApprofondimenti]]></content></fragment>"
    ..

    "<fragment><id>inevidenza</id><content><![CDATA[$stInevidenza]]></content></fragment>"
    ..

    "<fragment><id>normativa</id><content><![CDATA[$stNormativa]]></content></fragment>"
    ..

    "<fragment><id>giurisprudenza</id><content><![CDATA[$stGiurisprudenza]]></content></fragment>"
    ..

    "<fragment><id>progress</id><content><![CDATA[$stNewsMenu]]></content></fragment>"
    ..
    "<num_news>$numNews</num_news>";
    $xmlOut .= "</ajax-response>";
    die($xmlOut);


    Expected result:
    ----------------
    An xml stream.

    Actual result:
    --------------
    No response from server.


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


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

  6. #5

    Default #40479 [Com]: zend_mm_heap corrupted

    ID: 40479
    Comment by: noah at hd dot se
    Reported By: rrossi at maggioli dot it
    Status: No Feedback
    Bug Type: Reproducible crash
    Operating System: Suse Linux 9.0
    PHP Version: 5.2.1
    New Comment:

    Fwiw, I experienced the same error with the following code and the
    latest PHP.

    ....
    for($i = 0; $i < $foo; $i++) {
    ...
    for($i = 0; $i < $bar; $i++) {
    ...
    }
    ...
    }
    ....


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

    [2007-03-06 01:00:00] php-bugs at lists dot php dot net

    No feedback was provided for this bug for over a week, 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".

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

    [2007-02-26 22:14:48] [email]tony2001@php.net[/email]

    Thank you for this bug report. To properly diagnose the problem, we
    need a short but complete example script to be able to reproduce
    this bug ourselves.

    A proper reproducing script starts with <?php and ends with ?>,
    is max. 10-20 lines long and does not require any external
    resources such as databases, etc. If the script requires a
    database to demonstrate the issue, please make sure it creates
    all necessary tables, stored procedures etc.

    Please avoid embedding huge scripts into the report.



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

    [2007-02-26 22:10:47] tlongren at gmail dot com

    I've tried the latest CVS snapshot and this problem still occurs there.

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

    [2007-02-22 01:00:01] php-bugs at lists dot php dot net

    No feedback was provided for this bug for over a week, 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".

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

    [2007-02-14 11:44:26] [email]tony2001@php.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php5.2-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php5.2-win32-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/40479[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=40479&edit=1[/url]
    noah at hd dot se 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