octave-1.90 - Signal problems

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

octave-1.90 - Signal problems

Matthias Roessler


--------
Bug report for Octave 1.90 configured for sparc-sun-solaris2.5.1

Description:
-----------

starting octave
command "help" with default_pager=less or more
type "q" to exit less (help)
 
octave hangs in signal handler routines (?)
 
"CTRL-\" is needed to kill octave
 
This is what truss reports:

22474:  write(1, "1B [ 7 m - - M o r e - -", 12)        = 12
22474:  write(1, "1B [ m", 3)                           = 3
22470:  waitid(P_PID, 22472, 0xEFFFEA68, WEXITED|WTRAPPED) (sleeping...)
22472:  waitid(P_PID, 22474, 0xEFFFF598, WEXITED|WTRAPPED|WSTOPPED|WNOWAIT) (sle
eping...)
22474:  read(2, 0xEFFFF4EF, 1)          (sleeping...)
22474:  read(2, " q", 1)                                = 1
22474:  ioctl(2, TCSETAF, 0x000310D0)                   = 0
22474:  write(1, "\r1B [ K", 4)                         = 4
22474:  _exit(0)
22472:      Received signal #18, SIGCLD, in waitid() [default]
22472:        siginfo: SIGCLD CLD_EXITED pid=22474 status=0x0000
22472:  waitid(P_PID, 22474, 0xEFFFF598, WEXITED|WTRAPPED|WSTOPPED|WNOWAIT) = 0
22472:  ioctl(0, TIOCGPGRP, 0xEFFFF554)                 Err#22 EINVAL
22472:  getpgid(22474)                                  = 22470
22472:  ioctl(0, TIOCGPGRP, 0xEFFFF554)                 Err#22 EINVAL
22472:  waitid(P_PID, 22474, 0xEFFFF598, WEXITED|WTRAPPED|WSTOPPED) = 0
22472:  lseek(0, 0, SEEK_CUR)                           Err#29 ESPIPE
22472:  _exit(0)
22470:      Received signal #18, SIGCLD, in waitid() [caught]
22470:        siginfo: SIGCLD CLD_EXITED pid=22472 status=0x0000
22470:  waitid(P_PID, 22472, 0xEFFFEA68, WEXITED|WTRAPPED) Err#4 EINTR
22470:  sigaction(SIGCLD, 0xEFFFE548, 0xEFFFE5C8)       = 0
22470:  setcontext(0xEFFFE750)
22470:      Received signal #18, SIGCLD [caught]
22470:  sigaction(SIGCLD, 0xEFFFE548, 0xEFFFE5C8)       = 0
22470:  setcontext(0xEFFFE750)
22470:      Received signal #18, SIGCLD [caught]
22470:  sigaction(SIGCLD, 0xEFFFE548, 0xEFFFE5C8)       = 0
22470:  setcontext(0xEFFFE750)
22470:      Received signal #18, SIGCLD [caught]
22470:  sigaction(SIGCLD, 0xEFFFE548, 0xEFFFE5C8)       = 0
22470:  setcontext(0xEFFFE750)
22470:      Received signal #18, SIGCLD [caught]
22470:  sigaction(SIGCLD, 0xEFFFE548, 0xEFFFE5C8)       = 0
22470:  setcontext(0xEFFFE750)
 
and so on...

Repeat-By:
---------

see description

Fix:
---

???? help me please

Configuration (please do not edit this section):
-----------------------------------------------

uname output:     SunOS faui40i 5.5.1 Generic_103640-02 sun4u sparc SUNW,Ultra-1
configure opts:   --prefix=/local/octave-1.2 --verbose
Fortran compiler: f77
FFLAGS:           -O
F2C:              
F2CFLAGS:        
FLIBS:            -Xlinker -R -Xlinker /opt/SUNWspro/lib   -L /opt/SUNWspro/lib -L /opt/SUNWspro/SC4.0/lib -L /usr/ccs/lib -L /usr/lib /opt/SUNWspro/SC4.0/lib/libM77.a -lF77 -lsunmath -lcx
CPPFLAGS:        
INCFLAGS:         -I/local/octave-1.2/include -I/local/octave-1.2/include/octave-1.90
C compiler:       gcc, version 2.7.2
CFLAGS:           -DHAVE_CONFIG_H  -g -O -Wall
CPICFLAG:         -fPIC
C++ compiler:     c++, version 2.7.2
CXXFLAGS:         -DHAVE_CONFIG_H  -fno-implicit-templates  -g -O -Wall
CXXPICFLAG:       -fPIC
LDFLAGS:          -g
LIBFLAGS:         -L/local/octave-1.2/lib
RLD_FLAG:         -Xlinker -R -Xlinker /local/octave-1.2/lib
CXXLIBS:          -lstdc++ -lm -L/local/GNU/gcc-2.7.2/lib/gcc-lib/sparc-sun-solaris2.4/2.7.2 -L/usr/ccs/bin -L/usr/ccs/lib -L/local/GNU/gcc-2.7.2/lib -lstdc++ -lm -lgcc -lc -lgcc
TERMLIBS:         -ltermcap
LIBS:            
LEXLIB:          
LIBPLPLOT:        
LIBDLFCN:        
DEFS:

  -DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=":" -DUSE_GNU_INFO=1
  -DUSE_READLINE=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4
  -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DF77_APPEND_UNDERSCORE=1
  -DSTDC_HEADERS=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1
  -DHAVE_SYS_WAIT_H=1 -DHAVE_ASSERT_H=1 -DHAVE_CURSES_H=1
  -DHAVE_FCNTL_H=1 -DHAVE_FLOAT_H=1 -DHAVE_FLOATINGPOINT_H=1
  -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PWD_H=1 -DHAVE_SGTTY_H=1
  -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_PARAM_H=1
  -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_STAT_H=1
  -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_TIMES_H=1 -DHAVE_SYS_TYPES_H=1
  -DHAVE_SYS_UTSNAME_H=1 -DHAVE_TERMIO_H=1 -DHAVE_TERMIOS_H=1
  -DHAVE_UNISTD_H=1 -DHAVE_VARARGS_H=1 -DNPSOL_MISSING=1
  -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DHAVE_ATEXIT=1 -DHAVE_BCOPY=1
  -DHAVE_BZERO=1 -DHAVE_DUP2=1 -DHAVE_EXECVP=1 -DHAVE_FCNTL=1
  -DHAVE_FORK=1 -DHAVE_GETCWD=1 -DHAVE_GETHOSTNAME=1 -DHAVE_GETPGRP=1
  -DHAVE_GETPID=1 -DHAVE_GETPPID=1 -DHAVE_LSTAT=1 -DHAVE_MEMMOVE=1
  -DHAVE_MKDIR=1 -DHAVE_MKFIFO=1