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 <laanwj@gmail.com>) 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 <bitcoin-development@lists.sourceforge.net>; 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: <CAEz79Pp0LXfvLo85_FVcL-gLLYYon0SLHoG40qTfFDs59f40yw@mail.gmail.com> References: <CAEz79PptC4VZr19iHYx5iA2K8SZ2aJbUvnt8_ZGRwbBJ6=WW3A@mail.gmail.com> <CA+s+GJA-rXF7spPwLDJv-hGRk-obohdJDHQ9D6bDTdh1UGZVEQ@mail.gmail.com> <CAEz79Pp0LXfvLo85_FVcL-gLLYYon0SLHoG40qTfFDs59f40yw@mail.gmail.com> Date: Wed, 4 Dec 2013 08:02:48 +0100 Message-ID: <CA+s+GJDpU5UGXpFhFsmNHTLuVrkyVd+SeNKbS5skDgkPzmQ9-Q@mail.gmail.com> From: Wladimir <laanwj@gmail.com> To: "Warren Togami Jr." <wtogami@gmail.com> 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 <bitcoin-development@lists.sourceforge.net> 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: <bitcoin-development.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>, <mailto:bitcoin-development-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=bitcoin-development> List-Post: <mailto:bitcoin-development@lists.sourceforge.net> List-Help: <mailto:bitcoin-development-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/bitcoin-development>, <mailto:bitcoin-development-request@lists.sourceforge.net?subject=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 <div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> <div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"> <div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><font color="#888888"><div><span style="color:rgb(34,34,34)">Did as you suggested, removed both setFocus() calls that happen after Send is clicked</span><br> </div></font></span></div></div></div></blockquote></div></div><div class="gmail_extra"><br></div><div class="gmail_extra"><a href="http://pastebin.com/j4adDpsM" target="_blank">http://pastebin.com/j4adDpsM</a><div> Now it crashes in something else within qt.</div><div><br></div><div>I'm trying other things...</div></div></div></blockquote><div><br></div><div>As I've said to you on IRC before, I think the problem is with this loop:</div> <div><br></div><div><a href="https://github.com/bitcoin/bitcoin/blob/master/src/qt/sendcoinsdialog.cpp#L261">https://github.com/bitcoin/bitcoin/blob/master/src/qt/sendcoinsdialog.cpp#L261</a><br></div><div><br></div><div> 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."</div><br>Can you try replacing with ->deleteLater()?<div> <br></div><div>Wladimir<br></div><div><br></div></div></div></div> --bcaec51a778235c05e04ecb0002d--