Displaying 1 result from an estimated 1 matches for "popt_unalias".
2018 May 28
1
Rsync 3.1.3 segfault
...og -c "/usr/bin/rsync --daemon
--dparam=pidfile=/var/run/rsync.pid"
When ran by hand it works, when ran from rc-scripts rsync segfaults. The
only difference is that rc-scripts are closing/redirecting std streams
prior to calling above command.
The code responsible for segfault is new popt_unalias function added in
3.1.3. To be exact this line causes segfault:
poptAddAlias(con, unalias, 0);
When commented out everything works.
Workaround for now to get it running is to comment out popt_unalias calls.
I'm hoping for little help to nail down what exactly causes segfault and
fix it :-...