Topic on Project:Support desk

Extension causes wiki to crash (with specific languages)

4
JacoboTheFurst3366 (talkcontribs)

I'm attaching a bug report that I reported it in phabricator Auth_remoteuser project. There I was told that I should perhaps post it here, as there it seemed that no calls from the extension appeared in the stack trace.

After installing MediaWiki 1.41.1 on a server (Vector skin, MySQL database, language: ES) and making sure installation works fine, I installed Auth_remoteuser (for release 1.41).

Then the wiki crashes. You can see top bar (with correct logged user) and left sidebar. But content area shows internal error (stack trace included later).

Removing the extension, installation works fine again. Instead of removing it, simply changing language to EN causes installation to work fine also. Returning to ES it crashes again.

Some languages tried: ES and FR crash. EN, IT, RU work fine.

All the tried languages work fine if the extension is removed.

For other details or stack trace: https://phabricator.wikimedia.org/T366986

Bawolff (talkcontribs)

I wasn't able to reproduce when i tried, but multiple people have reported this (most without any extensions). Is there anything else unique about your setup?


If you want to try stuff, does removing line 589 of extensions/Auth_Remoteuser/src/UserNameSessionProvider.php have any effect on the error message? (This isnt a fix, just an attempt to understand what is happening)

JacoboTheFurst3366 (talkcontribs)

Commenting the line you point out has no effect on the error message.

If there's anything unique I can think of, it could be that on installation there was no APCu installed, so I did it without caching. Anyway, I've just added caching, and it still crashes the same way.

JacoboTheFurst3366 (talkcontribs)

As I commented in phabricator task, I've just started all over again, but this time using the MediaWiki LTS version (1.39.7), and the problem is exactly the same.

Reply to "Extension causes wiki to crash (with specific languages)"