Fix a rare crash on Mac OS X, by removing a setFocus on the payTo field ... #3339

pull ryan52 wants to merge 1 commits into bitcoin:master from ryan52:master changing 1 files +0 −2
  1. ryan52 commented at 4:35 AM on December 2, 2013: contributor

    ...that was not necessary, as the field still receives focus without it.

  2. Fix a rare crash on Mac OS X, by removing a setFocus on the payTo field that was not necessary, as the field still receives focus without it. bae6c7e32b
  3. ryan52 commented at 4:45 AM on December 2, 2013: contributor

    This crash has been described by Warren on the bitcoin-development mailing list: http://sourceforge.net/mailarchive/forum.php?thread_name=CAEz79PptC4VZr19iHYx5iA2K8SZ2aJbUvnt8_ZGRwbBJ6%3DWW3A%40mail.gmail.com&forum_name=bitcoin-development

    It is unknown if this race condition is problematic in bitcoin HEAD, but laanwj said it isn't needed there, it doesn't seem to help, so seems prudent to remove it.

    I also have verified that in the various places the clear method is called, payTo receives focus in another way.

  4. BitcoinPullTester commented at 5:08 AM on December 2, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/bae6c7e32bdbd867169c3e5489332a844a35eb7a for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  5. laanwj referenced this in commit b9988c9e74 on Dec 2, 2013
  6. laanwj merged this on Dec 2, 2013
  7. laanwj closed this on Dec 2, 2013

  8. wtogami commented at 10:13 AM on December 2, 2013: contributor

    http://pastebin.com/N063nqrn It turns out to crash in another setfocus() ...

  9. wtogami commented at 11:50 AM on December 2, 2013: contributor

    @toffoo http://download1.rpmfusion.org/~warren/bitcoin-0.8.5-OMG7/macosx/ Please test Bitcoin-Qt-0.8.5-OMG7-no-mmap2.dmg. I included yet another "remove setFocus()" at the recommendation of @laanwj.

  10. DrahtBot locked this on Sep 8, 2021

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-05-02 21:15 UTC

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