Bug 177095 - ip segfaults when options are -6 route show dev lo via ::
Summary: ip segfaults when options are -6 route show dev lo via ::
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: iproute
Version: 4
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Radek Vokál
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-01-06 09:18 UTC by Laszlo Kajan
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 2.6.14-11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-01-06 11:03:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Laszlo Kajan 2006-01-06 09:18:53 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050909 Fedora/1.0.6-1.2.fc4 Firefox/1.0.6

Description of problem:
When ipv6 networking is up (both for lo and eth0), I get 
...
unreachable 3ffe:ffff::/32  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
Segmentation fault

when I execute either
/sbin/ip -6 route show dev lo via ::
or
/sbin/ip -6 route show dev eth0 via ::
.

The segfault happens every time I run /sbin/ip -6 route show dev lo via ::.
It also happens sometimes when the initscripts shut down networking.

Version-Release number of selected component (if applicable):
iproute-2.6.11-1

How reproducible:
Always

Steps to Reproduce:
1.have at least one network card installed
2.set up 6TO4 as in /usr/share/doc/initscripts-8.11.1/ipv6-6to4.howto
3.bring up the network including ipv6
4.execute /sbin/ip -6 route show dev lo via ::
5.it segfaults

Actual Results:  unreachable ::/96  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
unreachable ::ffff:0.0.0.0/96  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
unreachable 2002:a00::/24  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
unreachable 2002:7f00::/24  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
unreachable 2002:96fe:b0b6::/48  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
unreachable 2002:a9fe::/32  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
unreachable 2002:ac10::/28  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
unreachable 2002:c0a8::/32  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
unreachable 2002:e000::/19  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
unreachable 3ffe:ffff::/32  metric 1024  error -101 mtu 16436 advmss 16376 metric 10 4294967295
Segmentation fault


Expected Results:  I do not know.

Additional info:

Comment 1 Radek Vokál 2006-01-06 09:34:09 UTC
Can you please retest this with the latest rawhide iproute package? 

Comment 2 Laszlo Kajan 2006-01-06 11:03:01 UTC
I compiled and installed iproute-2.6.14-11 from the source rpm.
The problem does not appear, it does not segfault any more.

Comment 3 Radek Vokál 2006-01-06 11:08:12 UTC
Thanks a lot

Comment 4 Laszlo Kajan 2006-01-06 12:58:55 UTC
Thank you :)


Note You need to log in before you can comment on or make changes to this bug.