• 18.02.2026, 12:43
  • Registrieren
  • Anmelden
  • Sie sind nicht angemeldet.

 

Lieber Besucher, herzlich willkommen bei: Aqua Computer Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

RiC0MD

Newbie

AquaSuite 2014 Shared Memory Bug?

Dienstag, 25. März 2014, 22:03

Hi Guys,

I believe I may have found a bug in the way shared memory (Memory mapped files) is coded in AquaSuite. I've been trying to pull data from AquaSuite using MMF rather then writing out the XML, re parsing the XML, etc, but have not be able to get it working, always FileNotFoundException. Dug through MSDN examples to make sure I wasn't missing something, but still couldn't get anything working. I took a disassembler and pulled out the method used in AquaSuite to write the MMF, and then started my testing again. Using the AS method I can read the MMF until .Dispose() is called, and then back to FileNotFoundException.


if (!flag)
{
memoryMappedFile.Dispose();
}

The above call I believe is what's causing the issue, my test is very very simple at this stage,

try
{
MemoryMappedFile memoryMappedFile = MemoryMappedFile.OpenExisting("aquasuite-export-test");

}
catch (FileNotFoundException)
{
}

Test being my filename in AuqaSuite.

Any ideas?

Thanks!

sebastian

Administrator

Mittwoch, 26. März 2014, 07:53

Hello,
i can confirm this issue.
In the next version we change the behavior and give some code samples to read out the file.

Sebastian