Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #84183

Re: core dumped at regex_search()

From Juha Nieminen <nospam@thanks.invalid>
Newsgroups comp.lang.c++
Subject Re: core dumped at regex_search()
Date 2022-05-19 15:15 +0000
Organization Aioe.org NNTP Server
Message-ID <t65mtn$9oo$1@gioia.aioe.org> (permalink)
References <t5l9ts$2rkbj$1@portraits.wsisiz.edu.pl> <t62a71$3oaal$1@portraits.wsisiz.edu.pl> <t62c4r$o85$1@gioia.aioe.org> <t62g25$3ohm1$1@portraits.wsisiz.edu.pl> <t62jga$3ompj$1@portraits.wsisiz.edu.pl>

Show all headers | View raw


Jivanmukta <jivanmukta@poczta.onet.pl> wrote:
>> SUMMARY: AddressSanitizer: stack-overflow 
>> ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:433 
>> in __interceptor_strcmp
>> ==18084==ABORTING
>> 
> The problem not occurs and my program runs fine if I set: ulimit -s 
> unlimited.

Without knowing how regex_search() is internally implemented, I suppose it's
possible it's overflowing the stack if, for some reason, it's a recursive
implementation and the input is so large that it causes a recursion that's
too deep.

I would find that a bit strange, though.

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

core dumped at regex_search() Jivanmukta <jivanmukta@poczta.onet.pl> - 2022-05-13 11:54 +0200
  Re: core dumped at regex_search() Juha Nieminen <nospam@thanks.invalid> - 2022-05-13 10:20 +0000
    Re: core dumped at regex_search() Juha Nieminen <nospam@thanks.invalid> - 2022-05-13 10:25 +0000
  Re: core dumped at regex_search() Jivanmukta <jivanmukta@poczta.onet.pl> - 2022-05-13 12:47 +0200
  Re: core dumped at regex_search() Jivanmukta <jivanmukta@poczta.onet.pl> - 2022-05-13 14:40 +0200
    Re: core dumped at regex_search() Juha Nieminen <nospam@thanks.invalid> - 2022-05-14 07:18 +0000
  Re: core dumped at regex_search() James Kuyper <jameskuyper@alumni.caltech.edu> - 2022-05-14 01:21 -0400
  Re: core dumped at regex_search() Jivanmukta <jivanmukta@poczta.onet.pl> - 2022-05-18 10:19 +0200
    Re: core dumped at regex_search() Juha Nieminen <nospam@thanks.invalid> - 2022-05-18 08:52 +0000
      Re: core dumped at regex_search() Jivanmukta <jivanmukta@poczta.onet.pl> - 2022-05-18 11:59 +0200
        Re: core dumped at regex_search() Jivanmukta <jivanmukta@poczta.onet.pl> - 2022-05-18 12:58 +0200
          Re: core dumped at regex_search() Juha Nieminen <nospam@thanks.invalid> - 2022-05-19 15:15 +0000
  Re: core dumped at regex_search() Tony Oliver <guinness.tony@gmail.com> - 2022-05-20 07:53 -0700
    Re: core dumped at regex_search() Jivanmukta <jivanmukta@poczta.onet.pl> - 2022-05-22 08:13 +0200

csiph-web