From owner-freebsd-questions@FreeBSD.ORG Fri Oct 7 09:04:48 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 99AA016A41F for ; Fri, 7 Oct 2005 09:04:48 +0000 (GMT) (envelope-from tijl@ulyssis.org) Received: from nibbel.kulnet.kuleuven.ac.be (nibbel.kulnet.kuleuven.ac.be [134.58.240.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2C8043D48 for ; Fri, 7 Oct 2005 09:04:47 +0000 (GMT) (envelope-from tijl@ulyssis.org) Received: from localhost (localhost [127.0.0.1]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id C16A54C787; Fri, 7 Oct 2005 11:04:46 +0200 (CEST) Received: from smtp01.kuleuven.be (octavianus.kulnet.kuleuven.ac.be [134.58.240.71]) by nibbel.kulnet.kuleuven.ac.be (Postfix) with ESMTP id 060B54C773; Fri, 7 Oct 2005 11:04:46 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [10.4.42.180]) by smtp01.kuleuven.be (Postfix) with ESMTP id B884F63D74; Fri, 7 Oct 2005 11:04:45 +0200 (CEST) Received: from kalimero.kotnet.org (kalimero.kotnet.org [127.0.0.1]) by kalimero.kotnet.org (8.13.4/8.13.3) with ESMTP id j9794ij6000960; Fri, 7 Oct 2005 11:04:45 +0200 (CEST) (envelope-from tijl@ulyssis.org) From: Tijl Coosemans To: freebsd-questions@freebsd.org Date: Fri, 7 Oct 2005 11:04:43 +0200 User-Agent: KMail/1.8.2 References: <2393.209.87.176.132.1128438877.fusewebmail-19592@webmail.fusemail.com > <200510061910.48224.tijl@ulyssis.org> <200510071047.30870.no-spam@swiftdsl.com.au> In-Reply-To: <200510071047.30870.no-spam@swiftdsl.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510071104.44400.tijl@ulyssis.org> X-Virus-Scanned: by KULeuven Antivirus Cluster Cc: brianjohn@fusemail.com, Ian Moore Subject: Re: xine / kaffeine core dumps with bus error 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: Fri, 07 Oct 2005 09:04:48 -0000 On Friday 07 October 2005 03:17, Ian Moore wrote: > On Friday 07 October 2005 02:40, Tijl Coosemans wrote: > > On Wednesday 05 October 2005 01:45, Ian Moore wrote: > > > On Wednesday 05 October 2005 00:44, Brian John wrote: > > > > I think I'm having a similar problem with totem (which uses > > > > xine) and vlc. Can you try installing /usr/ports/multimedia/vlc > > > > and see what that does? If that gives a bus error as well then > > > > I think we might have the same issue. I haven't been able to > > > > find a solution to this yet... > > > > > > Yep, vlc gives a bus error too. Looks like we have the same > > > problem! > > > > I don't know what the exact problem is, but the bus error occurs > > when loading > > "/usr/X11R6/lib/xine/plugins/1.1.0/xineplug_dmx_audio.so". When you > > remove that file or rename it such that there's no longer ".so" in > > the file name, then xine should work. > > It doesn't work for me - it still core dumps and kdump gives a very > similar trace to the previous one: > > I'm not sure how you figured out it was that plugin - I guess you are > having the same problem and that file was appearing in your ktrace? I have the same problem, but I used gdb. I figured I had to learn how to use it sooner or later and had nothing else on my hands yesterday afternoon, so... Anyway, what you can try is open a terminal window and do the following: tijl@kalimero ~% gdb (gdb) file xine Reading symbols from xine...done. (gdb) r Starting program: /usr/X11R6/bin/xine This is xine (X11 gui) - a free video player v0.99.4. (c) 2000-2004 The xine Team. Program received signal SIGBUS, Bus error. [Switching to Thread 1 (LWP 100119)] 0x28576f96 in CzCUBICSPLINE (this=0x285b7bb0) at fastmix.cpp:112 112 for(_LIi=0;_LIi<_LLen;_LIi++) Current language: auto; currently c++ (gdb) shared Symbols already loaded for /usr/X11R6/lib/libXv.so.1 Symbols already loaded for /usr/local/lib/libintl.so.6 Symbols already loaded for /usr/X11R6/lib/libXft.so.2 Symbols already loaded for /usr/local/lib/libfreetype.so.9 Symbols already loaded for /usr/X11R6/lib/libXrender.so.1 Symbols already loaded for /usr/X11R6/lib/libSM.so.6 Symbols already loaded for /usr/X11R6/lib/libICE.so.6 Symbols already loaded for /usr/X11R6/lib/libXinerama.so.1 Symbols already loaded for /usr/X11R6/lib/libXxf86vm.so.1 Symbols already loaded for /usr/local/lib/libpng.so.5 Symbols already loaded for /usr/X11R6/lib/libxine.so.14 Symbols already loaded for /lib/libz.so.2 Symbols already loaded for /usr/local/lib/libiconv.so.3 Symbols already loaded for /usr/X11R6/lib/libXext.so.6 Symbols already loaded for /usr/X11R6/lib/libXtst.so.6 Symbols already loaded for /usr/X11R6/lib/libX11.so.6 Symbols already loaded for /lib/libm.so.3 Symbols already loaded for /usr/lib/libpthread.so.1 Symbols already loaded for /lib/libc.so.5 Symbols already loaded for /usr/X11R6/lib/libfontconfig.so.1 Symbols already loaded for /usr/local/lib/libexpat.so.5 Symbols already loaded for /libexec/ld-elf.so.1 Symbols already loaded for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 Symbols already loaded for /usr/X11R6/lib/libXcursor.so.1 Symbols already loaded for /usr/X11R6/lib/xine/plugins/1.1.0/xineplug_dmx_audio.so Symbols already loaded for /usr/local/lib/libmodplug.so.0 Symbols already loaded for /usr/lib/libstdc++.so.4 (gdb) c Continuing. Program terminated with signal SIGBUS, Bus error. The program no longer exists. (gdb) q tijl@kalimero ~% As you can see, xineplug_dmx_audio.so is the last plugin loaded before the SIGBUS. Simply removing that file did the trick for me. However, I'm not sure whether there's really a problem with that plugin. The problem could be more fundamental and is perhaps only triggered by that plugin...