i have gtk-2.6.1. basically all gtk using apps give this warning on the console, and keep repeating it: "failed in listen(): Invalid argument" for example, with eclipse-3.1m4 downloaded from eclipse.org (not the eclipse-sdk.ebuild). i start it, it gives me this message a lllllot of times... and after some time it starts to show this message on the console: "fail to create socket: Too many open files" and it's the end. i cannot do anything in eclipse... i assume the same fate would avait all gtk programs, if i would run it long enough.. for example firefox started to crash for me..not too often..approx. 3-5times a day. and it was a lot more solid before. reverting back to gtk-2.4.* seems to fix this. i did not try to emerge gtk-2.4.*, but i downloaded, compiled and intalled gtk-2.4 into a separate folder, and with LD_LIBRARY_PATH instructed eclipse to use the lib-files from that folder. after doing this, eclipse is stable again.
i tried recompiling, it didn't help. my test-app was gthumb. it shows those warnings. i recompiled gthumb. still the same. then i recompiled gtk+. still the same ;(
ok, i've found the problem. the problem is uim. (an input method for gtk). if i unmerge uim, the warning doesn't show up anymore. if i emerge it again, the warning is back. i'll close this bug, and try to find a solution to uim's problem.