BTW, Sorry the stacktrace was wrong in my first message, it's failing on some substring out of bound
#0 __cxxabiv1::__cxa_throw (obj=obj@entry=0x555555ef5d30, tinfo=0x7ffff5fd3038 <typeinfo for std::out_of_range>,
dest=0x7ffff5cfc200 <std::out_of_range::~out_of_range()>) at /build/gcc/src/gcc/libstdc++-v3/libsupc++/eh_throw.cc:80
#1 0x00007ffff5ce259e in std::__throw_out_of_range_fmt (__fmt=<optimized out>) from /usr/lib/libstdc++.so.6
#2 0x0000555555776a0d in ?? ()
#3 0x000055555577beee in WLApplication::WLApplication(int, char const* const*) ()
#4 0x000055555577c330 in WLApplication::get(int, char const**) ()
#5 0x000055555575bf3c in main ()
Thanks kaputtnik, I will give it a try.
BTW, Sorry the stacktrace was wrong in my first message, it's failing on some substring out of bound
#0 __cxxabiv1: :__cxa_ throw (obj=obj@ entry=0x555555e f5d30, tinfo=0x7ffff5f d3038 <typeinfo for std::out_of_range>, 0x7ffff5cfc200 <std::out_ of_range: :~out_of_ range() >) at /build/ gcc/src/ gcc/libstdc+ +-v3/libsupc+ +/eh_throw. cc:80 throw_out_ of_range_ fmt (__fmt=<optimized out>) from /usr/lib/ libstdc+ +.so.6 :WLApplication( int, char const* const*) () :get(int, char const**) ()
dest=
#1 0x00007ffff5ce259e in std::__
#2 0x0000555555776a0d in ?? ()
#3 0x000055555577beee in WLApplication:
#4 0x000055555577c330 in WLApplication:
#5 0x000055555575bf3c in main ()