Closed yajiedesign closed 7 years ago
Please be more precise. Your issue is also not very readable. Do not expect others to guess your thoughts.
Thanks!
It looks like it is only called when there is a masternode config:
masternodelist.cpp line 239:
BOOST_FOREACH(CMasternodeConfig::CMasternodeEntry mne, masternodeConfig.getEntries()) {
... updateMyMasternodeInfo(QString::fromStdString(mne.getAlias()), QString::fromStdString(mne.getIp()), infoMn); }
https://github.com/chaincoin/chaincoin/blob/master/src/qt/masternodelist.cpp#L186
infoMn
some time is null.please check it.
https://github.com/chaincoin/chaincoin/blob/master/src/qt/masternodelist.cpp#L247
this line CMasternode *infoMn = mnodeman.Find(txin);
not always find some item.
Could this be related to the sudden core dump we experienced after my pull request. I am only speculating here as I'm not into QT.
it cause core dump.
@yajiedesign yeah, it core dumped but your core dump could be another one. I am still speculating here. :)
And btw. I use a masternode.conf.
A fix for this will follow.
Included in this commit
https://github.com/chaincoin/chaincoin/commit/7b8ae63c5c5e9fe73b4edb9dd1944fcfcf721f57
I'd like to thank you @yajiedesign for helping us find this bug. 👍 ❤️
ok.thanks
the parameter
infoMn
is not check.when mn not run.it is null.it will be crash.