On Mon, Apr 14, 2025 at 6:24 PM TK Lee <taek...@gmail.com> wrote: > > My application used to run fine with v8 13.0.245. > I had to upgrade v8 to 13.4.114 due to security issues. I rebuilt my > application with c++20(before I built built with c++17). When I ran my > application. I got the following error: > -------- > /opt/rh/gcc-toolset-12/root/usr/include/c++/12/bits/stl_vector.h:1123: > constexpr std::vector<_Tp, _Alloc>::reference std::vector<_Tp, > _Alloc>::operator[](size_type) [with _Tp = > std::shared_ptr<v8::internal::BackingStore>; _Alloc = > std::allocator<std::shared_ptr<v8::internal::BackingStore> >; reference = > std::shared_ptr<v8::internal::BackingStore>&; size_type = long unsigned int]: > Assertion '__n < this->size()' failed. > Aborted (core dumped) > --------- > Any idea what seems to be wrong? > > Thanks in advance, > TK
Try inspecting the core dump in gdb. The error is clearly an out-of-bounds array access; `backtrace` in gdb can hopefully tell you where it's coming from. -- -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/v8-users/CAHQurc_tbdyX7D%3DeRMA%2B2SwgGb%2BXWc3uP2zn3uRaAh73DLiXLQ%40mail.gmail.com.