Bug 154014
Summary: | tc segfaults when parsing some erronous parameters | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Christophe GRENIER <grenier> | ||||
Component: | iproute | Assignee: | Radek Vokál <rvokal> | ||||
Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 4.0 | CC: | herrold, jneedle, laroche, riel | ||||
Target Milestone: | --- | Keywords: | Regression | ||||
Target Release: | --- | ||||||
Hardware: | i386 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | RHBA-2007-0184 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-05-01 17:19:17 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Christophe GRENIER
2005-04-06 15:51:34 UTC
I've just managed to close those 15 empty bugs you've submited to me.... Which kernel are you currently using? I've never played with queueing policy, so I'm not sure how can I reproduce it. When calling your step I get an error message Unknown qdisc "police", hence option "rate" is unparsable Which seems like a correct error message to me. Or do I need to specify "police" somehow before doing this step? Sorry for the empty bug reports but bugzilla send an error 500. I had to remove some stuff from gdb output to get the message accepted. It seems you got the correct error message I have been able to reproduce the bug on 3 servers - kernel-2.6.10-1.770_FC3 glibc-2.3.4-2.fc3 - kernel-2.6.10-1.770_FC3 glibc-2.3.4-10 - kernel-2.6.9-1.724_FC3 glibc-2.3.4-2.fc3 There is no prior configuration to setup, you don't even need to have a valid interface or to be root. sh-3.00$ /sbin/tc qdisc add dev fakedev handle ffff: police rate 1kbit Segmentation fault Old version iproute-2.4.7-7.90.1 (RH9) and iproute-2.4.7-14 (FC2) are not affected /sbin/tc qdisc add dev fakedev handle ffff: police rate 1kbit Unknown qdisc "police", hence option "rate" is unparsable Ok, I've managed to reproduce this bug on a RHEL4 system. My machine doesn't seem to be affected and also new version of iproute doesn't have this issue. Can you also please try the latest iproute from devel branch? (iproute-2.6.11-2) Only version 2.6.11-1 is avaible at http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS I have rebuild it under FC3, version 2.6.11-1 is not affected by this bug I'm moving this bugzilla to RHEL4. The patch iproute2-2.6.9-tc.patch that is in the U4 beta breaks tc when using it for traffic shaping with the popular wshaper script. This will need to be fixed before U4 can ship. *** Bug 200651 has been marked as a duplicate of this bug. *** Created attachment 133318 [details]
structures.patch
Proposed patch for this issue.
Comment on attachment 133318 [details] structures.patch >- table = calloc(sizeof(double), TABLESIZE); >+ table = calloc(TABLESIZE+1, sizeof(double)); Small change in previous attachment An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2007-0184.html |