OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
    0%
  • Task Type Bug Report
  • Category Toolchain
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version openwrt-19.07
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Max - 03.04.2020

FS#2957 - openwrt 19.07 x86_64 sdk toolchain segmentation fault issue

Hi guys:

I found that the toolchain of openwrt 19.07 has some issues on x86_64 platform.

For example:
1. I use this sdk to build openwrt-shadowsocks 2. Install the compiled ipk, run the command `ss-local`, will report a `segmentation fault` error.

This error only occurs on openwrt 19.07 x86_64 platform. 19.07 toolchain on other platforms does not have this error, and the 18.06 version of the toolchain on the x86_64 platform also has no such errors.

Max commented on 03.04.2020 10:48
Admin
Petr Štetiar commented on 07.04.2020 14:25

I've just tried ss-local from ss available in the package feeds on x86/64 snapshot and it doesnt segfault. That package is built with the SDK as well. I'm too lazy to check this on 19.07.2, sorry.

Max commented on 07.04.2020 16:16
Max commented on 19.05.2020 10:50

UPDATE:
segmentation fault only when build with static link, my build commands:

make package/openwrt-shadowsocks/compile V=s \
  CONFIG_SHADOWSOCKS_STATIC_LINK=y \
  CONFIG_SHADOWSOCKS_WITH_EV=y \
  CONFIG_SHADOWSOCKS_WITH_PCRE=y \
  CONFIG_SHADOWSOCKS_WITH_CARES=y \
  CONFIG_SHADOWSOCKS_WITH_SODIUM=y \
  CONFIG_SHADOWSOCKS_WITH_MBEDTLS=y

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing