From owner-freebsd-questions@FreeBSD.ORG Sun Oct 5 16:07:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A1211065696 for ; Sun, 5 Oct 2008 16:07:39 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.freebsd.org (Postfix) with ESMTP id 1C4278FC16 for ; Sun, 5 Oct 2008 16:07:39 +0000 (UTC) (envelope-from dale.hagglund@gmail.com) Received: by wx-out-0506.google.com with SMTP id s17so510690wxc.7 for ; Sun, 05 Oct 2008 09:07:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=X1RKpk7jH90pb2Qz3oRdM+UxjG1SN91EnstD+c5hXeU=; b=U/EjxdMAXBE1ZvL4q0vgCCHnTLq2FPgXyipuETpaFWbar6Jy3acGPWnPjOIZyMnv25 gqS4xSgq/Ur5uXRkoVrMY0sQlDlOHG1x1iIbIYruw3eBXrZAx+QoIW1bS2Ft48ACKaER wlYyx7Ghpl+RSitD409o79vc8EKrYwoIuYG3k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=Y/iu5fW2pcidTt8oJmjKiKX0DkLxFb3GHmgyGylKPSAAcR1botH8fPhPQhDcWTYKCz KDsSS8i1zJ8dXLh68O8G2ylN7wvG7aniPZGq94oR1Q2T+IO4gB3NqrYUJweamM3gHzDt R+YlLOnQol3njaVav5bpuXDtTlHyZ2P2lliv0= Received: by 10.70.12.2 with SMTP id 2mr4609714wxl.21.1223222858203; Sun, 05 Oct 2008 09:07:38 -0700 (PDT) Received: from ponoka.ab.hsia.telus.net (d205-206-84-231.abhsia.telus.net [205.206.84.231]) by mx.google.com with ESMTPS id i11sm7101969wxd.28.2008.10.05.09.07.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 05 Oct 2008 09:07:36 -0700 (PDT) From: Dale Hagglund To: freebsd-questions@freebsd.org References: <86r66v6gsj.fsf@ponoka.ab.hsia.telus.net> <200810051546.28440.fbsd.questions@rachie.is-a-geek.net> Date: Sun, 05 Oct 2008 10:07:30 -0600 In-Reply-To: <200810051546.28440.fbsd.questions@rachie.is-a-geek.net> (Mel's message of "Sun, 5 Oct 2008 15:46:27 +0200") Message-ID: <86bpxz58l9.fsf@ponoka.ab.hsia.telus.net> User-Agent: Gnus/5.110008 (No Gnus v0.8) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: db@freebsd.org, Mel Subject: Re: processes hanging in _umtx_op X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2008 16:07:39 -0000 >>>>> "Mel" == Mel writes: Mel> Can you change scheduler to ULE and rebuild kernel? Mel> Or better yet, try 7.1-PRERELEASE, since it's good to know if Mel> this bug persists with 7.1 being close to release. I'll rebuild with ULE first, and let you and the list know what happens. Mel> It's not a 'standard answer', btw, but an educated guess, since Mel> utmx is (simplified) the kernel equivalent of Mel> pthread_(rwlock|mutex)_* and looks like it's hanging in one of Mel> those functions. This was my guess as well. I first noticed this hang while attempting to build gnuradio around the end of August. During conversations with the maintainer, Diane Bruce, about this hang she recognized it from before and suggested that she'd been able to fix it at that time by upgrading all ports (or maybe just the wx port) on her system. Mel> Now, it can simply be programmer error (lock twice, unlock Mel> once), but most of the time the kernel catches this for me with Mel> EDEADLK. The background with gnuradio and the Diane's suggestion to upgrade ports lead to my thought that I could easily have some sort of conflicting or out-of-date combination of libraries causing some sort of locking problem. That said, I've since upgraded almost all of my ports/packages, but building gnuradio still hangs the same way. Life/work got very busy just after that, so I unfortunately didn't got back to Diane with this update. Also, I just saw the same hang with the openoffice 3.0beta (milestone m5) package. Just out of curiousity, I produced the list of shared dependencies between these packages and have attached these below. Mel> If you're comfy with kernel debugging, print uap->op when it's Mel> hanging, so we know which op it's waiting on. I haven't used the kernel debugger before, but I'd be willing to give it a go after trying some of the things above. If you have a pointer to a slightly more detailed set of instructions, I'd definitely appreciate it. Dale. -------------------- ORBit2-2.14.14 atk-1.22.0_1 bitstream-vera-1.10_4 cairo-1.6.4_2,1 compositeproto-0.4 damageproto-1.1.0_2 encodings-1.0.2,1 expat-2.0.1 fixesproto-4.0 font-bh-ttf-1.0.0 font-misc-ethiopic-1.0.0 font-misc-meltho-1.0.0_1 font-util-1.0.1 fontcacheproto-0.1.2 fontconfig-2.5.0,1 fontsproto-2.0.2 freetype2-2.3.7 gconf2-2.22.0_1 gettext-0.17_1 glib-2.16.5 gnomehier-2.3_10 gtk-2.12.11_1 hicolor-icon-theme-0.10_2 inputproto-1.4.2.1 jpeg-6b_7 kbproto-1.0.3 libFS-1.0.0_1 libICE-1.0.4_1,1 libIDL-0.8.11 libSM-1.0.3_1,1 libX11-1.1.3_1,1 libXScrnSaver-1.1.2 libXTrap-1.0.0 libXau-1.0.3_2 libXaw-1.0.4_1,1 libXcomposite-0.4.0,1 libXcursor-1.1.9_1 libXdamage-1.1.1 libXdmcp-1.0.2_1 libXevie-1.0.2 libXext-1.0.3,1 libXfixes-4.0.3_1 libXfont-1.3.1_3,1 libXfontcache-1.0.4 libXft-2.1.13 libXi-1.1.3,1 libXinerama-1.0.2,1 libXmu-1.0.3,1 libXp-1.0.0,1 libXpm-3.5.7 libXprintAppUtil-1.0.1 libXprintUtil-1.0.1 libXrandr-1.2.2_1 libXrender-0.9.4_1 libXres-1.0.3_3 libXt-1.0.5_1 libXtst-1.0.3_1 libXv-1.0.3_1,1 libXvMC-1.0.4_1 libXxf86dga-1.0.2 libXxf86misc-1.0.1 libXxf86vm-1.0.1 libdmx-1.0.2_1 libfontenc-1.0.4 libiconv-1.11_1 liboldX-1.0.1 libxkbfile-1.0.4 libxkbui-1.0.2_1 libxml2-2.6.32 mkfontdir-1.0.3_1 mkfontscale-1.0.3 pango-1.20.5 pcre-7.7_1 perl-5.8.8_1 pixman-0.10.0_2 pkg-config-0.23_1 png-1.2.31 printproto-1.0.3 python25-2.5.2_3 randrproto-1.2.1 recordproto-1.13.2 renderproto-0.9.3 scrnsaverproto-1.1.0 shared-mime-info-0.51 tiff-3.8.2_1 trapproto-3.4.3 videoproto-2.2.2 xbitmaps-1.0.1 xextproto-7.0.2 xf86dgaproto-2.0.3 xf86miscproto-0.9.2 xf86vidmodeproto-2.2.2 xineramaproto-1.1.2 xorg-fonts-truetype-7.3 xorg-libraries-7.3_2 xproto-7.0.10_1 xtrans-1.0.4 --------------------