Your message dated Mon, 13 Jul 2020 12:24:43 +0200
with message-id <[email protected]>
and subject line Re: Bug#801128: octave: hangs with plotz() in xfce4?
has caused the Debian Bug report #801128,
regarding octave: hangs with plotz() in xfce4?
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
801128: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=801128
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: octave
Version: 4.0.0-4+b1
Severity: normal
Dear Maintainer,
thanks for your work in octave for debian :-)
I'm using it to perform some basic exercises for the university.
When executing a file (attached, lab1_1.m) via octave-cli two plot windows are
created, but then both
windows hangs and the terminal hangs as well.
My desktop is XFCE4 and I suspect that my old graphic cards may be part of the
cause...
Graphic card (from lscpi):
01:00.0 VGA compatible controller: NVIDIA Corporation G72 [GeForce 7300 LE]
(rev a1) (prog-if 00 [VGA controller])
Flags: bus master, fast devsel, latency 0, IRQ 29
Memory at 91000000 (32-bit, non-prefetchable) [size=16M]
Memory at 80000000 (64-bit, prefetchable) [size=256M]
Memory at 90000000 (64-bit, non-prefetchable) [size=16M]
Expansion ROM at <ignored> [disabled]
Capabilities: <access denied>
Kernel driver in use: nouveau
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.1.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.utf8, LC_CTYPE=es_ES.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages octave depends on:
ii libamd2.3.1 1:4.2.1-3
ii libarpack2 3.1.5-3
ii libasound2 1.0.29-1
ii libblas3 [libblas.so.3] 1.2.20110419-10
ii libc6 2.19-22
ii libcamd2.3.1 1:4.2.1-3
ii libccolamd2.8.0 1:4.2.1-3
ii libcholmod2.1.2 1:4.2.1-3
ii libcolamd2.8.0 1:4.2.1-3
ii libcxsparse3.1.2 1:4.2.1-3
ii libfftw3-double3 3.3.4-2
ii libfftw3-single3 3.3.4-2
ii libfltk-gl1.3 1.3.3-4
ii libfltk1.3 1.3.3-4
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.6-2
ii libgcc1 1:5.2.1-17
ii libgl1-mesa-glx [libgl1] 10.6.8-1
ii libglpk36 4.55-1
ii libglu1-mesa [libglu1] 9.0.0-2.1
ii libgomp1 5.2.1-17
ii libgraphicsmagick++-q16-11 1.3.21-4
ii libgraphicsmagick-q16-3 1.3.21-4
ii liblapack3 [liblapack.so.3] 3.5.0-4
ii liboctave3v5 4.0.0-4+b1
ii libopenblas-base [liblapack.so.3] 0.2.14-1
ii libosmesa6 10.6.8-1
ii libportaudio2 19+svn20140130-1
ii libqhull6 2012.1-5
ii libqrupdate1 1.1.2-1
ii libqscintilla2-12v5 2.9+dfsg-9
ii libqt4-network 4:4.8.7+dfsg-3
ii libqt4-opengl 4:4.8.7+dfsg-3
ii libqtcore4 4:4.8.7+dfsg-3
ii libqtgui4 4:4.8.7+dfsg-3
ii libsndfile1 1.0.25-9.1
ii libstdc++6 5.2.1-17
ii libumfpack5.6.2 1:4.2.1-3
ii libx11-6 2:1.6.3-1
ii octave-common 4.0.0-4
ii texinfo 6.0.0.dfsg.1-3
Versions of packages octave recommends:
ii default-jre-headless 2:1.7-52
ii gnuplot-x11 4.6.6-3
ii libopenblas-base 0.2.14-1
ii octave-info 4.0.0-4
ii pstoedit 3.62-2+b4
Versions of packages octave suggests:
pn octave-doc <none>
pn octave-htmldoc <none>
-- no debconf information
%----------------------------------------------------
% LABORATORIO 1
% Números Complejos
%
%Autor: Alberto J. Molina
%Fecha: 7-13
%Versión:1
%Modificaciones a la versión anterior: Ninguna
%----------------------------------------------------
close all
clear all
clc
%----------------------------------------------------
% Ficheros utilizados en este apartado
% lab1.m [m]
% potenciaz.m [c]
%
% [c] A completar por el alumno
% [m] A modificar por el alumno
%
%----------------------------------------------------
%----------------------------------------------------------------------
% En esta primera parte se trata de visualizar
% el recorrido que realiza un número complejo z^n
% cuando n va incrementándose. Podrá observar
% varias gráficas. En una de ellas se mostrará el plano complejo
% y la trayectoria que sigue el vector z^n en el. En dicho
% plano complejo se muestra el círculo unidad, que determina
% si en una serie del tipo z^n ésta será convergente (si z está
% encerrado por el círculo unidad), divergente (si no lo está)
% o alternante (si coincide sobre la misma circunferencia).
%
% El alumno deberá completar la función potenciaz.m y después
% modificar las partes de este programa que se indican y ejecutar
% el programa. Deberá avisar a su profesor de prácticas cuando
% se hayan realizado todas las pruebas.
%----------------------------------------------------------------------
%-----------------------------------------------------------------------
% El alumno deberá probar su función con los siguientes números
% complejos
%
% 0.73+0.53i
% 1.05 e^(i pi/10)
% cos(pi/4)+isen(pi/4)
%
% OJO: Los números complejos anteriores no tiene por qué estar en formato
Octave.
% Deberá escribirlos correctamente
%-----------------------------------------------------------------------
N= 40;
z = 0.73+0.53i; % A MODIFICAR POR EL ALUMNO
potz = potenciaz(z,N); %Esta es la función que deberá completar
%-------------------------------------------------------------------------
% Mostramos los 10 primeros valores en la consola
%-------------------------------------------------------------------------
printf('\n\n Los primeros 10 valores de z^n \n\n');
for n=1:10
printf(' n=%d, z^n = %f + i%f \n',n-1,real(potz(n)),
imag(potz(n)));
end
fprintf('\n\n');
%--------------------------------------------------------------------------
% Representación de resultados
%--------------------------------------------------------------------------
figure();
subplot(2,1,1);
stem(0:N-1,abs(potz))
grid on;
ylabel('|z^n|','fontsize',18 );
subplot(2,1,2);
stem(0:N-1,angle(potz));
xlabel('n', 'fontsize',18);
grid on;
ylabel( 'Fase \times \pi','fontsize',18 );
figure();
plot(real(potz),imag(potz),'o-');
grid on;
for n=1:100
xc(n)=cos(2*pi*n/100);
yc(n)=sin(2*pi*n/100);
end
hold on
plot(xc,yc,'-.c');
hold off
axis([-2 2 -2 2]);
line([-2 2], [0 0]);
line([0 0], [-2 2]);
text(1.5,0.1,'Re','fontsize',14);
text(0.1,1.5,'Im','fontsize',14);
for n=1:5
text(real(potz(n)),imag(potz(n)),strcat(' z^',mat2str(n-1,1)));
end
%----------------------------------------------------
% LABORATORIO 1
% Números Complejos
%
%Autor: Alberto J. Molina
%Fecha: 7-13
%Versión:1
%Modificaciones a la versión anterior: Ninguna
%----------------------------------------------------
function y = potenciaz (z, N) ;
%---------------------------------------------------
% function y = potenciaz (z, N) ;
%
% Argumentos de entrada ( <- ):
% z : Número complejo de entrada
% N : Número de iteraciones
% Salida de la función ( -> )
% y : Vector columna que contiene z^0, z^1, z^2, z^3,---z^{N-1}
%
% OJO: El primer elemento de un vector es y(1) NUNCA y(0)
%---------------------------------------------------
y = zeros(N,1); %Vector columna de tamaño Nx1 inicializado a 0
%-----------------------------------------------------
% A COMPLETAR POR EL ALUMNO
%
% Deberá realizar un bucle for ... end que calcule
% el elemento y(n) = z^n del vector de salida. Recuerde
% que el primer elemento de la tabla es el elemento 1 (no el 0)
%----------------------------------------------------
for i = 1:N
y(i) = z^i;
endfor
endfunction
--- End Message ---
--- Begin Message ---
Le vendredi 01 janvier 2016 à 16:55 +0100, Rafael Laboissiere a écrit :
> * Mike Miller <[email protected]> [2015-10-07 08:56]:
> > On Tue, Oct 06, 2015 at 17:03:16 +0200, Arturo Borrero Gonzalez wrote:
> >
> > > When executing a file (attached, lab1_1.m) via octave-cli two plot
> > > windows are created, but then both windows hangs and the terminal
> > > hangs as well.
> > >
> > > My desktop is XFCE4 and I suspect that my old graphic cards may be
> > > part of the cause...
> >
> > Could be. I am able to run the attached and do not experience a freeze.
> >
> > Can you try another of
> >
> > graphics_toolkit gnuplot
> > graphics_toolkit fltk
> >
> > The default with 4.0 is "qt". Both "fltk" and "qt" use OpenGL, "gnuplot"
> > does not and may give you better results.
> >
> > Are you running Octave from within Emacs or Qtoctave or anything other
> > than a standard terminal emulator? Are you running the file as a script
> > argument to Octave (e.g. octave-cli lab1_1.m) or are you running the
> > script as a command at the Octave interpreter's command line?
>
> I am hereby tagging this bug report "unreproducible" and "moreinfo". It
> looks like the bug is caused by a very specific setup on the reporter's
> side.
Closing this bug, since no new information has been added in the last 4
years.
--
⢀⣴⠾⠻⢶⣦⠀ Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁ Debian Developer
⢿⡄⠘⠷⠚⠋⠀ https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀ https://www.debian.org
signature.asc
Description: This is a digitally signed message part
--- End Message ---