[Vm-dev] Camera sig fault on 64 bits machines.

Andreas Wacknitz a.wacknitz at gmx.de
Tue Apr 22 17:30:07 UTC 2014

Hi again,

Am 21.04.2014 um 22:56 schrieb Eliot Miranda <eliot.miranda at gmail.com>:

> Hi Andreas,
> On Sat, Apr 19, 2014 at 2:52 PM, Andreas Wacknitz <a.wacknitz at gmx.de> wrote:
> Hi Eliot,
> Today I was able to work on this problem again. Alas heartbeat_handler() in sqUnixTimerHeartbeat.c is not called automatically as it should be.
> Only if I trigger an external ALRM signal (by means of signal -ALRM <pid>) it’s being called. I wasn’t able to find out how the trigger for it is being
> set.
> Hmmm.  In sqUnixTimerHeartbeat.c::ioInitHeartbeat() there's a sigaction call that establishes heartbeat_handle as the handler for SIGALRM.  Perhaps on FreeBSD or OpenSolaris you need to rearm the signal handler on each delivery?  But perhaps there's a flag you can set in the sigaction that avoids having to do this.
> The only place I found a nanosleep() call was in block() in sqUnixMain.c.
> See the nanosleep in sqUnixHeartbeat.c::beatStateMachine.
Now I have a clue why I didn’t see it before. If ITIMER_HEARTBEAT is set then all functionality is in sqUnixITimerHeartbeat.c and there is no nanosleep call there…

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20140422/ffe6b171/attachment.htm

More information about the Vm-dev mailing list