Application crashed with upgraded v8

29 views
Skip to first unread message

TK Lee

unread,
Apr 14, 2025, 12:24:53 PMApr 14
to v8-users
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

Ben Noordhuis

unread,
Apr 14, 2025, 3:29:15 PMApr 14
to v8-u...@googlegroups.com
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.
Reply all
Reply to author
Forward
0 new messages