Recent

Author Topic: Cannot Specify Printer4Lazarus in Project Inspector  (Read 2064 times)

Dan3468298

  • Full Member
  • ***
  • Posts: 129
Re: Cannot Specify Printer4Lazarus in Project Inspector
« Reply #15 on: July 07, 2020, 05:02:55 pm »
Is this considered a Bug?  If so, who wants to file the report?
It must be specific to MacOS somehow. Can you please verify that it happens only on MacOS. Does widgetset (Carbon / Cocoa) make a difference?

I only have access to MacOS Catalina so Carbon will not run on my machine.
« Last Edit: July 07, 2020, 05:30:48 pm by Dan3468298 »
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1224
  • Former Delphi 1-7, 10.2 User
Re: Cannot Specify Printer4Lazarus in Project Inspector
« Reply #16 on: July 08, 2020, 12:33:47 pm »
I can confirm that the issue does not occur with FreebSD 12.1, FPC 3.3.1 snapshot from June 2019 and Lazarus 2.0.6 or 2.1.0 (trunk) using the GTK2 widget set.

[EDIT]
Lazarus v2.1.0 r61574 with GTK2 widget set, FPC v3.0.4, Ubuntu 18.04 is also OK.
[/EDIT]
« Last Edit: July 09, 2020, 02:08:29 pm by trev »
o Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
o Lazarus 2.1 r64392 3.3.1 Jan 13 21:24 macOS 11.1 aarch64 Xcode 12.3
o Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
o Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
o Lazarus 2.0.10 3.2.0 Win10 Parallels VM

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3939
  • I like bugs.
Re: Cannot Specify Printer4Lazarus in Project Inspector
« Reply #17 on: July 11, 2020, 09:53:52 am »
Yes I believe it is a bug as many people can reproduce it in MacOS. I wonder what makes it OS or Widgetset dependent. I don't have a Mac and cannot test myself.
Please report in bug tracker with all details.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1224
  • Former Delphi 1-7, 10.2 User
Re: Cannot Specify Printer4Lazarus in Project Inspector
« Reply #18 on: July 11, 2020, 10:34:27 am »
Verified it did not happen with Lazarus compiled with 32 bit Carbon, but does happen with Lazarus compiled with 64 bit Cocoa (tested on macOS 10.11.6).

Bug lodged: https://bugs.freepascal.org/view.php?id=37330
o Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
o Lazarus 2.1 r64392 3.3.1 Jan 13 21:24 macOS 11.1 aarch64 Xcode 12.3
o Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
o Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
o Lazarus 2.0.10 3.2.0 Win10 Parallels VM

Dan3468298

  • Full Member
  • ***
  • Posts: 129
Re: Cannot Specify Printer4Lazarus in Project Inspector
« Reply #19 on: July 11, 2020, 02:13:29 pm »
Trev, thank you for your good work!
MacOS 10.15.5/Lazarus 2.0.10 Build 2020-07-07

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3939
  • I like bugs.
Re: Cannot Specify Printer4Lazarus in Project Inspector
« Reply #20 on: July 12, 2020, 10:05:56 am »
This is fixed now. :)
It was a clear error of memory access caused by wrong typecasts. It was not specific to OS or Widgetset but it caused more trouble in some systems as memory bugs often do.
It is good for code to be tested in many systems. More bugs are revealed.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1224
  • Former Delphi 1-7, 10.2 User
Re: Cannot Specify Printer4Lazarus in Project Inspector
« Reply #21 on: July 12, 2020, 10:43:28 am »
Thanks Juha!
o Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
o Lazarus 2.1 r64392 3.3.1 Jan 13 21:24 macOS 11.1 aarch64 Xcode 12.3
o Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
o Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
o Lazarus 2.0.10 3.2.0 Win10 Parallels VM

 

TinyPortal © 2005-2018