Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757307AbbKRV6w (ORCPT ); Wed, 18 Nov 2015 16:58:52 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50462 "EHLO out5-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757110AbbKRV6t (ORCPT ); Wed, 18 Nov 2015 16:58:49 -0500 Message-Id: <1447883928.580387.443689465.513C1672@webmail.messagingengine.com> X-Sasl-Enc: VO5R5bvxMsv2oZngE9aFYcabtzLG7A5Y0s1fXFENOlF7 1447883928 From: Hannes Frederic Sowa To: Stefan Priebe , Florian Weimer Cc: Thomas Gleixner , netdev@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-dab2dbe4 In-Reply-To: <564CF0BC.3070109@profihost.ag> References: <564B3D35.50004@profihost.ag> <564B7F9D.5060701@profihost.ag> <564CDE2F.8000201@profihost.ag> <564CEB0C.40006@redhat.com> <564CEF5D.3080005@profihost.ag> <1447882827.575319.443677441.6F45D05F@webmail.messagingengine.com> <564CF0BC.3070109@profihost.ag> Subject: Re: Asterisk deadlocks since Kernel 4.1 Date: Wed, 18 Nov 2015 22:58:48 +0100 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2296 Lines: 55 On Wed, Nov 18, 2015, at 22:42, Stefan Priebe wrote: > > Am 18.11.2015 um 22:40 schrieb Hannes Frederic Sowa: > > On Wed, Nov 18, 2015, at 22:36, Stefan Priebe wrote: > >> sorry here it is. What I'm wondering is why is there ipv6 stuff? I don't > >> have ipv6 except for link local. Could it be this one? > >> > >> https://bugzilla.redhat.com/show_bug.cgi?id=505105#c79 > >> > >> Thread 31 (Thread 0x7f295c011700 (LWP 26654)): > >> #0 0x00007f295de3287d in recvmsg () at > >> ../sysdeps/unix/syscall-template.S:82 > >> #1 0x00007f295de52fcc in make_request (fd=35, pid=26631, > >> seen_ipv4=, seen_ipv6=, > >> in6ai=, in6ailen=) at > >> ../sysdeps/unix/sysv/linux/check_pf.c:119 > >> #2 0x00007f295de5344a in __check_pf (seen_ipv4=0x7f295c00e85f, > >> seen_ipv6=0x7f295c00e85e, in6ai=0x7f295c00e840, > >> in6ailen=0x7f295c00e838) at > >> ../sysdeps/unix/sysv/linux/check_pf.c:271 > >> #3 0x00007f295de10007 in *__GI_getaddrinfo (name=0x7f295c00e8b0 > >> "10.12.12.55", service=0x7f295c00e8bc "2135", > >> hints=0x7f295c00e910, pai=0x7f295c00e908) at > >> ../sysdeps/posix/getaddrinfo.c:2389 > > > > Can you also get a /proc/pid/stack stacktrace? > > Sure: > > For the thread: > # cat /proc/26631/task/26654/stack > [] __skb_recv_datagram+0x52b/0x5d0 > [] skb_recv_datagram+0x32/0x40 > [] netlink_recvmsg+0x4c/0x300 > [] sock_recvmsg+0x13/0x20 > [] ___sys_recvmsg+0xee/0x230 > [] __sys_recvmsg+0x49/0x90 > [] SyS_recvmsg+0x12/0x20 > [] system_call_fastpath+0x12/0x71 > [] 0xffffffffffffffff Ok, we are definitely in netlink code and thus have a correct(? at least a netlink) netlink fd which is blocking and waiting for an answer. I research the glibc code a little bit but I think that the occurrences of ipv6 parameters are just generic glibc code. Let me try to reproduce that. Thanks, Hannes -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/