[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: Core dump with tip (ucom0 -> external modem)
From: Mike Hunter <mhunter () ack ! Berkeley ! EDU>
Date: 2004-04-27 6:55:46
Message-ID: 20040427065545.GA14636 () ack ! Berkeley ! EDU
[Download RAW message or body]
On Apr 26, "To Daniel O'Connor" wrote:
> > 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)
I went and built tip with debugging symbols...
(gdb) set args -9600 33230
(gdb) run
Starting program: /usr/src/usr.bin/tip/tip/tip -9600 33230
Stale lock on ucom0 PID=6696... overriding.
Program received signal SIGSEGV, Segmentation fault.
0x08049cd7 in connect () at acu.c:110
110 if (*cp != '\0')
(gdb) bt 10
#0 0x08049cd7 in connect () at acu.c:110
#1 0x0804d4bd in main (argc=1, argv=0xbfbfec48) at tip.c:202
#2 0x08049a42 in _start ()
(gdb)
checking for cp != NULL fixes the seg fault, but it still hangs for
me...sigh.
Mike
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic