{"action":"opened","issue":{"url":"https://api.github.com/repos/joyent/smartos-live/issues/470","labels_url":"https://api.github.com/repos/joyent/smartos-live/issues/470/labels{/name}","comments_url":"https://api.github.com/repos/joyent/smartos-live/issues/470/comments","events_url":"https://api.github.com/repos/joyent/smartos-live/issues/470/events","html_url":"https://github.com/joyent/smartos-live/issues/470","id":99664676,"number":470,"title":"mancheck segmentation fault","user":{"login":"bapt","id":103607,"avatar_url":"https://avatars.githubusercontent.com/u/103607?v=3","gravatar_id":"","url":"https://api.github.com/users/bapt","html_url":"https://github.com/bapt","followers_url":"https://api.github.com/users/bapt/followers","following_url":"https://api.github.com/users/bapt/following{/other_user}","gists_url":"https://api.github.com/users/bapt/gists{/gist_id}","starred_url":"https://api.github.com/users/bapt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bapt/subscriptions","organizations_url":"https://api.github.com/users/bapt/orgs","repos_url":"https://api.github.com/users/bapt/repos","events_url":"https://api.github.com/users/bapt/events{/privacy}","received_events_url":"https://api.github.com/users/bapt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-07T14:59:54Z","updated_at":"2015-08-07T14:59:54Z","closed_at":null,"body":"Hi\r\n\r\nOnce I manage to build the world, when I run gmake live, I end up with mancheck command segfaulting:\r\nhttps://people.freebsd.org/~bapt/core.mancheck.85911\r\n\r\nI have an overlday where the mancheck.conf is an empty file\r\n\r\nHere is the backtrace:\r\n\r\n```\r\n(gdb) bt full\r\n#0  0xfee25437 in strncmp () from /lib/libc.so.1\r\nNo symbol table info available.\r\n#1  0x08052ebe in populate_shiplist (me=0x80479e4, arg=0x8047a30) at main.c:323\r\n        mc = 0x8047a30\r\n#2  0x08054a93 in read_manifest_file (path=0x80ecee8 \"/root/smartos-live/manifest.gen\", mecb=0x8052e7c <populate_shiplist>, \r\n    arg=0x8047a30) at ../common/manifest.c:291\r\n        mf = 0x8066c30 <_iob+48>\r\n        line = 0x80fbf10 \"f usbkey/ssh/moduli config 0644 root sys\\n\"\r\n        cap = 128\r\n        rval = 0\r\n        error = 0\r\n        me = {me_type = ME_TYPE_FILE, me_name = 0x0, me_target = 0x0, me_mode = 0, me_user = 0x0, me_group = 0x0}\r\n#3  0x080541bf in main (argc=14, argv=0x8047a98) at main.c:951\r\n        rval = 0\r\n        mc = {mc_flags = (MCF_NOT_SHIPPED | MCF_WHOLE_SECTS), mc_manifest_path = 0x80ecee8 \"/root/smartos-live/manifest.gen\", \r\n          mc_config_paths = 0x80ecfb0, mc_cnt_dont_exist = 0, mc_cnt_not_shipped = 0, mc_cnt_whole_sects = 0, \r\n          mc_shiplist = 0x80ecf88, mc_section_includes = 0x80ecf60, mc_section_excludes = 0x80ecf38, mc_page_excludes = 0x80ecf10}\r\n        endl = B_FALSE\r\n(gdb) frame 1 \r\n#1  0x08052ebe in populate_shiplist (me=0x80479e4, arg=0x8047a30) at main.c:323\r\n323                     if (strncmp(me->me_name, cm_pdir, strlen(cm_pdir)) == 0) {\r\n(gdb) print me->me_name\r\n$4 = 0x0\r\n(gdb) print *me\r\n$5 = {me_type = ME_TYPE_FILE, me_name = 0x0, me_target = 0x0, me_mode = 0, me_user = 0x0, me_group = 0x0}\r\n(gdb) \r\n```"}}