From owner-freebsd-questions@FreeBSD.ORG Wed Oct 5 03:11:45 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 42B7916A41F for ; Wed, 5 Oct 2005 03:11:45 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: from smtp.ade.swiftdsl.com.au (smtp.ade.swiftdsl.com.au [218.214.228.98]) by mx1.FreeBSD.org (Postfix) with SMTP id 5FDC643D45 for ; Wed, 5 Oct 2005 03:11:44 +0000 (GMT) (envelope-from no-spam@swiftdsl.com.au) Received: (qmail 26767 invoked from network); 5 Oct 2005 03:11:43 -0000 Received: from unknown (HELO daemon.foo.lan) (218.214.176.70) by smtp.ade.swiftdsl.com.au with SMTP; 5 Oct 2005 03:11:43 -0000 From: Ian Moore To: freebsd-questions@freebsd.org, David Kirchner Date: Wed, 5 Oct 2005 12:41:32 +0930 User-Agent: KMail/1.8.2 References: <200510050915.12491.no-spam@swiftdsl.com.au> <43431DD9.2000806@fusemail.com> <35c231bf0510041855i6c623341ge4c5766538079d76@mail.gmail.com> In-Reply-To: <35c231bf0510041855i6c623341ge4c5766538079d76@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart11755948.mWguJgabYL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200510051241.40810.no-spam@swiftdsl.com.au> Cc: Brian John 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: Wed, 05 Oct 2005 03:11:45 -0000 --nextPart11755948.mWguJgabYL Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 05 October 2005 11:25, David Kirchner wrote: > On 10/4/05, Brian John wrote: > > It probably is. However, I'm not sure how to go about figuring out > > which one of these dependencies it is, let alone how to fix it. Could > > you help us troubleshoot this? BTW, I used portmanager to upgrade my > > ports. > > I don't know if I can be much help, as I haven't used xine or vlc, or > portmanager. What I would do in your case is run 'ktrace -i -d vlc' > (along with whatever other arguments) to trace the process and its > dependencies, and then run 'kdump' to view the trace (the output will > be enormous). You might see something interesting near the end, like a > file not found that it was expecting, or it opening a file just prior > to dumping core. It may be possible the other programs would have the > same last few lines. > > This is generic advice, I'm afraid, and may not even be valid in this > case. But who knows. OK, I've done that for xine, here's the last bit: 1935 xine RET read 4096/0x1000 1935 xine CALL mmap(0,0x5e000,0x5,0x20002,0x6,0,0,0) 1935 xine RET mmap 692838400/0x294be000 1935 xine CALL mprotect(0x294ec000,0x1000,0x7) 1935 xine RET mprotect 0 1935 xine CALL mprotect(0x294ec000,0x1000,0x5) 1935 xine RET mprotect 0 1935 xine CALL mmap(0x294ed000,0x3000,0x3,0x12,0x6,0,0x2e000,0) 1935 xine RET mmap 693030912/0x294ed000 1935 xine CALL mmap(0x294f0000,0x2c000,0x3,0x1012,0xffffffff,0,0,0) 1935 xine RET mmap 693043200/0x294f0000 1935 xine CALL close(0x6) 1935 xine RET close 0 1935 xine CALL access(0x2816a000,0) 1935 xine NAMI "/usr/X11R6/lib/libstdc++.so.4" 1935 xine RET access -1 errno 2 No such file or directory 1935 xine CALL access(0x2816a000,0) 1935 xine NAMI "/usr/local/lib/libstdc++.so.4" 1935 xine RET access -1 errno 2 No such file or directory 1935 xine CALL access(0x2816a000,0) 1935 xine NAMI "/lib/libstdc++.so.4" 1935 xine RET access -1 errno 2 No such file or directory 1935 xine CALL access(0x2816a000,0) 1935 xine NAMI "/usr/lib/libstdc++.so.4" 1935 xine RET access 0 1935 xine CALL access(0x2816a000,0) 1935 xine NAMI "/usr/X11R6/lib/libm.so.3" 1935 xine RET access -1 errno 2 No such file or directory 1935 xine CALL access(0x2816a000,0) 1935 xine NAMI "/usr/local/lib/libm.so.3" 1935 xine RET access -1 errno 2 No such file or directory 1935 xine CALL access(0x2816a000,0) 1935 xine NAMI "/lib/libm.so.3" 1935 xine RET access 0 1935 xine CALL mprotect(0x294ae000,0xf000,0x7) 1935 xine RET mprotect 0 1935 xine CALL mmap(0,0x348,0x3,0x1000,0xffffffff,0,0,0) 1935 xine RET mmap 693223424/0x2951c000 1935 xine CALL munmap(0x2951c000,0x348) 1935 xine RET munmap 0 1935 xine CALL mprotect(0x294ae000,0xf000,0x5) 1935 xine RET mprotect 0 1935 xine CALL mmap(0,0xb48,0x3,0x1000,0xffffffff,0,0,0) 1935 xine RET mmap 693223424/0x2951c000 1935 xine CALL munmap(0x2951c000,0xb48) 1935 xine RET munmap 0 1935 xine PSIG SIGBUS SIG_DFL 1935 xine CALL kse_thr_interrupt(0,0x4,0xa) 1935 xine NAMI "xine.core" Looks like it can't see lib files that really are there: %ll /lib/libm* =2Dr--r--r-- 1 root wheel 108400 Feb 24 2004 /lib/libm.so.2 =2Dr--r--r-- 1 root wheel 120004 Jul 29 17:38 /lib/libm.so.3 =2Dr--r--r-- 1 root wheel 41096 Jul 29 17:38 /lib/libmd.so.2 %ll /usr/lib/libstdc++.* =2Dr--r--r-- 1 root wheel 1754130 Jul 29 17:39 /usr/lib/libstdc++.a lrwxr-xr-x 1 root wheel 14 Jul 29 17:39 /usr/lib/libstdc++.so ->=20 libstdc++.so.4 =2Dr--r--r-- 1 root wheel 881208 Jul 29 17:39 /usr/lib/libstdc++.so.4 So I don't know what's going on there. Cheers, =2D-=20 Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc --nextPart11755948.mWguJgabYL Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDQ0RsPUlnmbKkJ6ARAsFDAJ9KT3BKFj/lhVApZO+YbmEGpdA/LQCeMNab 1SdP0R/LowL1wTwejXCCrek= =4nHs -----END PGP SIGNATURE----- --nextPart11755948.mWguJgabYL--