|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-11-21 10:06 UTC] tony at daylessday dot org
[2007-11-21 15:02 UTC] mikael at synd dot info
[2007-11-22 14:35 UTC] basilio dot vera at softonic dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Dec 22 13:00:01 2025 UTC |
Description: ------------ PHP Version: 5.2.4 Memcache package Version: All Apache Version: All I get one Segmentation fault when throwing one exception from the defined as callback function on the addServer method of the Memcache class. Reproduce code: --------------- $m = new Memcache(); $m->addServer( 'serverhost', 11211, false, 1, 1, -1, true, 'MyError' ); function MyError( $host, $port ) { throw new Exception( "Memcache error on $host:$port" ); } echo "A: " . $m->get( 'a' ); Expected result: ---------------- Uncatched exception ... "Memcache error on serverhost:11211" Actual result: -------------- Blank page and... [Wed Nov 21 15:07:22 2007] [notice] child pid 5009 exit signal Segmentation fault (11)