NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-arm/53853: random SIGILL on pinebook



>Number:         53853
>Category:       port-arm
>Synopsis:       random SIGILL on pinebook
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 10 13:40:00 +0000 2019
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.30
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD painkiller.duskware.de 8.99.30 NetBSD 8.99.30 (GENERIC64) #21: Wed Jan 9 10:31:57 CET 2019 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/GENERIC64 evbarm
Architecture: aarch64
Machine: evbarm
>Description:

I did some pkg building (with pkgobj on local USB hard disk and pkgsrc on NFS)
on a pinebook.

I do this by setting MAKE_JOBS to 4 and running

 pkg_chk .... 2>&1 | tee /tmp/pkg.log

on one of the virtual consoles (to avoid python bugs when running it
detached).

After a while tee dumped core.

Core was generated by `tee'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x0000000200100e04 in main (argc=<optimized out>, argv=<optimized out>)
    at /work/src/usr.bin/tee/tee.c:108
108     /work/src/usr.bin/tee/tee.c: No such file or directory.
(gdb) x/16i $pc-16
   0x200100df4 <main+332>:      mov     x1, x23
   0x200100df8 <main+336>:      
    mov x2, #0x2000                     // #8192
   0x200100dfc <main+340>:      mov     w0, #0x0                        // #0
   0x200100e00 <main+344>:      bl      0x2001009d0 <read@plt>
=> 0x200100e04 <main+348>:      cmp     x0, #0x0
   0x200100e08 <main+352>:      mov     x22, x0
   0x200100e0c <main+356>:      b.le    0x200100e68 <main+448>
   0x200100e10 <main+360>:      ldr     x21, [x26, #1288]
   0x200100e14 <main+364>:      cbz     x21, 0x200100df4 <main+332>
   0x200100e18 <main+368>:      mov     x19, x22
   0x200100e1c <main+372>:      mov     x20, x23
   0x200100e20 <main+376>:      b       0x200100e34 <main+396>
   0x200100e24 <main+380>:      nop
   0x200100e28 <main+384>:      subs    x19, x19, x0
   0x200100e2c <main+388>:      add     x20, x20, x0
   0x200100e30 <main+392>:      b.eq    0x200100e5c <main+436>  // b.none
(gdb) info reg
x0             0x5aa    1450
x1             0x0      0
x2             0x2000   8192
x3             0xfffffbc03000   281474905419776
x4             0xfb     251
x5             0x1      1
x6             0x20     32
x7             0xfb     251
x8             0x1      1
x9             0x11     17
x10            0x4      4
x11            0x2      2
x12            0x0      0
x13            0xfffffbef60a8   281474908512424
x14            0xc      12
x15            0xfffffbeba000   281474908266496
x16            0x200111298      8591053464
x17            0xfffffbd73de4   281474906930660
x18            0xfffffbeba838   281474908268600
x19            0x0      0
x20            0xfffffbc015a4   281474905413028
x21            0x0      0
x22            0x5a4    1444
x23            0xfffffbc01000   281474905411584
x24            0x0      0
x25            0x200100f30      8590987056
x26            0x200111000      8591052800
x27            0x0      0
x28            0x0      0
x29            0x0      0
x30            0x200100e04      8590986756
sp             0xffffffffe840   0xffffffffe840
pc             0x200100e04      0x200100e04 <main+348>
cpsr           0x40000000       [ EL=0 Z ]
fpsr           0x0      0
fpcr           0x0      0


>How-To-Repeat:
Push the machine with quite some load?

>Fix:
n/a



Home | Main Index | Thread Index | Old Index