OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity High
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by progit - 31.05.2017
Last edited by Mathias Kresin - 17.07.2017

FS#819 - sending SIGSEGV to php-cgi for invalid read access from 00000000

Not working PHP on Lede with router Xiaomi Mi WIFI Mini. Were tested version LEDE: 17.01.1, latest trunk, same error messages. To install PHP, the memory of the router was increased by using a flash drive 2Gb. Full dmesg files was attached to this messsage.

- Xiaomi MiWiFi Mini
- LEDE Reboot SNAPSHOT r4281-09c2f4a (2017.05.30)
- Kernel: 4.4.70
- Free RAM on router, after install packages: 40% kernel: [  428.393943] do_page_fault(): sending SIGSEGV to php-cgi for invalid read access from 00000000 kernel: [  428.402726] epc = 77fad41c in[77f3a000+92000] kernel: [  428.407909] ra  = 005d0b14 in php-cgi[400000+3bb000] kernel: [  428.413017]

My actions:

1. opkg install iptables-mod-conntrack-extra openssl-util zoneinfo-asia php7 php7-cli php7-cgi php7-mod-curl php7-mod-ctype php7-mod-fileinfo php7-mod-ftp php7-mod-gd php7-mod-gettext php7-mod-hash php7-mod-iconv php7-mod-json php7-mod-mbstring php7-mod-openssl php7-mod-pcntl php7-mod-pdo php7-mod-pdo-sqlite php7-mod-session php7-mod-simplexml php7-mod-sockets php7-mod-sqlite3 php7-mod-sysvmsg php7-mod-phar php7-mod-xml php7-mod-xmlreader php7-mod-xmlwriter php7-mod-zip php7-mod-dom php7-mod-exif

2. opkg install php7-pecl-http php7-mod-mcrypt php7-mod-mysqli php7-mod-fileinfo php7-mod-calendar fcgi php7-fastcgi

3. /usr/bin/php-cli /www/1.php

Please, fix this bug. Thanks.

   dmesg.txt (16.3 KiB)
Closed by  Mathias Kresin
17.07.2017 11:34
Reason for closing:  Duplicate
Additional comments about closing:  


progit commented on 31.05.2017 11:53

On OpenWRT 15.05.1 trunk PHP 5.6, PHP 7 work fine.


Available keyboard shortcuts


Task Details

Task Editing