From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 26 22:12:37 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3904516A4CE for ; Mon, 26 Apr 2004 22:12:37 -0700 (PDT) Received: from ack.Berkeley.EDU (ack.berkeley.edu [128.32.206.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D2AD43D31 for ; Mon, 26 Apr 2004 22:12:37 -0700 (PDT) (envelope-from mhunter@ack.Berkeley.EDU) Received: (from mhunter@localhost) by ack.Berkeley.EDU (8.11.3/8.11.3) id i3R5B3d09493; Mon, 26 Apr 2004 22:11:03 -0700 (PDT) Date: Mon, 26 Apr 2004 22:11:03 -0700 From: Mike Hunter To: "Daniel O'Connor" Message-ID: <20040427051102.GA7662@ack.Berkeley.EDU> References: <20040426173848.GA24490@ack.Berkeley.EDU> <200404271044.11474.doconnor@gsoft.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404271044.11474.doconnor@gsoft.com.au> User-Agent: Mutt/1.5.6i cc: freebsd-hackers@freebsd.org Subject: Re: Core dump with tip (ucom0 -> external modem) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Apr 2004 05:12:37 -0000 On Apr 27, "Daniel O'Connor" wrote: > -----BEGIN PGP SIGNED MESSAGE----- > On Tue, 27 Apr 2004 03:08, Mike Hunter wrote: > > tip -115200 23645 > > Segmentation fault (core dumped) > > > > Same result with -57600, -9600 and with cu syntax > > > > I have an entry for the usb serial device: > > > > usb1:dv=/dev/ucom0:br#9600:pa=none: > > > > And if I say > > > > tip usb1 > > > > I can issue dialer commands and it works. > > > > The ultimate goal here is having somebody be able to run a shell-script > > named "dial-funkybox" and have it dial and connect them. > > > > Sorry if I left out something important. Any thoughts? > > Can you generate a back trace from the coredump? > > gdb `which tip` tip.core > > then bt at the gdb prompt. Thanks for taking a look at it. GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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 certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... Core was generated by `tip'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.5 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)... done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x08049bd2 in connect () (gdb) bt #0 0x08049bd2 in connect () #1 0x0804d055 in send () #2 0x08049942 in sigprocmask () (gdb) Any way I can get more info for you? > BTW for this sort of thing I use expect and kermit.. I started toying around with kermit when I was getting to depressed with tip...I'll give it more of a shot tomorrow. Mike