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#38892 - [hostapd] Crash with version 2.1-1

Attached to Project: Community Packages
Opened by Janne Rönkkö (jroo) - Thursday, 13 February 2014, 14:31 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 27 June 2014, 11:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:
Hostapd crashes on startup.


Additional info:
* package version(s): hostapd 2.1-1 (newest packages updated at Feb 12 around 17:00 UTC+2)

I have ethernet + wlan bridged together and hostapd for running WLAN AP. The server also has DNS server (bind) and DHCP server (isch-dhcpd).

Relevant log from systemctl:
Feb 12 21:03:50 zbox kernel: hostapd[585]: segfault at 0 ip 000000000046a9d7 sp 00007fffa32358d0 error 4 in hostapd[400000+aa000]
Feb 12 21:03:50 zbox systemd-coredump[586]: Process 585 (hostapd) dumped core.
-- Subject: Process 585 (hostapd) dumped core
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
--
-- Process 585 (hostapd) crashed and dumped core.
--
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.
Feb 12 21:03:51 zbox systemd[1]: hostapd.service: main process exited, code=dumped, status=11/SEGV
Feb 12 21:03:51 zbox systemd[1]: Unit hostapd.service entered failed state.


Steps to reproduce: start hostapd
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 27 June 2014, 11:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  should be fixed, reopen if not
Comment by Janne Rönkkö (jroo) - Thursday, 13 February 2014, 14:33 GMT
Others have also had the same issue: https://bbs.archlinux.org/viewtopic.php?id=176814

As in the Archlinux BBS topic, I fixed the issue by reverting to previous hostapd version.
Comment by Sergej Pupykin (sergej) - Friday, 14 February 2014, 08:58 GMT
I think it is upstream and maybe related to driver

I actively use hostapd on ArchLinuxARM with RT3070 (rt2800usb) in the mostly same configuration: bridged ethernet and wifi + dhcpd.

hostapd-2.1 works well for me.
Comment by Michal Svoboda (pht) - Saturday, 15 February 2014, 17:49 GMT
same problem here
my wireless hw is
idVendor 0x0cf3 Atheros Communications, Inc.
idProduct 0x9271 AR9271 802.11n
bcdDevice 1.08
iManufacturer 16 ATHEROS
iProduct 32 USB2.0 WLAN
iSerial 48 12345
Comment by Lurkos (Lurkos) - Wednesday, 19 February 2014, 16:40 GMT
I am experiencing the same issue also with the 2.1-2 version.
Comment by Thomas Zelch (eltom) - Friday, 21 February 2014, 21:18 GMT
Same Here, both Version 2.1-1 and 2.1-2.
Wireless Hardware is:
idVendor 0x0cf3 Atheros Communications, Inc.
idProduct 0x7015 TP-Link TL-WN821N v3 / TL-WN822N v2 802.11n [Atheros AR7010+AR9287]
bcdDevice 2.02
iManufacturer 16 ATHEROS
iProduct 32 USB WLAN
iSerial 48 12345
Comment by Tim Weippert (weiti) - Sunday, 18 May 2014, 15:34 GMT
Same her, but only first startup of hostapd seem to crash (2.1-2). I can start it manually with systemctl start hostapd.

idVendor 0x148f Ralink Technology, Corp.
idProduct 0x5370 RT5370 Wireless Adapter
bcdDevice 1.01
iManufacturer 1 Ralink
iProduct 2 802.11 n WLAN
iSerial 3 1.0

it is running on an RPI (arm6v)
Comment by Sergej Pupykin (sergej) - Tuesday, 24 June 2014, 11:27 GMT
can it be reproduced on 2.2-2 ?
Comment by Tim Weippert (weiti) - Tuesday, 24 June 2014, 13:42 GMT
I just updated hostapd and rebootet my PI. The System has started the daemon successfully, but i
doesn't have an System to check WLAN functions, as this PI is in an remote location.

I will verify in deep in the next days and leave an comment, but it looks promising.

Loading...