-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Phil, hi Miklos,
as far as I can tell, the default constructor of constellation doesn’t
initialize d_pre_diff_code, which is correct (well, kind of correct)
considering that it does not set any constellation points, either.
So I guess both members are initialized with their default
constructor, i.e. empty std::vectors or , respectively.
I don’t really know how to elegantly fix this. I don’t know if one
should remove the default constructor (and modify the depending
constellation_Xpsk constructors), or if that will break even more
things. Maybe the way to go would be having a method that sets the
constellation and automatically sets the pre_diff_code automatically
with the index range, just to prevent that error. This might however
be wasteful, for larger codes. Maybe one would just add a delegator
that either returns d_pre_diff_code[i] or just i, depending on the
existence of the predifferential codebook.
Anyway, I think Miklos is right: There is an error in calc_soft_dec in
using the pre_diff_code even in the case that it is not set or its
application disabled.
Miklos, would you be as nice as to file a bug for that? You’re the one
who successfully diagnosed that. (You may, btw, simply think of
pre_diff_code simply as an index set of the constellation points)
Greetings,
Marcus
On 16.12.2013 14:29, Philip B. wrote:
a bunch of uninitialized variables. I’ll try and take a look at
has size 0; and thus, you can’t access the 0. (read: first)
uninitialized. Constellation_qpsk and
Using latest master branch of gnuradio, hash
warning: Can’t read pathname for load map: Input/output
286 for(int j = 0; j < k; j++) {
i stack #0 0x00007f98dbbe01a7 in
gr::digital::constellation::calc_soft_dec (
this=0x48321c0, sample=…, npwr=) at
/home/mmaroti/workspace/gnuradio/gr-digital/lib/constellation.cc:286
#1 0x00007f98dbbe0f7e in
gr::digital::constellation::soft_decision_maker (
this=0x48321c0, sample=…) at
/home/mmaroti/workspace/gnuradio/gr-digital/lib/constellation.cc:355
#2 0x00007f98dbbe94dc in
gr::digital::constellation_soft_decoder_cf_impl::work
(this=0x4fb11a0, noutput_items=8190, input_items=…,
output_items=…) at
/home/mmaroti/workspace/gnuradio/gr-digital/lib/constellation_soft_decoder_cf_impl.cc:68
#3 0x00007f98e1c5dd38 in gr::sync_interpolator::general_work (
this=0x4fb11c0, noutput_items=,
ninput_items=…, input_items=…, output_items=…) at
/home/mmaroti/workspace/gnuradio/gnuradio-runtime/lib/sync_interpolator.cc:67
You should be able to reproduce the problem quite easily, but if
(x86(64), ARMv9, IBM S7390,…) and GNU Radio source
not find the cause of this problem, the back trace on
Discuss-gnuradio mailing list [email protected]
Discuss-gnuradio Info Page
_______________________________________________ Discuss-gnuradio
mailing list [email protected]
Discuss-gnuradio Info Page
_______________________________________________ Discuss-gnuradio
mailing list [email protected]
Discuss-gnuradio Info Page
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSrwVRAAoJEAFxB7BbsDrLhd8H/0q7o3KX9iCShBn/X7VehxF2
LdR1peDL2VSqbGTmKnm6CltUs1yP7+bCAp+s6/TqTun7ticxDBSnh/0Drsc1jO2d
5E0UUKjjvuhdqKXfxbC/MGGSXlJ1Q1yGkkhmFvPS9ztQTT/Q3iLD8tFNshXdXlKc
FmPpyDWFDDD741AnqM4R5cXPnwUJkPV7aIvevYyrfYbjpSiK0t4yED0LVOZywnjs
aP2YB49qmWLpLYFAaIytcJF8cFkfumziPNQwpgndaZl8tuvwvUm7COHxXmBTdaqI
2IrB8gns+hR05uU9UAJdwaVI2gKGRB1hmP0MaHUxPd80ODfscTd5TAMxasBDWmE=
=HkF/
-----END PGP SIGNATURE-----