OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Base system
  • Assigned To
    Jo-Philipp Wich
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Zhong Jianxin - 28.07.2017
Last edited by Hans Dedecker - 31.07.2017

FS#933 - Opkg segfault on mt7621

Device info

# cat /etc/openwrt_release 
DISTRIB_ID='LEDE'
DISTRIB_RELEASE='SNAPSHOT'
DISTRIB_REVISION='r4638-0d4cda8'
DISTRIB_CODENAME='reboot'
DISTRIB_TARGET='ramips/mt7621'
DISTRIB_ARCH='mipsel_24kc'
DISTRIB_DESCRIPTION='LEDE Reboot SNAPSHOT r4638-0d4cda8'
DISTRIB_TAINTS='no-all'

# cat /tmp/sysinfo/model 
ZBT-WG3526 (16M)

Step to reproduce

# opkg info wpad
Package: wpad
Version: 2016-12-19-ad02e79d-4
Depends: libc, libnl-tiny, hostapd-common, libubus
Status: unknown ok not-installed
Section: net
Architecture: mipsel_24kc
Size: 412144
Filename: wpad_2016-12-19-ad02e79d-4_mipsel_24kc.ipk
Description: This package contains a full featured IEEE 802.1x/WPA/EAP/RADIUS
 Authenticator and Supplicant

# opkg update
Downloading http://downloads.lede-project.org/snapshots/targets/ramips/mt7621/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_core
Downloading http://downloads.lede-project.org/snapshots/targets/ramips/mt7621/packages/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_base
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/base/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/luci/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_luci
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/luci/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_packages
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/packages/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/routing/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_routing
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/routing/Packages.sig
Signature check passed.
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/telephony/Packages.gz
Updated list of available packages in /var/opkg-lists/reboot_telephony
Downloading http://downloads.lede-project.org/snapshots/packages/mipsel_24kc/telephony/Packages.sig
Signature check passed.

# opkg info wpad
Segmentation fault

Dmsg:

[ 1056.387693] do_page_fault(): sending SIGSEGV to opkg for invalid read access from 00000000
[ 1056.395965] epc = 773c541c in libc.so[77352000+92000]
[ 1056.401021] ra  = 0040d815 in opkg[400000+1b000]

After remove `/tmp/opkg-lists/reboot_packages`, segfault gone.

# rm /tmp/opkg-lists/reboot_packages
# opkg info wpad
Package: wpad
Version: 2016-12-19-ad02e79d-4
Depends: libc, libnl-tiny, hostapd-common, libubus
Status: unknown ok not-installed
Section: net
Architecture: mipsel_24kc
Size: 412144
Filename: wpad_2016-12-19-ad02e79d-4_mipsel_24kc.ipk
Description: This package contains a full featured IEEE 802.1x/WPA/EAP/RADIUS
 Authenticator and Supplicant
Closed by  Hans Dedecker
31.07.2017 19:45
Reason for closing:  Fixed
Additional comments about closing:  

Fixed in https: //git.lede-project.org/?p=project/opkg-l ede.git;a=commit;h=4bd8601ebd95c130e504c c724b0c5eb163050982

Baptiste Jonglez commented on 29.07.2017 10:32

This looks similar to  FS#822 

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing