From bug-octave-request at bevo dot che dot wisc dot edu Tue Sep 12 08:51:43 1995 Subject: Mysterious crash From: Eyal Doron To: bug-octave at che dot utexas dot edu Date: Tue, 12 Sep 1995 14:14:32 +0200 Bug report for Octave 1.1.1 configured for alpha-dec-osf1.3 Description: ----------- Octave crashes after assignments of zeros into a complex vector. Repeat-By: --------- goofy:annular> octave Octave, version 1.1.1. Copyright (C) 1992, 1993, 1994, 1995 John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. octave:1> alph=rand(197,1)+I*rand(197,1);alph(198-(1:8))=zeros(8,1); octave:2> beta=abs(alph); error: Floating point exception -- stopping myself... Fix: --- ?????????????????? Configuration (please do not edit this section): ----------------------------------------------- uname output: OSF1 goofy.mpi-hd.mpg.de V3.0 347 alpha Fortran compiler: f77 FFLAGS: -O F2C: F2CFLAGS: FLIBS: -lUfor -lfor -lFutil -lots C compiler: gcc CFLAGS: -DHAVE_CONFIG_H -O C++ compiler: c++ CXXFLAGS: -DHAVE_CONFIG_H -fno-implicit-templates -O LDFLAGS: -static DEFS: -DOCTAVE_SOURCE=1 -DSEPCHAR=':' -DSEPCHAR_STR=: -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DHAVE_STRFTIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=8 -DIEEE_LITTLE_ENDIAN=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DF77_APPEND_UNDERSCORE=1 -DSTDC_HEADERS=1 -DHAVE_ASSERT_H=1 -DHAVE_FLOAT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_MEMORY_H=1 -DHAVE_PWD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_VARARGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_UTSNAME_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_FCNTL_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_DIRENT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SGTTY_H=1 -DHAVE_SETVBUF=1 -DHAVE_GETCWD=1 -DHAVE_GETHOSTNAME=1 -DHAVE_BZERO=1 -DHAVE_BCOPY=1 -DHAVE_RINDEX=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRNCASECMP=1 -DHAVE_STRERROR=1 -DHAVE_ATEXIT=1 -DHAVE_TEMPNAM=1 -DHAVE_MEMMOVE=1 -DHAVE_PUTENV=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_GETRUSAGE=1 -DHAVE_LIBM=1 -DHAVE_ACOSH=1 -DHAVE_ASINH=1 -DHAVE_ATANH=1 -DHAVE_ERF=1 -DHAVE_ERFC=1 -DHAVE_LGAMMA=1 -DSIGNGAM_DECLARED=1 -DEXCEPTION_IN_MATH=1 -DRETSIGTYPE=void -DHAVE_SYS_SIGLIST=1 User-preferences (please do not edit this section): -------------------------------------------------- EDITOR = "nemacs" IMAGEPATH = ".:/usr/local/lib/octave/1.1.1/imagelib//" INFO_FILE = "/us1/octave/info/octave.info" LOADPATH = ".:~/mat//:~frischat/smat/:" OCTAVE_VERSION = "1.1.1" PAGER = "less -e" PS1 = "\\s:\\#> " PS2 = "> " automatic_replot = "true" whitespace_in_literal_matrix = "traditional" default_save_format = "mat-binary" do_fortran_indexing = "true" empty_list_elements_ok = "true" eps = 2.22045e-16 gnuplot_binary = "gnuplot" ignore_function_time_stamp = "system" implicit_str_to_num_ok = "true" ok_to_lose_imaginary_part = "warn" output_max_field_width = 10 output_precision = 5 page_screen_output = "true" prefer_column_vectors = "true" prefer_zero_one_indexing = "true" print_answer_id_name = "true" print_empty_dimensions = "true" propagate_empty_matrices = "true" resize_on_range_error = "true" return_last_computed_value = "false" save_precision = 17 silent_functions = "false" split_long_rows = "true" treat_neg_dim_as_zero = "true" warn_assign_as_truth_value = "true" warn_comma_in_global_decl = "true" warn_divide_by_zero = "true"