Author Topic: Gdk-CRITICAL **: IA__gdk_gc_set_foreground: assertion 'color != NULL' failed  (Read 1431 times)

Offline stampedeboss

  • Full Member
  • ***
  • Posts: 108
    • View Profile
When running xLights .53 on linux and using the -r mode,  I receive a lot of the above messages.  Doesn't matter which profile I use.  I don't see the issue outside of using the -r.

According to what I've read, it appears something is being initialized and since the window isn't there its having an issue.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Cool so if I ever use Linux don't use -r mode whatever that is.

Offline dkulp

  • Supporting Member
  • Hero Member
  • *
  • Posts: 812
    • View Profile
When running xLights .53 on linux and using the -r mode,  I receive a lot of the above messages.  Doesn't matter which profile I use.  I don't see the issue outside of using the -r.

According to what I've read, it appears something is being initialized and since the window isn't there its having an issue.

Why isn't the window there?    The -r flag SHOULD be bringing up the xLights window and then render everything.  Thus, the window should be there.
Daniel Kulp
Framingham, MA

Offline stampedeboss

  • Full Member
  • ***
  • Posts: 108
    • View Profile
The window does show, my guess and guess only is perhaps something in the -r logic is trying to initialize before some resource is created.  Not sure where in the code to look.

Offline debenham

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
It is a gtk issue (or more accurately a problem with how wxwidgets uses gtk).   It is caused by wxwidgets not initialising widgets properly)
It is fixed in gtk3 - but there are other problem with wxwidgets that stops us from using gtk3 instead of gtk2.
You should be able to safely ignore those messages - things will still work

Sent from my Nexus 6P using Tapatalk


Offline stampedeboss

  • Full Member
  • ***
  • Posts: 108
    • View Profile
Thank You