Description of problem: SSIA, iptraf crashes when trying to get interface statistics broken down by TCP/UDP port. Version-Release number of selected component (if applicable): iptraf-3.0.1-8.fc12.x86_64 How reproducible: Reproducible. Steps to Reproduce: Either go into "Statistical breakdowns" -> "By TCP/UDP port" -> some interface or e.g. run "iptraf -s lo" directly from the command line. Actual results: [root@gibraltar ~]# iptraf -s lo Fatal: memory allocation error If you suspect a bug, please report the exact circumstances under which this error was generated. If possible, include gdb or strace data which may point out where the error occured. Bug reports may be sent in to iptraf. An attempt will be made to clear all lock files, but if stale lock files remain, exit all other instances of IPTraf and restart with the -f command-line parameter. IPTraf process 16185 aborting on signal 11. Expected results: Shows me interface statistics broken down by TCP/UDP port.
Same error in Fedora-12-i386...
Thanks for report. There was one wrong "else". try this build. http://koji.fedoraproject.org/koji/taskinfo?taskID=1893611
Works for me. One thing to note, though: I wasn't exactly comfortable downloading a binary scratch build without having a chance to look at what you changed to fix this. Perhaps you could just commit your changes to the package repository and do a normal build next time? Having package numbers skip over some intermediary releases between published updates doesn't really hurt in my opinion.
Created attachment 381499 [details] iptraf-3.0.1-servmon-fix.patch Sorry for that. I thought that you can see srpm. I can attach patches or I can simply commit patches to cvs and you can download from cvs. Is it ok for you?
Thanks for attaching the patch here and adding it to CVS! From my point of view, you can now build the package with the patch and push it to testing (don't forget Rawhide).
don't worry ;)
iptraf-3.0.1-9.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/iptraf-3.0.1-9.fc12
iptraf-3.0.1-9.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update iptraf'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0187
iptraf-3.0.1-9.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.