[RTEMS Project] #2406: ping command crashes under i386/pc486

RTEMS trac trac at rtems.org
Wed Sep 2 09:54:20 UTC 2015


#2406: ping command crashes under i386/pc486
-------------------------+-------------------------------------------------
 Reporter:  Pavel        |      Owner:
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:  4.11.1
Component:  networking   |    Version:  4.11
 Severity:  normal       |   Keywords:  ping, i386, pc486, mx_dup_ck,
                         |  main_ping.c
-------------------------+-------------------------------------------------
 Ping shell command crashes with the EXECUTIVE SHUTDOWN... I've traced the
 task execution and found out that the exception handler is called in
 cpukit/libmisc/shell/main_ping.c at line 1198:
 CLR(ntransmitted % mx_dup_ck);

 It seems that mx_dup_ck is 0 and not initialized to nonzero value in
 rtems_shell_main_ping() function.

 If I add
 mx_dup_ck = MAX_DUP_CHK;
 in rtems_shell_main_ping() function after memset() ping command works (it
 doesn't crash at least).

 target: i386
 BSP: pc486
 target system: Qemu

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


More information about the bugs mailing list