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

From: Daniel O'Connor (doconnor_at_gsoft.com.au)
Date: 04/27/04

  • Next message: Brian O'Shea: "Re: problem with gdb"
    To: freebsd-hackers@freebsd.org
    Date: Tue, 27 Apr 2004 10:44:04 +0930
    
    

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    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.

    BTW for this sort of thing I use expect and kermit..

    - --
    Daniel O'Connor software and network engineer
    for Genesis Software - http://www.gsoft.com.au
    "The nice thing about standards is that there
    are so many of them to choose from."
      -- Andrew Tanenbaum
    GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (FreeBSD)

    iD8DBQFAjbPi5ZPcIHs/zowRAtv7AJwLc2wlgBpf/rIiTjO/biYHyM8ERwCfWwvt
    1H4t3oxS6BqpR736xOtSGas=
    =lfjn
    -----END PGP SIGNATURE-----
    _______________________________________________
    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: Brian O'Shea: "Re: problem with gdb"