View Issue Details

IDProjectCategoryView StatusLast Update
0000364FSSCPsoundpublic2005-04-14 01:51
Reporterphreak Assigned Totaylor  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformPentium 4 3.2GHZOSWindows XPOS VersionSP2
Product Version3.6.5 
Summary0000364: Integer divide by zero in sound/sound.cpp
DescriptionAny sound that plays that has less than 8 bits per sample will come up with an integer divide by zero error in sound/sound.cpp line 1636. Function name is snd_time_remaining()

int samples_remaining = bytes_remaining / (bits_per_sample/8);
TagsNo tags attached.

Activities

taylor

2005-04-13 09:31

administrator   ~0002131

Goober already told me about this but I need a sound file that's causing to problem to test with. I had changed that code recently but it was a problem with the old code too.

2005-04-13 12:48

 

vasudan7.wav (12,434 bytes)   

phreak

2005-04-13 12:48

developer   ~0002132

ok try this file.

taylor

2005-04-14 01:51

administrator   ~0002133

Ok, easy enough to deal with without having the timing be too far off. Will hit CVS in a few.

Fixered.

Issue History

Date Modified Username Field Change
2005-04-11 22:48 phreak New Issue
2005-04-13 09:31 taylor Note Added: 0002131
2005-04-13 09:31 taylor Status new => assigned
2005-04-13 09:31 taylor Assigned To => taylor
2005-04-13 12:48 phreak File Added: vasudan7.wav
2005-04-13 12:48 phreak Note Added: 0002132
2005-04-14 01:51 taylor Status assigned => resolved
2005-04-14 01:51 taylor Resolution open => fixed
2005-04-14 01:51 taylor Note Added: 0002133