What text did you enter exactly into, say, geany to generate the error - starting a couple of lines before and including the line containing "typedef"?
Initially I created the file below in geany (with correct highlighting, but excluding the line typedef below).
Then I typed "typedef " ... as soon as I hit the space geany died (presumably trying to render a change from general text highlighting to keyword highlighting.
I then added the typedef line as you see below with TCL's system editor (compiled) and tried geany again from the bash.
Now all of geany, bluefish and gedit die as soon as they come up from the command line - I never see anything except a flash, I never hit any key.
(gedit now dies when I enter a large amount of text... but initial display comes up
(gedit:10216): Gdk-ERROR **: The program 'gedit' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadValue (integer parameter out of range for operation)'.
(Details: serial 14232 error_code 2 request_code 139 (RENDER) minor_code 34)
(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 GDK_SYNCHRONIZE environment
variable 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)
bluefish and geany still die on startup without displaying a screen.
Illegal values have no pattern that I can discern ...
7398 14232 2907 6807