[Gelöst] command 'cut' gives a Illegal instruction or Segmentation fault

RomMon

Neuer User
Mitglied seit
29 Aug 2011
Beiträge
105
Punkte für Reaktionen
0
Punkte
16
I upgraded last weekend from Freetz 12808 (84.06.20) to Freetz 13069 (84.06.20) on my 7390-int.
And now I see 'Illegal instruction' and 'Segmentation fault' when using the cut command.
I don't think this issue was present with Freetz 12808.
Downgrading to 12808 is a bit difficult at the moment.

Would like to know of others see similar issues with "12808 or earlier", or "12809 or later"?


Firmware: 84.06.20 rev29288
Freetz: devel-13069M


Code:
root@fritz:/var/mod/root# cat /proc/partitions | grep sda1 |  cut -d ' ' -f 4
8
Illegal instruction
root@fritz:/var/mod/root# number=`cat /proc/partitions | grep sda1 |  cut -d ' ' -f 4`
Segmentation fault
root@fritz:/var/mod/root# echo $number
8
root@fritz:/var/mod/root#

Code:
root@fritz:/var/mod/root# cat /proc/ndas/registered
ndas-01
root@fritz:/var/mod/root# cat /proc/ndas/registered | cut -d '-' -f 2
01
Illegal instruction
root@fritz:/var/mod/root# cat /proc/ndas/registered | cut -d '-' -f 2 2>/dev/null
01
Illegal instruction
root@fritz:/var/mod/root#
 
Zuletzt bearbeitet:
Code:
cat /proc/partitions | grep sda1 |  cut -d ' ' -f 4
works fine here.

busybox has been updated to 1.23.x in r12902, s. #2672 for details.
 
Hmm, latest (13087 as of now).

Did you rebuild everything from scratch after updating to 13069 from 12808. I've updated the toolchain in r13005 and r13007. You might have missed the comment from the latter one.
 
Hi Gene,

I did a new checkout of 13069, so yes rebuild all from scratch.
After installation of the new firmware (13069) on the 7390 the router got in a boot-loop, so I had to clear mtd3 and mtd4, and I had to re-configure the router from scratch as well...

I solved my challenge without the use of the 'cut' command, but will try to find some time to look into this furter.

Edit (2-May):
I was not able to reproduce the error on my 7270v3 with trunk revision 13069.
So far I have not experienced any difficulties with 13069 on my 7390. Hope the issue disappears with a next compile of an image.

Edit (5-May):
This issue is not present anymore after a new compile (used 13092).
 
Zuletzt bearbeitet:

Statistik des Forums

Themen
244,831
Beiträge
2,219,102
Mitglieder
371,532
Neuestes Mitglied
cabajo
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.