preg_matchが動作しない

正規表現によるマッチングを行うpreg_matchが動作しません...原因不明です(泣)
PHP: preg_match - Manual

<?php
$subject = "abcdef";
$pattern = '/^def/';
preg_match($pattern, substr($subject,3), $matches);
print_r($matches);
?>

と書いて実行すると、

PHP Warning: preg_match: internal pcre_fullinfo() error -3

と警告が出ます。マッチングも行われないので、分岐処理にpreg_matchを使っている箇所が全部ダメです。

PHPのバグなんですかねぇ...

# php -v
PHP 5.0.5 (cli) (built: Dec 26 2007 21:03:18)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies