Anonymous | Login | 04-17-2021 21:30 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0000871 | [Squeak] Sound | major | always | 02-09-05 01:46 | 04-28-05 19:32 | |||||||
Reporter | johnmci | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | Platform | ||||||||
Status | assigned | OS | ||||||||||
Projection | none | OS Version | ||||||||||
ETA | none | Fixed in Version | Product Version | 3.9 | ||||||||
Product Build | ||||||||||||
Summary | 0000871: unix sound plugin produces sharp noise under certain conditions. | |||||||||||
Description | I compiled sqUnixSoundMacOSX.c under the carbon VM and shipped as mac vm 3.8.6b5. Bert reported a problem of a sharp loud noise at various times. If for example draging an item out of the toolbox, then back in and hold the cursor down for extended periods while doing this. Dropping the item back in the toolbox does result in a beep (as expected). | |||||||||||
Steps To Reproduce | ||||||||||||
Additional Information |
The Problem code is static OSStatus bufferDataProc(AudioConverterRef inAudioConverter, UInt32 *ioDataSize, void **outData, void *context) { Stream *s= (Stream *)context; Buffer *b= s->buffer; char *p1, *p2; int n1, n2; Buffer_getOutputPointers(b, &p1, &n1, &p2, &n2); if (!n1) { static char empty[256]; *ioDataSize= min(256, *ioDataSize); *outData= (void *)empty; # if (DEBUG) putchar('-'); fflush(stdout); # endif } where you attempt to pass back an address to a local storage area (perhaps on the stack) that is not been initialized to zero. This then is processed by coreaudio resulting in a loud unwanted sound. |
|||||||||||
Attached Files | ||||||||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
39 total queries executed. 29 unique queries executed. |