Skip to content

Instantly share code, notes, and snippets.

@justincormack
Created May 21, 2015 15:41
Show Gist options
  • Save justincormack/07cc4f2ab982c54d172c to your computer and use it in GitHub Desktop.
Save justincormack/07cc4f2ab982c54d172c to your computer and use it in GitHub Desktop.
riscv crash
: core 0: 0x00000000000ad068 (0xf00516e3) bnez a0, pc - 244
: core 0: 0x00000000000ad06c (0xf29ff06f) j pc - 0xd8
: core 0: 0x00000000000acf94 (0x0b040993) addi s3, s0, 176
: core 0: 0x00000000000acf98 (0x00098513) mv a0, s3
: core 0: 0x00000000000acf9c (0xfc8b50ef) jal pc - 0x4a838
: core 0: 0x0000000000062764 (0xfe010113) addi sp, sp, -32
: core 0: 0x0000000000062768 (0x00913423) sd s1, 8(sp)
: core 0: 0x000000000006276c (0x00113c23) sd ra, 24(sp)
: core 0: 0x0000000000062770 (0x00813823) sd s0, 16(sp)
: core 0: 0x0000000000062774 (0x01213023) sd s2, 0(sp)
: core 0: 0x0000000000062778 (0x00053403) ld s0, 0(a0)
: core 0: 0x000000000006277c (0x00050493) mv s1, a0
: core 0: 0x0000000000062780 (0x00043783) ld a5, 0(s0)
: core 0: 0x0000000000062784 (0x08078263) beqz a5, pc + 132
: core 0: 0x0000000000062808 (0x4c1000ef) jal pc + 0xcc0
: core 0: 0x00000000000634c8 (0x48d8a06f) j pc + 0x8ac8c
rumpuser_curlwp
: core 0: 0x00000000000ee154 (0x0010906f) j pc + 0x9800
This one is ok...
__sched_curlwp
: core 0: 0x00000000000f7954 (0x011867b7) lui a5, 0x1186
: core 0: 0x00000000000f7958 (0xde87b783) ld a5, -536(a5)
: core 0: 0x00000000000f795c (0x0087b503) ld a0, 8(a5)
: core 0: 0x00000000000f7960 (0x00008067) ret
rumpns_mutex_enter
: core 0: 0x000000000006280c (0x00a43023) sd a0, 0(s0)
: core 0: 0x0000000000062810 (0x01813083) ld ra, 24(sp)
: core 0: 0x0000000000062814 (0x01013403) ld s0, 16(sp)
: core 0: 0x0000000000062818 (0x00813483) ld s1, 8(sp)
: core 0: 0x000000000006281c (0x00013903) ld s2, 0(sp)
: core 0: 0x0000000000062820 (0x02010113) addi sp, sp, 32
: core 0: 0x0000000000062824 (0x00008067) ret
back into rumpns_pool_get
: core 0: 0x00000000000acfa0 (0x06842703) lw a4, 104(s0)
: core 0: 0x00000000000acfa4 (0x06c42783) lw a5, 108(s0)
: core 0: 0x00000000000acfa8 (0x10197a93) andi s5, s2, 257
: core 0: 0x00000000000acfac (0x00100a13) li s4, 1
: core 0: 0x00000000000acfb0 (0x0b840b13) addi s6, s0, 184
: core 0: 0x00000000000acfb4 (0x02e7ee63) bltu a5, a4, pc + 60
: core 0: 0x00000000000acfb8 (0x04f70863) beq a4, a5, pc + 80
: core 0: 0x00000000000acfbc (0x02843483) ld s1, 40(s0)
: core 0: 0x00000000000acfc0 (0x0a049863) bnez s1, pc + 176
: core 0: 0x00000000000acfc4 (0x06442783) lw a5, 100(s0)
: core 0: 0x00000000000acfc8 (0x4c079663) bnez a5, pc + 1228
: core 0: 0x00000000000acfcc (0x00040513) mv a0, s0
: core 0: 0x00000000000acfd0 (0x00090593) mv a1, s2
: core 0: 0x00000000000acfd4 (0x508000ef) jal pc + 0x508
pool_grow
: core 0: 0x00000000000ad4dc (0xf9010113) addi sp, sp, -112
: core 0: 0x00000000000ad4e0 (0x05313423) sd s3, 72(sp)
: core 0: 0x00000000000ad4e4 (0x0b050993) addi s3, a0, 176
: core 0: 0x00000000000ad4e8 (0x04913c23) sd s1, 88(sp)
: core 0: 0x00000000000ad4ec (0x00050493) mv s1, a0
: core 0: 0x00000000000ad4f0 (0x00098513) mv a0, s3
: core 0: 0x00000000000ad4f4 (0x06113423) sd ra, 104(sp)
: core 0: 0x00000000000ad4f8 (0x06813023) sd s0, 96(sp)
: core 0: 0x00000000000ad4fc (0x05213823) sd s2, 80(sp)
: core 0: 0x00000000000ad500 (0x05413023) sd s4, 64(sp)
: core 0: 0x00000000000ad504 (0x00058913) mv s2, a1
: core 0: 0x00000000000ad508 (0x03513c23) sd s5, 56(sp)
: core 0: 0x00000000000ad50c (0x03613823) sd s6, 48(sp)
: core 0: 0x00000000000ad510 (0x03713423) sd s7, 40(sp)
: core 0: 0x00000000000ad514 (0x03813023) sd s8, 32(sp)
: core 0: 0x00000000000ad518 (0x01913c23) sd s9, 24(sp)
: core 0: 0x00000000000ad51c (0x01a13823) sd s10, 16(sp)
: core 0: 0x00000000000ad520 (0x01b13423) sd s11, 8(sp)
: core 0: 0x00000000000ad524 (0xb50b50ef) jal pc - 0x4acb0
: core 0: 0x0000000000062874 (0xff010113) addi sp, sp, -16
: core 0: 0x0000000000062878 (0x00113423) sd ra, 8(sp)
: core 0: 0x000000000006287c (0x00813023) sd s0, 0(sp)
: core 0: 0x0000000000062880 (0x00053403) ld s0, 0(a0)
: core 0: 0x0000000000062884 (0x00842783) lw a5, 8(s0)
: core 0: 0x0000000000062888 (0x00078663) beqz a5, pc + 12
: core 0: 0x0000000000062894 (0x00043023) sd zero, 0(s0)
: core 0: 0x0000000000062898 (0x00813083) ld ra, 8(sp)
: core 0: 0x000000000006289c (0x00013403) ld s0, 0(sp)
: core 0: 0x00000000000628a0 (0x01010113) addi sp, sp, 16
: core 0: 0x00000000000628a4 (0x00008067) ret
: core 0: 0x00000000000ad528 (0x0784ba03) ld s4, 120(s1)
: core 0: 0x00000000000ad52c (0x00048513) mv a0, s1
: core 0: 0x00000000000ad530 (0x00090593) mv a1, s2
: core 0: 0x00000000000ad534 (0x000a3783) ld a5, 0(s4)
: core 0: 0x00000000000ad538 (0x000780e7) jalr a5
rumpns_pool_page_alloc
: core 0: 0x00000000000ac0d8 (0xfe010113) addi sp, sp, -32
: core 0: 0x00000000000ac0dc (0x000017b7) lui a5, 0x1
: core 0: 0x00000000000ac0e0 (0x03f59713) slli a4, a1, 63
: core 0: 0x00000000000ac0e4 (0x00113c23) sd ra, 24(sp)
: core 0: 0x00000000000ac0e8 (0x0017861b) addiw a2, a5, 1
: core 0: 0x00000000000ac0ec (0x00074463) bltz a4, pc + 8
: core 0: 0x00000000000ac0f4 (0x07853783) ld a5, 120(a0)
: core 0: 0x00000000000ac0f8 (0x0117c737) lui a4, 0x117c
: core 0: 0x00000000000ac0fc (0x69873503) ld a0, 1688(a4)
: core 0: 0x00000000000ac100 (0x0107e583) lwu a1, 16(a5)
: core 0: 0x00000000000ac104 (0x00810693) addi a3, sp, 8
: core 0: 0x00000000000ac108 (0x2293f0ef) jal pc + 0x3fa28
rumpns_uvm_km_kmem_alloc
: core 0: 0x00000000000ebb30 (0xff010113) addi sp, sp, -16
: core 0: 0x00000000000ebb34 (0x00813023) sd s0, 0(sp)
: core 0: 0x00000000000ebb38 (0x00068413) mv s0, a3
: core 0: 0x00000000000ebb3c (0x001536b7) lui a3, 0x153
: core 0: 0x00000000000ebb40 (0x00058513) mv a0, a1
: core 0: 0x00000000000ebb44 (0x00167613) andi a2, a2, 1
: core 0: 0x00000000000ebb48 (0x000025b7) lui a1, 0x2
: core 0: 0x00000000000ebb4c (0x90068693) addi a3, a3, -1792
: core 0: 0x00000000000ebb50 (0x00113423) sd ra, 8(sp)
: core 0: 0x00000000000ebb54 (0xe85ff0ef) jal pc - 0x17c
rump_hypermalloc
: core 0: 0x00000000000eb9d8 (0xfa010113) addi sp, sp, -96
: core 0: 0x00000000000eb9dc (0x04813823) sd s0, 80(sp)
: core 0: 0x00000000000eb9e0 (0x03313c23) sd s3, 56(sp)
: core 0: 0x00000000000eb9e4 (0x03413823) sd s4, 48(sp)
: core 0: 0x00000000000eb9e8 (0x01713c23) sd s7, 24(sp)
: core 0: 0x00000000000eb9ec (0x04113c23) sd ra, 88(sp)
: core 0: 0x00000000000eb9f0 (0x04913423) sd s1, 72(sp)
: core 0: 0x00000000000eb9f4 (0x05213023) sd s2, 64(sp)
: core 0: 0x00000000000eb9f8 (0x03513423) sd s5, 40(sp)
: core 0: 0x00000000000eb9fc (0x03613023) sd s6, 32(sp)
: core 0: 0x00000000000eba00 (0x00050413) mv s0, a0
: core 0: 0x00000000000eba04 (0x00058b93) mv s7, a1
: core 0: 0x00000000000eba08 (0x00060993) mv s3, a2
: core 0: 0x00000000000eba0c (0x00068a13) mv s4, a3
: core 0: 0x00000000000eba10 (0xab9770ef) jal pc - 0x88548
rump_lwproc_curlwp_hypercall
: core 0: 0x00000000000634c8 (0x48d8a06f) j pc + 0x8ac8c
rumpuser_curlwp
: core 0: 0x00000000000ee154 (0x0010906f) j pc + 0x9800
__sched_curlwp
: core 0: 0x00000000000f7954 (0x011867b7) lui a5, 0x1186
: core 0: 0x00000000000f7958 (0xde87b783) ld a5, -536(a5)
: core 0: 0x00000000000f795c (0x0087b503) ld a0, 8(a5)
core 0: exception trap_load_address_misaligned, epc 0x00000000000f795c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment