Topic on Project:Support desk

Mediawiki makes Apache2 Seg-fault

5
Zapane (talkcontribs)

I just migrated my wiki to a brand new install on ubuntu20 with

MediaWiki1.31.7

PHP7.4.3 (apache2handler)

MariaDB10.3.22-MariaDB-1ubuntu1

Everything seemed to work fine except for one thing:

If I click on a diff-link in the version history of any page, i get a "zero-sized-reply" in the browser and in the apache2 error.log i get a line like this:

[Tue Jul 07 16:48:52.619894 2020] [core:notice] [pid 1345] AH00051: child pid 274938 exit signal Segmentation fault (11), possible coredump in /etc/apache2

(there is no core-dump in /etc/apache2)


Any ideas?

Malyacko (talkcontribs)

@Zapane Ask in an Apache forum how to get a stacktrace/coredump of the Apache segfault, as this is not a MediaWiki problem.

Bawolff (talkcontribs)

the segfault will probably be in php not apache.

most likely you have no core dump because apache does not have permission to write to /etc/apache.

There is not much we can do about this. If you could minimize the reproduction case that would be helpful.

Zapane (talkcontribs)

We could rectify the problem by installing 1.34.2 from mediawiki/latest/stable.

Seems like the ubuntu/debian package is broken, I don't know why ubuntu has such an old version in their current lts repository.

206.223.175.102 (talkcontribs)

I think this is related to the 'patrolled' functionality for me.

Reply to "Mediawiki makes Apache2 Seg-fault"