Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-61464

[Minidump] :- Caught unhandled std::exception-derived exception. what(): checked_snprintf: Destination buffer too small. (10 >= 7)

    XMLWordPrintable

Details

    • Untriaged
    • Linux x86_64
    • 0
    • No

    Description

      Unfortunately I am not really able to figure out what test caused this issue. My guess is it is probably test_eventing_n1ql_in_different_time_zone but could be wrong. My guess is based on the test name we print in the CB server logs.

      grep memcached on 172.23.216.173

      root@s23901-deb11:/opt/couchbase/var/lib/couchbase/logs# grep CRITICAL *
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:33:49.036727+00:00 CRITICAL *** Fatal error encountered during exception handling ***
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:33:49.036752+00:00 CRITICAL Caught unhandled std::exception-derived exception. what(): checked_snprintf: Destination buffer too small. (10 >= 7)
      babysitter.log:memcached<0.141.0>: CRITICAL Breakpad caught a crash (Couchbase version 7.2.5-7587). Writing crash dump to /opt/couchbase/var/lib/couchbase/crash/92704b39-ee12-4a22-17c1b4a9-6d1272eb.dmp before terminating.
      babysitter.log:[ns_server:info,2024-04-08T06:34:02.944Z,babysitter_of_ns_1@cb.local:<0.141.0>:ns_port_server:log:226]memcached<0.141.0>: 2024-04-08T06:34:02.743568+00:00 CRITICAL Detected previous crash
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743608+00:00 CRITICAL Breakpad caught a crash (Couchbase version 7.2.5-7587). Writing crash dump to /opt/couchbase/var/lib/couchbase/crash/92704b39-ee12-4a22-17c1b4a9-6d1272eb.dmp before terminating.
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743608+00:00 CRITICAL Stack backtrace of crashed thread:
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743608+00:00 CRITICAL    #0  /opt/couchbase/bin/memcached() [0x400000+0x754c98]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743608+00:00 CRITICAL    #1  /opt/couchbase/bin/memcached(_ZN15google_breakpad16ExceptionHandler12GenerateDumpEPNS0_12CrashContextE+0x3ea) [0x400000+0x78b48a]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743608+00:00 CRITICAL    #2  /opt/couchbase/bin/memcached(_ZN15google_breakpad16ExceptionHandler13SignalHandlerEiP9siginfo_tPv+0xb8) [0x400000+0x78b7c8]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743609+00:00 CRITICAL    #3  /lib/x86_64-linux-gnu/libpthread.so.0() [0x7f076dd28000+0x13140]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743630+00:00 CRITICAL    #4  /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x141) [0x7f076c03e000+0x38ce1]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743633+00:00 CRITICAL    #5  /lib/x86_64-linux-gnu/libc.so.6(abort+0x123) [0x7f076c03e000+0x22537]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743635+00:00 CRITICAL    #6  /opt/couchbase/bin/../lib/libstdc++.so.6() [0x7f076c372000+0xa89ab]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743636+00:00 CRITICAL    #7  /opt/couchbase/bin/memcached() [0x400000+0x75f1cb]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743637+00:00 CRITICAL    #8  /opt/couchbase/bin/../lib/libstdc++.so.6() [0x7f076c372000+0xb82fa]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743638+00:00 CRITICAL    #9  /opt/couchbase/bin/../lib/libstdc++.so.6() [0x7f076c372000+0xb7379]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743654+00:00 CRITICAL    #10 /opt/couchbase/bin/../lib/libstdc++.so.6(__gxx_personality_v0+0x86) [0x7f076c372000+0xb7a86]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743657+00:00 CRITICAL    #11 /opt/couchbase/bin/../lib/libgcc_s.so.1() [0x7f076c212000+0x106df]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743658+00:00 CRITICAL    #12 /opt/couchbase/bin/../lib/libgcc_s.so.1(_Unwind_Resume+0x126) [0x7f076c212000+0x11086]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743692+00:00 CRITICAL    #13 /opt/couchbase/bin/memcached() [0x400000+0x146ea7]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743693+00:00 CRITICAL    #14 /opt/couchbase/bin/memcached() [0x400000+0x53ad50]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743694+00:00 CRITICAL    #15 /opt/couchbase/bin/memcached() [0x400000+0x53af8a]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743695+00:00 CRITICAL    #16 /opt/couchbase/bin/memcached() [0x400000+0x297931]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743695+00:00 CRITICAL    #17 /opt/couchbase/bin/memcached() [0x400000+0x298a4b]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743696+00:00 CRITICAL    #18 /opt/couchbase/bin/memcached() [0x400000+0x299149]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743697+00:00 CRITICAL    #19 /opt/couchbase/bin/memcached() [0x400000+0x21e600]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743698+00:00 CRITICAL    #20 /opt/couchbase/bin/memcached() [0x400000+0x17c479]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743698+00:00 CRITICAL    #21 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xea) [0x7f076c03e000+0x23d0a]
      babysitter.log:memcached<0.141.0>: 2024-04-08T06:34:02.743699+00:00 CRITICAL    #22 /opt/couchbase/bin/memcached() [0x400000+0x174487]
      

      Interestingly 172.23.216.173 is an eventing node but we see an memcached crash(not sure if i have seen this before)

      Attachments

        1. bt_full.txt
          15 kB
        2. gdb.txt
          14 kB
        3. info_threads.txt
          4 kB
        4. Screenshot 2024-04-10 at 2.32.18 PM.png
          Screenshot 2024-04-10 at 2.32.18 PM.png
          380 kB
        5. thread_apply_all_bt.txt
          141 kB

        Activity

          People

            Balakumaran.Gopal Balakumaran Gopal
            Balakumaran.Gopal Balakumaran Gopal
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty