From bug-octave-request at bevo dot che dot wisc dot edu Wed Nov 11 12:49:35 1998 Subject: eig() produces octave-core on symmetric matrices From: Dirk Eddelbuettel To: Enrico Cavalli , bug-octave@bevo.che.wisc.edu Date: Wed, 11 Nov 1998 13:49:31 -0500 (EST) Enrico, Enrico> eig() produces octave-core on symmetric matrices Enrico> Enrico> Bug report for Octave 2.0.13 configured for i386-pc-linux-gnu Enrico> Enrico> Description: ----------- Enrico> Enrico> I use octave-2.0.13_4.deb, coming with my Debian 2.0 distribution Enrico> Enrico> Repeat-By: --------- Enrico> Enrico> eig(your_favourite_simmetric_even_diagonal_matrix) Thanks for the report. The bug does indeed exist in Debian 2.0, and it is a bit difficult to get rid off within Debian 2.0. To fix the bug, we needed to recompile Octave with a newer C++ compiler. For you, it means that you need to install at least a newer C++ lib (used by that compiler). In the Debian Bug Tracking System, the problem was reported as "Bug#26776: octave failure when using eig", and a similar report was "Bug#27110: octave: Dies with segmentation fault" (when using root()). I closed both Debian bug reports when I uploaded the Debian package 2.0.13-6, which uses a newer C++ library than 2.0.13-4 (concretely: it was recompiled under egcs_2.91.57 and libstdc++_2.91.57). Further, as 2.0.13-6 was released into Debian pre2.1, it has by now been replaced with newer versions of Octave which I packaged since 2.0.13.92-1. For you, the problem is that I built them on a system which is further from a plain Debian 2.0 system. Concretely, to install the prebuilt Octave, you will need sonny:~ [root] # dpkg -l libc6 libncurses4 libstdc++2.9 Desired=Unknown/Install/Remove/Purge | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===============-==============-============================================ ii libc6 2.0.7u-4 The GNU C library version 2 (run-time files) ii libncurses4 4.2-2 Shared libraries for terminal handling ii libstdc++2.9 2.91.57-5 The GNU stdc++ library (egcs version) You can install all of these (plus the libs they depend on: in this case a newer libc5 than in Debian 2.0, and libpthread) "by hand". I can assist with this if you want. Alternatively, you could replace the egcc/g77/g++ packages on your computer, and recompile Octave there. I can help you with this as well if you want. Sorry that both alternatives are a bid tedious. Maybe I should have kept 2.0.13-6 around a little longer, but I didn't. If all else fails, I can reproduce 2.0.13-6 on a 'hamm + egcs_2.91.57' system for you. Hope this helps, let me know if I can be of further assistance. Regards, Dirk -- Linux is not only free; it is, arguably, a better operating system, offering a degree of stability and an ability to scale up that NT cannot match. -- The Economist, Oct 3, 1998