Open GoogleCodeExporter opened 9 years ago
Run it with a debugger (gdb) and find out where it crashes.
Original comment by olof.nae...@gmail.com
on 26 Jan 2011 at 10:51
Hi, thanks for your reply, I've run it using gdb and found out that you were
correct: it is an out of bounds error, MyListModel::getElementAt(i) is called
with an i equal to the elements in the list, I've added this protection code to
MyListModel::getElementAt
std::string getElementAt( int i )
{
if ( i >= mList.size() )
{
return "ERROR/EMPTY";
}
else
{
return mList[ i ]; }
}
}
Also, I would like to know whether guichan is still being actively maintained.
Thanks a lot for your help.
Original comment by josejo...@gmail.com
on 27 Jan 2011 at 6:32
Guichan is not really actively maintained anymore. Sometimes a patch is
submitted.
Original comment by olof.nae...@gmail.com
on 28 Jan 2011 at 9:51
Here is a patch which fixed it for me.
Original comment by josh.sic...@gmail.com
on 12 Dec 2013 at 10:03
Attachments:
Original issue reported on code.google.com by
josejo...@gmail.com
on 26 Jan 2011 at 6:37Attachments: