OpenViBE Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000114openvibe-pluginsbug reportpublic2012-07-04 15:482012-07-05 11:49
Reporterjlegeny 
Assigned Tojlegeny 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Platformx86_64OSLinuxOS VersionUbuntu
Summary0000114: Time based epoching does not work on 64bit Ubuntu linux
DescriptionThe time based epoching has issues on recent versions of 64bit Ubuntu Linux. These issues result in aliasing when used, for example, with Spectral Analysis.
Steps To ReproduceRun the Spectral Analysis box-tutorial. You will observe aliasing in the spectrum.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0001047)
jlegeny (reporter)
2012-07-05 11:09

The issue is now fixed in rev 3356.

The problem was with using of the memcpy function on overlapping source and destination memory blocks. memcpy has undefined behavior by design in this case.

Errors were produced on implementations where memcpy copied data from back to front (e.g.: ubuntu 64bit). Issue was resolved by adding a flag to System::Memory:copy which enables the usage of memmove instead of memcpy. memmove uses intermediary buffer in order to avoid issues with overlapping.

From now on, System::Memory:copy should be used with bMove flag to true wherever the buffers overlap.
(0001049)
jlegeny (reporter)
2012-07-05 11:49

The flag in the copy function was removed and a System::Memory::move function was created instead.

- Issue History
Date Modified Username Field Change
2012-07-04 15:48 jlegeny New Issue
2012-07-04 15:48 jlegeny Status new => assigned
2012-07-04 15:48 jlegeny Assigned To => jlegeny
2012-07-05 11:09 jlegeny Note Added: 0001047
2012-07-05 11:09 jlegeny Status assigned => resolved
2012-07-05 11:09 jlegeny Resolution open => fixed
2012-07-05 11:48 jlegeny Status resolved => feedback
2012-07-05 11:48 jlegeny Resolution fixed => reopened
2012-07-05 11:49 jlegeny Note Added: 0001049
2012-07-05 11:49 jlegeny Status feedback => assigned
2012-07-05 11:49 jlegeny Status assigned => resolved
2012-07-05 11:49 jlegeny Resolution reopened => fixed


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker