Menu

#669 Segfault on login with version 3.1.13 on CentOS 7

None
closed
nobody
None
5
2023-02-12
2022-04-06
No

I just upgraded my CentOS 7 system from Netatalk 3.1.12 to version 3.1.13 via the EPEL repository.

With version 3.1.13, when I try to connect to the server via AFP and log in with my user it causes a segfault with the following backtrace:

Apr  6 10:46:44 gir afpd[2934]: Login by alien (AFP3.4)
Apr  6 10:46:44 gir afpd[2934]: ===============================================================
Apr  6 10:46:44 gir afpd[2934]: INTERNAL ERROR: Signal 11 in pid 2934 (3.1.13)
Apr  6 10:46:44 gir afpd[2934]: ===============================================================
Apr  6 10:46:44 gir afpd[2934]: PANIC: internal error
Apr  6 10:46:44 gir afpd[2934]: BACKTRACE: 12 stack frames:
Apr  6 10:46:44 gir afpd[2934]:  #0 /lib64/libatalk.so.18(netatalk_panic+0x37) [0x7f6e0d891df7]
Apr  6 10:46:44 gir afpd[2934]:  #1 /lib64/libatalk.so.18(+0x38f48) [0x7f6e0d891f48]
Apr  6 10:46:44 gir afpd[2934]:  #2 /lib64/libc.so.6(+0x36400) [0x7f6e0975b400]
Apr  6 10:46:44 gir afpd[2934]:  #3 /lib64/libatalk.so.18(+0x17c40) [0x7f6e0d870c40]
Apr  6 10:46:44 gir afpd[2934]:  #4 /lib64/libatalk.so.18(ad_open+0xfee) [0x7f6e0d872c4e]
Apr  6 10:46:44 gir afpd[2934]:  #5 /usr/sbin/afpd(+0x31b6c) [0x564d342c6b6c]
Apr  6 10:46:44 gir afpd[2934]:  #6 /usr/sbin/afpd(+0x32905) [0x564d342c7905]
Apr  6 10:46:44 gir afpd[2934]:  #7 /usr/sbin/afpd(afp_openvol+0x500) [0x564d342c81e0]
Apr  6 10:46:44 gir afpd[2934]:  #8 /usr/sbin/afpd(afp_over_dsi+0x58e) [0x564d342a4f7e]
Apr  6 10:46:44 gir afpd[2934]:  #9 /usr/sbin/afpd(main+0xd29) [0x564d342a31e9]
Apr  6 10:46:44 gir afpd[2934]:  #10 /lib64/libc.so.6(__libc_start_main+0xf5) [0x7f6e09747555]
Apr  6 10:46:44 gir afpd[2934]:  #11 /usr/sbin/afpd(+0xe250) [0x564d342a3250]

This happens consistently. I have downgraded back to version 3.1.12 and all works as expected.

I made no changes to my config file between version changes but did look at the release notes. I also looked over the upgrade notes, but since they specifically refer to upgrading from version 2.x and I was doing a minor version update from 3.1.12 to 3.1.13 it didn't appear that any of it was relevant.

As I've said, I've downgraded to 3.1.12 and it's working as expected again, but I prefer to keep software up to date, especially when the updates address security issues so any and all assistance with this will be greatly appreciated.

Please let me know if you need any additional information.

Kind regards,
Alan Premselaar

