Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#45939 - [arp-scan] segfault

Attached to Project: Community Packages
Opened by Daurnimator (daurnimator) - Monday, 10 August 2015, 01:42 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Thursday, 17 September 2015, 08:40 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Segfaults when I try and run arp-scan
Only `arp-scan -h` seems to work.

$ pacman -Qi arp-scan
Name : arp-scan
Version : 1.9-1
Description : A tool that uses ARP to discover and fingerprint IP hosts on the local network
Architecture : x86_64
URL : http://www.nta-monitor.com/tools/arp-scan/
Licenses : GPL
Groups : None
Provides : None
Depends On : libpcap perl-libwww
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 775.00 KiB
Packager : Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
Build Date : Fri 18 Oct 2013 01:32:56 AEDT
Install Date : Mon 10 Aug 2015 11:38:40 AEST
Install Reason : Explicitly installed
Install Script : No
Validated By : Signature

Steps to reproduce:

$ arp-scan
Segmentation fault (core dumped)

$ arp-scan 10.1.1.0/24
Segmentation fault (core dumped)
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Thursday, 17 September 2015, 08:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  arp-scan-1.9-2
Comment by Massimiliano Torromeo (mtorromeo) - Monday, 10 August 2015, 07:16 GMT
Do you run it as root?
Comment by Daurnimator (daurnimator) - Monday, 10 August 2015, 07:49 GMT
I've tried both as root and normal. Segfault either way

A gdb backtrace didn't show anything of value.
Comment by Jelle van der Waa (jelly) - Sunday, 13 September 2015, 12:27 GMT
Bug has been fixed in Git https://github.com/royhills/arp-scan/commit/195ff60b98696e822c4a877523b2097d40386cc1

Not sure if this project releases active, otherwise I'd suggest putting this patch in the PKGBUILD
Comment by Massimiliano Torromeo (mtorromeo) - Thursday, 17 September 2015, 08:39 GMT
Thanks Jelle!
There is no new release containing the patch so I just applied it and it works fine.

Loading...