abrt 1.0.9 detected a crash. architecture: x86_64 Attached file: backtrace cmdline: iftop -n -N -b -N 192.168.3.12/255.255.255.255 component: iftop crash_function: __strcmp_ssse3 executable: /usr/sbin/iftop global_uuid: 1f005c7f55dbeb8f33a3076a78aff67eb7568722 kernel: 2.6.32.11-99.fc12.x86_64 package: iftop-0.17-10.fc12 rating: 4 reason: Process /usr/sbin/iftop was killed by signal 11 (SIGSEGV) release: Fedora release 12 (Constantine) How to reproduce ----- 1. iftop -n -N -b -N 192.168.3.12/255.255.255.255' -> instant crash
Created attachment 421744 [details] File: backtrace
problem is in stringmap implementation (stringmap.c) when removing some node from the tree, node itself is deallocated, but parent's pointer remains set. This results to pointer with free(ed) memory.
Created attachment 421768 [details] patch to fix this I need it working, so I've prepared this patch. It adds pointer to parent that is used to reset lesser/greater pointer when freeing appropriate sub-node. btw, usage/help output mentions ... [-N net/mask] but correct is: -F net/mask --- show traffic flows in/out of network -N --- don't convert port numbers to services
iftop-0.17-11.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/iftop-0.17-11.fc13
iftop-0.17-11.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/iftop-0.17-11.fc12
iftop-0.17-11.el5 has been submitted as an update for Fedora EPEL 5. http://admin.fedoraproject.org/updates/iftop-0.17-11.el5
iftop-0.17-11.el4 has been submitted as an update for Fedora EPEL 4. http://admin.fedoraproject.org/updates/iftop-0.17-11.el4
iftop-0.17-11.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
iftop-0.17-11.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
iftop-0.17-11.el4 has been pushed to the Fedora EPEL 4 stable repository. If problems still persist, please make note of it in this bug report.
iftop-0.17-11.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.