public inbox for bitcoindev@googlegroups.com
 help / color / mirror / Atom feed
From: Wladimir <laanwj@gmail.com>
To: "Warren Togami Jr." <wtogami@gmail.com>
Cc: Bitcoin Dev <bitcoin-development@lists.sourceforge.net>
Subject: Re: [Bitcoin-development] Coin Control, Send crash on MacOS X
Date: Wed, 4 Dec 2013 08:02:48 +0100	[thread overview]
Message-ID: <CA+s+GJDpU5UGXpFhFsmNHTLuVrkyVd+SeNKbS5skDgkPzmQ9-Q@mail.gmail.com> (raw)
In-Reply-To: <CAEz79Pp0LXfvLo85_FVcL-gLLYYon0SLHoG40qTfFDs59f40yw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

>
> 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

[-- Attachment #2: Type: text/html, Size: 1662 bytes --]

      reply	other threads:[~2013-12-04  7:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-01 11:05 [Bitcoin-development] Coin Control, Send crash on MacOS X Warren Togami Jr.
     [not found] ` <CA+s+GJA-rXF7spPwLDJv-hGRk-obohdJDHQ9D6bDTdh1UGZVEQ@mail.gmail.com>
2013-12-04  1:57   ` Warren Togami Jr.
2013-12-04  7:02     ` Wladimir [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+s+GJDpU5UGXpFhFsmNHTLuVrkyVd+SeNKbS5skDgkPzmQ9-Q@mail.gmail.com \
    --to=laanwj@gmail.com \
    --cc=bitcoin-development@lists.sourceforge.net \
    --cc=wtogami@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox