From bug-octave-request Mon Jun 14 18:05:31 1993 Subject: Bug in octave-0.72 (on i486-sysv4) From: glenn at physics dot su dot OZ dot AU (Glenn Geers) To: bug-octave Date: Tue, 15 Jun 93 9:04:47 EST Hi, I've found a problem with octave on i486-sysv4 compiled with gcc-2.4.3 and libg++-2.3.1. Here is a minimal example... ############################################ Script started on Mon Jun 14 18:45:38 1993 root:/tmp# octave Octave, version 0.72. Copyright (C) 1992, 1993, John W. Eaton. This is free software with ABSOLUTELY NO WARRANTY. For details, type `warranty'. octave:1> quit error: caught SIGSEGV -- stopping myself... DLList Error: null Pix error: caught SIGIOT -- stopping myself... DLList Error: null Pix Memory fault(coredump) root:/tmp# script done on Mon Jun 14 18:45:48 1993 ############################################# I've tracked this down a little (debugging symbols for g++ are not available on SVR4) and the problem is related to close_files() in file-io.cc. A quick work around is to comment out the call to close_files() in clean_up_and_exit() in octave.cc. The typewriter() function also causes the system to die on a call to panic_impossible()---I neglected to note the details :-( I'll check it tonight. The problem also shows up with libg++-2.3.90 (i.e. libg++-2.4 alpha). Cheers, Glenn