Nagstamon – Crashing on choosing “Display tab” or “Add new server”

Published on Author gryzli

The problem


Suddenly I realized, that from some time on, whenever I try to choose “Display tab” or “Add new server” in Nagstamon it’s crashing.

This happens with all the nagstamon versions I already tried: 1.0,  0.9.11, 0.9.10 …


I was experiencing this problem on a multiple linux distros, including: Fedora 19,20 and OpenSuse 12.1, 13.1


When I tried to run the program from console, and check out it’s output during the crash it was throwing the following message:

This probably reflects a bug in the program.
The error was ‘BadMatch (invalid parameter attributes)’.
  (Details: serial 23191 error_code 8 request_code 62 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the –sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Trace/breakpoint trap

The solution

After some googling it seems that the problem is related to a bug in the KDE oxygen-gtk theme.

It seems that the bug is intruduced in the recent versions of KDE, and the fix (for me) is to change the KDE theme to a different then oxygen-gtk one.