Recent

Author Topic: What does this TGtk2WidgetSet.GetSysColor ERROR mean?  (Read 2299 times)

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
What does this TGtk2WidgetSet.GetSysColor ERROR mean?
« on: March 19, 2018, 03:21:44 pm »
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.
« Last Edit: March 19, 2018, 03:25:22 pm by cpicanco »
Be mindful and excellent with each other.
https://github.com/cpicanco/

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: What does this TGtk2WidgetSet.GetSysColor ERROR mean?
« Reply #1 on: April 18, 2018, 10:24:24 am »
It's obvious that GetSysColor() param is out of range. What code do you use to get such error ?

cpicanco

  • Hero Member
  • *****
  • Posts: 618
  • Behavioral Scientist and Programmer
    • Portfolio
Re: What does this TGtk2WidgetSet.GetSysColor ERROR mean?
« Reply #2 on: April 25, 2018, 01:00:28 am »
The error occurred for unknown reasons. I was testing vlc lcl player over a form. I could not reproduce the error.
Be mindful and excellent with each other.
https://github.com/cpicanco/

 

TinyPortal © 2005-2018