Last modified: 2012-05-01 12:04:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38376, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36376 - Empty wiki page y (with image z) after reuploading a new image z (file DatabaseError.php was not autloaded)
Empty wiki page y (with image z) after reuploading a new image z (file Databa...
Status: RESOLVED WONTFIX
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.20.x
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-01 11:51 UTC by T. Gries
Modified: 2012-05-01 12:04 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description T. Gries 2012-05-01 11:51:12 UTC
core: https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;h=801ede3a9b209b9203a05c03edbea81e0d1b4e7d

Hi, my wiki showed a glitch, which may be difficult to reproduce and which may be repaired in the meantime. However, I report it now as I have the log data for you.

1. I uploaded as A a new version of an image user-z-photo.jpg
2. I did Ctrl+F5 to clear browser cache and can confirm that the new image was uploaded and rendered correctly on the [[Image:User-z-photo.jpg]] description page.

4  I clicked onto a link to the uploader user page [[User:Z]] on the [[Image:User-z-page.jpg]] page (in the file history list). [[User:Z]] page has a link so that it shows the image, but 

5. in my case, the first request failed and an empty page was shown
6. Ctrl + F5 and some navigation helped.

Here is the error_log, (is it an autoload problem of dependencies ??)

PHP Fatal error:  require(): Failed opening required '/phase3/includes/db/DatabaseError.php' (include_path='/phase3/extensions/OpenID:.:/usr/share/php') in /phase3/includes/AutoLoader.php on line 1031, referer: /index.php/Galerie
Comment 1 T. Gries 2012-05-01 12:04:52 UTC
correction:

from the "referer" I see that I was visiting another page than indicated in step 2. However, no matter which page I actually visited, the message is that the error log shows evidence of a failure or flaw while trying to load DatabaseError.php .

Next question would be: what's the reason for the db error ?

Luckily enough, I had db-logging switched on, 

Here's the complete information, and it looks (simply) to be an out-of-memory problem.

- wiki db-error log shows;

13:28:57 Error connecting to localhost: Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug (localhost)

- error_log

13:28:46 [error] (12)Cannot allocate memory: fork: Unable to fork new process
13:28:46 [emerg] (12)Cannot allocate memory: Couldn't create pollset in child; check system or user limits
13:28:57 [error] [client] PHP Warning:  require(/includes/db/DatabaseError.php): failed to open stream: Cannot allocate memory in /phase3/includes/AutoLoader.php on line 1031, referer: /index.php/Galerie
13:28:57 [error] [clien] PHP Fatal error:  require(): Failed opening required '/includes/db/DatabaseError.php' (include_path='/phase3/extensions/OpenID:.:/usr/share/php') in /includes/AutoLoader.php on line 1031, referer: /index.php/Galerie

As it looks (simply) to be an out-of-memory problem, I'll close this bug now.
"You have been informed."

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links