Thread 8 "memcached" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff4d6c700 (LWP 36414)]
do_item_crawl_q (it=it@entry=0x55555579e7e0 <crawlers+12320>)
at items.c:2015
2015 it->prev->next = it->next;
(gdb) print it->prev
$5 = (struct _stritem *) 0x4f4d6355616d5471
(gdb) print it->prev->next
Cannot access memory at address 0x4f4d6355616d5479
(gdb) print it->next
$6 = (struct _stritem *) 0x7a59324376753351
(gdb) print it->next->prev
Cannot access memory at address 0x7a59324376753361
(gdb) print it->nkey
$7 = 0 '\000'
(gdb)
Here is the part that triggers the error:2012 assert(it->next != it);
2013 if (it->next) {
2014 assert(it->prev->next == it);
2015 it->prev->next = it->next;
2016 it->next->prev = it->prev;
2017 } else {
2018 /* Tail. Move this above? */
2019 it->prev->next = 0;
2020 }
(I'm also confused why the assert function in line 2014 does not give error?)
Thank you very much for helping!
Best,
Qingchen
[RUN #1] Preparing benchmark client...
[RUN #1] Launching threads now...
error: response parsing failed.
error: response parsing failed.
server 127.0.0.1:11211 handle error response: SERVER_ERROR out of memory storing object
error: response parsing failed.
server 127.0.0.1:11211 handle error response: SERVER_ERROR out of memory storing object
error: response parsing failed.
[RUN #1 17%, 0 secs] 1 threads: 87137 ops, 87213 (avg: 87213) ops/sec, 65.66MB/sec (avg: 65.66MB/sec
[RUN #1 36%, 1 secs] 1 threads: 179012 ops, 91864 (avg: 89540) ops/sec, 69.87MB/sec (avg: 67.76MB/sec
[RUN #1 56%, 2 secs] 1 threads: 279971 ops, 100947 (avg: 93343) ops/sec, 76.76MB/sec (avg: 70.76MB/sec
[RUN #1 75%, 3 secs] 1 threads: 375715 ops, 95732 (avg: 93941) ops/sec, 72.87MB/sec (avg: 71.29MB/sec
[RUN #1 92%, 4 secs] 1 threads: 462054 ops, 93910 (avg: 93935) ops/sec, 71.41MB/sec (avg: 71.31MB/sec
[RUN #1 92%, 4 secs] 1 threads: 462054 ops, 0 (avg: 92431) ops/sec, 0.00KB/sec (avg: 70.17MB/sec)
[RUN #1 92%, 5 secs] 1 threads: 462054 ops, 0 (avg: 90975) ops/sec, 0.00KB/sec (avg: 69.06MB/sec)
[RUN #1 92%, 5 secs] 1 threads: 462054 ops, 0 (avg: 89564) ops/sec, 0.00KB/sec (avg: 67.99MB/sec)
set proportion: set_prop=0.10
get proportion: get_prop=0.90
<12 SERVER_ERROR out of memory storing object
<10 SERVER_ERROR out of memory storing object
<12 SERVER_ERROR out of memory storing object
<7 SERVER_ERROR out of memory storing object