Discussion

  • Todd Campbell

    Todd Campbell - 2022-04-11

    I am seeing the same issue on Fedora Core 34, downgrading to 3.1.12 fixed it as well. No config changes, local user account.

    Apr 10 11:19:02 portnoy audit[1756997]: USER_START pid=1756997 uid=0 auid=1000 ses=17873 subj=kernel msg='op=PAM:session_open granto
    rs=pam_selinux,pam_loginuid,pam_selinux,pam_namespace,pam_keyinit,pam_keyinit,pam_limits,pam_systemd,pam_unix acct="redacted" exe="/usr/
    sbin/afpd" hostname=::ffff:192.168.0.215 addr=::ffff:192.168.0.215 terminal=afpd res=success'
    Apr 10 11:19:02 portnoy afpd[1756997]: Login by redacted (AFP3.4)
    Apr 10 11:19:02 portnoy afpd[1756997]: ad_header_read_ea("/tmbackup"): invalid metadata EA
    Apr 10 11:19:02 portnoy afpd[1756997]: ad_header_read_ea("/tmbackup"): deleted invalid metadata EA
    Apr 10 11:19:02 portnoy afpd[1756997]: ad_header_read_ea("/archive"): invalid metadata EA
    Apr 10 11:19:02 portnoy afpd[1756997]: ad_header_read_ea("/archive"): deleted invalid metadata EA
    Apr 10 11:19:02 portnoy afpd[1756997]: ===============================================================
    Apr 10 11:19:02 portnoy afpd[1756997]: INTERNAL ERROR: Signal 11 in pid 1756997 (3.1.13)
    Apr 10 11:19:02 portnoy afpd[1756997]: ===============================================================
    Apr 10 11:19:02 portnoy audit[1756997]: ANOM_ABEND auid=1000 uid=0 gid=0 ses=17873 subj=kernel pid=1756997 comm="afpd" exe="/usr/sbi
    n/afpd" sig=6 res=1
    Apr 10 11:19:02 portnoy afpd[1756997]: PANIC: internal error
    Apr 10 11:19:02 portnoy afpd[1756997]: BACKTRACE: 12 stack frames:
    Apr 10 11:19:02 portnoy afpd[1756997]: #0 /lib64/libatalk.so.18(netatalk_panic+0x39) [0x7f1b484a1cd9]
    Apr 10 11:19:02 portnoy afpd[1756997]: #1 /lib64/libatalk.so.18(+0x39e2e) [0x7f1b484a1e2e]
    Apr 10 11:19:02 portnoy afpd[1756997]: #2 /lib64/libc.so.6(+0x3d320) [0x7f1b482a1320]
    Apr 10 11:19:02 portnoy afpd[1756997]: #3 /lib64/libatalk.so.18(+0x1aa75) [0x7f1b48482a75]
    Apr 10 11:19:02 portnoy afpd[1756997]: #4 /lib64/libatalk.so.18(ad_open+0x52b) [0x7f1b484865fb]
    Apr 10 11:19:02 portnoy afpd[1756997]: #5 /usr/sbin/afpd(+0x2f0c9) [0x558f3e7bd0c9]
    Apr 10 11:19:02 portnoy afpd[1756997]: #6 /usr/sbin/afpd(+0x2fe21) [0x558f3e7bde21]
    Apr 10 11:19:02 portnoy afpd[1756997]: #7 /usr/sbin/afpd(afp_openvol+0x34f) [0x558f3e7c09ff]
    Apr 10 11:19:02 portnoy afpd[1756997]: #8 /usr/sbin/afpd(afp_over_dsi+0x6c9) [0x558f3e7a4b39]
    Apr 10 11:19:02 portnoy afpd[1756997]: #9 /usr/sbin/afpd(main+0x9ae) [0x558f3e79b60e]
    Apr 10 11:19:02 portnoy afpd[1756997]: #10 /lib64/libc.so.6(__libc_start_main+0xd5) [0x7f1b4828bb75]
    Apr 10 11:19:02 portnoy afpd[1756997]: #11 /usr/sbin/afpd(_start+0x2e) [0x558f3e79b94e]
    
     
  • Daniel Markstedt

    We expect this to have been fixed with 3.1.14 so let me close this as completed for now. If you still encounter issues after upgrading, please raise a new issue ticket in the GitHub tracker: https://github.com/Netatalk/Netatalk/issues

     
  • Daniel Markstedt

    • status: open --> closed
    • Group: -->
     

Log in to post a comment.

MongoDB Logo MongoDB