segmentation fault on ttyS1 with digitizer

segmentation fault on ttyS1 with digitizer

Post by Christian Kernba » Tue, 02 Dec 1997 04:00:00



Hi everybody,

I have problems to initialize my digitizer on dev/ttys1 via the GRASS
program v.digit. Sometimes it works but only 1 of 100 attempts. Once it
works no problems appears anymore.
Perhaps somebody can help me.

At the bottom of this message I put the end of strace. What means
gettimeofday?

thanks a lot in advance,

Christian


.........
sigaction(SIGINT, {SIG_IGN}, {SIG_IGN}) = 0
sigaction(SIGQUIT, {SIG_IGN}, {SIG_IGN}) = 0
write(7, "\177,/usr/local/grass4.1.5/fonts"..., 37) = 37
read(8, "\0\0\0\0", 4)                  = 4
write(1, "\n", 1)                       = 1
write(1, "|Shall we continue? [y] ", 24) = 24
read(0, "\r", 4096)                     = 1
open("/usr/local/grass4.1.5/etc/digitizers/cc95f5_16", O_RDONLY) = 9
read(9, "# Calcomp 9500 digitizer, ASCII "..., 1024) = 704
read(9, "", 1024)                       = 0
close(9)                                = 0
open("/dev/ttyS1", O_RDWR)              = 9
ioctl(9, TCGETA, {B9600 -opost -isig -icanon -echo ...}) = 0
ioctl(9, TCSETAF, {B9600 -opost -isig -icanon -echo ...}) = 0
gettimeofday({880050929, 359393}, {4294967236, 1}) = 0
gettimeofday({880050929, 359786}, {4294967236, 1}) = 0
gettimeofday({880050929, 360143}, {4294967236, 1}) = 0
gettimeofday({880050929, 360500}, {4294967236, 1}) = 0
gettimeofday({880050929, 360857}, {4294967236, 1}) = 0
gettimeofday({880050929, 361214}, {4294967236, 1}) = 0
gettimeofday({880050929, 361572}, {4294967236, 1}) = 0

.........  

sigaction(SIGALRM, {SIG_DFL}, {0x800dc20, [],
SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}) = 0
sigaction(SIGALRM, {0x800dc20, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT},
{SIG_DFL}) = 0
alarm(2)                                = 0
read(9, "889,ARU\r", 396)               = 8
alarm(0)                                = 2
sigaction(SIGALRM, {SIG_DFL}, {0x800dc20, [],
SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}) = 0
gettimeofday({880050929, 655635}, {4294967236, 1}) = 0
write(9, "!\r", 2)                      = 2
gettimeofday({880050929, 656374}, {4294967236, 1}) = 0
gettimeofday({880050929, 656734}, {4294967236, 1}) = 0
gettimeofday({880050929, 657092}, {4294967236, 1}) = 0
gettimeofday({880050929, 657488}, {4294967236, 1}) = 0
gettimeofday({880050929, 657849}, {4294967236, 1}) = 0
gettimeofday({880050929, 658206}, {4294967236, 1}) = 0
gettimeofday({880050929, 658565}, {4294967236, 1}) = 0
gettimeofday({880050929, 658923}, {4294967236, 1}) = 0
gettimeofday({880050929, 659281}, {4294967236, 1}) = 0
gettimeofday({880050929, 659640}, {4294967236, 1}) = 0
gettimeofday({880050929, 659998}, {4294967236, 1}) = 0
gettimeofday({880050929, 660356}, {4294967236, 1}) = 0
gettimeofday({880050929, 660715}, {4294967236, 1}) = 0
gettimeofday({880050929, 661073}, {4294967236, 1}) = 0
gettimeofday({880050929, 661431}, {4294967236, 1}) = 0
gettimeofday({880050929, 661790}, {4294967236, 1}) = 0
gettimeofday({880050929, 662148}, {4294967236, 1}) = 0
sigaction(SIGALRM, {0x800dc20, [], SA_INTERRUPT|SA_NOMASK|SA_ONESHOT},
{SIG_DFL}) = 0
alarm(2)                                = 0
read(9, "16535,13889,ARU\r", 388)       = 16
alarm(0)                                = 2
sigaction(SIGALRM, {SIG_DFL}, {0x800dc20, [],
SA_INTERRUPT|SA_NOMASK|SA_ONESHOT}) = 0
gettimeofday({880050929, 675710}, {4294967236, 1}) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++