-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault in ad_conv_v22ea_rf running dbd -f -c -t #97
Comments
I have the same serious problem on my netatalk server running on Debian 11.6. My Setup My server undergone an upgrade from netatalk v.2.2.x several years ago and is is over 10 years that Netatalk is serving my files (transferred from a Mac OS X machine acting as server). At the time of switching I also switched to "ea = samba" configuration option in afp.conf leaving netatalk to convert on the fly the apple double files to ._* files. Now, wishing to share the same volumes with Samba I decided to consolidate all the files, getting rid of the .AppleDouble directories still present, via the utility dbd (dbd -vc <path_to_the_shared_volume>. The above command terminate suddenly with segment fault. This seems to happen when some apple double files are processed. Whenever this happens, looking at the file that dbd was processing, I see that only a portion of the offending file has been converted to the corresponding ._<file_name>. In particular, the size of the partially converted file is always 82 bytes. If I try to select the offending file (or folder, which can also be a package) with a Mac OS client, netatalk panics and the client's Finder constantly shows a spinning cursor in the window, however I navigate through the server files, forcing myself to terminate netatalk on the server and restart it. In /var/log/syslog this is the output of netatalk: |
@UUVE Your issue should have been resolved with the fix for #368 -- if you're able to build netatalk from the For the record, your stack trace looks slightly different from what I have seen from other reports, so I'm extra curious to hear back about your test results. |
@atomt While it's been almost 6 years since your report so I don't anticipate your watching this ticket, but if you have your netatalk server active still, we have recently made major updates to the appledouble validation logic in libatalk. It might be valuable to try rebuilding the database again. |
Closing this ticket for now as the code has changed. Please file a new issue ticket if a similar error persists. |
Thank you very much rdmark, |
Very old volume that was moved to netatalk 3.1.x a year ago+. It is fairly inconsistent (may have missed a dbd conversion?) and causing some errors on the clients, so to clean things up I figured I would rebuild the CNID/ea stuff. However, dbd -f -c -t /path segfaults.
I can arrange for a core and the relevant .AppleDouble out of band.
setup
Ubuntu 16.04 x86-64 (64bit)
Netatalk 3.1.11
CNID configuration is default.
Configured with:
./configure --with-tracker-pkgconfig-version=1.0 --with-init-style=systemd --with-pam-confdir=/etc/pam.d
kernel
dbd[4164897]: segfault at 6e0 ip 00007fde6ac925ca sp 00007fff30327000 error 4 in libatalk.so.18.0.0[7fde6ac80000+7b000]
GDB
The text was updated successfully, but these errors were encountered: