Current-Users archive

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

t_bpfilter test again

I noticed random crashes in t_bpfilter and I took a look at a core file.

It crashes at 0xdeaddead+0x20. 0xdeaddead is PI_MAGIC in subr_pool.c. I
can confirm that it's defintely PI_MAGIC because when I changed it to
0xdeadbeef, I got a crash at 0xdeadbeef+0x20. Stack trace doesn't look
correct but I don't have any more time this weekend to look where it's
crashing. Does anybody have any ideas when it's crashing and why? The
crash may be related to some recent change because the test wasn't
crashing when I added it.


=> 0x00007f7ff740505f <+536>:   mov    0x20(%rdx),%ecx                          
(gdb) info registers
rax            0x14     20
rbx            0x7f7ff631a200   140187568022016
rcx            0x0      0
rdx            0xdeaddead       3735936685
rsi            0x7f7ff6bf9800   140187577325568
rdi            0x7f7ff631a200   140187568022016
rbp            0x7f7ff74055a4   0x7f7ff74055a4
rsp            0x7f7febfdda10   0x7f7febfdda10
r8             0x0      0
r9             0x7f7febfddb54   140187396856660
r10            0x0      0
r11            0x7f7ff6bf9800   140187577325568
r12            0x0      0
r13            0x0      0
r14            0x7f7ff6bf9800   140187577325568
r15            0x7f7febfdda6c   140187396856428
rip            0x7f7ff740505f   0x7f7ff740505f <rumpns_bpf_filter+536>
eflags         0x10206  [ PF IF RF ]
cs             0x1f     31
ss             0x17     23
ds             0x17     23
es             0x17     23
fs             0x0      0
gs             0x0      0

(gdb) bt
#0  0x00007f7ff740505f in rumpns_bpf_filter () from
#1  0x00007f7ff7403b6f in ?? () from /usr/lib/
#2  0x00007f7ff780282f in ?? () from /usr/lib/
#3  0x00007f7ff5c87fd7 in rumpns_memcpy () from /usr/lib/
#4  0x00007f7ff5409d72 in ?? () from /usr/lib/
#5  0x00007f7ff487e9d0 in ___lwp_park50 () from /usr/lib/

Home | Main Index | Thread Index | Old Index