netatalk 2.2beta4 crashes on mac connection

Bug #853632 reported by Brian Marohn
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
netatalk (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Some error information
==================
Sep 18 23:13:22 ubuntu afpd[7328]: INTERNAL ERROR: Signal 11 in pid 7328 (2.2-beta4)
Sep 18 23:13:22 ubuntu afpd[7328]: ===============================================================
Sep 18 23:13:22 ubuntu afpd[7328]: BACKTRACE: 3 stack frames:
Sep 18 23:13:22 ubuntu afpd[7328]: #0 /usr/sbin/afpd(netatalk_panic+0x29) [0xb7888019]
Sep 18 23:13:22 ubuntu afpd[7328]: #1 /usr/sbin/afpd(+0x50161) [0xb7888161]
Sep 18 23:13:22 ubuntu afpd[7328]: #2 [0xb7817400]

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: netatalk 2.2~beta4-1
ProcVersionSignature: Ubuntu 3.0.0-11.18-generic-pae 3.0.4
Uname: Linux 3.0.0-11-generic-pae i686
ApportVersion: 1.23-0ubuntu1
Architecture: i386
Date: Sun Sep 18 23:10:11 2011
InstallationMedia: Ubuntu-Server 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: netatalk
UpgradeStatus: Upgraded to oneiric on 2011-09-19 (0 days ago)

Revision history for this message
Brian Marohn (bsdooper) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in netatalk (Ubuntu):
status: New → Confirmed
Revision history for this message
Ferdi (ferdi-lad) wrote :

Not sure why the release of 11.10 contains netatalk 2.2~beta4-1

I downloaded netatalk 2.2.1, built it and replaced the release version with this and it now works. If you do do this, remember that there's a quiet dependency on libgcrypt-dev - you need to have libgcrypt-dev installed when you build in order to get a new uams_dhx2 built and installed.

netatalk 2.2.1 from sourceforge works fine on 11.10

Revision history for this message
Rick DeNatale (rick-denatale) wrote :

Ferdi,

I just tried replacing the release version with 2.2.1 and I still get the same issue.

Oct 17 18:55:42 frodo afpd[29591]: INTERNAL ERROR: Signal 11 in pid 29591 (2.2.1)
Oct 17 18:55:42 frodo afpd[29591]: ===============================================================
Oct 17 18:55:42 frodo afpd[29591]: BACKTRACE: 3 stack frames:
Oct 17 18:55:42 frodo afpd[29591]: #0 /usr/local/sbin/afpd(netatalk_panic+0x29) [0x809b269]
Oct 17 18:55:42 frodo afpd[29591]: #1 /usr/local/sbin/afpd() [0x809b3b1]
Oct 17 18:55:42 frodo afpd[29591]: #2 [0xb7892400]

How did you do the replacement. I followed this blog post which was written for 11.04 rather than 11.10 but I don't see what difference that would make:

http://langit.wordpress.com/2011/09/14/share-folder-in-ubuntu-11-04-for-mac-osx-lion/

Revision history for this message
Jeremy Sequoia (jeremyhu) wrote :

I was seeing this same crash on every attempt to connect via afp to the server. I stumbled across this post and figured out a workaround:

http://www.rudiswiki.de/wiki9/ServerUbuntu1204#Setup_netatalk

Using this line in /etc/netatalk/afpd.conf, the crash goes away. -mimicmodel RackMac seems to be the key. I don't know why...

- -tcp -noddp -uamlist uams_dhx.so,uams_dhx2_passwd.so -nosavepassword -advertise_ssh -mimicmodel RackMac

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.