Uploaded image for project: 'PHP Legacy Driver'
  1. PHP Legacy Driver
  2. PHP-715

Crash in PHP driver on Apache

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 1.3.7
    • Fix Version/s: 1.4.0beta1, 1.4.0
    • Component/s: pecl-mongo
    • Labels:
    • Environment:
      Ubuntu 12.04.2
      Apache 2.2.22
      PHP 5.3.10-1ubuntu3.5
    • # Replies:
      6
    • Last comment by Customer:
      true

      Description

      I'm seeing the following crash in version 1.3.4 of the Mongo PHP driver on Apache. I have not been able to determine a way to reproduce the crash reliably, but I've been seeing the same crash intermittently for weeks.

          • glibc detected *** /usr/sbin/apache2: free(): invalid pointer: 0x00007ff747607aff ***
            ======= Backtrace: =========
            /lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7ff74ce24b96]
            /usr/lib/php5/20090626/mongo.so(mongo_connection_authenticate+0x2ca)[0x7ff747607e4a]
            /usr/lib/php5/20090626/mongo.so(+0x337a6)[0x7ff7476087a6]
            /usr/lib/php5/20090626/mongo.so(mongo_get_read_write_connection+0x1dd)[0x7ff747608cdd]
            /usr/lib/php5/20090626/mongo.so(php_mongo_connect+0x25)[0x7ff7475e7c15]
            /usr/lib/php5/20090626/mongo.so(php_mongo_ctor+0x31b)[0x7ff7475e82cb]
            /usr/lib/apache2/modules/libphp5.so(+0x39889d)[0x7ff74a02189d]
            /usr/lib/apache2/modules/libphp5.so(execute+0x1fb)[0x7ff749fd240b]
            /usr/lib/apache2/modules/libphp5.so(zend_execute_scripts+0x130)[0x7ff749fad970]
            /usr/lib/apache2/modules/libphp5.so(php_execute_script+0x1d3)[0x7ff749f59fe3]
            /usr/lib/apache2/modules/libphp5.so(+0x3b3e7d)[0x7ff74a03ce7d]
            /usr/sbin/apache2(ap_run_handler+0x48)[0x7ff74dc81508]
            /usr/sbin/apache2(ap_invoke_handler+0xce)[0x7ff74dc8197e]
            /usr/sbin/apache2(ap_process_request+0x1a0)[0x7ff74dc91570]
            /usr/sbin/apache2(+0x4e398)[0x7ff74dc8e398]
            /usr/sbin/apache2(ap_run_process_connection+0x48)[0x7ff74dc87fa8]
            /usr/sbin/apache2(+0x561d0)[0x7ff74dc961d0]
            /usr/sbin/apache2(+0x5693a)[0x7ff74dc9693a]
            /usr/sbin/apache2(ap_mpm_run+0x9f7)[0x7ff74dc974e7]
            /usr/sbin/apache2(main+0xc84)[0x7ff74dc6c4a4]
            /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7ff74cdc776d]
            /usr/sbin/apache2(+0x2c559)[0x7ff74dc6c559]

        Attachments

          Activity

            People

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            fuzz191 Will Johnson
            Participants:
            Last commenter:
            Alexander Golin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              7 years, 28 weeks, 6 days ago
              Date of 1st Reply: