Ticket #10585 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

The SIGALRM never fires

Reported by: PoLiang Owned by:
Priority: major Component: other
Version: VirtualBox 4.1.14 Keywords:
Cc: Guest type: Linux
Host type: Windows


I know there is a similiar ticket, but it has been there for more than 4 months. I want to report this issue and provide VBOX.log file.

I run the program:
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <sys/time.h>

#define INTERVAL 10

void alarm_wakeup (int i)

printf("%d sec up partner, Wakeup!!!\n",INTERVAL);


int main ()

struct itimerval tout_val;

tout_val.it_interval.tv_sec = 0;
tout_val.it_interval.tv_usec = 0;
tout_val.it_value.tv_sec = INTERVAL; /* set timer for "INTERVAL (10) seconds */
tout_val.it_value.tv_usec = 0;
setitimer(ITIMER_REAL, &tout_val,0);

signal(SIGALRM,alarm_wakeup); /* set the Alarm signal capture */

while (1);

return 0;


SIGALRM never files.

Compiler: gcc

guest OS: Ubuntu 12.04 Linux 3.2.0-24-generic-pae i686

host OS: Windows Vista


Ubuntu-2012-05-21-15-26-12.log Download (74.9 KB) - added by PoLiang 5 years ago.

Change History

Changed 5 years ago by PoLiang

comment:1 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

This was most likely fixed in VBox 4.2.8.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use