8aa01bfbcd
When using the legacy technique, addr_main was being redifined. This caused the access to addr_main outside the if statement to segfault.