Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-5120

crashes in abseil library on RISC-V

XMLWordPrintable

      With the upgrade to YP 5.0 / scarthgap, it looks like anything that uses the gRPC C++ library coredumps with a SIGILL in libabsl from the abseil package.  I believe this was not happening at one point in the recent past when testing the next branch, so it may possible to narrow it down to a abseil-cpp version change.  It seems likely this due to a build configuration problem in abseil-cpp.

      A backtrace from one of the coredumps:

      (gdb) bt
      #0  absl::lts_20240116::base_internal::UnscaledCycleClock::Now () at /usr/src/debug/abseil-cpp/20240116.2/absl/base/internal/unscaledcycleclock.cc:128
      #1  0x00007fff93d031ce in absl::lts_20240116::base_internal::CycleClock::Now () at /usr/src/debug/abseil-cpp/20240116.2/absl/base/internal/cycleclock.h:128
      #2  absl::lts_20240116::SynchWaitParams::SynchWaitParams (cv_word_arg=0x555572fb7708, thread_arg=<optimized out>, cvmu_arg=0x555572fb76f0, timeout_arg=..., cond_arg=0x0, how_arg=0x7fff93d059f8 <absl::lts_20240116::kExclusiveS>, 
          this=0x7fff920b73a8) at /usr/src/debug/abseil-cpp/20240116.2/absl/synchronization/mutex.cc:505
      #3  absl::lts_20240116::CondVar::WaitCommon (this=this@entry=0x555572fb7708, mutex=mutex@entry=0x555572fb76f0, t=t@entry=...) at /usr/src/debug/abseil-cpp/20240116.2/absl/synchronization/mutex.cc:2607
      #4  0x00007fff935d4860 in absl::lts_20240116::CondVar::Wait (mu=0x555572fb76f0, this=0x555572fb7708) at /usr/include/absl/synchronization/mutex.h:925
      #5  gpr_cv_wait (cv=0x555572fb7708, mu=0x555572fb76f0, abs_deadline=...) at /usr/src/debug/grpc/1.60.1/src/core/lib/gpr/sync_abseil.cc:78
      #6  0x00007fff939f2f3a in grpc_core::Executor::ThreadMain (arg=0x555572fb76f0) at /usr/src/debug/grpc/1.60.1/src/core/lib/iomgr/executor.cc:230
      #7  0x00007fff935d632a in operator() (__closure=0x0, v=<optimized out>) at /usr/src/debug/grpc/1.60.1/src/core/lib/gprpp/posix/thd.cc:145
      #8  _FUN () at /usr/src/debug/grpc/1.60.1/src/core/lib/gprpp/posix/thd.cc:150
      #9  0x00007fff93202042 in start_thread (arg=<optimized out>) at pthread_create.c:447
      #10 0x00007fff9324aef8 in __thread_start_clone3 () at ../sysdeps/unix/sysv/linux/riscv/clone3.S:71
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            scottm Scott Murray
            scottm Scott Murray
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: