Opened 8 years ago

Closed 8 years ago

Last modified 2 years ago

#89 closed defect (fixed)

PHP does not catch exceptions when xcache.optimizer = On

Reported by: ipavlov@… Owned by: moo
Priority: major Milestone: 2.0.0
Component: cacher Version: 2.0.0
Keywords: Cc:
Application: PHP Version: 5.2.0-10
Other Exts: SAPI: FastCGI
Probability: Blocked By:
Blocking:

Description

I am running PHP 5.2.0-10 . When xcache.optimizer=On the following code does not catch the Exception. With optimizer=Off it does...

try {
	throw new Exception('sas');
} catch (Exception $uuu) {
	var_dump($uuu);
}

Change History (5)

comment:1 Changed 8 years ago by judas_iscariote

DO not use trunk in any production activity, it is not even ready for testing yet, use the 1.2 branch instead, the optimizer is specially new and is very likely to have many bugs like this.

comment:2 Changed 8 years ago by moo

  • Status changed from new to assigned

thanks, i'll check it out

comment:3 Changed 8 years ago by moo

btw, the optimizer in 2.0 currently is in the state that only preparation/framework and need to be fixed/improved. if it's strong/advanced enough, we can implement the detail of optimizer easily and cleanly

comment:4 Changed 8 years ago by moo

  • Milestone set to 2.0.0
  • Resolution set to fixed
  • Status changed from assigned to closed

fixed in [369]

comment:5 Changed 2 years ago by moo

  • Milestone changed from 2.2.0 to 2.0.0
  • pending set to 0
Note: See TracTickets for help on using tickets.