Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#5228 closed defect (bug) (invalid)

500 Error on Install or Upgrade of 2.3 on FreeBSD

Reported by: kentwa's profile KentWA Owned by:
Milestone: Priority: high
Severity: critical Version: 2.3
Component: General Keywords: 500 FreeBSD Server error
Focuses: Cc:

Description

A 500 Error is generated whenever attempting to run install.php when installing or upgrade.php when upgrading on a FreeBSD server. I have attempted this on 4 different servers with different hosting companies. Configuration of main server is Running on FreeBSD 6.1 and PHP 5.2.2 with the Suhosin Patch in a shared server enviroment. I have raised the available PHP max memory to as high as 64MB.

The upgrades were done from a fresh install of plain vanilla 2.2.3 installs. The clean installs were done on new domains that were created specificly for Wordpress and had not been setup prior to installation.

Server log file reports:
ALERT - canary mismatch on efree() - heap overflow detected (attacker '67.160.110.95', file '/hsphere/local/home/kentogle/kentogletree.com/wp-includes/taxonomy.php', line 11)

There are several Support Board threads covering people with the same problem, one I started is:
http://wordpress.org/support/topic/136259?replies=11

Kent

Change History (2)

#1 @foolswisdom
17 years ago

  • Severity changed from normal to critical

#2 @westi
17 years ago

  • Milestone 2.3.1 deleted
  • Resolution set to invalid
  • Status changed from new to closed

This is not a WordPress bug.

That error message is generated by Suhosin when it detects incorrect memory management in the PHP Engine itself.

The code in question on line 11 of wp-includes/taxonomy.php is:

$wp_taxonomies['category'] = (object) array('name' => 'category', 'object_type' => 'post', 'hierarchical' => true, 'update_count_callback' => '_update_post_term_count');
}}]

See here for more info on this type of issue:
http://forum.hardened-php.net/viewtopic.php?id=230
Note: See TracTickets for help on using tickets.