Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 162424 Details for
Bug 234177
dev-lang/php-5.2* segfaults because of gcc-4.3* optimizer bug
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Zend/tests/bug31177.phpt
bug31177.phpt (text/plain), 558 bytes, created by
Christian Hoffmann (RETIRED)
on 2008-08-07 13:23:46 UTC
(
hide
)
Description:
Zend/tests/bug31177.phpt
Filename:
MIME Type:
Creator:
Christian Hoffmann (RETIRED)
Created:
2008-08-07 13:23:46 UTC
Size:
558 bytes
patch
obsolete
>--TEST-- >Bug #31177 (Memory leak) >--FILE-- ><?php >class DbGow { > > public function query() { > throw new Exception; > } > > public function select() { > return new DbGowRecordSet($this->query()); > } > > public function select2() { > new DbGowRecordSet($this->query()); > } > >} > >class DbGowRecordSet { > > public function __construct($resource) { > } > >} > >$db = new DbGow; > >try { > $rs = $db->select(); >} catch(Exception $e) { > echo "ok\n"; >} > >try { > $db->select2(); >} catch(Exception $e) { > echo "ok\n"; >} >?> >--EXPECT-- >ok >ok
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 234177
: 162424 |
189303