Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-24 Thread Alexander V. Chernikov
Harald Schmalzbauer wrote: Mikolaj Golub schrieb am 22.01.2010 23:26 (localtime): On Wed, 20 Jan 2010 08:06:23 +0100 Harald Schmalzbauer wrote: Dear all, I have no idea why top crashes with segmentation fault on my amd64 machine running FreeBSD 8.0-RELEASE-p2. If someone wants to have a loot

Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-24 Thread Harald Schmalzbauer
Alexander V. Chernikov schrieb am 24.01.2010 10:24 (localtime): ... gdb /usr/bin/top top.core bt And sure a backtrace from the top built with -g would be much better. cd /usr/src/usr.bin/top CFLAGS=-g make Unfortunately nss_ldap seems to be the culprit. There is some strange problem with TLS

Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-24 Thread Alexander V. Chernikov
Harald Schmalzbauer wrote: Alexander V. Chernikov schrieb am 24.01.2010 10:24 (localtime): ... gdb /usr/bin/top top.core bt And sure a backtrace from the top built with -g would be much better. cd /usr/src/usr.bin/top CFLAGS=-g make Unfortunately nss_ldap seems to be the culprit. There is

Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-24 Thread Doug Barton
On 01/24/10 03:02, Harald Schmalzbauer wrote: Alexander V. Chernikov schrieb am 24.01.2010 10:24 (localtime): Please try to rebuild port with post-configure: @${REINPLACE_CMD} -e 's/^\(CFLAGS .*\)-O2 \(.*\)$$/\1 -O0 \2/' ${WRKSRC}/nss/Makefile That should be pre- or post- patch, since it's

Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-24 Thread Alexander V. Chernikov
Doug Barton wrote: On 01/24/10 03:02, Harald Schmalzbauer wrote: Alexander V. Chernikov schrieb am 24.01.2010 10:24 (localtime): Please try to rebuild port with post-configure: @${REINPLACE_CMD} -e 's/^\(CFLAGS .*\)-O2 \(.*\)$$/\1 -O0 \2/' ${WRKSRC}/nss/Makefile That should be pre- or post-

Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-24 Thread Doug Barton
On 01/24/10 15:10, Alexander V. Chernikov wrote: Doug Barton wrote: On 01/24/10 03:02, Harald Schmalzbauer wrote: Alexander V. Chernikov schrieb am 24.01.2010 10:24 (localtime): Please try to rebuild port with post-configure: @${REINPLACE_CMD} -e 's/^\(CFLAGS .*\)-O2 \(.*\)$$/\1 -O0 \2/'

Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-23 Thread Goran Lowkrantz
I had exactly this problem. Removing an old /etc/localtime fixed the problem. /glz --On January 23, 2010 2:02:04 +0100 Harald Schmalzbauer h.schmalzba...@omnilan.de wrote: Mikolaj Golub schrieb am 22.01.2010 23:26 (localtime): On Wed, 20 Jan 2010 08:06:23 +0100 Harald Schmalzbauer wrote:

Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-23 Thread Goran Lowkrantz
Sorry, noise. Problem can back after a reboot. But now it only affects non super-users, it works just fine for root. When it first happened for me, even root cored. /glz --On January 23, 2010 13:57:41 +0100 Goran Lowkrantz goran.lowkra...@ismobile.com wrote: I had exactly this problem.

Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-23 Thread Mikolaj Golub
On Sat, 23 Jan 2010 02:02:04 +0100 Harald Schmalzbauer wrote: gdb /usr/bin/top top.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under

Re: top Segmentation faulting on 8.0p2 amd64

2010-01-22 Thread Mikolaj Golub
On Wed, 20 Jan 2010 08:06:23 +0100 Harald Schmalzbauer wrote: Dear all, I have no idea why top crashes with segmentation fault on my amd64 machine running FreeBSD 8.0-RELEASE-p2. If someone wants to have a loot at the core dump: http://www.schmalzbauer.de/downloads/top.core core file is

Re: top Segmentation faulting on 8.0p2 amd64 (nss_ldapd problem?)

2010-01-22 Thread Harald Schmalzbauer
Mikolaj Golub schrieb am 22.01.2010 23:26 (localtime): On Wed, 20 Jan 2010 08:06:23 +0100 Harald Schmalzbauer wrote: Dear all, I have no idea why top crashes with segmentation fault on my amd64 machine running FreeBSD 8.0-RELEASE-p2. If someone wants to have a loot at the core dump:

top Segmentation faulting on 8.0p2 amd64

2010-01-19 Thread Harald Schmalzbauer
Dear all, I have no idea why top crashes with segmentation fault on my amd64 machine running FreeBSD 8.0-RELEASE-p2. If someone wants to have a loot at the core dump: http://www.schmalzbauer.de/downloads/top.core But I think I should recompile it with DEBUG=-g first, right? World and kernel