#513 afpd panic on NexentaOS (3.0.3)

open
nobody
None
1
2014-08-11
2013-05-01
Guru Evi
No

I just installed netatalk 3.0.3 on NexentaOS:
SunOS nfs-1 5.11 NexentaOS_134f i86pc i386 i86pc Solaris

It still works with netatalk 3.0.2 both compiled with ./configure --with-init=solaris && make && make install

afpd.conf:
;
; Netatalk 3.x configuration file
;

[Global]
; Global server settings
log file = /var/log/netatalk.log

[Homes]
; basedir regex = /xxxx

[RCBI]
; path = /path/to/volume
path = /Volumes/RCBI

Whenever I connect (any user) the afpd crashes with the following log:

May 01 18:16:55.714043 netatalk[16948] {netatalk.c:291} (N:Default): Netatalk AFP server starting
May 01 18:16:55.726004 cnid_metad[16950] {cnid_metad.c:479} (N:AFPDaemon): CNID Server listening on localhost:4700
May 01 18:16:56.230190 afpd[16949] {afp_config.c:120} (N:AFPDaemon): Netatalk AFP/TCP listening on 128.151.188.7:548
May 01 18:17:07.384402 afpd[16996] {fault.c:123} (S:Default): ===============================================================
May 01 18:17:07.384625 afpd[16996] {fault.c:124} (S:Default): INTERNAL ERROR: Signal 11 in pid 16996 (3.0.3)
May 01 18:17:07.384653 afpd[16996] {fault.c:125} (S:Default): ===============================================================
May 01 18:17:07.384943 afpd[16996] {fault.c:96} (S:Default): PANIC: internal error
May 01 18:17:07.384983 afpd[16996] {fault.c:97} (S:Default): BACKTRACE: 7 stack frames:
May 01 18:17:07.385009 afpd[16996] {fault.c:103} (S:Default): #0 /usr/local/lib/libatalk.so.4.0.0'netatalk_panic+0x2d [0xfef4ee2d]
May 01 18:17:07.385053 afpd[16996] {fault.c:103} (S:Default): #1 /usr/local/lib/libatalk.so.4.0.0'0x33fc0 [0xfef4efc0]
May 01 18:17:07.385080 afpd[16996] {fault.c:103} (S:Default): #2 /lib/libc.so.1'sighndlr+0x15 [0xfeb901b5]
May 01 18:17:07.385106 afpd[16996] {fault.c:103} (S:Default): #3 /lib/libc.so.1'call_user_handler+0x2af [0xfeb830ff]
May 01 18:17:07.385132 afpd[16996] {fault.c:103} (S:Default): #4 /usr/local/sbin/afpd'afp_over_dsi+0x3fe [0x805065e]
May 01 18:17:07.385174 afpd[16996] {fault.c:103} (S:Default): #5 /usr/local/sbin/afpd'main+0xb0d [0x806cfed]
May 01 18:17:07.385201 afpd[16996] {fault.c:103} (S:Default): #6 /usr/local/sbin/afpd'_start+0x83 [0x804f603]
May 01 18:17:15.109688 afpd[17004] {fault.c:123} (S:Default): ===============================================================
May 01 18:17:15.109847 afpd[17004] {fault.c:124} (S:Default): INTERNAL ERROR: Signal 11 in pid 17004 (3.0.3)
May 01 18:17:15.109892 afpd[17004] {fault.c:125} (S:Default): ===============================================================
May 01 18:17:15.110101 afpd[17004] {fault.c:96} (S:Default): PANIC: internal error
May 01 18:17:15.110126 afpd[17004] {fault.c:97} (S:Default): BACKTRACE: 7 stack frames:
May 01 18:17:15.110144 afpd[17004] {fault.c:103} (S:Default): #0 /usr/local/lib/libatalk.so.4.0.0'netatalk_panic+0x2d [0xfef4ee2d]
May 01 18:17:15.110160 afpd[17004] {fault.c:103} (S:Default): #1 /usr/local/lib/libatalk.so.4.0.0'0x33fc0 [0xfef4efc0]
May 01 18:17:15.110194 afpd[17004] {fault.c:103} (S:Default): #2 /lib/libc.so.1'
sighndlr+0x15 [0xfeb901b5]
May 01 18:17:15.110215 afpd[17004] {fault.c:103} (S:Default): #3 /lib/libc.so.1'call_user_handler+0x2af [0xfeb830ff]
May 01 18:17:15.110233 afpd[17004] {fault.c:103} (S:Default): #4 /usr/local/sbin/afpd'afp_over_dsi+0x3fe [0x805065e]
May 01 18:17:15.110249 afpd[17004] {fault.c:103} (S:Default): #5 /usr/local/sbin/afpd'main+0xb0d [0x806cfed]
May 01 18:17:15.110266 afpd[17004] {fault.c:103} (S:Default): #6 /usr/local/sbin/afpd'_start+0x83 [0x804f603]
May 01 18:17:22.177070 afpd[17007] {fault.c:123} (S:Default): ===============================================================
May 01 18:17:22.177305 afpd[17007] {fault.c:124} (S:Default): INTERNAL ERROR: Signal 11 in pid 17007 (3.0.3)
May 01 18:17:22.177342 afpd[17007] {fault.c:125} (S:Default): ===============================================================
May 01 18:17:22.177643 afpd[17007] {fault.c:96} (S:Default): PANIC: internal error
May 01 18:17:22.177709 afpd[17007] {fault.c:97} (S:Default): BACKTRACE: 7 stack frames:
May 01 18:17:22.177732 afpd[17007] {fault.c:103} (S:Default): #0 /usr/local/lib/libatalk.so.4.0.0'netatalk_panic+0x2d [0xfef4ee2d]
May 01 18:17:22.177752 afpd[17007] {fault.c:103} (S:Default): #1 /usr/local/lib/libatalk.so.4.0.0'0x33fc0 [0xfef4efc0]
May 01 18:17:22.177773 afpd[17007] {fault.c:103} (S:Default): #2 /lib/libc.so.1'__sighndlr+0x15 [0xfeb901b5]
May 01 18:17:22.177806 afpd[17007] {fault.c:103} (S:Default): #3 /lib/libc.so.1'call_user_handler+0x2af [0xfeb830ff]
May 01 18:17:22.177863 afpd[17007] {fault.c:103} (S:Default): #4 /usr/local/sbin/afpd'afp_over_dsi+0x3fe [0x805065e]
May 01 18:17:22.177892 afpd[17007] {fault.c:103} (S:Default): #5 /usr/local/sbin/afpd'main+0xb0d [0x806cfed]
May 01 18:17:22.177920 afpd[17007] {fault.c:103} (S:Default): #6 /usr/local/sbin/afpd'_start+0x83 [0x804f603]

Discussion

  • Jarkko Torppa

    Jarkko Torppa - 2013-12-09

    I disabled dtrace (added #if 0 on top of afp_dtrace.h) and this started working. So this seems to be somekind of bug in dtrace support.

     
    • Jarkko Torppa

      Jarkko Torppa - 2014-11-03

      Still had to stick this on top of dtrace generated file

      torppa@Levy:~/atalk/netatalk-3.1.6$ head include/atalk/afp_dtrace.h
      #undef _DTRACE_VERSION
      

      SunOS Levy 5.11 NexentaOS_134f i86pc i386 i86pc Solaris
      (kinda old version)

       
      Last edit: Jarkko Torppa 2014-11-03

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks