Re: Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-25 Thread Raphael Kubo da Costa
Dmitry Krivenok writes: > As you can see program exited normally w/o any errors. > Then I run the same program under gdb-7.2 > > $ /usr/local/bin/gdb72 --args t > GNU gdb (GDB) 7.2 [GDB v7.2 for FreeBSD] > Copyright (C) 2010 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or la

Problem with running simple pthreads program under gdb-7.2 (Invalid selected thread)

2011-05-25 Thread Dmitry Krivenok
Hello, I wrote very simple Pthreads program to demonstrate the problem with gdb-7.2 installed from ports on my FreeBSD-8.2 (amd64). /// #include #include #include void* run(void* arg) { return 0; } int main(int argc,

Possible bug in gdb-6.1.1 (it leaves zombie processes)

2011-05-25 Thread Dmitry Krivenok
Hello hackers, I think I found a bug in base gdb-6.1.1 on FreeBSD-8.2. Below is how you can reproduce it. I run "sleep 10" command under control of gdb-6.1.1 as follows $ gdb --args sleep 10 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the

Re: DEBUG - analysing core dumps

2011-05-25 Thread Daniel Hartmeier
On Wed, May 25, 2011 at 06:36:49PM +0200, Damien Fleuriot wrote: > I am not sure what steps I should follow to get more information ? Rebuild the port with debug information, as in # cd /usr/ports/sysutils/rsyslog4 # WITH_DEBUG=1 make package And install that on the target host. Then repeat

Re: DEBUG - analysing core dumps

2011-05-25 Thread Patrick Lamaiziere
Le Wed, 25 May 2011 18:36:49 +0200, Damien Fleuriot a écrit : Hello, > Sadly, getting a backtrace with "bt" gives me more lines with "??", > which is totally not helpful: > [SNIP] > #13 0x7f1f9d70 in ?? () > #14 0x in ?? () > #15 0x6f70732f7261762f in ?? () > #16 0x6c7379

RE: DEBUG - analysing core dumps

2011-05-25 Thread Andrew Duane
Damien Fleuriot wrote: > Hello list, > > > > We've got these boxes at work running FreeBSD 8.1-STABLE amd64 and > serving as firewalls and openvpn gateways. > > We use CARP interfaces to provide an active-passive fault tolerant > system. > > > Today, we received a nagios alert from the maste

DEBUG - analysing core dumps

2011-05-25 Thread Damien Fleuriot
Hello list, We've got these boxes at work running FreeBSD 8.1-STABLE amd64 and serving as firewalls and openvpn gateways. We use CARP interfaces to provide an active-passive fault tolerant system. Today, we received a nagios alert from the master box saying it's rsyslogd process had crashed.

Re: NFS mount inside jail fails

2011-05-25 Thread Doug Ambrisko
Alexander Leidinger writes: | Quoting Doug Ambrisko (from Thu, 19 May 2011 | 14:38:40 -0700 (PDT)): | | > Alexander Leidinger writes: | > | On Thu, 19 May 2011 10:24:59 -0700 (PDT) Doug Ambrisko | > | wrote: | > | | > | > doesn't have access to it anymore either. Running an X server in a | >

Linking STAGE 2 boot, directly to the kernel (skipping loader)

2011-05-25 Thread rank1seeker
After I do it via /boot.config, it fails, with an error: "Invalid format", in cases when: a) kernel is gzip-ed b) kernel has statically compiled md root, which was gzip-ed, before being embedded into kernel c) kernel has statically compiled md root, which was uzip-ed, before being embedded into