#2406 closed defect (wontfix)

ping command crashes under i386/pc486

Reported by: Pavel Owned by: Joel Sherrill
Priority: normal Milestone: Indefinite
Component: network/legacy Version: 4.11
Severity: normal Keywords: ping, i386, pc486, mx_dup_ck, main_ping.c
Cc: Blocked By:


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

Attachments (1)

0001-Initialize-mx_dup_ck-in-globals-with-MAX_DUP_CHK.patch (902 bytes) - added by Pavel on Nov 30, 2016 at 10:41:00 AM.

Download all attachments as: .zip

Change History (7)

comment:1 Changed on Sep 2, 2015 at 9:59:33 AM by Pavel

To compile rtems with posix and networking I used newlib source from git://sourceware.org/newlib-cygwin.git.

comment:2 Changed on Dec 6, 2016 at 1:01:07 PM by Pavel

Owner: set to Joel Sherrill
Status: newassigned

comment:3 Changed on Jan 26, 2017 at 7:16:00 AM by Sebastian Huber


comment:4 Changed on Mar 23, 2017 at 1:03:28 AM by Chris Johns


The 4.11.2 milestone is closing.

comment:5 Changed on Feb 5, 2018 at 5:44:32 AM by Chris Johns

Milestone: 4.11.3Indefinite

Requires funding.

comment:6 Changed on Apr 20, 2021 at 6:44:21 PM by Joel Sherrill

Resolution: wontfix
Status: assignedclosed

This appears to related to the legacy stack and I suspect it has long gone away.

Note: See TracTickets for help on using tickets.