ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: segmentation fault at the end main function

To:
Subject: Re: [ts-7000] Re: segmentation fault at the end main function
From: Morgan Gangwere <>
Date: Mon, 29 Jun 2009 09:42:50 -0600
>
> write(1, "Creating com port\n", 18Creating com port
> )ÂÂÂÂ = 18
> write(1, "Created port OK\n", 16Created port OK
> )ÂÂÂÂÂÂ = 16
> open("/dev/ttyS1", O_RDWR|O_NONBLOCK|O_NOCTTY) = 3
> fcntl64(3, F_SETFL, O_RDONLY)ÂÂÂÂÂÂÂÂÂÂ = 0
> rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
> rt_sigaction(SIGCHLD, NULL, {SIG_DFL}, 8) = 0
> rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
> nanosleep({1, 0}, {1, 0})ÂÂÂÂÂÂÂÂÂÂÂÂÂÂ = 0
> write(1, "COM2 port has been sucessfully o"..., 74COM2 port has been
> sucessfully
> Âopened. Descriptor is: 3Opened com port OK
> ) = 74
> ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo
> ...}
> ) = 0
> ioctl(3, TCFLSH, 0)ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ = 0
> ioctl(3, SNDCTL_TMR_START or TCSETS, {B115200 -opost -isig -icanon -echo
> ...}) =
> Â0
> write(3, "Testing", 7)ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ = 7
> close(3)ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ = 0
> write(1, "Closed com port\n", 16Closed com port
> )ÂÂÂÂÂÂ = 16
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++
>
try riddling a sleep at the end with some trash -- Hisen bugs are fun.


--
Morgan gangwere

"Space does not reflect society, it expresses it." -- Castells, M.,
Space of Flows, Space of Places: Materials for a Theory of Urbanism in
the Information Age, in The Cybercities Reader, S. Graham, Editor.
2004, Routledge: London. p. 82-93.


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
    
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU