{"action":"created","issue":{"url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/64","labels_url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/64/comments","events_url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/64/events","html_url":"https://github.com/nfs-ganesha/nfs-ganesha/issues/64","id":62235332,"number":64,"title":"Crashes on Ubuntu 14.04","user":{"login":"jbreitbart","id":881727,"avatar_url":"https://avatars.githubusercontent.com/u/881727?v=3","gravatar_id":"","url":"https://api.github.com/users/jbreitbart","html_url":"https://github.com/jbreitbart","followers_url":"https://api.github.com/users/jbreitbart/followers","following_url":"https://api.github.com/users/jbreitbart/following{/other_user}","gists_url":"https://api.github.com/users/jbreitbart/gists{/gist_id}","starred_url":"https://api.github.com/users/jbreitbart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbreitbart/subscriptions","organizations_url":"https://api.github.com/users/jbreitbart/orgs","repos_url":"https://api.github.com/users/jbreitbart/repos","events_url":"https://api.github.com/users/jbreitbart/events{/privacy}","received_events_url":"https://api.github.com/users/jbreitbart/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-16T23:22:38Z","updated_at":"2015-10-05T20:41:59Z","closed_at":null,"body":"I just tried to use nfs-ganesha on my Ubuntu 14.04 system, but ganesha.nfsd crashes at startup. I tried both the current next and V2.1-stable branches with a rather minimalistic config file, but it just crashes without an error message.\r\n\r\nHere is the stacktrace\r\n$ sudo gdb --args ganesha.nfsd -f /usr/local/etc/ganesha.conf\r\nGNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1\r\nCopyright (C) 2014 Free Software Foundation, Inc.\r\nLicense GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r\nThis is free software: you are free to change and redistribute it.\r\nThere is NO WARRANTY, to the extent permitted by law.  Type \"show copying\"\r\nand \"show warranty\" for details.\r\nThis GDB was configured as \"x86_64-linux-gnu\".\r\nType \"show configuration\" for configuration details.\r\nFor bug reporting instructions, please see:\r\n<http://www.gnu.org/software/gdb/bugs/>.\r\nFind the GDB manual and other documentation resources online at:\r\n<http://www.gnu.org/software/gdb/documentation/>.\r\nFor help, type \"help\".\r\nType \"apropos word\" to search for commands related to \"word\"...\r\nReading symbols from ganesha.nfsd...(no debugging symbols found)...done.\r\n(gdb) r\r\nStarting program: /usr/local/bin/ganesha.nfsd -f /usr/local/etc/ganesha.conf\r\n[Thread debugging using libthread_db enabled]\r\nUsing host libthread_db library \"/lib/x86_64-linux-gnu/libthread_db.so.1\".\r\n[New Thread 0x7ffff57ff700 (LWP 7955)]\r\n\r\nProgram received signal SIGSEGV, Segmentation fault.\r\n0x00000000004b3321 in init_export_cb ()\r\n(gdb) bt\r\n#0  0x00000000004b3321 in init_export_cb ()\r\n#1  0x00000000004c271d in foreach_gsh_export ()\r\n#2  0x00000000004321be in nfs_Init.isra.1 ()\r\n#3  0x0000000000433591 in nfs_start ()\r\n#4  0x000000000041c129 in main ()\r\n(gdb) q\r\n\r\nHere is the config file:\r\n$ cat /usr/local/etc/ganesha.conf\r\n###################################################\r\n#     Export entries\r\n###################################################\r\n\r\n\r\nEXPORT\r\n{\r\n  # Export Id (mandatory)\r\n  Export_Id = 1 ;\r\n  \r\n  # Exported path (mandatory)\r\n  Path = \"/home/server/nfs\";\r\n\r\n  # Pseudo path for NFSv4 export (mandatory)\r\n  Pseudo = \"/home/server/nfs\";\r\n\r\n#  Squash = No_Root_Squash;\r\n}\r\n\r\nDebug log when starting with the parameters -L /tmp/ganesha.log -N NIV_DEBUG\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] main :MAIN :EVENT :ganesha.nfsd Starting: Version 2.1.1-pre, built at Mar 16 2015 19:57:51 on j17186\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] load_config_from_parse :CONFIG :EVENT :Using defaults for LOG\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] load_config_from_parse :CONFIG :EVENT :Using defaults for NFS_Core_Param\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] load_config_from_parse :CONFIG :EVENT :Using defaults for NFS_IP_Name\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] load_config_from_parse :CONFIG :EVENT :Using defaults for NFS_KRB5\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] load_config_from_parse :CONFIG :EVENT :Using defaults for NFSv4\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] load_config_from_parse :CONFIG :EVENT :Using defaults for CacheInode\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs_set_param_from_conf :NFS STARTUP :EVENT :Configuration file successfully parsed\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] init_server_pkgs :NFS STARTUP :INFO :Cache Inode library successfully initialized\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] init_server_pkgs :NFS STARTUP :DEBUG :Now building IP/name cache\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] init_server_pkgs :NFS STARTUP :INFO :IP/name cache successfully initialized\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] init_server_pkgs :NFS STARTUP :EVENT :Initializing ID Mapper.\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] init_server_pkgs :NFS STARTUP :EVENT :ID Mapper successfully initialized.\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] load_config_from_parse :CONFIG :EVENT :Using defaults for EXPORT_DEFAULTS\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] export_commit :CONFIG :EVENT :Export 1 created at pseudo (/home/server/nfs) with path (/home/server/nfs) and tag ((null)) perms (              ,     ,    ,               ,               ,         , anon_uid=    -2, anon_gid=    -2)\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] pseudofs_create_export :FSAL :DEBUG :Created exp 0x7ffff58341a0 - /\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] build_default_root :CONFIG :EVENT :Export 0 (/) successfully created\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] lower_my_caps :NFS STARTUP :EVENT :CAP_SYS_RESOURCE was successfully removed for proper quota management in FSAL\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] lower_my_caps :NFS STARTUP :EVENT :currenty set capabilities are: = cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_linux_immutable,cap_net_bind_service,cap_net_broadcast,cap_net_admin,cap_net_raw,cap_ipc_lock,cap_ipc_owner,cap_sys_module,cap_sys_rawio,cap_sys_chroot,cap_sys_ptrace,cap_sys_pacct,cap_sys_admin,cap_sys_boot,cap_sys_nice,cap_sys_time,cap_sys_tty_config,cap_mknod,cap_lease,cap_audit_write,cap_audit_control,cap_setfcap+ep\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] cache_inode_lru_pkginit :INODE LRU :INFO :Attempting to increase soft limit from 1024 to hard limit of 4096\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] cache_inode_lru_pkginit :INODE LRU :INFO :Setting the system-imposed limit on FDs to 4096.\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs_Init :NFS STARTUP :DEBUG :Now building NFSv4 ACL cache\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[cache_lru] lru_run :INODE LRU :DEBUG :FD count is 0 and low water mark is 2048: not reaping.\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[cache_lru] lru_run :INODE LRU :DEBUG :After work, open_fd_count:0  count:0 fdrate:1 threadwait=90\r\n\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acls_init :NFS4 ACL :DEBUG :Initialize NFSv4 ACLs\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acls_init :NFS4 ACL :DEBUG :sizeof(fsal_ace_t)=20, sizeof(fsal_acl_t)=80\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acls_test :NFS4 ACL :DEBUG :acldata.aces = 0x7ffff5811180\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acls_test :NFS4 ACL :DEBUG :acl = 0x7ffff58341f0, ref = 1, status = 0\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acls_test :NFS4 ACL :DEBUG :acldata2.aces = 0x7ffff5811200\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_ace_free :NFS4 ACL :DEBUG :free ace 0x7ffff5811200\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acl_entry_inc_ref :NFS4 ACL :DEBUG :(acl, ref) = (0x7ffff58341f0, 2)\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acls_test :NFS4 ACL :DEBUG :re-access: acl = 0x7ffff58341f0, ref = 2, status = 2\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acl_entry_dec_ref :NFS4 ACL :DEBUG :(acl, ref) = (0x7ffff58341f0, 1)\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acls_test :NFS4 ACL :DEBUG :release: acl = 0x7ffff58341f0, ref = 1, status = 0\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acl_release_entry :NFS4 ACL :DEBUG :Free ACL 0x7ffff58341f0\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_acl_entry_dec_ref :NFS4 ACL :DEBUG :(acl, ref) = (0x7ffff58341f0, 0)\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs4_ace_free :NFS4 ACL :DEBUG :free ace 0x7ffff5811180\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] nfs_Init :NFS STARTUP :INFO :NFSv4 ACL cache successfully initialized\r\n17/03/2015 00:10:05 : epoch 550762cd : j17186 : ganesha.nfsd-7941[main] init_export_root :EXPORT :DEBUG :About to lookup_path for ExportId=1 Path=/home/server/nfs\r\n"},"comment":{"url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/comments/145662527","html_url":"https://github.com/nfs-ganesha/nfs-ganesha/issues/64#issuecomment-145662527","issue_url":"https://api.github.com/repos/nfs-ganesha/nfs-ganesha/issues/64","id":145662527,"user":{"login":"ffilz","id":399443,"avatar_url":"https://avatars.githubusercontent.com/u/399443?v=3","gravatar_id":"","url":"https://api.github.com/users/ffilz","html_url":"https://github.com/ffilz","followers_url":"https://api.github.com/users/ffilz/followers","following_url":"https://api.github.com/users/ffilz/following{/other_user}","gists_url":"https://api.github.com/users/ffilz/gists{/gist_id}","starred_url":"https://api.github.com/users/ffilz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ffilz/subscriptions","organizations_url":"https://api.github.com/users/ffilz/orgs","repos_url":"https://api.github.com/users/ffilz/repos","events_url":"https://api.github.com/users/ffilz/events{/privacy}","received_events_url":"https://api.github.com/users/ffilz/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T20:41:59Z","updated_at":"2015-10-05T20:41:59Z","body":"If this is an issue, please open a bug in Red Hat Bugzilla:\r\n\r\nhttps://bugzilla.redhat.com/enter_bug.cgi?product=nfs-ganesha\r\n\r\nAnd in any case, close this issue. Thanks."}}