Results 1 to 4 of 4

Thread: Sugar causing segfaults

  1. #1
    awestholm is offline Junior Member
    Join Date
    Jan 2006
    Posts
    2

    Default Sugar causing segfaults

    All,

    I have a fresh install of Sugar Suite v3.5.1 which is causing segfaults under Apache 2.0.54, with PHP 5.1.1

    The situation is occurring all over the application, but I have specifically traced it in one instance (drilling down on a created Lead from the last viewed bar). I've walked through index.php with die() statements, and traced it to modules/Leads/DetailView.php. From there, I've stepped through (with die()) and seen behavior as expected, 'til line 175 (on mine), which calls ob_end_clean. If I call die immediately before the ob_ call, I see the expected output with lead details... I hate PHP with a passion, so I'm certainly not as familiar as many of you... what could be causing this? I've tried turning output_buffering on and off in php.ini, but no difference. In the apache logs, everytime a script which is affected is called, I see a line similar to: "child pid 17252 exit signal Segmentation fault (11)", which doesn't seem to isolate the problem very much. Thanks in advance,

    -- Alex

  2. #2
    julian's Avatar
    julian is offline Sugar Team Member
    Join Date
    Sep 2004
    Posts
    1,639

    Default Re: Sugar causing segfaults

    Hello Alex,

    I believe this is a problem with the particular versions of Sugar and PHP you're using. Try upgrading to the latest Sugar version, 4.0, and check the forums for other posts related to segfaults. I know PHP 4.3.11 is a safe version to use, but there are many others as well (including most in the PHP5.x branch). The other threads should provide you with more information.

    Thanks,
    Julian Ostrow
    Systems and Applications Engineer
    SugarCRM Inc.

  3. #3
    Superman's Avatar
    Superman is offline Sugar Community Member
    Join Date
    Oct 2005
    Location
    Kazakhstan
    Posts
    852

    Lightbulb Re: Sugar causing segfaults

    You know, here was a thread for this question. BUT it seems someone has deleted it, because this thread was created by me, and i can't find it through the search!

    In that thread we found following suggestions:
    1. enable the register_long_arrays setting from php.ini.
    2. update your server software

    Both suggestions solved the problem!

  4. #4
    awestholm is offline Junior Member
    Join Date
    Jan 2006
    Posts
    2

    Default Re: Sugar causing segfaults

    Thanks for your help. Upgrading to 4.0 fixed the issue.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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
  •