[RTEMS Project] #2296: powerpc psxualarm01 Failure

RTEMS trac trac at rtems.org
Wed Mar 11 17:29:40 UTC 2015


#2296: powerpc psxualarm01 Failure
---------------------------+------------------------------
 Reporter:  joel.sherrill  |       Owner:  sebastian.huber
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:  4.11.1
Component:  General        |     Version:  4.11
 Severity:  normal         |  Resolution:
 Keywords:                 |
---------------------------+------------------------------

Comment (by joel.sherrill):

 Hmmm... maybe an underflow:

 (gdb) p ticks
 $5 = 1000
 (gdb) n
 97          ticks -= executing->Timer.stop_time -
 executing->Timer.start_time;
 (gdb)
 99          _Timespec_From_ticks( ticks, rmtp );
 (gdb)
 108             if ( ticks )
 (gdb) p ticks
 $6 = 4294967292
 (gdb) p *rmtp
 $7 = {tv_sec = 4294, tv_nsec = 927296000}
 (gdb) p executing->Timer
 $8 = {Node = {next = 0x2aa24 <_POSIX_signals_Ualarm_timer>,
     previous = 0x2c3f4 <_Watchdog_Ticks_chain>}, state =
 WATCHDOG_INACTIVE,
   initial = 1000, delta_interval = 0, start_time = 300, stop_time = 1304,
   routine = 0x14808 <_Thread_Delay_ended>, id = 0, user_data = 0x32a30}

 It took 1004 ticks to fire but we were only waiting for 1000.

--
Ticket URL: <http://devel.rtems.org/ticket/2296#comment:1>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list