Sign in Join

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

Mailing lists / lazarus / 2014-07

Can't get rid of heaptrace!

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Donald Ziesig

Hi All!

I have a program that was working correctly. I used heaptrc to get it that way:-) . Unfortunately, when I removed heaptrc from the uses clause in the project the program no longer starts. Before the very first form is displayed, I get a SegFault in
HEAPTRC_TRACEFREEMEMSIZE$POINTERS$QWORD$QWORD : 000000000077F7CA 488b00 mov (%rax),%rax

I checked the project options and the "use heaptrc" box is unchecked. I have tried reloading lazarus and rebooting the machine, neither of which changed the symptoms. If I restore heaptrc to the uses clause, the program starts and runs properly.

I am using Linux Mint 17, 64bit and the most recent version of Lazarus and Free Pascal (all downloaded and installed last week).

Any suggestions?

Thanks,

Don Ziesig

Reply by email

Reinier Olislagers
to Donald Ziesig
Donald Ziesig wrote 8 lines
I have a program that was working correctly. I used heaptrc to get it that way:-) . Unfortunately, when I removed heaptrc from the uses clause in the project the program no longer starts. Before the very first form is displayed, I get a SegFault in HEAPTRC_TRACEFREEMEMSIZE$POINTERS$QWORD$QWORD : 000000000077F7CA 488b00 mov (%rax),%rax I checked the project options and the "use heaptrc" box is unchecked.

Have you tried clean & rebuild? In project options, if you press the show options button, can you verify that there's no -gh option?

Reply by email

Donald Ziesig
to Reinier Olislagers

Fixed the problem. My primary library somehow got compiled with heaptrc. I couldn't find any way of removing heaptrc from the library so I created a new package, copied the source files into it, compiled it and added it back into the project. Program runs fine now without heaptrace.

Thanks for the pointers.

Don Z

Reinier Olislagers wrote 20 lines
On 11/07/2014 04:06, Donald Ziesig wrote: > I have a program that was working correctly. I used heaptrc to get it > that way:-) . Unfortunately, when I removed heaptrc from the uses clause > in the project the program no longer starts. Before the very first form > is displayed, I get a SegFault in > HEAPTRC_TRACEFREEMEMSIZE$POINTERS$QWORD$QWORD : 000000000077F7CA > 488b00 mov (%rax),%rax > > I checked the project options and the "use heaptrc" box is unchecked. Have you tried clean & rebuild? In project options, if you press the show options button, can you verify that there's no -gh option? -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email