Detecting memory (or system) corruption with sound.

Hello,

I just had this what seems to be a new idea:

"Detecting memory corruption with sound".

Assuming there is lots of memory corruption but for some reason still hard to find then maybe finding it with sound might be possible ? (Maybe it could work for little bit of corruption too ? ;))

Idea is to for example:

Allocate large ammounts of memory, lock em so they stay at same place.

Then fill that memory with same kind of sound/wave buffer... and then simply play it... while maybe displaying a memory counter or so... which indicates in which memory cell/region/range the sound is currently playing...

The sound could also be stored on harddisk first and then loaded to see if that creates any kind of system corruption...

Maybe this could also be used to test soundblaster..

But the purpose ofcourse should be to somehow track-down what is causing the corruption.

Could be a driver or so...

So I am just bringing this idea to your attention... maybe it has some merit to develop/think about it further... maybe it could be usefull for something in the future ?! ;)

(As I was changing the subject to include "(or system)" and then moving to the end of the subject causing the error beep in outlook express some more sound corruption occured.... I recorded it and it's available on my webdrive as well as other sound samples of: memory (?) or some system/hardware/software (?) corruption, which gave me the idea !)

formatting link

(I think system got corrupted after millions of reads or writes... or maybe some part of the memory became active because of high memory usage which is normally inactive/unused (?))

Bye, Skybuck !

Reply to
Skybuck Flying
Loading thread data ...

Well, seeing that a regular audio CD is 650MB and plays for an hour, and that modern PCs often have 6 gigabytes of memory, can you sit there for 6-7 hours listening ??? Better ask Slaughter for a detailed analysis, hopefully in PDF form.

Reply to
a7yvm109gf5d1

Good point... however a "normal" memory detection program takes many hours as well (?!)

Besides this could test more paths ? (Maybe path through harddisk/soundblaster ? ;))

However listening for many hours could become quite annoying ?! ;)

So it would have to be a pleasent sound... or maybe hardly noticeable... then when it gets corrupted you would notice it ?!

Bye, Skybuck.

Reply to
Skybuck Flying

Seems to me that this just amounts to reading the memory and checking that it contains what it should, except that the reading is slow and the checking rather imprecise.

Sylvia.

Reply to
Sylvia Else

What if the corruption is triggered by something else for example playing the sound ?!

Just checking the memory might not be enough to find the problem ! ;)

Bye, Skybuck =D

Reply to
Skybuck Flying

If the problem is that playing the sound corrupts memory other than that containing the sound, then the obvious course is to run a memory checker (being of a kind that doesn't have to be booted on its own) along side playing the sound.

If the corrupted memory is memory containing the sound data, then one would have to wonder how you suspected memory corruption in the first place.

Sylvia.

Reply to
Sylvia Else

Any other process could be corrupting the memory simply be writing to it...

Program A writes 5 to memory cell 4.

Program B writes garbage to memory cell 4.

However this only happens during sound playback...

For example the programs are some kind of kernel/driver related thingy ;)

Bye, Skybuck.

Reply to
Skybuck Flying

Seems like you've narrowed the problem to be solved to that of finding faults in sound card drivers when used for playback, rather than the detection of general memory corruption issues.

Sylvia.

Reply to
Sylvia Else

some part of the memory became active because of high

contains what it should, except that the reading is

formatting link

M
Reply to
TheM

some part of the memory became active because of high

contains what it should, except that the reading is

If I want to feed a troll, I will. Providing sustenance to lower forms of life appeals to my nurturing instincts.

Sylvia.

Reply to
Sylvia Else

Anything could be causing the corruption so that's why I included: "or system" in the subject to describe any possible system ;) as well as in the posting via "system/software/hardware" ;) :)

Bye, Skybuck.

Reply to
Skybuck Flying

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.