bugzilla-daemon | 1 Jul 2012 03:16
Picon

[Bug 38095] New: Error handling information reduced: "Fatal exception of type MWException"

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

       Web browser: ---
             Bug #: 38095
           Summary: Error handling information reduced: "Fatal exception
                    of type MWException"
           Product: Wikimedia
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: platformeng
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: wikibugs-l <at> lists.wikimedia.org
        ReportedBy: sam <at> reedyboy.net
            Blocks: 37131, 37978, 38035
    Classification: Unclassified
   Mobile Platform: ---

Logging this against WMF, as I'm not sure if it's a config change, or more
likely something in MW

Per Bawolff:

(In reply to comment #2)
> /me wonders what happened to the pretty stack traces?

We're getting differences in error handling for some (unknown) reason. It needs
(Continue reading)

bugzilla-daemon | 1 Jul 2012 03:17
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException"

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Sam Reed (reedy) <sam <at> reedyboy.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|Unprioritized               |High

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 1 Jul 2012 03:37
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Sam Reed (reedy) <sam <at> reedyboy.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Error handling information  |Error handling information
                   |reduced: "Fatal exception   |reduced: "Fatal exception
                   |of type MWException"        |of type MWException" is
                   |                            |somewhat useless

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 3 Jul 2012 02:57
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Bawolff <bawolff+wn <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bawolff+wn <at> gmail.com

--- Comment #1 from Bawolff <bawolff+wn <at> gmail.com> 2012-07-03 00:57:47 UTC ---
HTML comment seems to indicate it was a config change. It says:

Set $wgShowExceptionDetails = true; at the bottom of LocalSettings.php to show
detailed debugging information.

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 24 Aug 2012 10:22
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

mybugs.mail <at> gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |39336

Nemo_bis <federicoleva <at> tiscali.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |37364

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 24 Aug 2012 10:30
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Nemo_bis <federicoleva <at> tiscali.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |federicoleva <at> tiscali.it
             Blocks|                            |24675, 38600, 36739, 38566

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 21 Oct 2012 17:48
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Sam Reed (reedy) <sam <at> reedyboy.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |41258

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 24 Oct 2012 20:48
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Bartosz Dziewoński <matma.rex <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matma.rex <at> gmail.com
           Severity|normal                      |major

--- Comment #2 from Bartosz Dziewoński <matma.rex <at> gmail.com> 2012-10-24 18:48:21 UTC ---
Boldly bumping to major. This seriously hinders debugging of ContentHandler
stuff right now.

Is this as simple as a one-line config change?

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
bugzilla-daemon | 24 Oct 2012 20:50
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Roan Kattouw <roan.kattouw <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roan.kattouw <at> gmail.com

--- Comment #3 from Roan Kattouw <roan.kattouw <at> gmail.com> 2012-10-24 18:50:43 UTC ---
(In reply to comment #0)
> Logged 3 bugs as blocked by this issue due to the naff error information -
> "Fatal exception of type MWException"
Do the error messages contain an ID string that looks like [2f5ca212] ? If so,
you can ask a sysadmin to look up the exception message and backtrace in the
logs.

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 24 Oct 2012 20:52
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

--- Comment #4 from Sam Reed (reedy) <sam <at> reedyboy.net> 2012-10-24 18:52:38 UTC ---
(In reply to comment #3)
> (In reply to comment #0)
> > Logged 3 bugs as blocked by this issue due to the naff error information -
> > "Fatal exception of type MWException"
> Do the error messages contain an ID string that looks like [2f5ca212] ? If so,
> you can ask a sysadmin to look up the exception message and backtrace in the
> logs.

Yes http://i50.tinypic.com/1zfk1va.png

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 20 Nov 2012 11:00
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

--- Comment #5 from Mormegil <mormegil <at> centrum.cz> 2012-11-20 10:00:07 UTC ---
This change was committed to Gerrit in
Ieace3cd6d57b56559555ae0f1e6ec130e5d25c85 (“Updated config files per current
usage”), changing
 'default' => true, // fixme: log things instead
to
 'default' => false,

Was this really neccessary? Are the exception details somehow sensitive
(showing private information or something)? Or is it just about
user-friendliness (well, a fatal exception is hardly user-friendly)? Couldn’t
we just hide the exception details under a “click for technical details”, or
even into an HTML comment?

You know, on a public _wiki_ running on open-source software, I might want to
diagnose the problem a bit myself, rather than just posting a hexnumber to
Bugzilla and waiting for someone with shell access to look it up in the server
logs…

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
(Continue reading)

bugzilla-daemon | 20 Nov 2012 17:05
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

--- Comment #6 from Bawolff <bawolff+wn <at> gmail.com> 2012-11-20 16:05:25 UTC ---
(In reply to comment #5)
> This change was committed to Gerrit in
> Ieace3cd6d57b56559555ae0f1e6ec130e5d25c85 (“Updated config files per current
> usage”), changing
>  'default' => true, // fixme: log things instead
> to
>  'default' => false,
> 
> Was this really neccessary? Are the exception details somehow sensitive
> (showing private information or something)? Or is it just about
> user-friendliness (well, a fatal exception is hardly user-friendly)? Couldn’t
> we just hide the exception details under a “click for technical details”, or
> even into an HTML comment?
> 
> You know, on a public _wiki_ running on open-source software, I might want to
> diagnose the problem a bit myself, rather than just posting a hexnumber to
> Bugzilla and waiting for someone with shell access to look it up in the server
> logs…

+5 billion. Getting the info from a sysadmin in some cases is more work then
fixing the issue. Its also important to have this info to triage bugs.

>Are the exception details somehow sensitive
> (showing private information or something)?

There was. My understanding is that issue has been fixed. (Exceptions in
password related code was showing passwords)
(Continue reading)

bugzilla-daemon | 20 Nov 2012 17:10
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

--- Comment #7 from Liangent <liangent <at> gmail.com> 2012-11-20 16:10:23 UTC ---
(In reply to comment #6)
> +5 billion. Getting the info from a sysadmin in some cases is more work then
> fixing the issue. Its also important to have this info to triage bugs.

The only useful case may be when a developer without op access can see the
backtrace the bug may be fixed immediately.

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 20 Nov 2012 17:15
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

--- Comment #8 from Bawolff <bawolff+wn <at> gmail.com> 2012-11-20 16:15:22 UTC ---
(In reply to comment #7)
> (In reply to comment #6)
> > +5 billion. Getting the info from a sysadmin in some cases is more work then
> > fixing the issue. Its also important to have this info to triage bugs.
> 
> The only useful case may be when a developer without op access can see the
> backtrace the bug may be fixed immediately.

Well that's a main one for sure (And the one that most directly applies to me).
However there's other. User's can figure out if their issue is already filed or
not based on the error message received. Sometimes the report with just the hex
number lingers too long to make it easy to retrieve (Example: bug 39336 comment
4)

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 20 Nov 2012 17:18
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Brad Jorsch <bjorsch <at> wikimedia.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bjorsch <at> wikimedia.org

--- Comment #9 from Brad Jorsch <bjorsch <at> wikimedia.org> 2012-11-20 16:18:41 UTC ---
(In reply to comment #5)
> Was this really neccessary? Are the exception details somehow sensitive
> (showing private information or something)?

They can, yes. See for example bug 7096. The documentation for
$wgShowExceptionDetails ([[mw:Manual:$wgShowExceptionDetails]]) also mentions
this.

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
bugzilla-daemon | 20 Nov 2012 17:22
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

--- Comment #10 from Nemo <federicoleva <at> tiscali.it> 2012-11-20 16:22:20 UTC ---
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > +5 billion. Getting the info from a sysadmin in some cases is more work then
> > > fixing the issue. Its also important to have this info to triage bugs.
> > 
> > The only useful case may be when a developer without op access can see the
> > backtrace the bug may be fixed immediately.
> 
> Well that's a main one for sure (And the one that most directly applies to me).
> However there's other. User's can figure out if their issue is already filed or
> not based on the error message received. Sometimes the report with just the hex
> number lingers too long to make it easy to retrieve (Example: bug 39336 comment
> 4)

Does this really still need to be proved? It's quite obvious that the error
messages without error messages and just with codes are useless; it's only
slightly better than not showing any error and just relying on the sysadmins to
carefully skim the logs, or on the users to provide precise timestamps (which
is by the way what most websites do, and they're all broken or – I guess – they
have much more people reading the logs).

--

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
(Continue reading)

bugzilla-daemon | 12 Jan 2013 13:29
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Max Semenik <maxsem.wiki <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |maxsem.wiki <at> gmail.com
         Resolution|---                         |WONTFIX

--- Comment #11 from Max Semenik <maxsem.wiki <at> gmail.com> ---
With all due respect, I've just seen MySQL credentials in exception backtrace.
While this problem can be alleviated by setting $wgShowDBErrorBacktrace to
false, it will not help for non-DBError exceptions that might still contain DB
initialization in their backtraces.

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
bugzilla-daemon | 12 Jan 2013 13:41
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Bartosz Dziewoński <matma.rex <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|38566                       |

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
bugzilla-daemon | 12 Jan 2013 17:15
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

MZMcBride <b <at> mzmcbride.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b <at> mzmcbride.com

--

-- 
You are receiving this mail because:
You are watching all bug changes.
bugzilla-daemon | 29 Jan 2013 18:23
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Philosopher <wiki.philosopher <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wiki.philosopher <at> gmail.com

--- Comment #12 from Philosopher <wiki.philosopher <at> gmail.com> ---
With regards to Nemo's point, the current message is completely useless.  If
there's something sensitive in it, it makes sense not to display what caused
it.  But at least include a "you can report this error at xxx" notice!

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
bugzilla-daemon | 29 Jan 2013 18:42
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

--- Comment #13 from Nemo <federicoleva <at> tiscali.it> ---
(In reply to comment #12)
> With regards to Nemo's point, the current message is completely useless.  If
> there's something sensitive in it, it makes sense not to display what caused
> it.  But at least include a "you can report this error at xxx" notice!

Hmm. This could be done, perhaps. You could file a bug against MediaWiki
extensions>WikimediaMessages, maybe an override for the default message can be
added, with a link to [[mw:How to report a bug]].
A few days ago I added pointers for people searching "Fatal exception of type
MWException" on Meta and mw.o.

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
bugzilla-daemon | 29 Jan 2013 19:07
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

--- Comment #14 from Bawolff (Brian Wolff) <bawolff+wn <at> gmail.com> ---
As a compromise could we include:
*The exception description (aka "foo" part of throw new MWException( 'foo' ) )
*A backtrace without the arguments included (just function names).

I can't imagine there would be sensitive information in that.

(In reply to comment #12)
> With regards to Nemo's point, the current message is completely useless.  If
> there's something sensitive in it, it makes sense not to display what caused
> it.  But at least include a "you can report this error at xxx" notice!

[offtopic] I also miss the "Please enable $wgShowExceptionDetails" part being
actual text instead of an html comment. There's a lot more errors from third
parties not sure what to do about the error then there used to be. It'd be nice
if  (not on wikimedia) that was back to not being a comment.

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
bugzilla-daemon | 29 Jan 2013 22:30
Picon

[Bug 38095] Error handling information reduced: "Fatal exception of type MWException" is somewhat useless

https://bugzilla.wikimedia.org/show_bug.cgi?id=38095

Krenair <krenair <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |krenair <at> gmail.com

--

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l <at> lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Gmane