Matt
What program are you running when you receive this error? Are you running a stock version of op25?
---In op25-dev@yahoogroups.com, op25-dev@yahoogroups.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
hello,
has anyone seen this error??? :
*** glibc detected *** /usr/bin/python: free(): invalid pointer: 0xaea02a58 *** ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0xb75a7ee2] /usr/lib/i386-linux-gnu/libstdc++.so.6(_ZdlPv+0x1f)[0xb69a6adf] /usr/lib/i386-linux-gnu/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1b)[0xb6a0e7bb] /usr/lib/i386-linux-gnu/libstdc++.so.6(+0xb0800)[0xb6a0e800] /usr/lib/i386-linux-gnu/libstdc++.so.6(_ZNSsD1Ev+0x2e)[0xb6a0e86e] /usr/local/lib/python2.7/dist-packages/gnuradio/_op25.so(_ZN19snapshot_du_handler6handleEN5boost10shared_ptrI9data_unitEE+0x2a6)[0xb2d79e56] /usr/local/lib/python2.7/dist-packages/gnuradio/_op25.so(_ZN17data_unit_handler6handleEN5boost10shared_ptrI9data_unitEE+0x54)[0xb2d78c74] /usr/local/lib/python2.7/dist-packages/gnuradio/_op25.so(_ZN16voice_du_handler6handleEN5boost10shared_ptrI9data_unitEE+0x66)[0xb2d7b116] /usr/local/lib/python2.7/dist-packages/gnuradio/_op25.so(_ZN15op25_decoder_bf14receive_symbolEh+0x18c)[0xb2d92bec]
my guess is the memory mix up is happening here:
void snapshot_du_handler::handle(data_unit_sptr du) { if(d_msgq) { string snapshot(du->snapshot()); if(snapshot.size() > 0) { const size_t snapshot_sz = snapshot.size() + 1; gr_message_sptr msg = gr_make_message(/*type*/0, /*arg1*/++d_data_units, /*arg2*/0, snapshot_sz); char *snapshot_data = reinterpret_cast<char*>(msg->msg()); memcpy(snapshot_data, snapshot.c_str(), snapshot_sz); d_msgq->handle(msg); } } data_unit_handler::handle(du); }
but wait the issue gets more interesting than 'du' pointing to an invalid location:
to try to see if i could stop op25 from giving this dying error, i commented out all of the snaphot()s in the hdu, ldu1, ldu2, and tdu. but i am still getting all of the pickled data in the python UI.
¿¿ WTH ??!! can someone please explain to me what i am missing here? - -- - ------ Matt D - ------------