From owner-help-octave at bevo dot che dot wisc dot edu Fri Feb 7 23:15:46 1997 Subject: segmentation fault From: blair at hoodlum dot dseg dot ti dot com (arthur blair) To: help-octave at bevo dot che dot wisc dot edu Date: Fri, 7 Feb 97 23:11:57 CST I'm trying to compile 202 for linux. I've upgraded to redhat 4 and went on to install gcc 2.7.2.1 & g77 & all the latest libraries that were on this CD (infomagic dec 96). ./configure --enable-shared and make appear to run & complete just fine now. But the executable crashes with a segmentation fault shortly after displaying the usual startup messages. The las few lines of 'strace octave' are: fstat(1, {st_mode=S_IFREG|0664, st_size=15824, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x404dc000 write(1, "Octave, version 2.0.2 (i586-pc-l"..., 159Octave, version 2.0.2 (i586-pc-linux-gnu). Copyright (C) 1996 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. ) = 159 open("/usr/local/share/octave/site/m/startup/octaverc", O_RDONLY) = 3 brk(0x810e000) = 0x810e000 ioctl(3, TCGETS, 0xbffff408) = -1 ENOTTY (Not a typewriter) fstat(3, {st_mode=S_IFREG|0644, st_size=164, ...}) = 0 mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x404dd000 read(3, "## System-wide startup file for "..., 4096) = 164 --- SIGSEGV (Segmentation fault) --- --- SIGSEGV (Segmentation fault) --- sigaction(SIGABRT, {SIG_DFL}, {0x400cba30, [], 0}) = 0 --- SIGSEGV (Segmentation fault) --- sigaction(SIGABRT, {SIG_DFL}, {SIG_DFL}) = 0 --- SIGSEGV (Segmentation fault) --- those last 2 lines are repeated a few thousand times. Any clues? Suggestions? Whatelse can I do to troubleshoot this? Thanx, Art.