Somehow, while running WindowMaker, the Gnome metadata.db becomes corrupt, and when one clicks on a device icon, one's X session terminates abruptly. Removing the metadata.db file solves the problem temporarily, but also erases the desktop device icons. WindowMaker 0.61.0, with patch, see bug id 6018 gnome-libs-1.0.53-1
Created attachment 55 [details] gnome metadata file, believed to contain the bug-triggering errors
I can't reproduce this, would need more information on why the X session is crashing. I don't think WindowMaker should have anything to do with the metadata database.