From owner-freebsd-gnome@FreeBSD.ORG Fri Sep 17 21:39:08 2010 Return-Path: Delivered-To: gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A0EC1065672 for ; Fri, 17 Sep 2010 21:39:08 +0000 (UTC) (envelope-from marcus@freebsd.org) Received: from av-tac-rtp.cisco.com (hen.cisco.com [64.102.19.198]) by mx1.freebsd.org (Postfix) with ESMTP id ED1818FC08 for ; Fri, 17 Sep 2010 21:39:07 +0000 (UTC) X-TACSUNS: Virus Scanned Received: from rooster.cisco.com (localhost.cisco.com [127.0.0.1]) by av-tac-rtp.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o8HLd6du007258; Fri, 17 Sep 2010 17:39:06 -0400 (EDT) Received: from fruit-rollup.marcuscom.com (jclarke-pc.cisco.com [172.18.254.236]) by rooster.cisco.com (8.13.8+Sun/8.13.8) with ESMTP id o8HLd10r018252; Fri, 17 Sep 2010 17:39:01 -0400 (EDT) Message-ID: <4C93DFF5.7060007@freebsd.org> Date: Fri, 17 Sep 2010 17:39:01 -0400 From: Joe Marcus Clarke Organization: FreeBSD, Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 MIME-Version: 1.0 To: dokas@oitsec.umn.edu References: <4C92B6B5.20403@oitsec.umn.edu> In-Reply-To: <4C92B6B5.20403@oitsec.umn.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: gnome@freebsd.org, python@freebsd.org Subject: Re: rhythmbox and python X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Sep 2010 21:39:08 -0000 On 9/16/10 8:30 PM, Paul Dokas wrote: > After the recent update to python, rhythmbox has ceased to function for me. > When I start it up, it simply exits. With debugging turned on (-d option), > I get this: > > . > . > . > (19:23:26) [0x70807040] [rb_source_header_view_browser_changed_cb] rb-source-header.c:836: got view browser toggle > (19:23:26) [0x70807040] [rb_source_header_view_browser_changed_cb] rb-source-header.c:849: got view browser toggle > (19:23:26) [0x70807040] [rb_statusbar_set_property] rb-statusbar.c:325: selected source 0x70c14120 > (19:23:26) [0x70807040] [rb_statusbar_sync_status] rb-statusbar.c:444: updating status with: '0 songs', '', -1.000000 > (19:23:26) [0x70807040] [_uri_handle_recurse] rb-file-helpers.c:759: error enumerating file:///home/dokas/.gnome2/rhythmbox/plugins: > No such file or directory > (19:23:26) [0x70807040] [_uri_handle_recurse] rb-file-helpers.c:759: error enumerating > file:///home/dokas/.local/share/rhythmbox/plugins: No such file or directory > (19:23:26) [0x70807040] [rb_plugins_engine_load] rb-plugins-engine.c:116: Loading plugin: > /usr/local/lib/rhythmbox/plugins/artdisplay/artdisplay.rb-plugin > (19:23:26) [0x70807040] [rb_plugins_engine_load] rb-plugins-engine.c:206: Could not find 'Icon' in > /usr/local/lib/rhythmbox/plugins/artdisplay/artdisplay.rb-plugin > (19:23:26) [0x70807040] [rb_plugins_engine_load_cb] rb-plugins-engine.c:299: Plugin Cover art loaded > (19:23:26) [0x70807040] [rb_python_module_init] rb-python-module.c:420: Init of python module > > and it exits. I've only begun to look for the cause and am asking in case > someone has already found and fixed this. Things I've tried so far: > > rebuild and reinstall python 2.6.6 > rebuild and reinstall the python modules on which rhythmbox depends: > py26-cairo, py26-libxml, py26-gobject, py26-gtk, py26-gstreamer > > Nothing has worked so far. > > > Oh, and this is on 8.1-RELEASE on both amd64 and i386. This looks like a threading problem with Python. I'm seeing a crash (with next to no details) that seems to stem from Python and threads. I'm copying python@ here. Python guys, after an upgrade to 2.6.6, starting audio/rhythmbox results in a crash. Gdb reports: 0x0804b327 in main (argc=1235131264, argv=0x2) at main.c:330 330 pyg_begin_allow_threads; (and nothing else, weird) This function is a macro defined in pygobject.h to be: #define pyg_begin_allow_threads \ G_STMT_START { \ PyThreadState *_save = NULL; \ if (_PyGObject_API->threads_enabled) \ _save = PyEval_SaveThread(); #define pyg_end_allow_threads \ if (_PyGObject_API->threads_enabled) \ PyEval_RestoreThread(_save); \ } G_STMT_END Python has been built with default threading (but no pth). Counting myself, three users have reported this problem on RELENG_8. Joe -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome