https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109712
--- Comment #12 from Carlos Galvez <carlosgalvezp at gmail dot com> --- I just tested latest and greatest trunk (git commit 2415024e0f81f8c09bf08f947c790b43de9d0bbc) and the problem persists. Slightly different line numbers but essentially same backtrace: #0 linear_search_fdes (ob=0x7fffffffd1d0, this_fde=0x0, pc=0x7fffdf4b6624) at ../../../gcc/libgcc/unwind-dw2-fde.c:977 #1 0x00007fffdde1ce51 in find_fde_tail (dbase=2424076, bases=0x7fffffffd428, hdr=0x7ffff690ca70, pc=140736939648548) at ../../../gcc/libgcc/unwind-dw2-fde-dip.c:519 #2 _Unwind_Find_FDE (pc=<optimized out>, bases=bases@entry=0x7fffffffd428) at ../../../gcc/libgcc/unwind-dw2-fde-dip.c:573 #3 0x00007fffdde184aa in uw_frame_state_for (context=0x7fffffffd380, fs=0x7fffffffd470) at ../../../gcc/libgcc/unwind-dw2.c:1005 #4 0x00007fffdde19efd in _Unwind_RaiseException (exc=0x1d994fb0) at ../../../gcc/libgcc/unwind.inc:104 #5 0x00007fffde2b808a in __cxa_throw () from /path/to/gcc/usr/lib64/libstdc++.so.6 #6 0x00007fffdf4b6625 in ?? () from /path/to/nvinfer/lib/libnvinfer.so.8 #7 0x00007fffdf0f5df3 in ?? () from /path/to/nvinfer/lib/libnvinfer.so.8 #8 0x00007fffe1bff20b in ?? () from /path/to/nvinfer/lib/libnvinfer.so.8 #9 0x00007fffdf428c3f in ?? () from /path/to/nvinfer/lib/libnvinfer.so.8 #10 0x00007fffdf4297db in ?? () from /path/to/nvinfer/lib/libnvinfer.so.8 #11 0x00007fffdf429ef7 in ?? () from /path/to/nvinfer/lib/libnvinfer.so.8 #12 0x00007fffdf42a17d in createInferBuilder_INTERNAL () from /path/to/nvinfer/lib/libnvinfer.so.8 #13 0x0000000000401163 in nvinfer1::(anonymous namespace)::createInferBuilder (logger=...) at nvinfer/include/NvInfer.h:9093 #14 0x0000000000401182 in main () at main.cpp:13