[Github-comments] [geany/geany] CPU load 1.28 (#1252)

Alexander Konotop notifications at xxxxx
Mon Oct 3 12:02:35 UTC 2016


Debian sid, Geany 1.28.
Geany continiously eats CPU while started. Not 100%, but about 50% of both cores in my case.
Strace continiously shows next:
```
fstat(11, {st_mode=S_IFCHR|0666, st_rdev=makedev(5, 2), ...}) = 0
fcntl(11, F_GETFL)                      = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(11, F_GETFL)                      = 0x8002 (flags O_RDWR|O_LARGEFILE)
fcntl(11, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
ioctl(11, TIOCSWINSZ, {ws_row=1, ws_col=30, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(11, TIOCGWINSZ, {ws_row=1, ws_col=30, ws_xpixel=0, ws_ypixel=0}) = 0
ioctl(11, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(11, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(11, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(11, TCGETS, {B38400 opost isig icanon echo ...}) = 0
wait4(22314, 0x1d9bec4, WNOHANG, NULL)  = 0
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN}], 4, 19666) = 1 ([{fd=4, revents=POLLIN}])
read(4, "\1\0\0\0\0\0\0\0", 16)         = 8
recvmsg(3, {msg_namelen=0}, 0)          = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}, {fd=5, events=POLLIN|POLLPRI}, {fd=11, events=POLLIN}], 4, 19665) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=22314, si_uid=1000, si_status=SIGSEGV, si_utime=6, si_stime=0} ---
write(7, "\1\0\0\0\0\0\0\0", 8)         = 8
rt_sigreturn({mask=[]})                 = -1 EINTR (Interrupted system call)
write(13, "\n\0\0\0", 4)                = 4
write(13, "\200\2133\2\0\0\0\0", 8)     = 8
write(13, "\v\0\0\0", 4)                = 4
read(13, "\0", 1)                       = 1
close(12)                               = 0
close(11)                               = 0
write(13, "\6\0\0\0", 4)                = 4
read(13, "\1\0\0\0", 4)                 = 4
read(13, "\200\2133\2\0\0\0\0", 8)      = 8
recvmsg(13, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0", iov_len=2048}], msg_iovlen=1, msg_control=[{cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, cmsg_data=[11]}], msg_controllen=24, msg_flags=0}, MSG_NOSIGNAL) = 1
recvmsg(13, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0", iov_len=2048}], msg_iovlen=1, msg_control=[{cmsg_len=20, cmsg_level=SOL_SOCKET, cmsg_type=SCM_RIGHTS, cmsg_data=[12]}], msg_controllen=24, msg_flags=0}, MSG_NOSIGNAL) = 1
pipe2([14, 15], 0)                      = 0
clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f958ddb1510) = 22319
close(15)                               = 0
read(14, "", 8)                         = 0
close(14)                               = 0
```

Sorry, I couldn't find out where the start and the end of each loop are, so I've just randomly cut loop at `close(14)`
Each loop the output of Strace differs only with some numbers (I guess, addresses) in wait4() and poll() calls.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1252
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161003/d3edbd00/attachment.html>


More information about the Github-comments mailing list