View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0021433||FPC||Compiler||public||2012-03-07 19:12||2012-03-19 20:32|
|Reporter||Andrey Zubarev||Assigned To||Jonas Maebe|
|Status||closed||Resolution||no change required|
|Product Version||2.7.1||Product Build|
|Target Version||Fixed in Version|
|Summary||0021433: Strange behavior Lazarus on the latest revisions FPC|
|Description||There were errors apparently related to recent changes in FPC trunk. Unexpected crashes on previously working part of program. More information and an example to reproduce http://bugs.freepascal.org/view.php?id=21431|
|Tags||No tags attached.|
|Fixed in Revision|
This is a hollow shell. Please narrow it down, and make sure it is actually a FPC problem.
It might be as simple as memory allocation changing revealing hidden lazarus bugs.
||Get a smaller example of a problem I could not get. An error appears from the fpc r20265|
That means that there is probably a bug in your program. Before that revision, the objects added to a stringlist were not freed when destroying the stringlist even if the OwnsObjects property was true. After that revision, objects are properly freed in that case.
You or the LCL probably have code somewhere that adds objects to a stringlist with OwnsObjects=true that are also explicitly freed.
|2012-03-07 19:12||Andrey Zubarev||New Issue|
|2012-03-08 11:15||Marco van de Voort||Note Added: 0057389|
|2012-03-08 11:15||Marco van de Voort||Status||new => feedback|
|2012-03-08 16:13||Maxim Ganetsky||Relationship added||related to 0021431|
|2012-03-09 20:32||Andrey Zubarev||Note Added: 0057447|
|2012-03-09 21:49||Jonas Maebe||Status||feedback => resolved|
|2012-03-09 21:49||Jonas Maebe||Resolution||open => no change required|
|2012-03-09 21:49||Jonas Maebe||Assigned To||=> Jonas Maebe|
|2012-03-09 21:49||Jonas Maebe||Note Added: 0057452|
|2012-03-19 20:32||Andrey Zubarev||Status||resolved => closed|
|2012-03-22 13:31||Jonas Maebe||Relationship added||related to 0021529|