<p>Debian sid, Geany 1.28.<br>
Geany continiously eats CPU while started. Not 100%, but about 50% of both cores in my case.<br>
Strace continiously shows next:</p>

<pre><code>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
</code></pre>

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

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/1252">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJ71slHtCkKwCUu6hgZbB9_tNjC5fks5qwO7bgaJpZM4KMgU0">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJx_JD9TKKQm1KixuLaT2qJLA0DzOks5qwO7bgaJpZM4KMgU0.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/issues/1252"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>

<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"CPU load 1.28 (#1252)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1252"}}}</script>