Re: Core dump with tip (ucom0 -> external modem)

From: Mike Hunter (mhunter_at_ack.Berkeley.EDU)
Date: 04/27/04

  • Next message: Mike Hunter: "Re: Core dump with tip (ucom0 -> external modem)"
    Date: Mon, 26 Apr 2004 22:11:03 -0700
    To: "Daniel O'Connor" <doconnor@gsoft.com.au>
    
    

    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
    _______________________________________________
    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"


  • Next message: Mike Hunter: "Re: Core dump with tip (ucom0 -> external modem)"

    Relevant Pages

    • While runsocks telnet٬core dumped
      ... I checked the log and gdb the core file, ... Reading symbols from /usr/lib/libutil.so.3...(no debugging symbols ... Loaded symbols for /usr/lib/libutil.so.3 ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Tcl Thread
      ... stuck for at least 5-7 minutes before I ran strace and gdb. ... Reading symbols from /usr/lib/libtcl8.5.so...(no debugging symbols ... Loaded symbols for /usr/lib/libtcl8.5.so ...
      (comp.lang.tcl)
    • Re: Tcl Thread
      ... stuck for at least 5-7 minutes before I ran strace and gdb. ... Reading symbols from /usr/lib/libtcl8.5.so...(no debugging symbols ... Loaded symbols for /usr/lib/libtcl8.5.so ...
      (comp.lang.tcl)
    • completely stopped work wm
      ... GNU gdb 6.1.1 ... GDB is free software, covered by the GNU General Public License, and you are ... Loaded symbols for /lib/libcrypto.so.5 ... compositeproto-0.4 Composite extension headers ...
      (freebsd-current)
    • BETA3 Python (Danjgo) libthr crash
      ... I get the following crash when running the Django development server (non ... GDB is free software, covered by the GNU General Public License, and you are ... Reading symbols from /lib/libutil.so.7...done. ... Loaded symbols for /lib/libutil.so.7 ...
      (freebsd-current)