Should these questions have no answers? They represent real problems and seem exactly part of Stack Overflow's mission.
The Stack Exchange Q&A model can be very valuable for presenting info that can be equivalently gleaned from reading issue tickets: the value of writing concise questions that give exactly enough info to pin down the specific problem (which helps with searchability), and the value of summarizing the cause of the issue, known workarounds, and longer-term solutions in answer posts. This is- to my understanding- part of the goal of the Stack Overflow platform- so that you can get straight from problem to solution without having to scroll through and skim / read all the back-and-forth info-gathering, problem isolating, and solution-implementing discussion that happens in issue tickets.
I often deal with questions that have to do with bugs and it seems that people do find them valuable: https://stackoverflow.com/search?tab=votes&q=user%3a11107541%20url%3agithub.com%20url%3aissues%20bug.
Of course, the bug has to be about some piece(s) of software that is on-topic for SO.
The last consideration I can think of right now in terms of the "goodness" of bug-related questions on SO is how likely a Q&A pair about the bug is to have long-term value, which is mostly related to the likelihood that someone will encounter that bug again in the future. I once did some investigation for a why-am-I-getting-weird-behaviour™ question and found out that it was a bug in a beta-release channel of that software- a channel where bugs get patched and released relatively quickly in, and one where the point is for users to actively update. The bug had not yet made it into the stable release channel. I'll wager it to be very unlikely for anyone else to hit that bug again in the future, because it's very unlikely that anyone will use the affected "beta" release again in the future. I don't think I'm a good person to speak about what to do with that Q&A pair since I have a conflict of interest in it. What ended up happening is that I backlinked to the Q&A pair in the issue ticket (I usually do that unless the issue tracker has guidance that discourages such comments), and a maintainer (who has made considerable contributions to SO) voted for it to be closed (it didn't end up closing due to insufficient close-votes).
How should I answer a question about a bug in a programming language or dependencies?
My end goal for such Q&A is
For the question to be easily searchable, and easy to tell what versions the bug applies to (so if someone sees the Q&A in a search engine result, they can get a rough idea of how likely it is that it's about the problem they're facing or not)
For there to be an answer post (mine or someone else's) that- to the extent that I am capable of doing so,
- Links to the canonical issue ticket(s) for the bug and gives a rough explanation of what the cause is
- Lists each possible solution (typically, which version to update to) or workaround.
Here's how I typically deal with questions that I suspect to revolve around a bug:
If I am confident that another Q&A already covers the bug (often because I have been involved with that question post within the past week or so), I cast my dup-close-vote.
If a question that I suspect to be about the same bug has already been posted (often a bug will cause multiple question posts to be posted about it), and I can't cast a dup-close-vote (Ex. for lack of answers), I link to the first or best instance of the question in a comment. I also follow each of those question posts.
If I'm aware of specific pieces of information that I think have the potential to help better understand the nature of the bug, or to reproduce it, or to further isolate it, I comment asking for that information. This often involves asking for version and environment information, or asking the asker to follow some well-known troubleshooting steps to isolate the problem or get more information about it. This is useful for two possible reasons: either it turns new info that I can use to find an existing issue ticket, or it saves maintainers time in triage when the issue ticket is later created.
Whether or not I try to reproduce the bug depends on context. Sometimes it's something that I should have already encountered in my day-to-day if not for the problem likely depending on more environmental/setup context different from mine. That's what the above bullet helps with.
I try to search for an existing bug ticket based on the information provided in the question.
If I can't find one in the first page of multiple google search results, I post a comment informing of what search queries I used, the fact that I didn't find anything in the first page of google results, and suggest raising an issue ticket, with instructions on how to do that, or a link to the issue drafting page.
If there are multiple places the issue could potentially be filed (Ex. bugs that happen with specific combinations of multiple technologies) and I think there's probably a "right answer" but aren't sure yet which one, I try to get more info from the asker to figure that out (usually involves posting some comments giving instructions on how to further isolate the source of the problem). Filing issue tickets in the wrong place is kind of an annoyance / waste of time to everyone involved. I'm often not that confident in the end if I wasn't confident in the first place about where to report, but it's a source of mental relief to know that I made an effort to not be the cause of annoying a busy software maintainer.
Importantly, I also ask the asker to ping me with a link to their issue ticket. I want to subscribe to notifications on it so I can keep my answer post up to date.
I post an answer once a maintainer can reproduce the issue, or other users chime in with workarounds they found. I keep my answer post updated with new workarounds, information about the fix timeline, requests from the maintainers for more diagnostic info, etc. Basically, with anything that is actionable to getting the problem solved.
If I can reproduce the problem and can't find an existing issue ticket, sometimes I just go and raise it myself. https://github.com/issues?q=is%3Aissue+author%3Astarball5+stack+overflow
Once there is clear information about what version the issue was born in, and in what version it is supposed to be fixed, I edit the question title to contain that version info to help future searchers get an idea of whether the behaviour they're seeing could be related to that bug.
Sometimes, if I read changelogs / release notes and see bugs or other things that I expect people will probably bump their heads on- ex. things listed in "known issues" sections, I just go ahead and post a self-answered Q&A myself. Sometimes I'm too lazy, or sometimes I'm just not confident whether it would end up helping anyone (which pretty much translates to whether I think anyone is going to post a question about it later). There have been times where I've posted self-answered Q&A in anticipation of it being useful, and it ending up fruitless(?), and times when I pick the lazy route and end up doing it later because I see related questions popping up repeatedly on Reddit (Ex. this).
If I get a spark of personal curiosity, sometimes I go reading source code to try to understand the cause myself, but this is relatively rare.
There are various situations where I post an answer even if I am not aware of any solutions or workarounds:
- I see a need to give very specific instructions on how to raise a bug ticket (Ex. this), or contribute more diagnostic information to an existing one, and I can't reproduce the bug or don't think it would be productive for myself to spend more time seeking out ways to reproduce it
- If there are existing issue tickets, and the bug is very high-visibility and lots of duplicate questions are getting posted and I'm getting antsy about closing the duplicates to prevent fragmentation of information. I think my perspective on what people on the internet consider useful as an answer is shifting towards finding this acceptable even if duplicate-angst isn't a consideration. Particularly, it started changing in my experience with this question, which I purposely held off answering because I wanted to wait for info about actual fixes to the problem. In the meantime, someone else posted an answer to the effect of "it's a bug. upvote the bug ticket.", and that answer was very well received. I dunno. My thoughts are still forming on this.
- If I think the explanation of why I am convinced something is a bug has information that is of some sort of long term-value.
If (as in the case of some of the directly above bullets) I write an answer post suggesting to raise an issue ticket (instead of a comment), then I ask (via comment, to be consistent with the general guidance that asking for replies in posts is generally redundant and meta commentary) that either the reader comment with a link to their issue ticket if they raise one, or consider editing the link into the answer post (I'm a bit wary of suggesting that people edit my answer to add such a link because I don't want to give off the impression that I'm discouraging someone from writing their own answer post, but I do it because I'm worried that if the original asker gives up, other readers who can't comment might raise an issue ticket, but not be able to comment, and not think to or not want to write up a non-link-only-answer, in which case I'd get out of the loop, which would just be kind of sad I think).
It sounds like a lot, but usually all it ends up producing is a rather short and to-the-point answer post and slightly cleaned up question post. Nothing very impressive.
Answering bug questions can be fun. It can also be boring or make me wish that answer posts I've written that display more "technical prowess" or subject-matter-expertise got as many votes as my pretty run-of-the-mill answer to a super-high-visibility bug. I find that the more "detective work" it involves (that I feel capable of doing), the more I enjoy it.
This post was deleted by So-And-So
, if only to avoid confusion when decisions are being disputed.