VirtualBox

Opened 12 years ago

Closed 11 years ago

#10585 closed defect (fixed)

The SIGALRM never fires

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

Description

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)
{

signal(SIGALRM,alarm_wakeup);
printf("%d sec up partner, Wakeup!!!\n",INTERVAL);
exit(0);

}

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

Attachments (1)

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

Download all attachments as: .zip

Change History (2)

by PoLiang, 12 years ago

comment:1 by Frank Mehnert, 11 years ago

Resolution: fixed
Status: newclosed

This was most likely fixed in VBox 4.2.8.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use