[Bug 147498] Octave hangs when running some functions