Skip to content

Instantly share code, notes, and snippets.

@JeffreyBenjaminBrown
Created March 23, 2019 14:48
Show Gist options
  • Save JeffreyBenjaminBrown/f912dd3f493982041c7240e89e32e50e to your computer and use it in GitHub Desktop.
Save JeffreyBenjaminBrown/f912dd3f493982041c7240e89e32e50e to your computer and use it in GitHub Desktop.

Revisions

  1. JeffreyBenjaminBrown created this gist Mar 23, 2019.
    38 changes: 38 additions & 0 deletions bugbug.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    Gitlab bug preventing reporting of GHC bug

    # The bug-reporting bug

    I ran into a GHC bug, and was told to go to [this page](https://gitlab.haskell.org/ghc/ghc/wikis/report-a-bug) to report it. That one said I should go to [this one](https://gitlab.haskell.org/ghc/ghc/wikis/trac/ghc/register) to "register an account on this Trac" (which is gibberish to me). I followed the link and tried to fill it out (see below), but every time I click "create page" I am taken to a page with a big orange image of what might be a cubist fox's head, which says

    ```
    500
    Whoops, something went wrong on our end.
    Try refreshing the page, or going back and attempting the action again.
    Please contact your GitLab administrator if this problem persists."
    ```

    # How I've been trying to fill out the bug report [registration form](https://gitlab.haskell.org/ghc/ghc/wikis/trac/ghc/register)

    ## Title

    trac/ghc/register ghc panic, "impossible" happened while running tests, failed to load shared object

    ## Content

    Here's the message I got from within GHCI. (The first line is the command, `tests`, that I had just run.)

    ```
    > tests
    ghc: panic! (the 'impossible' happened)
    (GHC version 8.6.3 for x86_64-unknown-linux):
    Loading temp shared object failed: /tmp/user/1000/ghc24072_0/libghc_36.so: undefined symbol: RsltziRValid_validRslt_closure
    Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
    ```

    Here's [the commit of the code](https://github.com/JeffreyBenjaminBrown/hode/tree/d849526a540cbd9119d7cfb05c4762f63e5d03dc) I was working on when this happened.

    I keep the test suite in the main body of code, so that I can run it from within GHCI. That's what I was doing when it happened.

    I've kept a copy of that shared object (I'm assuming that's what .so stands for) but when I try to attach it I get a "500 Internal Server Error" message.