[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Updates to gr-qtgui
From: |
Josh Blum |
Subject: |
Re: [Discuss-gnuradio] Updates to gr-qtgui |
Date: |
Wed, 13 Apr 2011 22:21:36 -0700 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 |
> Without getting to deep into this, the problem is in the shared
> responsibilities between the Python world and the C++ world. I don't
> completely understand the series of events, but the crux o the problem seems
> to be who gets to the destructors first.
>
its never easy is it...
> In the case of your program, it's the self._qtgui_sink_x_0_win object that's
> the problem. If you don't make it a member of the class, that is, drop the
> "self." part, it _should_ work fine. My understanding, which could be wrong,
> is that as a local variable, it gets destroyed in the right order.
>
I removed the "self." and still seeing the same results.
But, you gave me an idea that there might be this unhappy deconstructor
race condition. So, I tried deleting the qapp after exec() and that made
it better. Also and rather, stopping the top block make it better; so
maybe it was getting data to draw and somebody already destroyed the qt
graphics stuff.
So, the reason I didnt stop the top block:
http://gnuradio.squarespace.com/examples
I will give this a more conclusive test tomorrow, but the fix seems
worth while anyhow.
http://gnuradio.org/cgit/gnuradio.git/commit/?id=e762abc703e3224b54466685bf51b3fa90ee8edc
-Josh
- [Discuss-gnuradio] Updates to gr-qtgui, Tom Rondeau, 2011/04/10
- Re: [Discuss-gnuradio] Updates to gr-qtgui, Josh Blum, 2011/04/13
- Re: [Discuss-gnuradio] Updates to gr-qtgui, Tom Rondeau, 2011/04/13
- Re: [Discuss-gnuradio] Updates to gr-qtgui,
Josh Blum <=
- Re: [Discuss-gnuradio] Updates to gr-qtgui, Tom Rondeau, 2011/04/14
- Re: [Discuss-gnuradio] Updates to gr-qtgui, Marcus D. Leech, 2011/04/14
- Re: [Discuss-gnuradio] Updates to gr-qtgui, Tom Rondeau, 2011/04/18
- Re: [Discuss-gnuradio] Updates to gr-qtgui, Philip Balister, 2011/04/18
- Re: [Discuss-gnuradio] Updates to gr-qtgui, Marcus D. Leech, 2011/04/18
- Re: [Discuss-gnuradio] Updates to gr-qtgui, Tom Rondeau, 2011/04/18