[Lazarus] Cocoa testers needed

C Western l at c-m-w.me.uk
Sun Mar 1 19:19:16 CET 2015

On 28/02/15 10:51, Felipe Monteiro de Carvalho wrote:
> Hello,
> It would be good if people start testing LCL-Cocoa and report bugs.
> thanks,
I tried lazarus with cocoa; it started OK on a "default" app, but when I 
loaded one of my own apps I had the following crash shown in the 
attached file.

-------------- next part --------------
2015-03-01 18:00:22.762 lazarus[30461:74710] Unable to simultaneously satisfy constraints:
    "<NSAutoresizingMaskLayoutConstraint:0xacccef0 h=-&- v=-&- V:|-(27)-[NSView:0xae8c390]   (Names: '|':TCocoaTabControl:0xae70460 )>",
    "<NSAutoresizingMaskLayoutConstraint:0xacccf30 h=-&- v=-&- V:[NSView:0xae8c390]-(3)-|   (Names: '|':TCocoaTabControl:0xae70460 )>",
    "<NSAutoresizingMaskLayoutConstraint:0xacd3d10 h=-&- v=-&- V:|-(0)-[TCocoaTabPageView:0xae947b0]   (Names: '|':NSView:0xae8c390 )>",
    "<NSAutoresizingMaskLayoutConstraint:0xacd6470 h=--& v=&-- V:[TCocoaTabControl:0xae70460(47)]>",
    "<NSAutoresizingMaskLayoutConstraint:0xacd3cd0 h=-&- v=-&- V:[TCocoaTabPageView:0xae947b0]-(91)-|   (Names: '|':NSView:0xae8c390 )>"

Will attempt to recover by breaking constraint 
<NSAutoresizingMaskLayoutConstraint:0xacd3d10 h=-&- v=-&- V:|-(0)-[TCocoaTabPageView:0xae947b0]   (Names: '|':NSView:0xae8c390 )>

Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.
TApplication.HandleException [TCustomIcon.LoadFromResourceName] The resource "cur_11" was not found
  Stack trace:
  $00163528  TCUSTOMICON__LOADFROMRESOURCENAME,  line 674 of lcl/graphics.pp
  $0006554E  TSCREEN__GETCURSORS,  line 600 of lcl/forms.pp
  $00065F90  TSCREEN__SETCURSOR,  line 904 of lcl/forms.pp
  $004A4327  TSOURCEEDITORMANAGERBASE__INCUPDATELOCKINTERNAL,  line 9072 of ide/sourceeditor.pp
  $004A4428  TSOURCEEDITORMANAGERBASE__INCUPDATELOCK,  line 9097 of ide/sourceeditor.pp
  $005F1893  TLAZSOURCEFILEMANAGER__CLOSEPROJECT,  line 3742 of ide/sourcefilemanager.pas
  $000921DB  TMAINIDE__DOCLOSEPROJECT,  line 6204 of ide/main.pp
  $00092913  TMAINIDE__DOOPENPROJECTFILE,  line 6311 of ide/main.pp
  $005F1AA6  TLAZSOURCEFILEMANAGER__OPENPROJECT,  line 3778 of ide/sourcefilemanager.pas
  $0008A8FD  TMAINIDE__MNUOPENPROJECTCLICKED,  line 4116 of ide/main.pp
  $00383805  TIDEMENUITEM__MENUITEMCLICK,  line 575 of components/ideintf/menuintf.pas
  $00386855  TIDEMENUCOMMAND__MENUITEMCLICK,  line 1650 of components/ideintf/menuintf.pas
  $002428E5  TMENUITEM__CLICK,  line 84 of lcl/menus.pp
  $0024300A  TMENUITEM__DOCLICKED,  line 282 of lcl/menus.pp
  $00024624  PASCALMAIN,  line 142 of ./include/control.inc
  $002841BE  TLCLMENUITEMCALLBACK__ITEMSELECTED,  line 1376 of lcl/interfaces/cocoa/cocoawscommon.pas
  $001C12B8  TCOCOAMENUITEM__LCLITEMSELECTED,  line 3340 of lcl/interfaces/cocoa/cocoaprivate.pp

More information about the Lazarus mailing list