On 12/6/23 3:47 AM, wang yuhang wrote:
The initialize_shell_variables function is processing env. When the for loop reaches env[16], glibc needs to use the main_arena.top variable. However, the value in the address pointed to by the top variable is overwritten by env[15], causing a glibc exception and resulting in a coredump
`env' is the environment bash gets at startup.
We are still continuously find a way to reliably reproduce it, but this may take some time. We hope you could take a look at the above information and provide useful suggestions
Maybe build a version of bash with address sanitizer enabled and see if you can trigger the problem using that version. The asan output should provide more information. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/
OpenPGP_signature.asc
Description: OpenPGP digital signature