[Mediawiki-l] Update.php coredump 1.5->1.7.1

Jorgen Lundman lundman at lundman.net
Tue Jul 25 03:28:01 UTC 2006


Old machine:

FreeBSD 4.11-RELEASE-p11
mysql  Ver 13.5 Distrib 4.1.0-alpha
mediawiki-1.5-final

New machine:
SunOS 5.11
mysql  Ver 14.12 Distrib 5.0.22
mediakiki-1.7.1
PHP 5.1.4



Procedure:

# mysql -u root -p
create database wikidb;
# mysql -u root -p < wikimediadump.sql
grant create, select, insert, update, delete, lock tables on wikidb.* to 
wiki at localhost identified by 'password';

# cd mediawiki-1.7.1/
# cd maintenance/
# php ./update.php
MediaWiki 1.7.1 Updater

Going to run database updates for wikidb
Depending on the size of your database this may take a while!
Abort with control-c in the next five seconds...0
...hitcounter table already exists.
...querycache table already exists.
...objectcache table already exists.
...categorylinks table already exists.
...logging table already exists.
...user_newtalk table already exists.
Creating transcache table...ok
...trackbacks table already exists.
Creating externallinks table...ok
Creating job table...ok
Creating langlinks table...ok
Creating querycache_info table...ok
Creating filearchive table...ok
...have ipb_id field in ipblocks table.
...have ipb_expiry field in ipblocks table.
...have rc_type field in recentchanges table.
...have rc_ip field in recentchanges table.
...have rc_id field in recentchanges table.
...have rc_patrolled field in recentchanges table.
...have user_real_name field in user table.
...have user_token field in user table.
...have user_email_token field in user table.
Adding user_registration field to table user...ok
...have log_params field in logging table.
...have ar_rev_id field in archive table.
...have ar_text_id field in archive table.
...have page_len field in page table.
...have rev_deleted field in revision table.
...have img_width field in image table.
...have img_metadata field in image table.
...have img_media_type field in image table.
...have ss_total_pages field in site_stats table.
...have iw_trans field in interwiki table.
Adding ipb_range_start field to table ipblocks...ok
Adding ss_images field to table site_stats...ok
...already have interwiki table
Segmentation Fault (core dumped)

#0  0x082019ab in add_property_string_ex (arg=0x8a81af4, key=0x82c5251 "def",
     key_len=4, str=0x2 <Address 0x2 out of bounds>, duplicate=1)
     at /usr/local/src/php-5.1.4/Zend/zend_API.c:1320
1320            ZVAL_STRING(tmp, str, duplicate);

(ok so gdb on php core isn't the most useful thing)


Suggestions as to how to proceed?



-- 
Jorgen Lundman       | <lundman at lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)



More information about the MediaWiki-l mailing list