* [Buildroot] [Bug 7166] New: hostapd: segfault when using RT5370
@ 2014-06-04 3:00 bugzilla at busybox.net
2014-06-04 6:45 ` [Buildroot] [Bug 7166] " bugzilla at busybox.net
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-06-04 3:00 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7166
Summary: hostapd: segfault when using RT5370
Product: buildroot
Version: 2014.05
Platform: Macintosh
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: jmavermeulen at gmail.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
hostapd crashes with segfault when using RT5370. This is because the driver
reports Beacon RX prior to hostapd having completed the AP mode setup. This bug
is reported and fixed here:
http://hostap.epitest.fi/cgit/hostap/commit/?id=334ec001bbd31c5bc83d6593e58dfbbf6b8785a2
I changed the source and version in the hostapd package to the mentioned commit
on the git repository and everything works again. I don't think however that
this is the right way of fixing this. Should I make a patch and file this or
something? At least until hostapd is updated?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 7166] hostapd: segfault when using RT5370
2014-06-04 3:00 [Buildroot] [Bug 7166] New: hostapd: segfault when using RT5370 bugzilla at busybox.net
@ 2014-06-04 6:45 ` bugzilla at busybox.net
2014-06-04 9:11 ` bugzilla at busybox.net
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-06-04 6:45 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7166
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> 2014-06-04 06:45:57 UTC ---
I don't know much about hostapd, but from the looks of it that patch seems
trivial to backport to the 2.1 release, so we could add it as a patch in
buildroot until the next hostapd release.
Care to send a patch doing that?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 7166] hostapd: segfault when using RT5370
2014-06-04 3:00 [Buildroot] [Bug 7166] New: hostapd: segfault when using RT5370 bugzilla at busybox.net
2014-06-04 6:45 ` [Buildroot] [Bug 7166] " bugzilla at busybox.net
@ 2014-06-04 9:11 ` bugzilla at busybox.net
2014-06-04 21:10 ` bugzilla at busybox.net
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-06-04 9:11 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7166
Jonathan <jmavermeulen@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEW
--- Comment #2 from Jonathan <jmavermeulen@gmail.com> 2014-06-04 09:11:33 UTC ---
(In reply to comment #1)
> I don't know much about hostapd, but from the looks of it that patch seems
> trivial to backport to the 2.1 release, so we could add it as a patch in
> buildroot until the next hostapd release.
>
> Care to send a patch doing that?
How can I make a patch based on the git diff? I'm really new to working with
buildroot and compiling kernel/rootfs in general.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 7166] hostapd: segfault when using RT5370
2014-06-04 3:00 [Buildroot] [Bug 7166] New: hostapd: segfault when using RT5370 bugzilla at busybox.net
2014-06-04 6:45 ` [Buildroot] [Bug 7166] " bugzilla at busybox.net
2014-06-04 9:11 ` bugzilla at busybox.net
@ 2014-06-04 21:10 ` bugzilla at busybox.net
2014-06-05 20:00 ` bugzilla at busybox.net
2014-06-05 20:15 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-06-04 21:10 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7166
Peter Korsgaard <jacmet@uclibc.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org> 2014-06-04 21:10:15 UTC ---
In this particular case it is simple as the commit applies to the 2.1 release
without problems, so something like:
git clone git://w1.fi/hostap.git && cd hostapd
git format-patch -s 334ec001bbd^..334ec001bbd
0001-Fix-Beacon-RX-before-AP-setup-completion.patch
cp 0001-*patch
/path/to/buildroot/package/hostapd/hostapd-0001-Fix-Beacon-RX-before-AP-setup-completion.patch
I've committed this to git:
http://git.buildroot.net/buildroot/commit/?id=f3a12bc334d4673df
Could you please verify that it solves your issue?
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 7166] hostapd: segfault when using RT5370
2014-06-04 3:00 [Buildroot] [Bug 7166] New: hostapd: segfault when using RT5370 bugzilla at busybox.net
` (2 preceding siblings ...)
2014-06-04 21:10 ` bugzilla at busybox.net
@ 2014-06-05 20:00 ` bugzilla at busybox.net
2014-06-05 20:15 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-06-05 20:00 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7166
Jonathan <jmavermeulen@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |VERIFIED
--- Comment #4 from Jonathan <jmavermeulen@gmail.com> 2014-06-05 20:00:03 UTC ---
Works perfectly!!
Thanks this fixes the issue at least until the next release!
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [Bug 7166] hostapd: segfault when using RT5370
2014-06-04 3:00 [Buildroot] [Bug 7166] New: hostapd: segfault when using RT5370 bugzilla at busybox.net
` (3 preceding siblings ...)
2014-06-05 20:00 ` bugzilla at busybox.net
@ 2014-06-05 20:15 ` bugzilla at busybox.net
4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2014-06-05 20:15 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=7166
--- Comment #5 from Peter Korsgaard <jacmet@uclibc.org> 2014-06-05 20:15:54 UTC ---
Great to hear. Notice that we have now moved to the recently released 2.2
version in git:
http://git.buildroot.net/buildroot/commit/?id=b912fff5500653856697cf8d339e
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-06-05 20:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-04 3:00 [Buildroot] [Bug 7166] New: hostapd: segfault when using RT5370 bugzilla at busybox.net
2014-06-04 6:45 ` [Buildroot] [Bug 7166] " bugzilla at busybox.net
2014-06-04 9:11 ` bugzilla at busybox.net
2014-06-04 21:10 ` bugzilla at busybox.net
2014-06-05 20:00 ` bugzilla at busybox.net
2014-06-05 20:15 ` bugzilla at busybox.net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox