|Issue 411:||String Library Memory Test Assignment Failure|
|2 people starred this issue and may be notified of changes.||Back to list|
String Library Memory Test Assignment Failure What steps will reproduce the problem? The two attached tests show that there is a memory leak or memory corruption with the String Library. What is the expected output? What do you see instead? The idea is that you have an original string initialized to longest value in the String Library examples. Assign new values to the string. Then assign the original string value back. You should see no memory loss after assigning the values to the variables. However, the attached two tests fail. Save the the Sketch make sure ArduinoTestStuite is in the libraries folder. Then upload the sketch to the Arduino connect to it's serial port and the test results will be reported to the console.
Jun 11, 2011
Updates about how memory is checked, and new tests have been created. A patch is being made to represent the updates.
Jun 11, 2011
Attached are the patches representing the changes to ArduinoTestSuite and Examples tests. These are created against the current master, 20110611.
Jun 13, 2011
This patch supersedes the patch above free list is taken into account in ATS_GetFreeMemory(). The patch was created against git format-patch upstream/master where upstream master is Arduino master branch.
|► Sign in to add a comment|