bugGNU Octave - Bugs: bug #41477, \n in ylabel causes X to log me out

 
 

bug #41477: \n in ylabel causes X to log me out

Submitter:  None
Submitted:  Thu 06 Feb 2014 03:38:14 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Works For Me Assigned to:  None
Originator Name:  Robert Jenssen Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.0
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 03 Mar 2014 05:59:31 PM UTC, comment #2: 

Can't reproduce too. Works fine, even twice times.

  Linux x121e 3.13.5-1-ARCH #1 SMP PREEMPT Sun Feb 23 00:25:24 CET 2014 x86_64 GNU/Linux

Markus Bergholz <markuman>
Sat 08 Feb 2014 04:35:17 AM UTC, comment #1: 

Works for me on Kubuntu 12.04 with x86_64 architecture.

Rik <rik5>
Group administrator
Thu 06 Feb 2014 03:38:14 AM UTC, original submission:  

Running the following script twice at an Octave prompt causes X to log me out:


clear all
more off

force_X_logout = true

n=1024;
ntl=31;
ntu=n-ntl;
w=(ntl:ntu)'*pi/n;
td=5.5;
Pd=-w*td;
A0=w*4;
P0=0.01*sin(8*w);
subplot(211),plot(w*0.5/pi,A0);
s=sprintf("Initial response : td=%g",td);
subplot(211),title(s);
subplot(211),ylabel("Amplitude");
subplot(212),plot(w*0.5/pi,[P0 Pd+w*td]);
subplot(212),xlabel("Frequency");
if force_X_logout
  subplot(212),ylabel("Phase(rad.)\n");
%                                 ^
% The problem occurs if I add this carriage return
% and run this script twice at the Octave prompt.
% The file /var/log/messages shows this message at
% about the time I make my session logout:
%  "xlock: xlock: xio_error"
else
  subplot(212),ylabel("Phase(rad.)");
endif


My OS is:

3.12.9-301.fc20.x86_64 #1 SMP Wed Jan 29 15:56:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by markuman (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-03-03 rik5 Open/ClosedOpen Closed
        Summary\\n in ylabel causes X to log me out \n in ylabel causes X to log me out
    2014-02-08 rik5 StatusNone Works For Me
        Summary\\n in ylabel causes X to log me out \n in ylabel causes X to log me out

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code