nonlin-lin-chaos-order-etc-etal / i2pchat

🌀 i2pchat's old repo. This repo is deprecated in favor of https://github.com/i2pchat/i2pchat which is now the main repo.
GNU General Public License v2.0
22 stars 27 forks source link

old issue — block list crash #29

Open nonlin-lin-chaos-order-etc-etal opened 7 years ago

nonlin-lin-chaos-order-etc-etal commented 7 years ago

»I2P-Messenger_0.2.19_Beta is segfaulting for me on linux if the blocklist is not empty (there are entries in UserBlockList.dat). If I delete the blocklist file, the app starts.

Program received signal SIGSEGV, Segmentation fault.
0x0805d654 in QListData::size (this=0x10)
    at /usr/lib/qt/include/QtCore/qlist.h:90
90          inline int size() const { return d->end - d->begin; }
(gdb) bt
#0  0x0805d654 in QListData::size (this=0x10)
    at /usr/lib/qt/include/QtCore/qlist.h:90
#1  0x08066b20 in QList<CUser*>::size (this=0x10)
    at /usr/lib/qt/include/QtCore/qlist.h:120
#2  0x080ca0db in CUserManager::getUserByI2P_Destination (this=0x0,
    Destination=...) at src/UserManager.cpp:115
#3  0x080b5ac7 in CUserBlockManager::addNewBlockEntity (this=0x823f8b8,
    NickName=..., Destination=..., BlockDate=...)
    at src/UserBlockManager.cpp:103
#4  0x080b567f in CUserBlockManager::readBlockListe (this=0x823f8b8)
    at src/UserBlockManager.cpp:69
#5  0x080b50a8 in CUserBlockManager (this=0x823f8b8, Core=...,
    FilePathToBlockFile=...) at src/UserBlockManager.cpp:32
#6  0x08061cc4 in CCore (this=0x8231058) at src/Core.cpp:80
#7  0x08054858 in form_MainWindow (this=0x8220bc8, parent=0x0)
    at gui/form_Main.cpp:32
#8  0x08053f7f in main (argc=1, argv=0xbffff254) at src/Main.cpp:33 

//from http://forum.i2p/viewtopic.php?p=30798#30798 Jan 17, 2011