Project

General

Profile

Actions

Bug #2523

closed

route show is stuck in an infinite loop

Added by jorisgio almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/03/2013
Due date:
% Done:

0%

Estimated time:

Description

netstat -r prints the routing table, but "route show" does not terminate.
As far as i understand, netname is called with a host address instead of a network address, the ip of my nic.

Here is a backtrace :

Starting program: /usr/src/sbin/route/route show
Routing tables

Internet:
Destination Gateway Flags
^C
Program received signal SIGINT, Interrupt.
netname (sa=0x80069d0a8) at route.c:465
465 mask = (long)mask >> subnetshift;
(gdb) bt
#0 netname (sa=0x80069d0a8) at route.c:465
#1 0x000000000040493e in p_sockaddr (sa=0x80069d0a8, flags=0, width=31) at show.c:343
#2 0x000000000040464f in p_rtentry (rtm=0x80069d000) at show.c:240
#3 0x000000000040444d in show (argc=1, argv=0x7ffffffff798) at show.c:174
#4 0x00000000004006ed in main (argc=1, argv=0x7ffffffff798) at route.c:192

Actions #1

Updated by sepherosa almost 12 years ago

On Mon, Mar 4, 2013 at 2:09 AM, Joris giovannangeli via Redmine
<> wrote:

Issue #2523 has been reported by jorisgio.

----------------------------------------
Bug #2523: route show is stuck in an infinite loop
http://bugs.dragonflybsd.org/issues/2523

Author: jorisgio
Status: New
Priority: Normal
Assignee:
Category:
Target version:

netstat -r prints the routing table, but "route show" does not terminate.
As far as i understand, netname is called with a host address instead of a network address, the ip of my nic.

Should have been fixed by:
8a2db35a8aae8fe1dd9a37bd5e7e316c9aaf8a7d

Best Regards,
sephe

Actions #2

Updated by jorisgio almost 12 years ago

Hi,

indeed it's fixed. Thanks !

Actions #3

Updated by swildner almost 12 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF