(*** This bug was imported into bugs.kde.org ***) Package: kreversi Version: 2.2.0-final Hi On Alpha kreversi has for a few weeks aborted with out of memory on Alpha (Linux/Debian). I beleive the problem is cured by the following patch; it is caused by loadChips using _size and _zoom in one of the functions it calls but they are not initialised until just after. Dave --- board.cpp.predagFri Sep 28 21:34:33 2001 +++ board.cppFri Sep 28 21:34:47 2001 @@ -7612 +7613 @@ for(int i = 0; i < CHIP_MAX; i++) chip[i] = 0; + _size = 32; + _zoom = 100; + loadChips("chips.xpm"); nopaint = FALSE; human = Score::BLACK; - _size = 32; - _zoom = 100; setStrength(4); connect(this SIGNAL(signalFieldClicked(int int)) -- ---------------- Have a happy GNU millennium! ---------------------- / Dr. David Alan Gilbert | Running GNU/Linux on Alpha68K| Happy \ \ gro.gilbert @ treblig.org | MIPSx86ARM SPARC and HP-PA | In Hex / \ _________________________|_____ http://www.treblig.org |_______/
Done thanks for your patch. Cheers Waldo On Saturday 29 September 2001 03:41 am Dr. David Alan Gilbert wrote: > Hi > Mario Weilguni asked me to forward my patch to kde-devel@kde.org since > he no longer has time to maintain his packages; can someone check this and > apply it please. > > It is filed as kde bug #33083 -- bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com