3.0.3-7 child process aborted with SIGSYS when serving connections from macOS Mojave

Task Info (Flyspray)
Opened By Arseny Vakhrushev (waxar)
Task ID 68796
Type Bug Report
Project Community Packages
Category Packages
Version None
OS All
Opened 2020-11-30 03:45:01 UTC
Status Assigned
Assignee Levente Polyak (anthraxx)

Details

Pretty much fresh install, more or less default config, empty /etc/ftpusers, with or without pam - no correlation found.

The bug probably needs to be reported upstream.

I've rebuilt the package with "debug !strip" to get some useful info. This is what I can see:

Reading symbols from /usr/bin/vsftpd... [New LWP 1] [New LWP 10888] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/vsftpd'. Program terminated with signal SIGSYS, Bad system call. #0 0x00007fb156ea500b in alarm () from /usr/lib/libc.so.6 [Current thread is 1 (LWP 1)] (gdb) bt #0 0x00007fb156ea500b in alarm () from /usr/lib/libc.so.6 #1 (closed) 0x0000555bddf9f97a in vsf_sysutil_common_sighandler (signum=17) at sysutil.c:132 #2 (closed) #3 (closed) 0x00007fb156ec8ec2 in read () from /usr/lib/libc.so.6 #4 (closed) 0x0000555bddfa00ac in vsf_sysutil_read (fd=4, p_buf=0x7ffc851501f3, size=1) at sysutil.c:364 #5 (closed) 0x0000555bddfa0184 in vsf_sysutil_read_loop (fd=4, p_buf=0x7ffc851501f3, size=1) at sysutil.c:402 #6 (closed) 0x0000555bddf93752 in priv_sock_get_cmd (fd=4) at privsock.c:144 #7 (closed) 0x0000555bddf960b9 in process_post_login_req (p_sess=0x7ffc851503d0) at postprivparent.c:51 #8 0x0000555bddf96099 in vsf_priv_parent_postlogin (p_sess=0x7ffc851503d0) at postprivparent.c:42 #9 0x0000555bddf9ac37 in common_do_login (p_sess=0x7ffc851503d0, p_user_str=0x7ffc85150428, do_chroot=0, anon=0) at twoprocess.c:482 #10 0x0000555bddf9a8e8 in process_login_req (p_sess=0x7ffc851503d0) at twoprocess.c:369 #11 0x0000555bddf9a100 in vsf_two_process_start (p_sess=0x7ffc851503d0) at twoprocess.c:112 #12 0x0000555bddf8d742 in main (argc=1, argv=0x7ffc851506b8) at main.c:252