WordPress 3 bug

I don’t know very well about php and advanced wordpress technology. But new and clean install of wordpress 3 on my computer failed.
When I go to admin page I see error, that website didn’t respont. Apache returned zero byte answer… it was strange.
In Apache log there are lines like this:

[Fri Jul 16 21:53:27 2010] [error] [client x.x.x.x] ALERT - canary mismatch on efree() - heap overflow detected (attacker 'x.x.x.x',
file '/home/testing/public_html/wordpress/wp-admin/includes/template.php', line 3553), referer: http://blog.savel.org/

It is php crash.

So I commented 3553 line and everything is working fine… Now I can see dashboard, users, but I can not see links and other admin pages…

What this fucking line for?

$screen = (object) array('id' => $screen, 'base' => $screen);

My computer is running Linux Debian current stable version. No fancy configurations.
(Server version: Apache/2.2.9 (Debian), Server built: Apr 19 2010 19:57:58.
PHP 5.2.6-1+lenny8 with Suhosin-Patch 0.9.6.2 (cli) (built: Mar 14 2010 08:14:04)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies)

About Administrator

I am owner of this site.
This entry was posted in Anything. Bookmark the permalink.

One Response to WordPress 3 bug

  1. Yeap, I found what is the problem. As my server is very very stable, and it is running all the time on “update, dist-update” basis, some configuration files are from older versions. Simply my php.ini file is a bit older and wordpress increased size of RAM used by php for its scripts. After some investigation I replaced php.ini file with new default configuration. And now everything is working fine. Case closed.

Leave a Reply

Your email address will not be published. Required fields are marked *