New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Coredump in S_make_trie (regcomp.c:2759) #16884
Comments
From @dur-randirCreated by @dur-randirWhile fuzzing perl v5.29.8-21-gde59f38ed9 built with afl and run GDB stack trace is following: (gdb) bt This is a regression in blead, bisect points to commit 7c932d0 Remove sizing pass from regular expression compiler This commit removes the sizing pass for regular expression compilation. So, this may be related to https://rt-archive.perl.org/perl5/Ticket/Display.html?id=133871. Perl Info
|
From @dur-randir |
From @dur-randirVery similar case, but hitting another assertion: perl: regcomp.c:4444: ssize_t S_study_chunk(RExC_state_t *, regnode **, ssize_t *, ssize_t *, regnode *, scan_data_t *, I32, U32, regnode_ssc *, U32, U32): Assertion `last' failed. |
From @dur-randir |
From @khwilliamsonFixed by PATCH: [perl #133921] Segfaults in regcomp.c -- |
The RT System itself - Status changed from 'new' to 'open' |
@khwilliamson - Status changed from 'open' to 'resolved' |
From @dur-randirThe attached file still fails with the following trace: (gdb) bt |
From @dur-randir |
From @dur-randirHere's the original that was minimized to 0120_1 in this ticket and 0160 in #133933, but which itself fails with different assertion - regexec.c:7812: ssize_t S_regmatch(regmatch_info *, char *, regnode *): Assertion `cur_curlyx' failed. Unfortunately, I don't have time to minimize it to exactly cur_curlyx failure, but maybe it'll go away when you fix others. |
From @dur-randir |
From @khwilliamsonOn 3/14/19 3:17 PM, Sergey Aleynikov via RT wrote:
Both of your recent files now work (and have been added to pat.t) by commit bf848a1 Add more checking for regnode offset overflowing This is part of the ongoing failures in [perl #133921]. The bottom line cause is that there are generally 16 bits What previous commits have done is to insert tests in a loop to detect |
Migrated from rt.perl.org#133921 (status was 'resolved')
Searchable as RT133921$
The text was updated successfully, but these errors were encountered: