Skip to content

Instantly share code, notes, and snippets.

@sotodel
Last active March 5, 2017 23:18
Show Gist options
  • Save sotodel/7576f18b3bc162731a55c5725e339fde to your computer and use it in GitHub Desktop.
Save sotodel/7576f18b3bc162731a55c5725e339fde to your computer and use it in GitHub Desktop.
A sample output of an strace showing how the CQL frame is broken
[pid 32673] 15:17:34.824119 sendmsg(8, {msg_name(0)=NULL, msg_iov(1)=[{"\4\0\0\0\t\0\0\0A\0\0\0=INSERT INTO test.protocol_error (pkey, content) VALUES (?, ?)", 74}], msg_controllen=0, msg_flags=0}, 0) = 74
[pid 32673] 15:17:34.824663 recvfrom(8, "\204\0\0\0\10\0\0\0U\0\0\0\4\0\20\2545\250\260\34\26152:{i\261\204\266\3759\0\0\0\1\0\0\0\2\0\0\0\1\0\0\0\4test\0\16protocol_error\0\4pkey\0\t\0\7content\0\r\0\0\0\4\0\0\0\0", 2280, 0, NULL, NULL) = 94
[pid 32675] 15:17:34.841148 sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"\4\0\0\0\n\0\0]x\0\20\2545\250\260\34\26152:{i\261\204\266\3759\0\n\5\0\2\0\0\0\4\0\0\0\0\0\0]Q0_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20_21_"..., 16384}, {"3490_3491_3492_3493_3494_3495_3496_3497_3498_3499_3500_3501_3502_3503_3504_3505_3506_3507_3508_3509_"..., 7553}], msg_controllen=0, msg_flags=0}, 0) = 23937
[pid 32673] 15:17:34.842480 recvfrom(8, "\204\0\0\0\10\0\0\0\4\0\0\0\1", 2280, 0, NULL, NULL) = 13
[pid 32674] 15:17:34.844107 sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"\4\0\0\1\n\0\0]x\0\20\2545\250\260\34\26152:{i\261\204\266\3759\0\n\5\0\2\0\0\0\4\0\0\0\1\0\0]Q0_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20_21_"..., 16384}, {"3490_3491_3492_3493_3494_3495_3496_3497_3498_3499_3500_3501_3502_3503_3504_3505_3506_3507_3508_3509_"..., 7553}], msg_controllen=0, msg_flags=0}, 0 <unfinished ...>
[pid 32670] 15:17:34.866259 --- SIGPWR (Power failure) @ 0 (0) ---
[pid 32674] 15:17:34.866321 <... sendmsg resumed> ) = 16384
[pid 32674] 15:17:34.866379 --- SIGPWR (Power failure) @ 0 (0) ---
[pid 31993] 15:17:34.866606 <... recvfrom resumed> 0x7fd8f7eb5bc0, 11, 0, 0, 0) = ? ERESTARTSYS (To be restarted)
[pid 31993] 15:17:34.866633 --- SIGPWR (Power failure) @ 0 (0) ---
[pid 32674] 15:17:34.871085 --- SIGXCPU (CPU time limit exceeded) @ 0 (0) ---
[pid 32670] 15:17:34.871807 --- SIGXCPU (CPU time limit exceeded) @ 0 (0) ---
[pid 31993] 15:17:34.871974 --- SIGXCPU (CPU time limit exceeded) @ 0 (0) ---
[pid 31993] 15:17:34.872069 recvfrom(3, <unfinished ...>
[pid 32675] 15:17:34.883875 sendmsg(8, {msg_name(0)=NULL, msg_iov(2)=[{"\4\0\0\0\n\0\0]x\0\20\2545\250\260\34\26152:{i\261\204\266\3759\0\n\5\0\2\0\0\0\4\0\0\0\2\0\0]Q0_1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20_21_"..., 16384}, {"3490_3491_3492_3493_3494_3495_3496_3497_3498_3499_3500_3501_3502_3503_3504_3505_3506_3507_3508_3509_"..., 7553}], msg_controllen=0, msg_flags=0}, 0) = 23937
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment