From owner-bug-octave at bevo dot che dot wisc dot edu Fri Nov 10 08:51:55 1995 Subject: fatal error with system function From: "John C. Hermanson" To: bug-octave at che dot utexas dot edu Date: Fri, 10 Nov 95 8:47:34 CST To: bug-octave at che dot utexas dot edu Subject: fatal error with system function -------- Bug report for Octave 1.1.0 configured for unknown (Intel pentium with Next 3.3 Installed binaries using sh ./doinstall Description: ----------- I cannot get system function to execute. The following is an example. octave:1> a = system ("echo foo") error: Bus error -- stopping myself... Even the bug_report script doesn't fucntion properly. It uses the system function. I have to copy this to another file to send it. Configuration (please do not edit this section): ----------------------------------------------- uname output: Fortran compiler: FFLAGS: -O C compiler: cc CFLAGS: -DHAVE_CONFIG_H -g -O C++ compiler: gcc CXXFLAGS: -DHAVE_CONFIG_H -g DEFS: -DOCTAVE_SOURCE=1 -DNPSOL_MISSING=1 -DQPSOL_MISSING=1 -DFSQP_MISSING=1 -DHAVE_STRFTIME=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DIEEE_LITTLE_ENDIAN=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_SYS_DIR_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TERMIOS_H=1 -DHAVE_SETVBUF=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_MEMMOVE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_GETRUSAGE=1 -DHAVE_LIBM=1 -DHAVE_FINITE=1 -DHAVE_ISNAN=1 -DHAVE_ISINF=1 -DHAVE_ERF=1 -DHAVE_ERFC=1 -DHAVE_LGAMMA=1 -DRETSIGTYPE=void -DHAVE_SYS_SIGLIST=1 User-preferences (please do not edit this section): -------------------------------------------------- EDITOR = "vi" IMAGEPATH = ".:/usr/local/lib/octave/1.1.0/imagelib//" INFO_FILE = "/usr/local/info/octave.info" LOADPATH = ".:/usr/local/lib/octave/site/oct/unknown//:/usr/local/lib/octave/site/m//:/usr/local/lib/octave/1.1.0/oct/unknown//:/usr/local/lib/octave/1.1.0/m//" OCTAVE_VERSION = "1.1.0" PAGER = "less -e" PS1 = "\\s:\\#> " PS2 = "> " automatic_replot = "false" whitespace_in_literal_matrix = "" default_save_format = "ascii" do_fortran_indexing = "false" empty_list_elements_ok = "warn" eps = 2.22045e-16 gnuplot_binary = "gnuplot" ignore_function_time_stamp = "system" implicit_str_to_num_ok = "false" 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 = "false" 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 = "false" warn_assign_as_truth_value = "true" warn_comma_in_global_decl = "true" warn_divide_by_zero = "true" -------------------------------- Thanks much --> John Hermanson