{"action":"created","issue":{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/643","labels_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/643/labels{/name}","comments_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/643/comments","events_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/643/events","html_url":"https://github.com/ZoneMinder/ZoneMinder/issues/643","id":52238139,"number":643,"title":"zoneminder 1.25.0_5 + 1.26.0_6 on freebsd 10 + 10.1 - zmu - SIGSEGV","user":{"login":"n0ptrix","id":10221024,"avatar_url":"https://avatars.githubusercontent.com/u/10221024?v=3","gravatar_id":"","url":"https://api.github.com/users/n0ptrix","html_url":"https://github.com/n0ptrix","followers_url":"https://api.github.com/users/n0ptrix/followers","following_url":"https://api.github.com/users/n0ptrix/following{/other_user}","gists_url":"https://api.github.com/users/n0ptrix/gists{/gist_id}","starred_url":"https://api.github.com/users/n0ptrix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n0ptrix/subscriptions","organizations_url":"https://api.github.com/users/n0ptrix/orgs","repos_url":"https://api.github.com/users/n0ptrix/repos","events_url":"https://api.github.com/users/n0ptrix/events{/privacy}","received_events_url":"https://api.github.com/users/n0ptrix/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-17T13:11:25Z","updated_at":"2015-08-09T23:17:33Z","closed_at":"2015-08-09T23:17:32Z","body":"Hi,\r\n\r\nthe binary \"zmu\" of the standard-zoneminder i386 freebsd port compilation fails with SIGSEGV. The other binaries work - zmc, zma. I can access the web interface, watch the capture-preview-streams, but when I access the zones, which are dependent on zmu (?), the application fails. On the CLI I get a\r\n\r\nzmu\r\nSegmentation fault (core dumped)\r\n\r\nSome additional infos:\r\n/usr/local/bin/zmu:\r\n\tlibthr.so.3 => /lib/libthr.so.3 (0x280e9000)\r\n\tlibz.so.6 => /lib/libz.so.6 (0x2810b000)\r\n\tlibbz2.so.4 => /usr/lib/libbz2.so.4 (0x2811f000)\r\n\tlibswscale0.so.1 => /usr/local/lib/ffmpeg0/libswscale0.so.1 (0x2812f000)\r\n\tlibavdevice0.so.1 => /usr/local/lib/ffmpeg0/libavdevice0.so.1 (0x28156000)\r\n\tlibavformat0.so.1 => /usr/local/lib/ffmpeg0/libavformat0.so.1 (0x2815a000)\r\n\tlibavcodec0.so.1 => /usr/local/lib/ffmpeg0/libavcodec0.so.1 (0x28241000)\r\n\tlibavutil0.so.1 => /usr/local/lib/ffmpeg0/libavutil0.so.1 (0x28c5e000)\r\n\tlibx264.so.136 => /usr/local/lib/libx264.so.136 (0x28c7a000)\r\n\tlibpcre.so.3 => /usr/local/lib/libpcre.so.3 (0x28ddc000)\r\n\tlibcrypto.so.7 => /lib/libcrypto.so.7 (0x28e48000)\r\n\tlibjpeg.so.11 => /usr/local/lib/libjpeg.so.11 (0x28fd3000)\r\n\tlibmysqlclient.so.18 => /usr/local/lib/mysql/libmysqlclient.so.18 (0x29008000)\r\n\tlibstdc++.so.6 => /usr/local/lib/gcc48/libstdc++.so.6 (0x29344000)\r\n\tlibm.so.5 => /lib/libm.so.5 (0x29430000)\r\n\tlibc.so.7 => /lib/libc.so.7 (0x29452000)\r\n\tlibgcc_s.so.1 => /usr/local/lib/gcc48/libgcc_s.so.1 (0x295bc000)\r\n\tlibxvidcore.so.4 => /usr/local/lib/libxvidcore.so.4 (0x295d8000)\r\n\tlibvpx.so.1 => /usr/local/lib/libvpx.so.1 (0x296ed000)\r\n\tlibvorbisenc.so.2 => /usr/local/lib/libvorbisenc.so.2 (0x2988b000)\r\n\tlibvorbis.so.4 => /usr/local/lib/libvorbis.so.4 (0x2990d000)\r\n\tlibogg.so.8 => /usr/local/lib/libogg.so.8 (0x29935000)\r\n\tlibtheoraenc.so.1 => /usr/local/lib/libtheoraenc.so.1 (0x2993b000)\r\n\tlibtheoradec.so.1 => /usr/local/lib/libtheoradec.so.1 (0x2996b000)\r\n\tlibschroedinger-1.0.so.11 => /usr/local/lib/libschroedinger-1.0.so.11 (0x2997c000)\r\n\tlibopencv_core.so.2 => /usr/local/lib/libopencv_core.so.2 (0x29a24000)\r\n\tlibopencv_imgproc.so.2 => /usr/local/lib/libopencv_imgproc.so.2 (0x29c33000)\r\n\tlibfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x29eab000)\r\n\tlibc++.so.1 => /usr/lib/libc++.so.1 (0x29f31000)\r\n\tlibcxxrt.so.1 => /lib/libcxxrt.so.1 (0x29fdb000)\r\n\tliborc-0.4.so.0 => /usr/local/lib/liborc-0.4.so.0 (0x29ff2000)\r\n\r\n#uname -a\r\nFreeBSD 10.0-RELEASE-p9 FreeBSD 10.0-RELEASE-p9 #0: Mon Sep 15 14:32:29 UTC 2014     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386\r\n\r\n#truss zmu\r\nmprotect(0x2812f000,155648,PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)\r\nmprotect(0x2812f000,155648,PROT_READ|PROT_EXEC)\t = 0 (0x0)\r\nmprotect(0x28156000,12288,PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)\r\nmprotect(0x28156000,12288,PROT_READ|PROT_EXEC)\t = 0 (0x0)\r\nmprotect(0x2815a000,921600,PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)\r\nmprotect(0x2815a000,921600,PROT_READ|PROT_EXEC)\t = 0 (0x0)\r\nmprotect(0x28241000,4984832,PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)\r\nmmap(0x0,45056,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 705118208 (0x2a074000)\r\nmprotect(0x28241000,4984832,PROT_READ|PROT_EXEC) = 0 (0x0)\r\nmprotect(0x28c5e000,94208,PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)\r\nmprotect(0x28c5e000,94208,PROT_READ|PROT_EXEC)\t = 0 (0x0)\r\nmprotect(0x28c7a000,942080,PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)\r\nmprotect(0x28c7a000,942080,PROT_READ|PROT_EXEC)\t = 0 (0x0)\r\nmprotect(0x28e48000,1519616,PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)\r\nmunmap(0x2a078000,28672)\t\t\t = 0 (0x0)\r\nmmap(0x0,69632,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 705134592 (0x2a078000)\r\nmprotect(0x28e48000,1519616,PROT_READ|PROT_EXEC) = 0 (0x0)\r\nmprotect(0x29424000,16384,PROT_READ)\t\t = 0 (0x0)\r\nmprotect(0x295d8000,659456,PROT_READ|PROT_WRITE|PROT_EXEC) = 0 (0x0)\r\nmprotect(0x295d8000,659456,PROT_READ|PROT_EXEC)\t = 0 (0x0)\r\nsysarch(0xa,0xbfbfd3a4,0x280d8fe8,0x280d52b0,0xbfbfd3c8,0x280c07a3) = 0 (0x0)\r\nsigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)\r\nsigprocmask(SIG_SETMASK,0x0,0x0)\t\t = 0 (0x0)\r\nreadlink(\"/etc/malloc.conf\",0xbfbfcb3f,1024)\t ERR#22 'Invalid argument'\r\nissetugid(0x2958721a,0xbfbfcb3f,0x400,0x0,0x6d62696c,0x632e7061) = 0 (0x0)\r\nmmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 705204224 (0x2a089000)\r\nmunmap(0x2a089000,4194304)\t\t\t = 0 (0x0)\r\nmmap(0x0,8384512,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 705204224 (0x2a089000)\r\nmunmap(0x2a089000,3633152)\t\t\t = 0 (0x0)\r\nmunmap(0x2a800000,557056)\t\t\t = 0 (0x0)\r\nsigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)\r\nsigprocmask(SIG_SETMASK,0x0,0x0)\t\t = 0 (0x0)\r\n__sysctl(0xbfbfce84,0x2,0xbfbfcebc,0xbfbfceb8,0x295d37e0,0xe) = 0 (0x0)\r\n__sysctl(0xbfbfcebc,0x2,0xbfbfcf60,0xbfbfcf64,0x0,0x0) = 0 (0x0)\r\nsigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)\r\nsigprocmask(SIG_SETMASK,0x0,0x0)\t\t = 0 (0x0)\r\nsigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGKILL|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)\r\nsigprocmask(SIG_SETMASK,0x0,0x0)\t\t = 0 (0x0)\r\ngetpid()\t\t\t\t\t = 88294 (0x158e6)\r\n__sysctl(0xbfbfcee0,0x2,0x2810ac14,0xbfbfcee8,0x0,0x0) = 0 (0x0)\r\n__sysctl(0xbfbfce04,0x2,0xbfbfce3c,0xbfbfce38,0x280fdcc8,0xd) = 0 (0x0)\r\n__sysctl(0xbfbfce3c,0x3,0x28109ad8,0xbfbfcee8,0x0,0x0) = 0 (0x0)\r\nmmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = 713031680 (0x2a800000)\r\nthr_self(0x2a803080,0x28109ad8,0xbfbfcee8,0x0,0x0,0x0) = 0 (0x0)\r\nmmap(0xbf9fe000,4096,PROT_NONE,MAP_ANON,-1,0x0)\t = -1080041472 (0xbf9fe000)\r\nrtprio_thread(0x0,0x188ae,0xbfbfcea0,0x1000,0xbf9fe000,0x28101920) = 0 (0x0)\r\nsysarch(0xa,0xbfbfcea8,0x280d8fe8,0x281016d4,0xbfbfcefc,0x280fa80b) = 0 (0x0)\r\nsigaction(32,{ 0x280f5780 SA_SIGINFO ss_t },0x0) = 0 (0x0)\r\nsigprocmask(SIG_UNBLOCK,0x0,0x0)\t\t = 0 (0x0)\r\n_umtx_op(0xbfbfce7c,0x3,0x1,0x0,0x0,0xffffffff)\t = 0 (0x0)\r\nmprotect(0x0,0,PROT_NONE)\t\t\t = 0 (0x0)\r\nsigprocmask(SIG_BLOCK,SIGHUP|SIGINT|SIGQUIT|SIGILL|SIGTRAP|SIGABRT|SIGEMT|SIGFPE|SIGKILL|SIGBUS|SIGSEGV|SIGSYS|SIGPIPE|SIGALRM|SIGTERM|SIGURG|SIGSTOP|SIGTSTP|SIGCONT|SIGCHLD|SIGTTIN|SIGTTOU|SIGIO|SIGXCPU|SIGXFSZ|SIGVTALRM|SIGPROF|SIGWINCH|SIGINFO|SIGUSR1|SIGUSR2,0x0) = 0 (0x0)\r\nsigprocmask(SIG_SETMASK,0x0,0x0)\t\t = 0 (0x0)\r\nSIGNAL 11 (SIGSEGV)\r\nprocess exit, rval = 0\r\n\r\nCan anyone help me out - I am happy with every hint and advise. \r\n\r\nI already tried the newer version on freebsd 10.1 - 1.26.0_6 - also no luck.\r\n\r\nThank you,\r\n\r\nn0p\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/7080943-zoneminder-1-25-0_5-1-26-0_6-on-freebsd-10-10-1-zmu-sigsegv?utm_campaign=plugin&utm_content=tracker%2F188329&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F188329&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/comments/129260365","html_url":"https://github.com/ZoneMinder/ZoneMinder/issues/643#issuecomment-129260365","issue_url":"https://api.github.com/repos/ZoneMinder/ZoneMinder/issues/643","id":129260365,"user":{"login":"knnniggett","id":5150042,"avatar_url":"https://avatars.githubusercontent.com/u/5150042?v=3","gravatar_id":"","url":"https://api.github.com/users/knnniggett","html_url":"https://github.com/knnniggett","followers_url":"https://api.github.com/users/knnniggett/followers","following_url":"https://api.github.com/users/knnniggett/following{/other_user}","gists_url":"https://api.github.com/users/knnniggett/gists{/gist_id}","starred_url":"https://api.github.com/users/knnniggett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knnniggett/subscriptions","organizations_url":"https://api.github.com/users/knnniggett/orgs","repos_url":"https://api.github.com/users/knnniggett/repos","events_url":"https://api.github.com/users/knnniggett/events{/privacy}","received_events_url":"https://api.github.com/users/knnniggett/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T23:17:32Z","updated_at":"2015-08-09T23:17:32Z","body":"I'm pretty sure @connortechnology has made improvements such that ZoneMinder now builds on FreeBSD. Consequently, I am going to close this out.\r\n\r\nI am uncertain if there is a freebsd maintainer associated with ZoneMinder so I don't know how to get these changes into an official freebsd port.\r\n"}}