Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184439 - dev-php5/eaccelerator-0.9.5.1 - Exceptions not caught (catched)
Summary: dev-php5/eaccelerator-0.9.5.1 - Exceptions not caught (catched)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: PHP Bugs
URL: http://www.eaccelerator.net/ticket/242
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-06 19:00 UTC by Tim Strong
Modified: 2007-08-20 21:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
eaccelerator-0.9.5.1-r1.ebuild (eaccelerator-0.9.5.1-r1.ebuild,3.34 KB, text/plain)
2007-08-20 15:01 UTC, Matthew Schultz
Details
optimize.c_242.patch (optimize.c_242.patch,435 bytes, patch)
2007-08-20 15:01 UTC, Matthew Schultz
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Strong 2007-07-06 19:00:38 UTC
There is a bug upstream with dev-php5/eaccelerator that causes a "fatal error" in php5 when attempting to catch exceptions.  See the URL for specifics.  I'm posting this here because the error only occurs when the Optimizer is turned on.  By default, the Gentoo ebuild for this package turns the Optimizer on.  Turning the Optimizer off avoids the bug and only slightly hinders performance.  The ebuild should set 'eaccelerator.optimizer "0"' by default.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-10 17:50:30 UTC
Changing the defaults won't fix anything, just hide the issue, not a valid solution and anyone will still hit this when they enable the option. Please get this sorted upstream and poke us when they've done something about it.
Comment 2 Matthew Schultz 2007-08-20 15:01:17 UTC
Created attachment 128691 [details]
eaccelerator-0.9.5.1-r1.ebuild

Added patch to ebuild to fix the exceptions problem.  0.9.5.2 exists but is testing so this should fix the problem in the interim.
Comment 3 Matthew Schultz 2007-08-20 15:01:58 UTC
Created attachment 128692 [details, diff]
optimize.c_242.patch

eaccelerator-0.9.5.1-r1.ebuild patch to fix exceptions problem.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-08-20 15:03:59 UTC
Well, as long as it's fixed in 0.9.5.2, we are fine with bumping it but I can't see the release anywhere?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-08-20 15:20:00 UTC
Anyway, added this to PHP overlay [1], will be merged to the official tree soon.

[1] http://overlays.gentoo.org/proj/php/browser/portage/dev-php5/eaccelerator
Comment 6 Anton 2007-08-20 19:39:57 UTC
please merge, fixes issue perfectly on x86
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-08-20 21:04:46 UTC
(In reply to comment #6)
> please merge, fixes issue perfectly on x86

Done; thanks for testing.