Re: FreeBSD and Debugging?

2004-04-09 Thread Tim Robbins
On Fri, Apr 09, 2004 at 11:11:49PM -0600, Brandon Erhart wrote: [...] > Are there any debuggers out there for BSD that will detect the heap/stack > corruption!? ElectricFence (devel/ElectricFence in the ports collection) detects most kinds of heap corruption, but not stack corruption. It will re

Re: FreeBSD and Debugging?

2004-04-09 Thread Brandon Erhart
Thank you. You are my new god. I had checked out a version of valgrind for BSD (one of the patches) and it failed to compile. Everything seems to be working, except I get this warning at the beginning of the program: "Warning: ignoring --pointercheck=yes, because i386_set_ldt failed (errno=45)"

Re: FreeBSD and Debugging?

2004-04-09 Thread Lev Walkin
Brandon Erhart wrote: For Linux, I've seen valgrind (probably one of the best) as well as several others. In the commercial arena, Rational's PURIFY and Parasoft's INSURE++ work on every OS *but* BSD. Any particular reason for this? Are there any debuggers out there for BSD that will detect the

Re: FreeBSD and Debugging?

2004-04-09 Thread Colin Percival
At 06:11 10/04/2004, Brandon Erhart wrote: >Are there any debuggers out there for BSD that will detect the heap/stack corruption!? Real Men use printf(3). :-) Colin Percival ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinf

FreeBSD and Debugging?

2004-04-09 Thread Brandon Erhart
Hi, I've been writing an application for some time now, and I seem to have introduced some kind of bug that is smashing the stack or the heap *somewhere*. One of my variables (or more) are being changed, and the program relies on this being set to the last time data was read from a socket. It'

Re: MFCs needed in src/sys/sys/cdefs.h

2004-04-09 Thread Garance A Drosehn
At 10:50 PM +0200 4/9/04, Roman Neuhauser wrote: This is an extended version of my previous email to hackers@ which hasn't attracted any attention. This time I'm mailing the authors too. I must have missed the earlier message... Two revisions need MFC in src/sys/sys/cdefs.h: http://www.freebsd.or

/bin/sh bug? munges here-doc eof markers

2004-04-09 Thread Roman Neuhauser
Why does /bin/sh insert 0x81, or 129, or SYNBASE, before every non-word character in here-doc delimiters? It grows 'END-of-vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.am' which is 69 characters, well below EOFMARKLEN (79) to 80 characters. Should I file a PR? [EMAIL PROTECTED] ~/tm

MFCs needed in src/sys/sys/cdefs.h

2004-04-09 Thread Roman Neuhauser
This is an extended version of my previous email to hackers@ which hasn't attracted any attention. This time I'm mailing the authors too. Two revisions need MFC in src/sys/sys/cdefs.h: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/cdefs.h.diff?r1=1.78&r2=1.79 Silences gobs of warnings in jus

Re: Fundraising for FreeBSD development.

2004-04-09 Thread Andrew Boothman
Simon L. Nielsen wrote: I cannot promise exposure on the main FreeBSD Project pages, that would be up to the webmasters (and to some extent the core team) to arrange and allow for such precense. We currently have list of donors both on http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributo

Re: polling for sio?

2004-04-09 Thread Bernd Walter
On Fri, Apr 09, 2004 at 02:01:56PM -0400, Louis A. Mamakos wrote: > > Those cards are just what they are - cheap. > > They have very small FIFOs and they don't use DMA. > > IRQ sharing makes them even worse than traditional ISA stuff. > > My advise for cost efficient and fast serials is getting USB

Re: Fundraising for FreeBSD development.

2004-04-09 Thread Garance A Drosihn
At 5:18 PM -0400 4/8/04, John Von Essen wrote: Hi, Have a few questions for you. Would the fund raising be handled through FreeBSD or direct to you? He has answered that. Funding direct to PHK. Please READ the web page that you quoted from his original message: http://people.freebsd.org/~ph

Re: polling for sio?

2004-04-09 Thread Louis A. Mamakos
> On Thu, Apr 08, 2004 at 12:34:43PM -0600, M. Warner Losh wrote: > > In message: <[EMAIL PROTECTED]> > > Marcel Moolenaar <[EMAIL PROTECTED]> writes: > > : On Wed, Apr 07, 2004 at 03:36:02PM -0700, othermark wrote: > > : > I have a multi-port PCI card under puc and sio that has 4 19200

passing messages to routing sockets

2004-04-09 Thread Vlad GALU
I understand that in order to add a new route to the routing table, one must fill a buffer with an ifa_msghdr header, followed by three socked adddress structures, representing the destination net/ip, the netmask and the gateway. While reading route(4) I encountered this:

Re: Fundraising for FreeBSD development.

2004-04-09 Thread John Von Essen
Hi, Have a few questions for you. Would the fund raising be handled through FreeBSD or direct to you? Are you taking pledges now? I would assume you would gather pledges over the next month to see if can get the USD16500, if you do, then the pledges become real donations, if you dont, then the pl

Re: polling for sio?

2004-04-09 Thread Bernd Walter
On Thu, Apr 08, 2004 at 12:34:43PM -0600, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > Marcel Moolenaar <[EMAIL PROTECTED]> writes: > : On Wed, Apr 07, 2004 at 03:36:02PM -0700, othermark wrote: > : > I have a multi-port PCI card under puc and sio that has 4 19200 > : > con