cwops seg faults trying to log 1st QSO

13 views
Skip to first unread message

John AC6SL

unread,
May 12, 2016, 5:31:06 PM5/12/16
to so2sdr
Trying to use so2sdr for last night's CWOPS CWT, it seg faults trying to store 1st QSO (S&P mode):

ASSERT failure in QList<T>::operator[]: "index out of range", file /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h, line 514

Thread 1 "so2sdr" received signal SIGABRT, Aborted.
0x00007ffff5cbc418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) where 10
#0  0x00007ffff5cbc418 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff5cbe01a in __GI_abort () at abort.c:89
#2  0x00007ffff6ba0ff1 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff6b9c1c1 in qt_assert_x(char const*, char const*, char const*, int) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x000000000055313c in Contest::neededMultName(int, int, int, bool&, bool&) const ()
#5  0x00000000005043a6 in So2sdr::updateMults(int) ()
#6  0x000000000050e04f in So2sdr::rescore() ()
#7  0x000000000050e4c1 in So2sdr::logEdited(QModelIndex const&, QModelIndex const&) ()


It appears to be failing when it accesses mults[0][0]->isamult

QByteArray Contest::neededMultName(int ii, int band, int i, bool &needed_band, bool &needed) const
{
    needed      = false;
    needed_band = false;

    if (i < _nMults[ii]) {
        if (!mults[ii][i]->isamult) {


The first 3 args were: ii=0, band=3, i=0
and  _nMults[0]=1

When I select a different contest ARRL_10M, the mults array appears to be populated early on, before logging first QSO.

The score for CWT is number of QSOs x number of unique callsigns, each callsign is allowed once per band.

-john ac6sl

Reply all
Reply to author
Forward
0 new messages