Specifying a third party transaction URL crashes Bitcoin Qt #17467

issue Relaxo143 opened this issue on November 13, 2019
  1. Relaxo143 commented at 7:15 PM on November 13, 2019: none

    <!-- Describe the issue -->

    Expected behavior Core should save the provided URL and use it for transaction look ups

    <!--- What behavior did you expect? -->

    Actual behavior Core crashes and when started again the URL has not been saved.

    <!--- What was the actual behavior (provide screenshots if the issue is GUI-related)? -->

    To reproduce Run Bitcoin qt with disablewallet=0. go to settings/options/display and specify a tx URL.

    <!--- How reliably can you reproduce the issue, what are the steps to do so? -->

    System information

    <!-- What version of Bitcoin Core are you using, where did you get it (website, self-compiled, etc)? --> Running v0.18.1 downloaded from bitcoincore.org

    <!-- What type of machine are you observing the error on (OS/CPU and disk type)? -->

    Windows 10, AMD ryzen 2600, SSD

    <!-- GUI-related issue? What is your operating system and its version? If Linux, what is your desktop environment and graphical shell? -->

    <!-- Any extra information that might be useful in the debugging process. -->

    relevant debug logs: GUI: Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must not let any exception whatsoever propagate through Qt code. If that is not possible, in Qt 5 you must at least reimplement QCoreApplication::notify() and catch all exceptions there.

    <!--- This is normally the contents of a `debug.log` or `config.log` file. Raw text or a link to a pastebin type site are preferred. -->

  2. Relaxo143 added the label Bug on Nov 13, 2019
  3. fanquake added the label GUI on Nov 13, 2019
  4. fanquake commented at 7:48 PM on November 13, 2019: member

    I can't recreate this crash using master or 0.18.1, what URL are you using? I'm also not sure why disablewallet would make a difference here; is that the only time it happens?

  5. Relaxo143 commented at 9:01 PM on November 13, 2019: none

    I can't recreate this crash using master or 0.18.1, what URL are you using? I'm also not sure why disablewallet would make a difference here; is that the only time it happens?

    You need to be using the wallet to access those settings, don`t you? First I tried removing an old url with an IP (aka leaving the field blank) and it crashed. Now I tried with http://bitchain.tk/ but literally any url crashes it.

  6. fanquake commented at 2:21 PM on November 15, 2019: member

    You need to be using the wallet to access those settings, don`t you?

    No, the third-party tx URL setting is always shown regardless of how Bitcoin Core is compiled / run. Can you run bitcoin-qt under lldb or gdb and get a backtrace?

  7. Relaxo143 commented at 7:45 PM on November 21, 2019: none

    I don't know what that means. I`ll look it up.

  8. laanwj commented at 10:49 AM on November 23, 2019: member

    I can't reproduce it no matter how nonsensical the data I enter into that field.

    Are you sure it's related to transaction URL or does any change to the configuration dialog cause a crash? It might be that some other field got corrupted (and it jut happens to trigger when you change the URL).

    You might try running with -resetguisettings once to clear the GUI settings, and see if it keeps happening. If it solves the problem, I'd be interested in the backup guisettings.ini.bak that it writes to your data directory.

  9. Relaxo143 commented at 2:33 PM on November 23, 2019: none

    @laanwj It didn't work. I can still give you the guisettings.ini.bak if you want to.

  10. laanwj commented at 2:45 PM on November 23, 2019: member

    Not necessary; it would only have been useful to know the settings that caused breakage, if a reset had fixed it.

  11. Relaxo143 commented at 4:28 PM on November 23, 2019: none

    @laanwj You were right. It's not the URL field alone. If I open the settings and then click OK (without even changing any of them) to apply them, Core crashes. Sometimes it says "Bitcoin Core can no longer continue safely and will now exit", sometimes it doesn't.

  12. MarcoFalke commented at 11:42 PM on May 8, 2020: member

    Is this still an issue with a recent version of Bitcoin Core? If yes, what are the steps to reproduce?

  13. MarcoFalke closed this on May 8, 2020

  14. DrahtBot locked this on Feb 15, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-21 18:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me