[RTEMS Project] #2664: spclock_err02

RTEMS trac trac at rtems.org
Fri Mar 18 18:51:10 UTC 2016


#2664: spclock_err02
---------------------------+-----------------------------
 Reporter:  joel.sherrill  |      Owner:  sebastian.huber
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.12
Component:  cpukit         |    Version:  4.12
 Severity:  normal         |   Keywords:
---------------------------+-----------------------------
 New test failure on sis but likely all targets.

 *** BEGIN OF TEST SPCLOCK_ERR 2 ***
 TA1 - rtems_io_close - RTEMS_INVALID_NUMBER
 TA1 - rtems_io_control - RTEMS_INVALID_NUMBER
 TA1 - rtems_io_initialize - RTEMS_INVALID_NUMBER
 TA1 - rtems_io_open - RTEMS_INVALID_NUMBER
 TA1 - rtems_io_read - RTEMS_INVALID_NUMBER
 TA1 - rtems_io_write - RTEMS_INVALID_NUMBER
 TA1 - rtems_clock_set - 23:59:59   12/31/2000 - RTEMS_SUCCESSFUL
 TA1 - rtems_clock_get_tod - 00:00:00   01/01/2001 - RTEMS_SUCCESSFUL
 TA1 - rtems_clock_set - 23:59:59   12/31/1999 - RTEMS_SUCCESSFUL
 TA1 - rtems_clock_get_tod - 00:00:00   01/01/2000 - RTEMS_SUCCESSFUL
 assertion "ticks < 0x400000000" failed: file
 "../../cpukit/../../../sis/lib/include/rtems/score/watchdogimpl.h", line
 316, function: _Watchdog_Ticks_from_timespec

 Breakpoint 1, _Terminate
 (the_source=the_source at entry=RTEMS_FATAL_SOURCE_ASSERT,
     is_internal=is_internal at entry=false,
 the_error=the_error at entry=33694096)
     at ../../../../../../rtems/c/src/../../cpukit/score/src/interr.c:36
 36      {
 (gdb) bt
 #0  _Terminate (the_source=the_source at entry=RTEMS_FATAL_SOURCE_ASSERT,
     is_internal=is_internal at entry=false,
 the_error=the_error at entry=33694096)
     at ../../../../../../rtems/c/src/../../cpukit/score/src/interr.c:36
 #1  0x0200aed4 in rtems_fatal
 (source=source at entry=RTEMS_FATAL_SOURCE_ASSERT,
     error=error at entry=33694096)
     at ../../../../../../rtems/c/src/../../cpukit/sapi/src/fatal2.c:34
 #2  0x02004a9c in __assert_func (
     file=file at entry=0x201a650
 "../../cpukit/../../../sis/lib/include/rtems/score/watchdogimpl.h",
 line=line at entry=316,
     func=func at entry=0x201a6d0 <__func__.3277>
 "_Watchdog_Ticks_from_timespec",
     failedexpr=failedexpr at entry=0x201a638 "ticks < 0x400000000")
     at
 ../../../../../../rtems/c/src/../../cpukit/libcsupport/src/__assert.c:52
 #3  0x0200bbf8 in _Watchdog_Ticks_from_timespec (ts=0x2022210)
     at
 ../../cpukit/../../../sis/lib/include/rtems/score/watchdogimpl.h:316
 #4  _TOD_Set_with_timestamp
 (tod_as_timestamp=tod_as_timestamp at entry=0x2022280)
     at
 ../../../../../../rtems/c/src/../../cpukit/score/src/coretodset.c:40
 #5  0x02009880 in rtems_clock_set (tod=tod at entry=0x2022304)
     at ../../../../../../rtems/c/src/../../cpukit/rtems/src/clockset.c:42
 #6  0x02001818 in Init (argument=<optimized out>)
     at
 ../../../../../../../rtems/c/src/../../testsuites/sptests/spclock_err02/init.c:93
 #7  0x0200fcbc in _Thread_Entry_adaptor_numeric (executing=0x201fb90)
     at
 ../../../../../../rtems/c/src/../../cpukit/score/src/threadentryadaptornumeric
 ---Type <return> to continue, or q <return> to quit---
 .c:25
 #8  0x02012e0c in _Thread_Handler ()
     at
 ../../../../../../rtems/c/src/../../cpukit/score/src/threadhandler.c:93
 #9  0x02012d60 in _Thread_Handler ()
     at
 ../../../../../../rtems/c/src/../../cpukit/score/src/threadhandler.c:29
 (gdb) l init.c:93
 88        status = rtems_clock_get_tod( &time );
 89        directive_failed( status, "rtems_clock_get_tod" );
 90        print_time( "TA1 - rtems_clock_get_tod - ", &time, " -
 RTEMS_SUCCESSFUL\n" );
 91
 92        build_time( &time, 12, 31, 2100, 23, 59, 59, 0 );
 93        status = rtems_clock_set( &time );
 94        directive_failed( status, "rtems_clock_set" );
 95        print_time( "TA1 - rtems_clock_set - ", &time, " -
 RTEMS_SUCCESSFUL\n" );
 96        status = rtems_task_wake_after(
 rtems_clock_get_ticks_per_second() );
 97        status = rtems_clock_get_tod( &time );
 (gdb)

--
Ticket URL: <http://devel.rtems.org/ticket/2664>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list