Results 1 to 4 of 4

Thread: PHP segmentation faults

  1. #1
    Join Date
    Mar 2007
    Location
    North Yorkshire
    Beans
    34
    Distro
    Ubuntu 10.10 Maverick Meerkat

    PHP segmentation faults

    I'm developing a PHP system and currently trying to transfer my work to a machine running Ubuntu 6.10. Things are pretty much at a halt because of this problem.

    In certain configurations of the code (the ones that include the features needed) there is no output to the browser, and PHP appears to have failed. There is a record in the Apache error log along the lines of :

    [Tue Apr 10 09:41:54 2007] [notice] child pid 9056 exit signal Segmentation fault (11)

    The error can be tracked down, but since it occurs between the last line of a method and the line following the method call, there is nothing I can do about it. I've tried a variety of ways to implement the feature (error logging) none of which seem able to evade the problem. I have no idea what causes it.

    Other frustrating features of the problem are that the code can be run in debug mode in Zend Studio without any fault occurring, and the code can also be installed in a remote site and will run correctly. But without local testing, development is drastically slowed down.

    Any suggestions?

  2. #2
    Join Date
    Apr 2007
    Location
    Colorado, USA
    Beans
    15
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: PHP segmentation faults

    Just curious,

    At what point is PHP crashing? during startup? while running a script?
    Last edited by 1tiger1; April 18th, 2007 at 09:28 PM. Reason: to correct spelling error

  3. #3
    Join Date
    Mar 2007
    Location
    North Yorkshire
    Beans
    34
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: PHP segmentation faults

    During the running of a script (or, rather, an extensive set of scripts running to thousands of lines). But so far as source level debugging goes, the fault occurs between one statement and the next.

  4. #4
    Join Date
    Apr 2007
    Location
    Colorado, USA
    Beans
    15
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: PHP segmentation faults

    Quote Originally Posted by counterpoint View Post
    During the running of a script (or, rather, an extensive set of scripts running to thousands of lines). But so far as source level debugging goes, the fault occurs between one statement and the next.
    That means it would be rather difficult then to figure out which line is the problem child. PHP segmentation faults (in my experience) typically stem from a module installed incorrectly or a corrupted library accessed by a specific function. By chance is there any way to isolate the function that may be running?

Bookmarks

Posting Permissions

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