Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-3.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1Vo6U4-0000Kc-Lf for bitcoin-development@lists.sourceforge.net; Wed, 04 Dec 2013 07:02:56 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.214.44 as permitted sender) client-ip=209.85.214.44; envelope-from=laanwj@gmail.com; helo=mail-bk0-f44.google.com; Received: from mail-bk0-f44.google.com ([209.85.214.44]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1Vo6U3-0006p2-MV for bitcoin-development@lists.sourceforge.net; Wed, 04 Dec 2013 07:02:56 +0000 Received: by mail-bk0-f44.google.com with SMTP id d7so6498339bkh.3 for ; Tue, 03 Dec 2013 23:02:49 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.204.173.6 with SMTP id n6mr51115230bkz.5.1386140568754; Tue, 03 Dec 2013 23:02:48 -0800 (PST) Received: by 10.204.69.197 with HTTP; Tue, 3 Dec 2013 23:02:48 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Dec 2013 08:02:48 +0100 Message-ID: From: Wladimir To: "Warren Togami Jr." Content-Type: multipart/alternative; boundary=bcaec51a778235c05e04ecb0002d X-Spam-Score: -0.6 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: github.com] -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (laanwj[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record 1.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-Headers-End: 1Vo6U3-0006p2-MV Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Coin Control, Send crash on MacOS X X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2013 07:02:56 -0000 --bcaec51a778235c05e04ecb0002d Content-Type: text/plain; charset=UTF-8 > > 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... > As I've said to you on IRC before, I think the problem is with this loop: https://github.com/bitcoin/bitcoin/blob/master/src/qt/sendcoinsdialog.cpp#L261 This deletes widgets, but Qt may still be referring to them internally, and "Deleting a QObject while pending events are waiting to be delivered can cause a crash." Can you try replacing with ->deleteLater()? Wladimir --bcaec51a778235c05e04ecb0002d Content-Type: text/html; charset=UTF-8
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...

As I've said to you on IRC before, I think the problem is with this loop:


This deletes widgets, but Qt may still be referring to them internally, and "Deleting a QObject while pending events are waiting to be delivered can cause a crash."

Can you try replacing with ->deleteLater()?

Wladimir

--bcaec51a778235c05e04ecb0002d--