lkml.org 
[lkml]   [2011]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectERESTARTNOINTR, when compiling/linking shotwell with -pg
Date
Hello,

I added "-pg" switches to shotwell-Makefile and when running my
profiling-shotwell, when quitting it, it hangs temporarily.

"temporarily" can be between about 9 and more than 38 minutes (any other value
might also be possible... but these are some min/max numbers I experienced. In
case of 38 minutes it was "only" 38 minutes, because I killed shotwell after
that time.)

Without the "-pg" switch I did not got that problem.

Strace tells me, that the profiling timer expired.

Here some lines of strace, which I got, when the programs hangs:


[...]
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD,
parent_tidptr=0x7fffdcc6ac8c) = ? ERESTARTNOINTR (To be restarted)
--- {si_signo=SIGPROF, si_code=SI_KERNEL, si_value={int=1, ptr=0x1}}
(Profiling timer expired) ---
rt_sigreturn(0x1b) = 56
clone(child_stack=0, flags=CLONE_PARENT_SETTID|SIGCHLD,
parent_tidptr=0x7fffdcc6ac8c) = ? ERESTARTNOINTR (To be restarted)
--- {si_signo=SIGPROF, si_code=SI_KERNEL, si_value={int=1, ptr=0x1}}
(Profiling timer expired) ---
rt_sigreturn(0x1b) = 56
[...]



Using current standard installation of Arch linux on AMD-64 dual-core (no custom
kernel).


Any idea on fixing this?

As far as I could find out, this seems to be a kernel-problem.
So it's, why I let you know it here.

Ciao,
Oliver



\
 
 \ /
  Last update: 2011-08-15 01:53    [W:0.018 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site