[FS#1464] Perl built with gcc > v5 segfaults on apm821xx

LEDE Bugs lede-bugs at lists.infradead.org
Sat Mar 31 23:12:54 PDT 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - Russell Senior (russell) 

Attached to Project - OpenWrt/LEDE Project
Summary - Perl built with gcc > v5 segfaults on apm821xx
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details -  - Device problem occurs on

I have seen this on recent builds for Meraki MR24 (apm821xx)

 - Software versions of OpenWrt/LEDE release, packages, etc.

Currently at commit db893ec7f05e296ea50831246739bfc6cd29f50d.

Noticed recently since the update to gcc version 7 as default (at commit 61eee1adfbc9433b08b53f44804d4fb8d8d25f38).
Using GCC_USE_VERSION_5=y builds a perl that doesn't segfault.  GCC_USE_VERSION_6=y also segfaults.  Perl installed is 5.26.1-3

 - Steps to reproduce

Start perl, type "use strict;" followed by a carriage return. *BOOM*

root at hostname:/# perl
use strict;
Attempt to free unreferenced scalar: SV[65050.255294] perl[16847]: unhandled signal 11 at 529303c4 nip b7a193b4 lr b7a19380 code 1
 0x10493190 at /usr/lib/perl5/5.26/strict.pm line 38.
Segmentation fault



More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=1464



More information about the lede-bugs mailing list