https://sourceware.org/bugzilla/show_bug.cgi?id=22283
Bug ID: 22283 Summary: Regression 2.28->2.29: postfix' postconf segfaults when built with 2.29 Product: binutils Version: 2.29 Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: heirecka at exherbo dot org Target Milestone: --- postconf from postfix >= 3 built with ld.bfd from binutils 2.29.x segfaults, which makes it impossible to start postfix. It works when built with the gold linker, ld.bfd from binutils <=2.28.1 and postfix-2.11.x seems generally unaffected. I bisected it and traced it back to c5d37467b152fe98f02ac1ff8188e32ecd0def95 (https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c5d37467b152fe98f02ac1ff8188e32ecd0def95). If I revert that commit on top of 2.29.1 and build postfix with the result, postconf works again. Here's the backtrace from postconf: Starting program: /usr/x86_64-pc-linux-gnu/bin/postconf [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/x86_64-pc-linux-gnu/lib/libthread_db.so.1". /usr/x86_64-pc-linux-gnu/bin/postconf: panic: mystrdup: null pointer argument Program received signal SIGABRT, Aborted. 0x00007ffff3759a50 in raise () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6 (gdb) bt #0 0x00007ffff3759a50 in raise () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6 #1 0x00007ffff375b14a in abort () from /usr/x86_64-pc-linux-gnu/lib/libc.so.6 #2 0x00007ffff754edb7 in vmsg_panic () from /usr/lib/postfix/libpostfix-util.so #3 0x00007ffff754ee71 in msg_panic () from /usr/lib/postfix/libpostfix-util.so #4 0x00007ffff754fb68 in mystrdup () from /usr/lib/postfix/libpostfix-util.so #5 0x00007ffff754fefe in name_mask_delim_opt () from /usr/lib/postfix/libpostfix-util.so #6 0x00007ffff7796d10 in ?? () from /usr/lib/postfix/libpostfix-global.so #7 0x00007ffff77971a3 in mynetworks () from /usr/lib/postfix/libpostfix-global.so #8 0x00000000004036bb in pcf_mynetworks () at postconf_builtin.c:279 #9 0x0000000000406bb1 in pcf_convert_param_node (mode=mode@entry=2, name=0x64da10 "mynetworks", node=<optimized out>) at postconf_node.c:177 #10 0x000000000040786b in pcf_scan_default_parameter_values (dict_name=0x415662 "mail_dict", local_scope=0x0, valid_params=<optimized out>) at postconf_user.c:318 #11 pcf_register_user_parameters () at postconf_user.c:397 #12 0x0000000000403415 in main (argc=<optimized out>, argv=0x7fffffffd978) at postconf.c:1027 -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils