For help, type "help". Type "apropos word" to search for commands related to "word". Attaching to process 40 [New LWP 62] [New LWP 79] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". 0xb6e89524 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 (gdb) b sai_serialize_acl_resource_list Breakpoint 1 at 0xb6bd6684 (3 locations) (gdb) c Continuing. Thread 1 "orchagent" hit Breakpoint 1, 0xb6bd6684 in sai_serialize_acl_resource_list[abi:cxx11](_sai_acl_resource_list_t const&, bool)@plt () from /usr/lib/arm-linux-gnueabihf/libsaimetadata.so.0 (gdb) n Single stepping until exit from function _Z31sai_serialize_acl_resource_listB5cxx11RK24_sai_acl_resource_list_tb@plt, which has no line number information. 0xb6bd5e58 in ?? () from /usr/lib/arm-linux-gnueabihf/libsaimetadata.so.0 (gdb) c Continuing. Thread 1 "orchagent" hit Breakpoint 1, sai_serialize_acl_resource_list[abi:cxx11](_sai_acl_resource_list_t const&, bool) (aclresource=..., countOnly=countOnly@entry=false) at saiserialize.cpp:1257 1257 saiserialize.cpp: No such file or directory. (gdb) x/256wa $sp 0xbe9b53f8: 0xb6f50968 <__stack_chk_guard> 0xb6f50968 <__stack_chk_guard> 0xb6d4d670 0xb6a8f867 <_Znwj+18> 0xbe9b5408: 0x24 0x5f4 0xb6c0545c <_ZZ24sai_serialize_attr_valueB5cxx11RK20_sai_attr_metadata_tRK16_sai_attribute_tbE12__FUNCTION__> 0xb6d17fbc 0xbe9b5418: 0xb6f50968 <__stack_chk_guard> 0x67446900 0x21 0xbe9b545c 0xbe9b5428: 0xb6d17fbc 0xbe9b545c 0xb6d4d670 0xb6f50968 <__stack_chk_guard> 0xbe9b5438: 0x1127cc0 0x21 0xbe9b54e4 0xb6da5b61 0xbe9b5448: 0xb6dda700 0xb6c0135c <_ZZ21sai_serialize_attr_idB5cxx11RK20_sai_attr_metadata_tE12__FUNCTION__> 0xbe9b54b4 0xb6bda2d3 0xbe9b5458: 0x0 0x67446900 0xb6d4d670 0xbe9b5808 0xbe9b5468: 0xbe9b5568 0x0 0x1 0x1127cc0 0xbe9b5478: 0x21 0xb6bd7f1f 0xbe9b55db 0x0 0xbe9b5488: 0x0 0x21 0x1 0x0 0xbe9b5498: 0xbe9b54b4 0xbe9b54cc 0xbe9b54ac 0xb6f50968 <__stack_chk_guard> --Type for more, q to quit, c to continue without paging-- 0xbe9b54a8: 0x0 0x67 0xb6c00b9c <_ZZN7saimeta16SaiAttributeList19serialize_attr_listB5cxx11E18_sai_object_type_tjPK16_sai_attribute_tbE12__FUNCTION__> 0x123fe48 0xbe9b54b8: 0x23 0x23 0x0 0x21 0xbe9b54c8: 0xbe9b5614 0xb6da5b61 0xb6dda700 0xb6e59ff8 <_ZZN8sairedis5Utils14clearOidValuesE18_sai_object_type_tjP16_sai_attribute_tE12__FUNCTION__> 0xbe9b54d8: 0xbe9b5858 0xb6e40d07 0xb6c21000 0xb6da5b61 0xbe9b54e8: 0xbe9b54f4 0xb6f50968 <__stack_chk_guard> 0x21 0x1c 0xbe9b54f8: 0xb6e59ff8 <_ZZN8sairedis5Utils14clearOidValuesE18_sai_object_type_tjP16_sai_attribute_tE12__FUNCTION__> 0x21 0x0 0x67446900 0xbe9b5508: 0x112a0d4 0xbe9b5560 0xbe9b5808 0x67446900 0xbe9b5518: 0xb6f50968 <__stack_chk_guard> 0x21 0xbe9b5808 0x1 0xbe9b5528: 0xb6f50968 <__stack_chk_guard> 0xbe9b5568 0x1127cc0 0x21 0xbe9b5538: 0xbe9b5614 0xb6e3e863 , std::allocator > const&, unsigned int, _sai_attribute_t*)+90> 0x0 0xb6f50968 <__stack_chk_guard> 0xbe9b5548: 0xb6c07748 <_ZZN7saimeta4Meta27meta_generic_validation_getERK22_sai_object_meta_key_tjP16_sai_attribute_tE12__FUNCTION__> 0x1127cc0 --Type for more, q to quit, c to continue without paging--q Quit (gdb) n 1258 in saiserialize.cpp (gdb) 1257 in saiserialize.cpp (gdb) 1258 in saiserialize.cpp (gdb) 1257 in saiserialize.cpp (gdb) x/256wa $sp 0xbe9b5368: 0xb6f4f320 0xb6f50968 <__stack_chk_guard> 0xbe9b53ac 0xb38 0xbe9b5378: 0xb6c059c0 <_ZZ26sai_deserialize_attr_valueRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK20_sai_attr_metadata_tR16_sai_attribute_tbE12__FUNCTION__> 0xbe9b5420 0x1 0xb6f4f320 0xbe9b5388: 0xb6c212bc <_Z31sai_serialize_acl_resource_listB5cxx11RK24_sai_acl_resource_list_tb@got.plt> 0xb6f40010 0xb6f404d0 0x0 0xbe9b5398: 0x1 0xbe9b54cc 0xbe9b54e4 0xb6f32fa3 0xbe9b53a8: 0x0 0x1 0x5 0x0 0xbe9b53b8: 0xbe9b5454 0xb6bc6aac 0x21 0x0 0xbe9b53c8: 0xb6c21000 0xbe9b540c 0xb6f50968 <__stack_chk_guard> 0x0 0xbe9b53d8: 0xb6c21000 0xbe9b540c 0xb6f50968 <__stack_chk_guard> 0xbe9b5808 0xbe9b53e8: 0xb6d4d670 0xbe9b54cc 0xbe9b54e4 0xb6be288f 0xbe9b53f8: 0xb6f50968 <__stack_chk_guard> 0xb6f50968 <__stack_chk_guard> 0xb6d4d670 0xb6a8f867 <_Znwj+18> 0xbe9b5408: 0x24 0x5f4 0xb6c0545c <_ZZ24sai_serialize_attr_valueB5cxx11RK20_sai_attr_metadata_tRK16_sai_attribute_tbE12__FUNCTION__> 0xb6d17fbc 0xbe9b5418: 0xb6f50968 <__stack_chk_guard> 0x67446900 0x21 0xbe9b54--Type for more, q to quit, c to continue without paging--q Quit (gdb) watch *0xbe9b5368 Hardware watchpoint 2: *0xbe9b5368 (gdb) n 1258 in saiserialize.cpp (gdb) 1260 in saiserialize.cpp (gdb) 1257 in saiserialize.cpp (gdb) 1258 in saiserialize.cpp (gdb) 1257 in saiserialize.cpp (gdb) 1258 in saiserialize.cpp (gdb) 1262 in saiserialize.cpp (gdb) 1260 in saiserialize.cpp (gdb) 1262 in saiserialize.cpp (gdb) 1260 in saiserialize.cpp (gdb) 1262 in saiserialize.cpp (gdb) 1264 in saiserialize.cpp (gdb) 1271 in saiserialize.cpp (gdb) Thread 1 "orchagent" hit Hardware watchpoint 2: *0xbe9b5368 Old value = -1225460960 New value = 0 0xb6be2436 in nlohmann::basic_json, std::allocator >, bool, long long, unsigned long long, double, std::allocator>::array (init=...) at /usr/include/swss/json.hpp:1615 1615 /usr/include/swss/json.hpp: No such file or directory. (gdb) disass Dump of assembler code for function sai_serialize_acl_resource_list[abi:cxx11](_sai_acl_resource_list_t const&, bool): 0xb6be2344 <+0>: ldr r3, [pc, #416] ; (0xb6be24e8 ) 0xb6be2346 <+2>: stmdb sp!, {r4, r5, r6, r7, r8, r9, r10, r11, lr} 0xb6be234a <+6>: add r3, pc 0xb6be234c <+8>: ldr r6, [pc, #412] ; (0xb6be24ec ) 0xb6be234e <+10>: mov r7, r2 0xb6be2350 <+12>: sub sp, #108 ; 0x6c 0xb6be2352 <+14>: ldr r4, [pc, #412] ; (0xb6be24f0 ) 0xb6be2354 <+16>: add.w r8, sp, #32 0xb6be2358 <+20>: mov r9, r0 0xb6be235a <+22>: ldr r2, [r3, r6] 0xb6be235c <+24>: add r4, pc 0xb6be235e <+26>: mov r5, r1 0xb6be2360 <+28>: mov r0, r8 0xb6be2362 <+30>: movw r1, #1258 ; 0x4ea 0xb6be2366 <+34>: add r6, sp, #48 ; 0x30 0xb6be2368 <+36>: str r2, [sp, #12] 0xb6be236a <+38>: add.w r2, r4, #752 ; 0x2f0 0xb6be236e <+42>: ldr r3, [sp, #12] --Type for more, q to quit, c to continue without paging-- 0xb6be2370 <+44>: ldr r3, [r3, #0] 0xb6be2372 <+46>: str r3, [sp, #100] ; 0x64 0xb6be2374 <+48>: blx 0xb6bd5fe4 <_ZN4swss6Logger11ScopeLoggerC1EiPKc@plt> 0xb6be2378 <+52>: ldr r1, [pc, #376] ; (0xb6be24f4 ) 0xb6be237a <+54>: mov r0, r6 0xb6be237c <+56>: movs r3, #0 0xb6be237e <+58>: str r3, [r6, #4] 0xb6be2380 <+60>: add r1, pc 0xb6be2382 <+62>: str r3, [sp, #48] ; 0x30 0xb6be2384 <+64>: str r3, [r6, #8] 0xb6be2386 <+66>: str r3, [r6, #12] 0xb6be2388 <+68>: blx 0xb6bd6f54 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaEixIKcEERS9_PT_@plt> 0xb6be238c <+72>: ldr r3, [r5, #0] 0xb6be238e <+74>: mov r1, r0 0xb6be2390 <+76>: movs r2, #0 0xb6be2392 <+78>: str r2, [sp, #92] ; 0x5c 0xb6be2394 <+80>: movs r0, #6 0xb6be2396 <+82>: strb.w r0, [sp, #80] ; 0x50 0xb6be239a <+86>: str r3, [sp, #88] ; 0x58 --Type for more, q to quit, c to continue without paging-- 0xb6be239c <+88>: add r4, sp, #80 ; 0x50 0xb6be239e <+90>: ldrd r2, r3, [sp, #88] ; 0x58 0xb6be23a2 <+94>: ldrb.w lr, [r1] 0xb6be23a6 <+98>: ldrd r10, r11, [r1, #8] 0xb6be23aa <+102>: strb r0, [r1, #0] 0xb6be23ac <+104>: mov r0, r4 0xb6be23ae <+106>: strb.w lr, [sp, #80] ; 0x50 0xb6be23b2 <+110>: strd r2, r3, [r1, #8] 0xb6be23b6 <+114>: strd r10, r11, [sp, #88] ; 0x58 0xb6be23ba <+118>: blx 0xb6bd7020 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaED1Ev@plt> 0xb6be23be <+122>: ldr r3, [r5, #4] 0xb6be23c0 <+124>: cmp r3, #0 0xb6be23c2 <+126>: it eq 0xb6be23c4 <+128>: orreq.w r7, r7, #1 0xb6be23c8 <+132>: cbz r7, 0xb6be2426 0xb6be23ca <+134>: ldr r1, [pc, #300] ; (0xb6be24f8 ) 0xb6be23cc <+136>: mov r0, r6 0xb6be23ce <+138>: add r1, pc 0xb6be23d0 <+140>: blx 0xb6bd6f54 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaEixIKcEERS9_PT_@pl--Type for more, q to quit, c to continue without paging-- t> 0xb6be23d4 <+144>: mov r1, r0 0xb6be23d6 <+146>: movs r7, #0 0xb6be23d8 <+148>: mov r0, r4 0xb6be23da <+150>: strb.w r7, [sp, #80] ; 0x50 0xb6be23de <+154>: ldrd r4, r5, [sp, #88] ; 0x58 0xb6be23e2 <+158>: ldrb.w lr, [r1] 0xb6be23e6 <+162>: ldrd r2, r3, [r1, #8] 0xb6be23ea <+166>: strb r7, [r1, #0] 0xb6be23ec <+168>: strb.w lr, [sp, #80] ; 0x50 0xb6be23f0 <+172>: strd r4, r5, [r1, #8] 0xb6be23f4 <+176>: strd r2, r3, [sp, #88] ; 0x58 0xb6be23f8 <+180>: blx 0xb6bd7020 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaED1Ev@plt> 0xb6be23fc <+184>: mov.w r2, #4294967295 0xb6be2400 <+188>: mov r1, r6 0xb6be2402 <+190>: mov r0, r9 0xb6be2404 <+192>: blx 0xb6bd6f60 <_ZNK8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaE4dumpEi@plt> 0xb6be2408 <+196>: mov r0, r6 0xb6be240a <+198>: blx 0xb6bd7020 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaED1Ev@plt> 0xb6be240e <+202>: mov r0, r8 --Type for more, q to quit, c to continue without paging-- 0xb6be2410 <+204>: blx 0xb6bd6f90 <_ZN4swss6Logger11ScopeLoggerD1Ev@plt> 0xb6be2414 <+208>: ldr r3, [sp, #12] 0xb6be2416 <+210>: ldr r2, [sp, #100] ; 0x64 0xb6be2418 <+212>: mov r0, r9 0xb6be241a <+214>: ldr r3, [r3, #0] 0xb6be241c <+216>: cmp r2, r3 0xb6be241e <+218>: bne.n 0xb6be24e4 0xb6be2420 <+220>: add sp, #108 ; 0x6c 0xb6be2422 <+222>: ldmia.w sp!, {r4, r5, r6, r7, r8, r9, r10, r11, pc} 0xb6be2426 <+226>: add.w r11, sp, #64 ; 0x40 0xb6be242a <+230>: add r3, sp, #40 ; 0x28 0xb6be242c <+232>: str r7, [sp, #40] ; 0x28 0xb6be242e <+234>: movs r1, #2 0xb6be2430 <+236>: str r7, [sp, #44] ; 0x2c 0xb6be2432 <+238>: mov r0, r11 0xb6be2434 <+240>: str r7, [sp, #0] => 0xb6be2436 <+242>: ldmia r3, {r2, r3} 0xb6be2438 <+244>: str r1, [sp, #4] 0xb6be243a <+246>: blx 0xb6bd614c <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaEC1ESt16initializer_listIS9_EbNS9_7value_tE@plt> --Type for more, q to quit, c to continue without paging-- 0xb6be243e <+250>: ldr r3, [r5, #0] 0xb6be2440 <+252>: movs r7, #0 0xb6be2442 <+254>: mov r10, r7 0xb6be2444 <+256>: cbz r3, 0xb6be246a 0xb6be2446 <+258>: ldr r1, [r5, #4] 0xb6be2448 <+260>: mov r0, r4 0xb6be244a <+262>: add r1, r7 0xb6be244c <+264>: blx 0xb6bd71a0 <_Z26sai_serialize_acl_resourceB5cxx11RK19_sai_acl_resource_t@plt> 0xb6be2450 <+268>: mov r1, r4 0xb6be2452 <+270>: mov r0, r11 0xb6be2454 <+272>: blx 0xb6bd6140 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaE9push_backERKS9_@plt> 0xb6be2458 <+276>: mov r0, r4 0xb6be245a <+278>: add.w r10, r10, #1 0xb6be245e <+282>: blx 0xb6bd7020 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaED1Ev@plt> 0xb6be2462 <+286>: ldr r3, [r5, #0] 0xb6be2464 <+288>: adds r7, #12 0xb6be2466 <+290>: cmp r3, r10 0xb6be2468 <+292>: bhi.n 0xb6be2446 for more, q to quit, c to continue without paging-- cxx11](_sai_acl_resource_list_t const&, bool)+258> 0xb6be246a <+294>: ldr r1, [pc, #144] ; (0xb6be24fc ) 0xb6be246c <+296>: mov r0, r6 0xb6be246e <+298>: add r1, pc 0xb6be2470 <+300>: blx 0xb6bd6f54 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaEixIKcEERS9_PT_@plt> 0xb6be2474 <+304>: mov r5, r0 0xb6be2476 <+306>: mov r1, r11 0xb6be2478 <+308>: mov r0, r4 0xb6be247a <+310>: blx 0xb6bd6428 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaEC1ERKS9_@plt> 0xb6be247e <+314>: ldrd r2, r3, [sp, #88] ; 0x58 0xb6be2482 <+318>: mov r0, r4 0xb6be2484 <+320>: ldrb.w r4, [sp, #80] ; 0x50 0xb6be2488 <+324>: ldrb r1, [r5, #0] 0xb6be248a <+326>: strd r2, r3, [sp, #16] 0xb6be248e <+330>: ldrd r2, r3, [r5, #8] 0xb6be2492 <+334>: strb r4, [r5, #0] 0xb6be2494 <+336>: strb.w r1, [sp, #80] ; 0x50 0xb6be2498 <+340>: strd r2, r3, [sp, #24] 0xb6be249c <+344>: ldrd r3, r4, [sp, #16] --Type for more, q to quit, c to continue without paging-- 0xb6be24a0 <+348>: strd r3, r4, [r5, #8] 0xb6be24a4 <+352>: ldrd r2, r3, [sp, #24] 0xb6be24a8 <+356>: strd r2, r3, [sp, #88] ; 0x58 0xb6be24ac <+360>: blx 0xb6bd7020 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaED1Ev@plt> 0xb6be24b0 <+364>: mov.w r2, #4294967295 0xb6be24b4 <+368>: mov r1, r6 0xb6be24b6 <+370>: mov r0, r9 0xb6be24b8 <+372>: blx 0xb6bd6f60 <_ZNK8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaE4dumpEi@plt> 0xb6be24bc <+376>: mov r0, r11 0xb6be24be <+378>: blx 0xb6bd7020 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaED1Ev@plt> 0xb6be24c2 <+382>: b.n 0xb6be2408 0xb6be24c4 <+384>: mov r0, r11 0xb6be24c6 <+386>: blx 0xb6bd7020 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaED1Ev@plt> 0xb6be24ca <+390>: mov r0, r6 0xb6be24cc <+392>: blx 0xb6bd7020 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaED1Ev@plt> 0xb6be24d0 <+396>: mov r0, r8 0xb6be24d2 <+398>: blx 0xb6bd6f90 <_ZN4swss6Logger11ScopeLoggerD1Ev@plt--Type for more, q to quit, c to continue without paging-- > 0xb6be24d6 <+402>: blx 0xb6bd6958 <__cxa_end_cleanup@plt> 0xb6be24da <+406>: mov r0, r4 0xb6be24dc <+408>: blx 0xb6bd7020 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaED1Ev@plt> 0xb6be24e0 <+412>: b.n 0xb6be24c4 0xb6be24e2 <+414>: b.n 0xb6be24ca 0xb6be24e4 <+416>: blx 0xb6bd6934 <__stack_chk_fail@plt> 0xb6be24e8 <+420>: ldc 0, cr0, [r2], #12 0xb6be24ec <+424>: lsls r4, r3, #26 0xb6be24ee <+426>: movs r0, r0 0xb6be24f0 <+428>: cmp r5, #196 ; 0xc4 0xb6be24f2 <+430>: movs r2, r0 0xb6be24f4 <+432>: mov r4, r10 0xb6be24f6 <+434>: movs r2, r0 0xb6be24f8 <+436>: str r6, [r7, #120] ; 0x78 0xb6be24fa <+438>: movs r2, r0 0xb6be24fc <+440>: str r6, [r3, #112] ; 0x70 0xb6be24fe <+442>: movs r2, r0 End of assembler dump. (gdb) (gdb) x/s 0xb6bd6f90 0xb6bd6f90 <_ZN4swss6Logger11ScopeLoggerD1Ev@plt>: "" (gdb) x/s100 0xb6bd6f90 A syntax error in expression, near `0xb6bd6f90'. (gdb) x/100s 0xb6bd6f90 0xb6bd6f90 <_ZN4swss6Logger11ScopeLoggerD1Ev@plt>: "" 0xb6bd6f91 <_ZN4swss6Logger11ScopeLoggerD1Ev@plt>: "\306\217\342J\312\214\342$\366\274\345" 0xb6bd6f9d <__errno_location@plt>: "\306\217\342J\312\214\342\034\366\274\345" 0xb6bd6fa9 <_ZNSt10_HashtableIjSt4pairIKjSt10shared_ptrIN7saimeta14SaiAttrWrapperEEESaIS6_ENSt8__detail10_Select1stESt8equal_toIjESt4hashIjENS8_18_Mod_range_hashingENS8_20_Default_ranged_hashENS8_20_Prime_rehash_policyENS8_17_Hashtable_traitsILb0ELb0ELb1EEEE21_M_insert_unique_nodeEjjPNS8_10_Hash_nodeIS6_Lb0EEE@plt>: "\306\217\342J\312\214\342\024\366\274\345" 0xb6bd6fb5 <_ZNSt16invalid_argumentC1ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@plt>: "\306\217\342J\312\214\342\f\366\274\345" 0xb6bd6fc1 <_ZNK8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaE6parser6expectENS9_5lexer10token_typeE@plt>: "\306\217\342J\312\214\342\004\366\274\345" 0xb6bd6fcd <_Z25sai_deserialize_enum_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPK20_sai_enum_metadata_tR15_sai_s32_list_tb@plt>: "\306\217\342J\312\214\342\374\365\274\345" 0xb6bd6fd9 : "\306\217\342J\312\214\342\364\365\274\345" 0xb6bd6fe5 <_ZN9__gnu_cxx12__to_xstringINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEcEET_PFiPT0_jPKS8_St9__va_listEjSB_z@plt>:"\306\217\342J\312\214\342\354\365\274\345" 0xb6bd6ff1 <_ZN7saimeta19SaiObjectCollection22getObjectsByObjectTypeE18_sai_obje--Type for more, q to quit, c to continue without paging-- ct_type_t@plt>: "\306\217\342J\312\214\342\344\365\274\345" 0xb6bd6ffd : "\306\217\342J\312\214\342\334\365\274\345" 0xb6bd7009 <_Z48sai_deserialize_json_fdb_event_notification_dataRKN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaEER34_sai_fdb_event_notification_data_t@plt>: "\306\217\342J\312\214\342\324\365\274\345" 0xb6bd7015 <_Z28sai_serialize_acl_capabilityB5cxx11RK20_sai_attr_metadata_tRK21_sai_acl_capability_tb@plt>: "\306\217\342J\312\214\342\314\365\274\345" 0xb6bd7021 <_ZN8nlohmann10basic_jsonISt3mapSt6vectorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEbxydSaED1Ev@plt>: "\306\217\342J\312\214\342\304\365\274\345" 0xb6bd702d <_Z20sai_deserialize_listI15_sai_u16_list_tZ27sai_deserialize_number_listIS0_EvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERT_bbEUlS7_RtE_EvS9_SB_bT0_@plt>: "\306\217\342J\312\214\342\274\365\274\345" 0xb6bd7039 <_ZN7saimeta4Meta24get_object_previous_attrERK22_sai_object_meta_key_tRK20_sai_attr_metadata_t@plt>: "\306\217\342J\312\214\342\264\365\274\345" 0xb6bd7045 <_Z26sai_deserialize_hex_binaryRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPvj@plt>: "\306\217\342J\312\214\342\254\365\274\345" 0xb6bd7051 <_Z20sai_deserialize_listI16_sai_vlan_list_tZ27sai_deserialize_number_listIS0_EvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERT_bbEUlS7_RtE_EvS9_SB_bT0_@plt>: "\306\217\342J\312\214\342\244\365\274\345" 0xb6bd705d <_ZSt7getlineIcSt11char_traitsIcESaIcEERSt13basic_istreamIT_T0_ES7_RNSt7__cxx1112basic_stringIS4_S5_T1_EES4_@plt>: "\306\217\342J\312\214\342\234\3--Type for more, q to quit, c to continue without paging--q Quit (gdb) x/100s 0xb6be242c 0xb6be242c : "\n\227\002!\v\227XF" 0xb6be2435 : "\227\f\313\001\221\363\367\210\356+h" 0xb6be2441 : "'\272F\213\261ih F9D\364\367\250\356!FXF\363\367t\356 F\n\361\001\n\364\367\340\355+h\f7SE\355\330$I0FyD\364\367p\355\005FYF F\363\367\326\357\335\351\026# F\235\370P@)x\315\351\004#\325\351\002#,p\215\370P\020\315\351\006#\335\351\004\064\305\351\002\064\335\351\006#\315\351\026#\364\367\270\355O\360\377\062\061FHF\364\367R\355XF\364\367\260\355\241\347XF\364\367\254\355\060F\364\367\250\355@F\364\367^\355\364\367@\352 F\364\367\240\355\360\347\362\347\364\367&\352\262\354\003" 0xb6be24ec : "\234\006" 0xb6be24ef : "" 0xb6be24f0 : "\304-\002" 0xb6be24f4 : "TF\002" 0xb6be24f8 : "\276g\002" 0xb6be24fc for more, q to quit, c to continue without paging-- const&, bool)+440>: "\036g\002" 0xb6be2500 : "iI-\351\360OyDhN\025F\233\260\037F\vFgL\212Y\r\361 \b|D@\362\324Q\201F@F\003\222\004\365Dr\003\233\f\256\033h\031\223\363\367X\355_I0F" 0xb6be253b : "#s`yD\f\223\263`\363`\364\367\006\355+h\001F" 0xb6be254f : "\"\027\222\006 \215\370P" 0xb6be2558 : "\026\223\024\254\335\351\026#\221\370" 0xb6be2563 : "\340\321\351\002\253\bp F\215\370P\340\301\351\002#\315\351\026\253\364\367R\355kh" 0xb6be257f : "+\b\277G\360\001\ao\263KI0FyD\364\367\342\354\001F" 0xb6be2595 : "' F\215\370Pp\335\351\026E\221\370" --Type for more, q to quit, c to continue without paging--q Quit (gdb) x/100 0xb6be242c 0xb6be242c : "\n\227\002!\v\227XF" 0xb6be2435 : "\227\f\313\001\221\363\367\210\356+h" 0xb6be2441 : "'\272F\213\261ih F9D\364\367\250\356!FXF\363\367t\356 F\n\361\001\n\364\367\340\355+h\f7SE\355\330$I0FyD\364\367p\355\005FYF F\363\367\326\357\335\351\026# F\235\370P@)x\315\351\004#\325\351\002#,p\215\370P\020\315\351\006#\335\351\004\064\305\351\002\064\335\351\006#\315\351\026#\364\367\270\355O\360\377\062\061FHF\364\367R\355XF\364\367\260\355\241\347XF\364\367\254\355\060F\364\367\250\355@F\364\367^\355\364\367@\352 F\364\367\240\355\360\347\362\347\364\367&\352\262\354\003" 0xb6be24ec : "\234\006" 0xb6be24ef : "" 0xb6be24f0 : "\304-\002" 0xb6be24f4 : "TF\002" 0xb6be24f8 : "\276g\002" 0xb6be24fc for more, q to quit, c to continue without paging-- const&, bool)+440>: "\036g\002" 0xb6be2500 : "iI-\351\360OyDhN\025F\233\260\037F\vFgL\212Y\r\361 \b|D@\362\324Q\201F@F\003\222\004\365Dr\003\233\f\256\033h\031\223\363\367X\355_I0F" 0xb6be253b : "#s`yD\f\223\263`\363`\364\367\006\355+h\001F" 0xb6be254f : "\"\027\222\006 \215\370P" 0xb6be2558 : "\026\223\024\254\335\351\026#\221\370" 0xb6be2563 : "\340\321\351\002\253\bp F\215\370P\340\301\351\002#\315\351\026\253\364\367R\355kh" 0xb6be257f : "+\b\277G\360\001\ao\263KI0FyD\364\367\342\354\001F" 0xb6be2595 : "' F\215\370Pp\335\351\026E\221\370" --Type for more, q to quit, c to continue without paging--q (gdb) info registers r0 0xbe9b53a8 3197850536 r1 0x2 2 r2 0x100 256 r3 0xbe9b5390 3197850512 r4 0xbe9b53b8 3197850552 r5 0xbe9b5810 3197851664 r6 0xbe9b5398 3197850520 r7 0x0 0 r8 0xbe9b5388 3197850504 r9 0xbe9b54cc 3197850828 r10 0x0 0 r11 0xbe9b53a8 3197850536 r12 0xb6c215ec 3066172908 sp 0xbe9b5368 0xbe9b5368 lr 0xb6be23bf -1229052993 pc 0xb6be2436 0xb6be2436 cpsr 0x20010030 536936496 fpscr 0x60000000 1610612736 (gdb) p* 0xbe9b5368 $4 = 0 (gdb) ====================================================================================================================================================== [New LWP 62] [New LWP 66] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". 0xb6e50524 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 (gdb) b sai_serialize_acl_resource_list Breakpoint 1 at 0xb6b9d684 (3 locations) (gdb) c Continuing. Thread 1 "orchagent" hit Breakpoint 1, 0xb6b9d684 in sai_serialize_acl_resource_list[abi:cxx11](_sai_acl_resource_list_t const&, bool)@plt () from /usr/lib/arm-linux-gnueabihf/libsaimetadata.so.0 (gdb) n Single stepping until exit from function _Z31sai_serialize_acl_resource_listB5cxx11RK24_sai_acl_resource_list_tb@plt, which has no line number information. 0xb6b9ce58 in ?? () from /usr/lib/arm-linux-gnueabihf/libsaimetadata.so.0 (gdb) c Continuing. Thread 1 "orchagent" hit Breakpoint 1, sai_serialize_acl_resource_list[abi:cxx11](_sai_acl_resource_list_t const&, bool) (aclresource=..., countOnly=countOnly@entry=false) at saiserialize.cpp:1257 1257 saiserialize.cpp: No such file or directory. (gdb) catch catch Catchpoint 2 (catch) (gdb) catch throw Catchpoint 3 (throw) (gdb) catch exception Unable to insert catchpoint. Is this an Ada main program? (gdb) catch exceptions Undefined catch command: "exceptions". Try "help catch". (gdb) catch exception unhandled Unable to insert catchpoint. Is this an Ada main program? (gdb) x/256wa $sp 0xbee843f8: 0xb6f17968 <__stack_chk_guard> 0xb6f17968 <__stack_chk_guard> 0xb6d14670 0xb6a56867 <_Znwj+18> 0xbee84408: 0x24 0x5f4 0xb6bcc45c <_ZZ24sai_serialize_attr_valueB5cxx11RK20_sai_attr_metadata_tRK16_sai_attribute_tbE12__FUNCTION__> 0xb6cdefbc 0xbee84418: 0xb6f17968 <__stack_chk_guard> 0x21d3cd00 0x21 0xbee8445c 0xbee84428: 0xb6cdefbc 0xbee8445c 0xb6d14670 0xb6f17968 <__stack_chk_guard> 0xbee84438: 0x102cc30 0x21 0xbee844e4 0xb6d6cb61 0xbee84448: 0xb6da1700 0xb6bc835c <_ZZ21sai_serialize_attr_idB5cxx11RK20_sai_attr_metadata_tE12__FUNCTION__> 0xbee844b4 0xb6ba12d3 0xbee84458: 0x0 0x21d3cd00 0xb6d14670 0xbee84808 0xbee84468: 0xbee84568 0x0 0x1 0x102cc30 0xbee84478: 0x21 0xb6b9ef1f 0xbee845db 0x0 0xbee84488: 0x0 0x21 0x1 0x0 0xbee84498: 0xbee844b4 0xbee844cc 0xbee844ac 0xb6f17968 <__stack_chk_guard> --Type for more, q to quit, c to continue without paging--q Quit (gdb) n 1258 in saiserialize.cpp (gdb) x/256wa $sp 0xbee84368: 0xb6f16320 0xb6f17968 <__stack_chk_guard> 0xbee843ac 0xb38 0xbee84378: 0xb6bcc9c0 <_ZZ26sai_deserialize_attr_valueRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERK20_sai_attr_metadata_tR16_sai_attribute_tbE12__FUNCTION__> 0xbee84420 0x1 0xb6f16320 0xbee84388: 0xb6be82bc <_Z31sai_serialize_acl_resource_listB5cxx11RK24_sai_acl_resource_list_tb@got.plt> 0xb6f07010 0xb6f074d0 0x0 0xbee84398: 0x1 0xbee844cc 0xbee844e4 0xb6ef9fa3 0xbee843a8: 0x0 0x1 0x5 0x0 0xbee843b8: 0xbee84454 0xb6b8daac 0x21 0x0 0xbee843c8: 0xb6be8000 0xbee8440c 0xb6f17968 <__stack_chk_guard> 0x0 0xbee843d8: 0xb6be8000 0xbee8440c 0xb6f17968 <__stack_chk_guard> 0xbee84808 0xbee843e8: 0xb6d14670 0xbee844cc 0xbee844e4 0xb6ba988f 0xbee843f8: 0xb6f17968 <__stack_chk_guard> 0xb6f17968 <__stack_chk_guard> 0xb6d14670 0xb6a56867 <_Znwj+18> 0xbee84408: 0x24 0x5f4 0xb6bcc45c <_ZZ24sai_serialize_attr_valueB5cxx11RK20_sai_attr_metadata_tRK16_sai_attribute_tbE12__FUNCTION__> 0xb6cdefbc 0xbee84418: 0xb6f17968 <__stack_chk_guard> 0x21d3cd00 0x21 0xbee844--Type for more, q to quit, c to continue without paging--q Quit (gdb) watch *0xbee84368 Hardware watchpoint 4: *0xbee84368 (gdb) n 1257 in saiserialize.cpp (gdb) 1258 in saiserialize.cpp (gdb) catch syscall Catchpoint 5 (any syscall) (gdb) n [Switching to Thread 0xb64d4000 (LWP 62)] Thread 2 "orchagent" hit Catchpoint 5 (call to syscall epoll_wait), 0xb685e746 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6 (gdb) n Cannot find bounds of current function (gdb) c Continuing. [Switching to Thread 0xb5aff000 (LWP 66)] Thread 3 "orchagent" hit Catchpoint 5 (call to syscall futex), 0xb6e50526 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 (gdb) bt #0 0xb6e50526 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6e4e152 in __lll_lock_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb6e48998 in pthread_mutex_lock () from /lib/arm-linux-gnueabihf/libpthread.so.0 #3 0xb6def3d2 in __gthread_mutex_lock (__mutex=0x1014c8c) at /usr/include/arm-linux-gnueabihf/c++/6/bits/gthr-default.h:748 #4 __gthread_recursive_mutex_lock (__mutex=0x1014c8c) at /usr/include/arm-linux-gnueabihf/c++/6/bits/gthr-default.h:810 #5 std::recursive_mutex::lock (this=0x1014c8c) at /usr/include/c++/6/mutex:105 #6 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/6/bits/std_mutex.h:162 #7 sairedis::Sai::handle_notification (this=0x1014c84, notification=std::shared_ptr (use count 3, weak count 0) = {...}, context=0x102c9ec) at Sai.cpp:683 #8 0xb6df6744 in std::__invoke_impl<_sai_switch_notifications_t, _sai_switch_notifications_t (sairedis::Sai::* const&)(std::shared_ptr, sairedis::Context*), sairedis::Sai*&, std::shared_ptr, sairedis::Context*> (__t=, __f=) at /usr/include/c++/6/functional:227 #9 std::__invoke<_sai_switch_notifications_t (sairedis::Sai::* const&)(std::shared_ptr, sairedis::Context*), sairedis::Sai*&, std::shar--Type for more, q to quit, c to continue without paging-- ed_ptr, sairedis::Context*> (__fn=) at /usr/include/c++/6/functional:251 #10 std::_Mem_fn_base<_sai_switch_notifications_t (sairedis::Sai::*)(std::shared_ptr, sairedis::Context*), true>::operator(), sairedis::Context*> ( this=) at /usr/include/c++/6/functional:604 #11 std::_Bind, sairedis::Context*)> (sairedis::Sai*, std::_Placeholder<1>, std::_Placeholder<2>)>::__call<_sai_switch_notifications_t, std::shared_ptr&&, sairedis::Context*&&, 0u, 1u, 2u>(std::tuple&&, sairedis::Context*&&>&&, std::_Index_tuple<0u, 1u, 2u>) (__args=..., this=) at /usr/include/c++/6/functional:934 #12 std::_Bind, sairedis::Context*)> (sairedis::Sai*, std::_Placeholder<1>, std::_Placeholder<2>)>::operator(), sairedis::Context*, _sai_switch_notifications_t>(std::shared_ptr&&, sairedis::Context*&&) (this=) at /usr/include/c++/6/functional:993 #13 std::_Function_handler<_sai_switch_notifications_t (std::shared_ptr, sairedis::Context*), std::_Bind, sairedis::Context*)> (sairedis::Sai*, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_i--Type for more, q to quit, c to continue without paging-- nvoke(std::_Any_data const&, std::shared_ptr&&, sairedis::Context*&&) (__functor=..., __args#0=..., __args#1=) at /usr/include/c++/6/functional:1717 #14 0xb6e0af3c in std::function<_sai_switch_notifications_t (std::shared_ptr, sairedis::Context*)>::operator()(std::shared_ptr, sairedis::Context*) const (__args#1=, __args#0=std::shared_ptr (empty) = {...}, this=0x102ca10) at /usr/include/c++/6/functional:2127 #15 sairedis::Context::handle_notification (this=0x102c9ec, notification=...) at Context.cpp:45 #16 0xb6e0b76c in std::__invoke_impl<_sai_switch_notifications_t, _sai_switch_notifications_t (sairedis::Context::* const&)(std::shared_ptr), sairedis::Context*&, std::shared_ptr > ( __t=, __f=) at /usr/include/c++/6/functional:227 #17 std::__invoke<_sai_switch_notifications_t (sairedis::Context::* const&)(std::shared_ptr), sairedis::Context*&, std::shared_ptr > (__fn=) at /usr/include/c++/6/functional:251 #18 std::_Mem_fn_base<_sai_switch_notifications_t (sairedis::Context::*)(std::shared_ptr), true>::operator() > (this=) at /usr/include/c++/6/functional:604 --Type for more, q to quit, c to continue without paging-- #19 std::_Bind)> (sairedis::Context*, std::_Placeholder<1>)>::__call<_sai_switch_notifications_t, std::shared_ptr&&, 0u, 1u>(std::tuple&&>&&, std::_Index_tuple<0u, 1u>) (__args=..., this=) at /usr/include/c++/6/functional:934 #20 std::_Bind)> (sairedis::Context*, std::_Placeholder<1>)>::operator(), _sai_switch_notifications_t>(std::shared_ptr&&) (this=) at /usr/include/c++/6/functional:993 #21 std::_Function_handler<_sai_switch_notifications_t (std::shared_ptr), std::_Bind)> (sairedis::Context*, std::_Placeholder<1>)> >::_M_invoke(std::_Any_data const&, std::shared_ptr&&) (__functor=..., __args#0=...) at /usr/include/c++/6/functional:1717 #22 0xb6e02020 in std::function<_sai_switch_notifications_t (std::shared_ptr)>::operator()(std::shared_ptr) const (__args#0=std::shared_ptr (empty) = {...}, this=0x102cc90) at /usr/include/c++/6/functional:2127 #23 sairedis::RedisRemoteSaiInterface::handleNotification (this=0x102cc30, name="fdb_event", --Type for more, q to quit, c to continue without paging-- serializedNotification="[{\"fdb_entry\":\"{\\\"bvid\\\":\\\"oid:0x26000000000591\\\",\\\"mac\\\":\\\"36:FD:13:8B:4C:95\\\",\\\"switch_id\\\":\\\"oid:0x21", '0' , "\\\"}\",\"fdb_event\":\"SAI_FDB_EVENT_MOVE\",\"list\":[{\"id\":\"SAI_FDB_ENTRY_ATTR_TYPE\",\"value"..., values=std::vector of length 0, capacity 1) at RedisRemoteSaiInterface.cpp:1835 #24 0xb6e1543e in std::function, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, std::vector, std::allocator >, std::__cxx11::basic_string, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > const&)>::operator()(std::__cxx11::basic_string, std::allocator > const&, std::__cxx11::basic_string, std::allocator > const&, std::vector, std::allocator >, std::__cxx11::basic_string, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > > const&) const ( __args#2=std::vector of length 0, capacity 1, __args#1="[{\"fdb_entry\":\"{\\\"bvid\\\":\\\"oid:0x26000000000591\\\",\\\"m--Type for more, q to quit, c to continue without paging-- ac\\\":\\\"36:FD:13:8B:4C:95\\\",\\\"switch_id\\\":\\\"oid:0x21", '0' , "\\\"}\",\"fdb_event\":\"SAI_FDB_EVENT_MOVE\",\"list\":[{\"id\":\"SAI_FDB_ENTRY_ATTR_TYPE\",\"value"..., __args#0="fdb_event", this=0x102b3dc) at /usr/include/c++/6/functional:2127 #25 sairedis::RedisChannel::notificationThreadFunction (this=0x102b3d8) at RedisChannel.cpp:118 #26 0xb6a7249e in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 #27 0xb6e46bbe in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0 #28 0xb68e162c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) n Single stepping until exit from function __libc_do_syscall, which has no line number information. [Switching to Thread 0xb64d4000 (LWP 62)] Thread 2 "orchagent" hit Catchpoint 5 (returned from syscall epoll_wait), 0xb685e746 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6 (gdb) bt #0 0xb685e746 in ?? () from /lib/arm-linux-gnueabihf/libc.so.6 #1 0xb68e1920 in epoll_wait () from /lib/arm-linux-gnueabihf/libc.so.6 #2 0xb6d913b0 in swss::Select::poll_descriptors (this=this@entry=0xb64d38b8, c=c@entry=0xb64d3874, timeout=timeout@entry=1000) at select.cpp:98 #3 0xb6d9159e in swss::Select::select (this=this@entry=0xb64d38b8, c=c@entry=0xb64d3874, timeout=timeout@entry=1000) at select.cpp:167 #4 0xb6d6cf00 in swss::Logger::settingThread ( this=0xb6dbcb7c ) at logger.cpp:193 #5 0xb6a7249e in ?? () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 #6 0xb6e46bbe in start_thread () from /lib/arm-linux-gnueabihf/libpthread.so.0 #7 0xb68e162c in ?? () from /lib/arm-linux-gnueabihf/libc.so.6 Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) n Cannot find bounds of current function (gdb) c Continuing. [Switching to Thread 0xb5aff000 (LWP 66)] Thread 3 "orchagent" hit Catchpoint 5 (returned from syscall futex), 0xb6e50526 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 (gdb) bt #0 0xb6e50526 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0xb6e4e152 in __lll_lock_wait () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0xb6e48998 in pthread_mutex_lock () from /lib/arm-linux-gnueabihf/libpthread.so.0 #3 0xb6def3d2 in __gthread_mutex_lock (__mutex=0x1014c8c) at /usr/include/arm-linux-gnueabihf/c++/6/bits/gthr-default.h:748 #4 __gthread_recursive_mutex_lock (__mutex=0x1014c8c) at /usr/include/arm-linux-gnueabihf/c++/6/bits/gthr-default.h:810 #5 std::recursive_mutex::lock (this=0x1014c8c) at /usr/include/c++/6/mutex:105 #6 std::lock_guard::lock_guard (__m=..., this=) at /usr/include/c++/6/bits/std_mutex.h:162 #7 sairedis::Sai::handle_notification (this=0x1014c84, notification=std::shared_ptr (use count 3, weak count 0) = {...}, context=0x102c9ec) at Sai.cpp:683 #8 0xb6df6744 in std::__invoke_impl<_sai_switch_notifications_t, _sai_switch_notifications_t (sairedis::Sai::* const&)(std::shared_ptr, sairedis::Context*), sairedis::Sai*&, std::shared_ptr, sairedis::Context*> (__t=, __f=) at /usr/include/c++/6/functional:227 #9 std::__invoke<_sai_switch_notifications_t (sairedis::Sai::* const&)(std::shared_ptr, sairedis::Context*), sairedis::Sai*&, std::shar--Type for more, q to quit, c to continue without paging-- ed_ptr, sairedis::Context*> (__fn=) at /usr/include/c++/6/functional:251 #10 std::_Mem_fn_base<_sai_switch_notifications_t (sairedis::Sai::*)(std::shared_ptr, sairedis::Context*), true>::operator(), sairedis::Context*> ( this=) at /usr/include/c++/6/functional:604 #11 std::_Bind, sairedis::Context*)> (sairedis::Sai*, std::_Placeholder<1>, std::_Placeholder<2>)>::__call<_sai_switch_notifications_t, std::shared_ptr&&, sairedis::Context*&&, 0u, 1u, 2u>(std::tuple&&, sairedis::Context*&&>&&, std::_Index_tuple<0u, 1u, 2u>) (__args=..., this=) at /usr/include/c++/6/functional:934 #12 std::_Bind, sairedis::Context*)> (sairedis::Sai*, std::_Placeholder<1>, std::_Placeholder<2>)>::operator(), sairedis::Context*, _sai_switch_notifications_t>(std::shared_ptr&&, sairedis::Context*&&) (this=) at /usr/include/c++/6/functional:993 #13 std::_Function_handler<_sai_switch_notifications_t (std::shared_ptr, sairedis::Context*), std::_Bind, sairedis::Context*)> (sairedis::Sai*, std::_Placeholder<1>, std::_Placeholder<2>)> >::_M_i--Type for more, q to quit, c to continue without paging--q Quit (gdb) n Single stepping until exit from function __libc_do_syscall, which has no line number information. [Switching to Thread 0xb6f07010 (LWP 40)] Thread 1 "orchagent" hit Hardware watchpoint 4: *0xbee84368 Old value = -1225694432 New value = 0 0xb6ba9436 in nlohmann::basic_json, std::allocator >, bool, long long, unsigned long long, double, std::allocator>::array (init=...) at /usr/include/swss/json.hpp:1615 1615 /usr/include/swss/json.hpp: No such file or directory. (gdb) bt #0 0xb6ba9436 in nlohmann::basic_json, std::allocator >, bool, long long, unsigned long long, double, std::allocator>::array (init=...) at /usr/include/swss/json.hpp:1615 #1 sai_serialize_acl_resource_list[abi:cxx11](_sai_acl_resource_list_t const&, bool) (aclresource=..., countOnly=countOnly@entry=false) at saiserialize.cpp:1271 #2 0xb6ba988e in sai_serialize_attr_value[abi:cxx11](_sai_attr_metadata_t const&, _sai_attribute_t const&, bool) (meta=..., attr=..., countOnly=countOnly@entry=false) at saiserialize.cpp:1613 #3 0xb6b9ef1e in saimeta::SaiAttributeList::serialize_attr_list[abi:cxx11](_sai_object_type_t, unsigned int, _sai_attribute_t const*, bool) ( objectType=objectType@entry=SAI_OBJECT_TYPE_SWITCH, attr_count=attr_count@entry=1, attr_list=attr_list@entry=0xbee84808, countOnly=countOnly@entry=false) at SaiAttributeList.cpp:120 #4 0xb6e05862 in sairedis::RedisRemoteSaiInterface::get ( this=this@entry=0x102cc30, objectType=objectType@entry=SAI_OBJECT_TYPE_SWITCH, serializedObjectId="oid:0x21", '0' , attr_count=attr_count@entry=1, attr_list=attr_list@entry=0xbee84808) at RedisRemoteSaiInterface.cpp:804 #5 0xb6e05aac in sairedis::RedisRemoteSaiInterface::get (this=0x102cc30, objectType=SAI_OBJECT_TYPE_SWITCH, objectId=, attr_count=1, --Type for more, q to quit, c to continue without paging-- attr_list=0xbee84808) at RedisRemoteSaiInterface.cpp:566 #6 0xb6bc3426 in saimeta::Meta::get (this=0x102efdc, object_type=SAI_OBJECT_TYPE_SWITCH, object_id=, attr_count=1, attr_list=0xbee84808) at Meta.cpp:1528 #7 0xb6defe34 in sairedis::Sai::get (this=0x1014c84, objectType=SAI_OBJECT_TYPE_SWITCH, objectId=, attr_count=1, attr_list=0xbee84808) at Sai.cpp:240 #8 0xb6deb77c in redis_get_switch_attribute (object_id=, attr_count=1, attr_list=0xbee84808) at sai_redis_switch.cpp:27 #9 0x004fe016 in ?? () #10 0x004fe32a in ?? () #11 0x0045e818 in ?? () #12 0x00441f44 in ?? () #13 0xb685e524 in __libc_start_main () from /lib/arm-linux-gnueabihf/libc.so.6 #14 0x00457d38 in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) p $_exception not stopped at a C++ exception catchpoint