From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Feb 9 13:43:05 2009 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20AF3106564A for ; Mon, 9 Feb 2009 13:43:05 +0000 (UTC) (envelope-from tolisoft@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id A733F8FC17 for ; Mon, 9 Feb 2009 13:43:04 +0000 (UTC) (envelope-from tolisoft@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so919249fgb.35 for ; Mon, 09 Feb 2009 05:43:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=6IttV8xlvpY4ScctwzDeNSRf9V8AP9OB7UOp4Yj+U5U=; b=R7X2NmwRVvmQiPbAeIGWxPQqKlui+33qR7A1Ean+7ThHesCcMWK2W+mqFc8rmub93v SfggGG/IsTLcVXQmiiEC7D3U0sB8HLyiKMue99KctGjnF5zKOqiaXwIrSfuq9MDWAYW2 P+kaVfWhSQAe/+nM8qfH59XAoUlVkX5TNQtiY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=aOnmHiQa637LlLLz4lLzxHKWpINEpFzeAMpectoC5Xk4qlN+BBBQujXfgUvrpUEonS Jt3GZwVm5zSws0j4vLE5SRNyAKH1js7EOfbqPhg4ZRyUiWW++HvIybZM6Qq3NGLiWYv0 NC17eJJwFgjp+sFQEu2LG/osRbiwONzHFOKzM= MIME-Version: 1.0 Received: by 10.86.61.13 with SMTP id j13mr1840185fga.59.1234185539007; Mon, 09 Feb 2009 05:18:59 -0800 (PST) Date: Mon, 9 Feb 2009 15:18:58 +0200 Message-ID: <335adcd30902090518t393cfd2i773030ed8e9af853@mail.gmail.com> From: "eng. Anatoli Marinov" To: freebsd-ports-bugs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: asterisk from the ports X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Feb 2009 13:43:05 -0000 Hi folks, I have a problem with asterisk from ports. So my system is: FreeBSD triton.******.com 7.1-STABLE FreeBSD 7.1-STABLE #9: Thu Feb 5 19:43:38 EET 2009 root@triton.*****.com:/usr/obj/usr/src/sys/TRITON_7 i386 and my asterisk is : Asterisk 1.4.22.2 built by root @ triton.******.com on a i386 running FreeBSD on 2009-02-06 09:28:53 UTC The issue appears when I tried to make a conference call with app_meetme.so. I got: And when I run the application I get: -- Playing 'auth-thankyou' (language 'en') -- Playing 'vm-review' (language 'en') -- Playing 'vm-msgsaved' (language 'en') -- Playing 'conf-onlyperson' (language 'en') [Feb 9 10:20:13] WARNING[48968]: app_meetme.c:1620 conf_run: Unable to set flags: Inappropriate ioctl for device At these lines there is wrriten: if (fcntl(fd, F_SETFL, flags | O_NONBLOCK)) { ast_log(LOG_WARNING, "Unable to set flags: %s\n", strerror(errno)); close(fd); goto outrun; } As I understand O_NONBLOCK is not supported for this kind of descriptor and I just removed this code but after that I see regular crashes everyday :) And this is from the core file: #0 0x08092ca7 in ast_closestream () #1 0x08092dae in ast_playstream () #2 0x080d69a7 in ast_sched_runq () #3 0x08092f07 in ast_stopstream () #4 0x0809345a in ast_waitstream () #5 0x28a831dd in conf_run (chan=0x28709400, conf=0x28b01800, confflags=74052, optargs=0xbf75baa4) at app_meetme.c:2273 #6 0x28a88498 in conf_exec (chan=0x28709400, data=0xbf75db48) at app_meetme.c:2767 #7 0x080b0a71 in pbx_exec () #8 0x080b3a94 in ast_extension_state () #9 0x080b52ed in pbx_builtin_setvar () #10 0x080b60ce in ast_pbx_run () #11 0x080e22d4 in ast_wait_for_input () #12 0x28401afb in pthread_getprio () from /lib/libthr.so.3 #13 0xbf79cfec in ?? () Any ideas? I want to clear this and will prepare the patch. Mr. Sobolev (he is a port maintainer) know this but I still do not have any feedback from him. All the best -- Best Regards eng. Anatoli Marinov