#18126: hostapd-mini can crash / r42852 / ar71xx
--------------------------+------------------------
  Reporter:  bittorf@…    |      Owner:  developers
      Type:  defect       |     Status:  closed
  Priority:  normal       |  Milestone:
 Component:  packages     |    Version:  Trunk
Resolution:  no_response  |   Keywords:
--------------------------+------------------------

Comment (by bittorf@…):

 another one for r44150:

 {{{
 bastian@gcc20:~/openwrt$ scripts/remote-gdb
 r44150.ar71xx.hostapd.2340.11.1422463530.core staging_dir/target-
 mips_34kc_uClibc-0.9.33.2/root-ar71xx/usr/sbin/hostapd
 Using target mips_34kc (uClibc-0.9.33.2)
 GNU gdb (Linaro GDB) 7.6-2013.05
 Copyright (C) 2013 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "--host=x86_64-linux-gnu --target=mips-openwrt-
 linux-uclibc".
 For bug reporting instructions, please see:
 <http://bugs.launchpad.net/gdb-linaro/>...
 Reading symbols from /home/bastian/openwrt/staging_dir/target-
 mips_34kc_uClibc-0.9.33.2/root-ar71xx/usr/sbin/wpad...done.
 warning: core file may not match specified executable file.
 [New LWP 2340]
 Core was generated by `/usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B
 /var/run/hostapd-phy0.conf'.
 Program terminated with signal 11, Segmentation fault.
 #0  malloc (bytes=<optimized out>) at libc/stdlib/malloc-
 standard/malloc.c:957
 957             if (size == nb) {
 (gdb) bt full
 #0  malloc (bytes=<optimized out>) at libc/stdlib/malloc-
 standard/malloc.c:957
         __infunc_pthread_cleanup_buffer = {__routine = 0x779534ac
 <pthread_mutex_unlock>, __arg = 0x7796b280 <__malloc_lock>, __canceltype =
 2141572776, __prev = 0x7794a688 <calloc+152>}
         av = 0x7796ffec <__malloc_state>
         nb = 4104
         idx = 48
         bin = <optimized out>
         fb = <optimized out>
         victim = 0x6ee228
         size = 0
         victim_index = <optimized out>
         remainder = <optimized out>
         remainder_size = <optimized out>
         block = <optimized out>
         bit = <optimized out>
         map = <optimized out>
         fwd = <optimized out>
         bck = 0x0
         retval = <optimized out>
 #1  0x7799787e in __nlmsg_alloc () from
 /home/bastian/openwrt/scripts/../staging_dir/target-
 mips_34kc_uClibc-0.9.33.2/root-ar71xx/usr/lib/libnl-tiny.so
 No symbol table info available.
 #2  0x7799799a in nlmsg_alloc () from
 /home/bastian/openwrt/scripts/../staging_dir/target-
 mips_34kc_uClibc-0.9.33.2/root-ar71xx/usr/lib/libnl-tiny.so
 No symbol table info available.
 #3  0x0041dc84 in wpa_driver_nl80211_set_ap ()
 No symbol table info available.
 #4  0x00411098 in ieee802_11_set_beacon ()
 No symbol table info available.
 #5  0x00411140 in ieee802_11_update_beacons ()
 No symbol table info available.
 #6  0x00426436 in ap_list_process_beacon ()
 No symbol table info available.
 #7  0x004271e8 in ieee802_11_mgmt ()
 No symbol table info available.
 #8  0x00409600 in hostapd_wpa_event ()
 No symbol table info available.
 #9  0x00417b9c in process_beacon_event ()
 No symbol table info available.
 #10 0x77996de0 in nl_cb_call () from
 /home/bastian/openwrt/scripts/../staging_dir/target-
 mips_34kc_uClibc-0.9.33.2/root-ar71xx/usr/lib/libnl-tiny.so
 No symbol table info available.
 #11 0x7799759c in nl_recvmsgs () from
 /home/bastian/openwrt/scripts/../staging_dir/target-
 mips_34kc_uClibc-0.9.33.2/root-ar71xx/usr/lib/libnl-tiny.so
 No symbol table info available.
 #12 0x004173ce in nl80211_recv_beacons ()
 No symbol table info available.
 #13 0x004112bc in eloop_sock_table_dispatch ()
 No symbol table info available.
 #14 0x0041192a in eloop_run ()
 No symbol table info available.
 #15 0x00404512 in hostapd_main ()
 No symbol table info available.
 #16 0x00403aa4 in main ()
 No symbol table info available.
 (gdb)
 }}}

--
Ticket URL: <https://dev.openwrt.org/ticket/18126#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to