http://bugs.winehq.org/show_bug.cgi?id=15416
Summary: Garena : division by zero in comctl32 Product: Wine Version: 1.1.5 Platform: PC URL: http://www.garena.com/ OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comctl32 AssignedTo: wine-bugs@winehq.org ReportedBy: matej.spindler@email.si
Shortly after starting garena it crashes with :
wine: Unhandled division by zero at address 0x7e9295d8 (thread 0009), starting debugger...
I traced the crash to:
dlls/comctl32/listview.c:1716: vertInfo.nPage /= infoPtr->nItemHeight;
changing the line to:
vertInfo.nPage /= (infoPtr->nItemHeight == 0) ? 1 : infoPtr->nItemHeight ;
lets garena continue, but there are problems later on (not in comctl32), but thats for another bugreport.
LP Matej