Skip to content

Memory leak #2

@rchastain2

Description

@rchastain2

Hello Andrew. Very interesting project. I like much the fpGUI player!

It seems that there is a memory leak somewhere.

My test of playogg.lpr, compiled with -ghl option:

Heap dump by heaptrc unit of /home/roland/Documents/pascal/fpgui/musicplayer/playogg
107617 memory blocks allocated : 129319157/129319200
76833 memory blocks freed     : 127595845/127595888
30784 unfreed memory blocks : 1723312
True heap size : 163840
True free heap : 163328
Should be : 18446744073702081616
Call trace for block $00007F39CA39FF00 size 48
  $000000000049C0D7  POSTMESSAGE,  line 142 of pascalaudioio/paio_messagequeue.pas
  $000000000045860A  STOPDATA,  line 1324 of pascalaudiosuite/pa_base.pas
  $0000000000457310  EXECUTE,  line 1040 of pascalaudiosuite/pa_base.pas
Call trace for block $00007F39CA3B1E20 size 64
  $00000000004578B7  WRITETODESTINATIONS,  line 1157 of pascalaudiosuite/pa_base.pas
  $0000000000457F66  SIGNALDESTINATIONSDONE,  line 1249 of pascalaudiosuite/pa_base.pas
  $0000000000453DB5  SIGNALDESTINATIONSDONE,  line 131 of pascalaudiosuite/pa_dec_oggvorbis.pas
  $0000000000453D3D  INTERNALOUTPUTTODESTINATION,  line 126 of pascalaudiosuite/pa_dec_oggvorbis.pas
  $0000000000457301  EXECUTE,  line 1037 of pascalaudiosuite/pa_base.pas
...

Best regards.

Roland

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions