Here is log file;
$00000000006351A9 line 731 of lazloggerbase.pas
$00000000004B8158 line 5558 of gtk2winapi.inc
$000000000056952E line 490 of include/winapi.inc
$00000000005832A8 line 261 of include/brush.inc
$0000000000583097 line 210 of include/brush.inc
$0000000000587EE1 line 181 of include/canvas.inc
$000000000058BAD5 line 1720 of include/canvas.inc
$000000000058A7A4 line 1162 of include/canvas.inc
$000000000058A816 line 1175 of include/canvas.inc
ERROR: [TGtk2WidgetSet.GetSysColorBrush] Bad Value: 32. Valid Range between 0 and 31
$00000000006351A9 line 731 of lazloggerbase.pas
$00000000004B8007 line 5546 of gtk2winapi.inc
$00000000005694EE line 485 of include/winapi.inc
$0000000000577CF9 line 2599 of graphics.pp
$0000000000610FBE line 1568 of gtk2proc.inc
$0000000000611232 line 1658 of gtk2proc.inc
$0000000000611203 line 1722 of gtk2proc.inc
$000000000062BD15 line 1065 of gtk2devicecontext.inc
$00000000004BB145 line 7155 of gtk2winapi.inc
ERROR: [TGtk2WidgetSet.GetSysColor] Bad Value: 32. Valid Range between 0 and 31
This error is being reported in the console and does not generates, as far as I known, any noticeable problem in the gui. Right now I am trying to find exactly when this error is occuring. I am using Lazarus 1.8.2 on ubuntu 16.0.4 lts.