On Sun, Dec 1, 2013 at 1:19 AM, Wladimir <laanwj@gmail.com> wrote:
On Sun, Dec 1, 2013 at 12:05 PM, Warren Togami Jr. <wtogami@gmail.com> wrote:
https://github.com/litecoin-project/bitcoinomg/commits/0.8.5-OMG6
http://download1.rpmfusion.org/~warren/bitcoin-0.8.5-OMG6/
I've been backporting patches from master and Litecoin to make a Bitcoin 0.8 client with more features.  It works quite well on Linux and Win32.

Today we discovered a rare crash that can happen on MacOS X. toffoo and coblee reproduced it on MacOS X 10.9 and I reproduced it on 10.6.8. It seems to be some kind of race condition involving SendCoinsEntry::clear().

  1. 11  QtGui                               0x00e28141 QWidget::setFocus(Qt::FocusReason) + 289
  2. 12  org.bitcoinfoundation.Bitcoin-Qt    0x002ca665 SendCoinsEntry::clear() + 101

I don't think the setFocus should be in clear() in the first place. It conflates clearing the widgets and changing the focus.

If the automatic focus change is desirable at all it could be moved to a seperate function "focusPayTo".

In any case it's just a nicety and should just be removed if it causes problems.

Wladimir


Did as you suggested, removed both setFocus() calls that happen after Send is clicked

http://pastebin.com/j4adDpsM
Now it crashes in something else within qt.

I'm trying other things...

Warren