Page 1 of 1

FLT_DIVIDE_BY_ZERO

PostPosted: 03 Feb 2010 21:31
by mccostin
Guys

Ever since i upgraded to 2.5.1.0 shareaza crashes and brings up an error window shortly after starting. The error window mentions an exception in C++ visual basic, however the error report from the bug trap says the problem lies in "visual studio 2008":

Shareaza.exe caused FLT_DIVIDE_BY_ZERO in module "C:\Program Files\Shareaza\Shareaza.exe" at 001B:009F10F7, CFragmentBar::DrawFragment()+103 byte(s) in "c:\documents and settings\administrator\my documents\visual studio 2008\projects\shareaza\trunk\shareaza\fragmentbar.cpp", line 60+17 byte(s)

Strangely though there is no "visual studio 2008" folder in "c:\documents and settings\administrator\my documents" 'cos i looked?

Tried 2.5.1.1 and most of the daily bug loads but all had the same issue. Had to revert back to 2.5.0.0 to be stable again.

Any ideas?

btw .. have submitted all reports via the bug tracker.

Re: C++ Bug?

PostPosted: 04 Feb 2010 01:05
by old_death
The folder name is the folder in which Shareaza was compiled. So it's clear that you don't find that location on your computer.
BTW, if you have submitted a BugTrap report, the issue has most probably already been fixed in the latest daily builds. So just try out the latest 2.5.1.1 build and report back whether the problem still does exist. If it does, save the bugtrap report to a file and upload it here on the forums for one of the devs to look after it (as it might be overseen between the tons of reports that come in each day via the auto submission feature).

Re: C++ Bug?

PostPosted: 06 Feb 2010 16:06
by raspopov
BTW its very strange error FLT_DIVIDE_BY_ZERO cause there is no real divide by zero in the code at all. I got several similar reports but still don't know what goes wrong...

Re: C++ Bug?

PostPosted: 06 Feb 2010 16:25
by ailurophobe
RG: scaling the fragment to be proportional to file size?

Re: C++ Bug

PostPosted: 06 Feb 2010 17:55
by mccostin
Guys

Have tried various versions in last few days .. still having problems ... completely uninstaled shareaza and C++ to clean system using Revo uninstaller ... reinstalled current debug build "Shareaza_2.5.1.1_Win32_Debug_r8450_2010-02-01".

Its a bit odd ... everything works ok from install untill I either close program or restart PC ... next time I start shareaza it loads as far as the section where its says "Starting GUI", then crashes!

Included is copy of bug trap report ... been using shareaza for over 4 years now and have not had problems before ... seemed to start with v5 if that any help!

Mark

BTW .. for some reason the title of this post seems to have changed from "C++" but to "Divide by zero fault" on its own... no idea why!

Re: FLT_DIVIDE_BY_ZERO

PostPosted: 14 Feb 2010 13:16
by mccostin
Upgrade to new version 2.5.2.0 ... sweet as a nut ... no probs now ...dunno what was wrong before but i suspect it'll remain a mystery now ;^)

Re: FLT_DIVIDE_BY_ZERO

PostPosted: 14 Feb 2010 22:17
by mojo85