Hi Jesus,

On Sat, Aug 1, 2015 at 7:08 AM, Jesus Reyes A. <[email protected]> wrote:
>
>
> The problem occurs because the bitmap is being freed before
> Printer.EndDoc. It is at this point that the bitmap data is used, but
> because it was already freed an AV occurs. I have actually fixed the
> problem, but in my current implementation resources are only be freed at
> program end. Which is not good if somebody are printing a lot. So I have
> not committed the fix, I have another plan and will try again soon.
>
> In the mean time, the workaround it's easy (this is not the fix I
> mentioned before which would patch the LCL+Printer support). Just create
> the bitmap before Print.BeginDoc and free it after Print.EndDoc. That
> should work.
>

it does, thanks a lot!

Maybe you can help me with this: How can I get the debugger (lazarus/gdb)
show the C code? All I get for the innermost frames is an address and
assembler. No idea what to install (and Google really didn't help).

Regards,
Martin.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to