ICE默认IO错误处理程序,执行exit(),pid = 11281,errno = 4 [英] ICE default IO error handler doing an exit(), pid = 11281, errno = 4
问题描述
我们的PyQt应用程序之一抛出了关于ICEAuthority的错误,并退出-
One of our PyQt app throwa an error about ICEAuthority as below and exit -
ICE默认IO错误处理程序在执行exit() ,pid = 11281,errno = 4
ICE default IO error handler doing an exit(), pid = 11281, errno = 4
在查看轨迹时,我们看到以下内容-
On looking at the trace, we see the following -
write(25, "\1\0\3\200\3\0\0\0\3\0\0\0\t\0\0\0\10\0\0\0\1\0\0\0\377rtStyle", 32) = 32
read(25, 0x16a67f0, 8) = ? ERESTARTSYS (To be restarted)
— SIGCHLD (Child exited) @ 0 (0) —
write(6, "\0", 1) = 1
rt_sigreturn(0x2) = -1 EINTR (Interrupted system call)
write(2, "ICE default IO error handler doi"..., 69) = 69
这似乎是在处理了我们从PyQt应用程序中衍生出的进程之一的SIGCHLD之后,ICEAuthority文件读取操作未能重新启动。在谷歌搜索中,有很多关于ICEAuthority文件失败的报告,人们建议重启系统,删除.ICEAuthority文件或取消设置SESSION_MANAGER。我们倾向于暂时在我们的PyQt应用中取消设置SESSION_MANAGER。但我想了解为什么该操作无法重新启动ICEAuthority文件的读取操作。这是gnome会话代码中的错误吗?有人知道吗?
This looks like the ICEAuthority file read operation failed to restart after handling the SIGCHLD for one of the processes we spawned from the PyQt app. On googling, there are a lot of reports about ICEAuthority file failure and people suggest restarting the system, deleting the .ICEAuthority file, or unsetting SESSION_MANAGER. We are inclined to unset SESSION_MANAGER in our PyQt app for now. But I'd like to understand why the operation failed to restart the read operation of the ICEAuthority file. Is this a bug in the gnome-session code? Is anyone aware of it?
我还要提及的是,我尝试将SA_RESTART设置为false以便SIGCHLD句柄重新启动操作。
Also I'd like to mention that I tried setting SA_RESTART to false for the SIGCHLD handle to restart the operation. This failed to work.
请在下面找到我们的系统详细信息-
Please find below our system details -
Linux nyc-nx-l01.schrodinger.com 2.6.32-358.23.2.el6.x86_64#1 SMP周三10月16日18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU / Linux
Linux nyc-nx-l01.schrodinger.com 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed Oct 16 18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
CentOS版本6.4(最终版)
CentOS release 6.4 (Final)
推荐答案
当我遇到相同的错误消息时在Ubuntu上启动'keepassx'。删除我的〜/ .ICEauthority文件可以修复它。仅删除了一次,此后再也没有问题。
I had the same error message when starting 'keepassx' on Ubuntu. Deleting my ~/.ICEauthority file fixed it. Only deleted it once, have never had the problem since.
这篇关于ICE默认IO错误处理程序,执行exit(),pid = 11281,errno = 4的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!