[Lazarus] Printing BitMap on OSX crashes
Martin Grajcar
maaartinus at gmail.com
Sat Aug 1 04:09:51 CEST 2015
Hi Jesus,
On Wed, Jul 1, 2015 at 10:52 PM, Jesus Reyes A. <jesusrmx at gmail.com> wrote:
> On Tue, 30 Jun 2015 05:55:43 -0500, Martin Grajcar <maaartinus at gmail.com>
> wrote:
>
> Hello,
>
> apologies for reposting, but I can't see in the archives (and have
> received no answer).
>
> Are attachments forbidden here? I'm given you a link instead:
> https://dl.dropboxusercontent.com/u/4971686/bitmap-crash.demo.zip
>
> Regards, Martin.
>
> On Thu, Jun 25, 2015 at 10:57 AM, Martin Grajcar <maaartinus at gmail.com>
> wrote:
>
>> My trivial Lazarus 1.4 application (and also our real application) crash
>> whenever it prints a TBitMap on MAC. It happens in
>> _platform_memmove$VARIANT$sse4 it tries to execute MOVDQA
>> and I thought it was an alignment problem, but it isn't.
>>
>> I'm attaching my rather confusing demo. It does nothing but printing and
>> seems to work fine on Linux, but crashes on OSX. Commenting out the
>> StretchDraw prevents the crash. I have currently no access to the MAC, so I
>> apologize for not including a minimal example.
>>
>
>
> I can reproduce it, and although the AV is easily fixed it seems printing
> bitmaps under Mac OS X it currently broken (loading a bitmap from a file
> doesn't produce AV but it not working anyway). I'm sure it used to work
> because I have PDF file generated using TPrinter and CUPS-PDF at some point.
>
I haven't a chance to try it yet. Just in case it's non exactly trivial,
how can the AV be fixed? I was only accessing the MAC over a bad
connection, which made pretty everything complicated.
I'm also sure it used to work.
> Please submit a report so it wont be forgotten.
>
http://mantis.freepascal.org/view.php?id=28455
Regards, Martin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20150801/a9bd197b/attachment-0002.html>
More information about the Lazarus
mailing list