Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2021-06

Management operators memleaks

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Ryan Joseph
to denisgolovan
Show quoted text 6 lines
On Jun 13, 2021, at 7:48 AM, denisgolovan via fpc-pascal wrote: Could anybody reply? Am I doing something wrong? Are management operators supported or not?

Maybe reduce the test down to a smaller footprint and isolate the memory leak? That would be helpful to knowing what may be wrong.

Regards,
Ryan Joseph

Reply by email

Sven Barth
to denisgolovan: Hi all I created a test case for rather unusual behaviour of management operators in fpc…
denisgolovan wrote 10 lines
Hi all I created a test case for rather unusual behaviour of management operators in fpc 3.3.1. In some specific cases they produce memory leaks. I suspect it's some compiler issue. Could somebody take a look at https://bugs.freepascal.org/view.php?id=38990 ? P.S. Sorry for attaching quite large test case.

I have not looked at your test case yet, but it *might* be related to issue #37164 ( https://bugs.freepascal.org/view.php?id=37164 ).

Regards,
Sven

Reply by email

Ryan Joseph
to Sven Barth: I have not looked at your test case yet, but it *might* be related to issue #37164 (…
On Jun 13, 2021, at 11:35 PM, Sven Barth via fpc-pascal wrote: I have not looked at your test case yet, but it *might* be related to issue #37164 ( https://bugs.freepascal.org/view.php?id=37164 ).

His tests didn't have an enumerator and for..in loop like in that bug report so I'm not sure.

Most importantly Denis needs to isolate this into a small single program which prints out the operators like in the bug report Sven listed.

Regards,
Ryan Joseph

Reply by email