neogeographica / MeshTex

MeshTex plugin for GtkRadiant.
http://neogeographica.com/
GNU General Public License v2.0
0 stars 0 forks source link

GtkRadiant crash with: "GLib-WARNING (recursed) **: g_main_context_prepare(): main loop already active in another thread" #10

Closed neogeographica closed 11 years ago

neogeographica commented 11 years ago

Seen this a few times, seems to happen when dragging the camera view around. Lots of error dialogs spawned that each show many instances of the above message.

It's happened when I haven't ever invoked the MeshTex plugin, although the MeshTex plugin is installed... so I don't think it is related to the plugin but I'm not sure.

Also it has only happened when I was running GIMP (which also uses GLib and GTK+) at the same time as GtkRadiant. Possibly a coincidence.

I've caught this in the Visual Studio debugger, but it seems like useful thread context is long gone by the time the error dialogs are raised. It would be nice to have libglib symbols... maybe something to chase down when I'm more motivated to look at this particular issue.

neogeographica commented 11 years ago

Figured out how to reliably reproduce...

Ctrl-click in mapview to move POV, then bring the camera window to the front and drag it around a bit.

Happens with or without GIMP running, and also with or without MeshTex being installed. So, annoying bug, but not my fault as far as I can tell.