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

Commitlog - Crash in the commitlog section #52

Closed
dorlaor opened this issue Jul 29, 2015 · 1 comment
Closed

Commitlog - Crash in the commitlog section #52

dorlaor opened this issue Jul 29, 2015 · 1 comment

Comments

@dorlaor
Copy link
Contributor

dorlaor commented Jul 29, 2015

While running cassandra stress with thrift. It's really rare. However, from the IP one
can get the location of the access to null. The git commit hash is f6e17ec

[278656.991643] scylla[80105]: segfault at 0 ip 0000000000995410 sp 00007f65425f6da0 error 6 in scylla[400000+cb7000]

-sh-4.3$ gdb build/release/scylla
(gdb) disassemble 0x0000000000995410

0x000000000099540c <+444>: je 0x99541f <db::commitlog::segment::cycle(unsigned long)+463>
0x000000000099540e <+446>: xchg %ax,%ax
0x0000000000995410 <+448>: movl $0x0,(%rax)
0x0000000000995416 <+454>: add $0x4,%rax
0x000000000099541a <+458>: cmp %rax,%r15
0x000000000099541d <+461>: jne 0x995410 <db::commitlog::segment::cycle(unsigned long)+448>
0x000000000099541f <+463>: addq $0x1,(%rbx)
---Type to continue, or q to quit---
0x0000000000995423 <+467>: mov %rbx,0x20(%rsp)
0x0000000000995428 <+472>: test %r12,%r12
0x000000000099542b <+475>: jne 0x995480 <db::commitlog::segment::cycle(unsigned long)+560>
0x000000000099542d <+477>: movq $0x0,0x20(%rsp)
0x0000000000995436 <+486>: mov (%rsp),%rax

(gdb) start
Temporary breakpoint 1, main (ac=1, av=0x7fffffffe3d8) at main.cc:53
53 int main(int ac, char** av) {
(gdb) set $rip = 0x0000000000995410
(gdb) fr
#0 __fill_a<unsigned int*, int> (__value=, __last=0x0, __first=0x41c7e0 <main(int, char**)>) at /usr/include/c++/4.9.2/bits/stl_algobase.h:704

704 __first = __tmp;
(gdb) bt
#0 __fill_a<unsigned int
, int> (__value=, __last=0x0, __first=0x41c7e0 <main(int, char**)>) at /usr/include/c++/4.9.2/bits/stl_algobase.h:704
#1 fill<unsigned int*, int> (__value=, __last=0x0, __first=<error reading variable: Cannot access memory at address 0x50>) at /usr/include/c++/4.9.2/bits/stl_algobase.h:739
#2 db::commitlog::segment::cycle (this=0x0, s=) at db/commitlog/commitlog.cc:309

@dorlaor dorlaor added the bug label Jul 29, 2015
@dorlaor dorlaor added this to the Beta milestone Jul 29, 2015
@slivne slivne changed the title Crash in the commitlog section Commitlog - Crash in the commitlog section Aug 6, 2015
@slivne slivne added the ready label Aug 6, 2015
@elcallio
Copy link
Contributor

Dup of #108

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants