avoid shadowing variable in crashdump #1131

fixes #1131