Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate why 'usertests' causes a kernel trap #25

Open
celskeggs opened this issue Jan 14, 2020 · 0 comments
Open

Investigate why 'usertests' causes a kernel trap #25

celskeggs opened this issue Jan 14, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@celskeggs
Copy link
Member

I tried usertests on cf25b5a, and found it to be broken -- though I don't know that I've tried this before, so it might have been a while since it worked. We should investigate what's making the kernel crash.

$ usertests
usertests starting
mem test
mem test OK
bigarg test
bigarg test ok
bss test
bss test ok
sbrk test
kernel trap 13 err 0x0 cpu 0 cs 16 ss 24
  rip ffffffffc027f394 rsp ffffff0008077718 rbp ffffff0008077878
  cr2 ffffff00049f7070 cr3 00000000077e800a cr4 00000000000306b0
  rdi ffffff0008077a28 rsi ffffff0008077878 rdx ffffffffc02800f5
  rcx 0000000000000000 r8  0000000000000000 r9  0000000000000160
  rax ffffff0008077870 rbx ffffff0008077a28 r10 0000000000000001
  r11 ffffff0008077878 r12 ffffffffc0283f67 r13 ffffff0008077dd8
  r14 ffffff0008077a28 r15 ffffff0008077a28 rflags 0000000000010096
  proc: name usertests pid 95 kstack 0xffffff0008070000 qstack 0xffffff00080f0000
memory dump around [rip]=ffffffffc027f394:
[ffffffffc027f2a0] => 89 f3 e9 a1 f9 ff ff 49 d3 e2 48 89 f3 e9 96 f9
[ffffffffc027f2b0] => ff ff 49 d3 ea 48 89 f3 e9 8b f9 ff ff 49 d3 fa
[ffffffffc027f2c0] => 48 89 f3 e9 80 f9 ff ff 49 31 ca 48 89 f3 e9 75
[ffffffffc027f2d0] => f9 ff ff 49 39 ca 48 89 f3 41 0f 94 c2 45 0f b6
[ffffffffc027f2e0] => d2 e9 62 f9 ff ff 49 39 ca 48 89 f3 41 0f 9d c2
[ffffffffc027f2f0] => 45 0f b6 d2 e9 4f f9 ff ff 49 39 ca 48 89 f3 41
[ffffffffc027f300] => 0f 9f c2 45 0f b6 d2 e9 3c f9 ff ff 49 39 ca 48
[ffffffffc027f310] => 89 f3 41 0f 9e c2 45 0f b6 d2 e9 29 f9 ff ff 49
[ffffffffc027f320] => 39 ca 48 89 f3 41 0f 9c c2 45 0f b6 d2 e9 16 f9
[ffffffffc027f330] => ff ff 49 39 ca 48 89 f3 41 0f 95 c2 45 0f b6 d2
[ffffffffc027f340] => e9 03 f9 ff ff 3c 01 0f 85 ec f9 ff ff 45 0f b6
[ffffffffc027f350] => 12 48 89 d3 e9 ef f8 ff ff 45 0f b7 12 48 89 d3
[ffffffffc027f360] => e9 e3 f8 ff ff 45 8b 12 48 89 d3 e9 d8 f8 ff ff
[ffffffffc027f370] => 48 89 c8 e9 fc f8 ff ff 0f 1f 84 00 00 00 00 00
[ffffffffc027f380] => 41 57 41 56 49 89 ff 41 55 41 54 55 53 48 81 ec
[ffffffffc027f390] => 18 01 00 00 66 0f 6f 07 48 89 74 24 08 0f 29 44
[ffffffffc027f3a0] => 24 20 66 0f 6f 47 10 0f 29 44 24 30 66 0f 6f 47
[ffffffffc027f3b0] => 20 0f 29 44 24 40 66 0f 6f 47 30 0f 29 44 24 50
[ffffffffc027f3c0] => 66 0f 6f 47 40 0f 29 44 24 60 66 0f 6f 47 50 0f
[ffffffffc027f3d0] => 29 44 24 70 66 0f 6f 47 60 0f 29 84 24 80 00 00
[ffffffffc027f3e0] => 00 66 0f 6f 47 70 0f 29 84 24 90 00 00 00 66 0f
[ffffffffc027f3f0] => 6f 87 80 00 00 00 0f 29 84 24 a0 00 00 00 66 0f
[ffffffffc027f400] => 6f 87 90 00 00 00 0f 29 84 24 b0 00 00 00 66 0f
[ffffffffc027f410] => 6f 87 a0 00 00 00 0f 29 84 24 c0 00 00 00 66 0f
[ffffffffc027f420] => 6f 87 b0 00 00 00 0f 29 84 24 d0 00 00 00 66 0f
[ffffffffc027f430] => 6f 87 c0 00 00 00 66 48 0f 7e c0 0f 29 84 24 e0
[ffffffffc027f440] => 00 00 00 48 0f ba e0 3e 66 0f 6f 87 d0 00 00 00
[ffffffffc027f450] => 0f 29 84 24 f0 00 00 00 66 0f 6f 87 e0 00 00 00
[ffffffffc027f460] => 0f 29 84 24 00 01 00 00 0f 83 2a 02 00 00 80 bc
[ffffffffc027f470] => 24 ff 00 00 00 00 0f 84 1c 02 00 00 41 f6 87 c7
[ffffffffc027f480] => 00 00 00 40 74 08 41 c6 87 df 00 00 00 00 48 8b
[ffffffffc027f490] => 44 24 08 49 c7 47 38 00 00 00 00 8b 80 40 01 00
@fintelia fintelia added the bug Something isn't working label Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants