keruilin
keruilin

Reputation: 17502

"Maybe IRB bug!"

What exactly does this mean -- "Maybe IRB bug!"? What does that tell me about the potential root cause of an exception?

enter image description here

Note that the text "Maybe IRB bug!!" was printed after the stack trace as part of the exception output.

Upvotes: 2

Views: 1668

Answers (1)

Holger Just
Holger Just

Reputation: 55718

This message means that IRB detected the cause of the stack trace being inside IRB's own code, not in the code you entered to be executed. And depending on what you did before that, it is thus likely that you triggered a bug in IRB.

A stack trace or segfault of a tool itself (as opposed to an error in user-code) is considered a bug almost all of the time. A tool should never die on user data, but always fail gracefully and with meaningful error messages. The one you see here is an attempt for one of those :)

Upvotes: 3

Related Questions