discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] QT Gui FFT resizing Segfault (was: Re: Can I use uhd_


From: Marcus Müller
Subject: [Discuss-gnuradio] QT Gui FFT resizing Segfault (was: Re: Can I use uhd_fft or gnu-radio to display the spectrum with adjustable frequency resolution)
Date: Wed, 04 Jun 2014 01:35:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

So I couldn't resist, and the line that would actually call the
set_fft_size callback function correctly would've been
  <callback>set_fft_size(min(int($fftsize),4))</callback>

However, QT Gui spectacularly SEGFAULTs on me when doing that.
That actually happens in
line 123 of gr-qtgui/lib/freqdisplayform.cc :

  d_sizemenu->getActionFromSize(newsize)->setChecked(true);

which *might* be some relict from older times, but I can't really tell.
I hope someone more familiar with the qtgui infrastructure might chime in.

Greetings,
Marcus

On 04.06.2014 01:14, Marcus Müller wrote:
> Hi! On 04.06.2014 01:05, Marcus Müller wrote:
>> 
>> <callback>set_frequency_range($fc, $bw)</callback> to
>> gr-qtqui/grc/qtgui_freq_sink_x.xml where the other callbacks are 
>> defined and try if it works for you?
> Sorry, copied the wrong line. What I wanted to paste was: 
> <callback>set_fft_size($fftsize)</callback>
> 
> Greetings, Marcus
> 
> 
> _______________________________________________ Discuss-gnuradio
> mailing list address@hidden 
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJTjlvFAAoJEBQ6EdjyzlHtIN4IAMHXlNAi86/E+Y3oSc8WkjEQ
Hyh370ab55EaFrbvHYb9yLEXjC7hS1ccBLIpbMSKIRrHL/Z4rfIfMzlhEF4LA2cW
TSJ0ydXb+KktRJ7bQ+V62RIufcyUXZc4OWZjfYvjT42GIzgUZAp3kI18n6Ohfeta
FfoNWUnFJMxywYlgIE7QUgUYWIwMq4FTMGqNjGbBL8Jn6/RE7X8kJbnErjqNUprH
Rx96MSj1MBiZrDPuPKYCgj8LR1c00jALorgA8lXtpYK1gufjSmYO0Bjol179kegb
nQFPhMy6cfZChy8cTP0oBxQmC9aPrPtpCmHBcBCoDCIZxcUBU/x4TEEejgFM64g=
=s2I+
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]