GNU bug report logs - #18324
plots hang in inferior octave mode

Previous Next

Package: emacs;

Reported by: John Lawrence Aspden <john <at> aspden.com>

Date: Sun, 24 Aug 2014 18:22:02 UTC

Severity: normal

Found in version 24.3.93

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18324 in the body.
You can then email your comments to 18324 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18324; Package emacs. (Sun, 24 Aug 2014 18:22:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to John Lawrence Aspden <john <at> aspden.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 24 Aug 2014 18:22:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: John Lawrence Aspden <john <at> aspden.com>
To: bug-gnu-emacs <at> gnu.org
Subject: plots hang in inferior octave mode
Date: Sun, 24 Aug 2014 13:43:32 +0100
Hi, I'm finding that plot windows freeze running octave in inferior-octave mode

GNU Emacs 24.3.1
GNU Octave, version 3.8.1

Start Emacs
$ emacs -Q

Start an Inferior Octave Process
M-x run-octave

Octave Commands to produce plot
x=1:10
plot(x)

Plot window is frozen. The same commands entered directly into octave
in a terminal or octave started in emacs shell mode work fine.

Thanks, John.


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/24.3/etc/DEBUG.


In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.12.2)
 of 2014-06-06 on barber, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11600000
System Description:	Debian GNU/Linux testing (jessie)

Configured using:
 `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars'
 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
 'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Inferior Octave

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r u n - c o <backspace> <backspace> o c t a v e
<return> x = 1 : 1 0 <return> p l o t ( x ) <return>
<help-echo> <help-echo> <help-echo> <down-mouse-1>
<mouse-1> <up> <down> M-p <return> <help-echo> <help-echo>
<help-echo> <help-echo> M-x r e p o r t - e m a c s
- b u g <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
History item: 1

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils octave-inf comint ansi-color ring octave-mod smie
easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel
x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
newcomment lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty emacs)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18324; Package emacs. (Tue, 26 Aug 2014 23:51:01 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Rüdiger Sonderfeld <ruediger <at> c-plusplus.de>
To: bug-gnu-emacs <at> gnu.org
Cc: John Lawrence Aspden <john <at> aspden.com>, 18324 <at> debbugs.gnu.org
Subject: Re: bug#18324: plots hang in inferior octave mode
Date: Wed, 27 Aug 2014 01:49:58 +0200
Please try the latest octave-mode from Emacs trunk 
http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/lisp/progmodes/octave.el

It has been significantly improved and should include changes for GNU Octave 
3.8.  It should also be backwards compatible to GNU Emacs 24.3.

Regards,
Rüdiger

On Sunday 24 August 2014 13:43:32 John Lawrence Aspden wrote:
> Hi, I'm finding that plot windows freeze running octave in inferior-octave
> mode
> 
> GNU Emacs 24.3.1
> GNU Octave, version 3.8.1
> 
> Start Emacs
> $ emacs -Q
> 
> Start an Inferior Octave Process
> M-x run-octave
> 
> Octave Commands to produce plot
> x=1:10
> plot(x)
> 
> Plot window is frozen. The same commands entered directly into octave
> in a terminal or octave started in emacs shell mode work fine.
> 
> Thanks, John.
> 
> 
> If Emacs crashed, and you have the Emacs process in the gdb debugger,
> please include the output from the following gdb commands:
>     `bt full' and `xbacktrace'.
> For information about debugging Emacs, please read the file
> /usr/share/emacs/24.3/etc/DEBUG.
> 
> 
> In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.12.2)
>  of 2014-06-06 on barber, modified by Debian
> Windowing system distributor `The X.Org Foundation', version 11.0.11600000
> System Description:	Debian GNU/Linux testing (jessie)
> 
> Configured using:
>  `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu'
>  '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
>  '--localstatedir=/var/lib' '--infodir=/usr/share/info'
>  '--mandir=/usr/share/man' '--with-pop=yes'
>  '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3
> /site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:
> /usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu'
> '--with-x=yes'
>  '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars'
>  'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
>  --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
>  'LDFLAGS=-Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''
> 
> Important settings:
>   value of $LANG: en_GB.UTF-8
>   locale-coding-system: utf-8-unix
>   default enable-multibyte-characters: t
> 
> Major mode: Inferior Octave
> 
> Minor modes in effect:
>   tooltip-mode: t
>   mouse-wheel-mode: t
>   tool-bar-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
> 
> Recent input:
> M-x r u n - c o <backspace> <backspace> o c t a v e
> <return> x = 1 : 1 0 <return> p l o t ( x ) <return>
> <help-echo> <help-echo> <help-echo> <down-mouse-1>
> <mouse-1> <up> <down> M-p <return> <help-echo> <help-echo>
> <help-echo> <help-echo> M-x r e p o r t - e m a c s
> - b u g <return>
> 
> Recent messages:
> For information about GNU Emacs and the GNU system, type C-h C-a.
> History item: 1
> 
> Load-path shadows:
> None found.
> 
> Features:
> (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
> mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
> gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
> mail-prsvr mail-utils octave-inf comint ansi-color ring octave-mod smie
> easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel
> x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list
> newcomment lisp-mode register page menu-bar rfn-eshadow timer select
> scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
> georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
> korean japanese hebrew greek romanian slovak czech european ethiopic
> indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
> abbrev minibuffer loaddefs button faces cus-face macroexp files
> text-properties overlay sha1 md5 base64 format env code-pages mule
> custom widget hashtable-print-readable backquote make-network-process
> dbusbind dynamic-setting system-font-setting font-render-setting
> move-toolbar gtk x-toolkit x multi-tty emacs)





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18324; Package emacs. (Tue, 26 Aug 2014 23:51:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18324; Package emacs. (Wed, 27 Aug 2014 03:22:01 GMT) Full text and rfc822 format available.

Message #14 received at 18324 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Rüdiger Sonderfeld <ruediger <at> c-plusplus.de>
Cc: john <at> aspden.com, 18324 <at> debbugs.gnu.org
Subject: Re: bug#18324: plots hang in inferior octave mode
Date: Tue, 26 Aug 2014 23:20:47 -0400
> Please try the latest octave-mode from Emacs trunk 
> http://bzr.savannah.gnu.org/lh/emacs/trunk/annotate/head:/lisp/progmodes/octave.el

> It has been significantly improved and should include changes for GNU Octave 
> 3.8.  It should also be backwards compatible to GNU Emacs 24.3.

This said, it would be even better to try the version from the
`emacs-24' branch, since that's what will be released in 24.4, and it'd
good to know if this problem is fixed in 24.4 or not.


        Stefan




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 27 Aug 2014 03:55:01 GMT) Full text and rfc822 format available.

Notification sent to John Lawrence Aspden <john <at> aspden.com>:
bug acknowledged by developer. (Wed, 27 Aug 2014 03:55:03 GMT) Full text and rfc822 format available.

Message #19 received at 18324-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 18324-done <at> debbugs.gnu.org
Subject: Re: bug#18324: plots hang in inferior octave mode
Date: Tue, 26 Aug 2014 23:54:11 -0400
Version: 24.4

John Lawrence Aspden wrote:

> GNU Emacs 24.3.1
> GNU Octave, version 3.8.1
>
> Start Emacs
> $ emacs -Q
>
> Start an Inferior Octave Process
> M-x run-octave
>
> Octave Commands to produce plot
> x=1:10
> plot(x)

Thanks for the report.
By experiment, this is already fixed for the next release of Emacs.
Try it out at
http://alpha.gnu.org/gnu/emacs/pretest/emacs-24.3.93.tar.xz 

(Plain M-x run-octave hangs for me in 24.3.)

> In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.12.2)
>  of 2014-06-06 on barber, modified by Debian




bug No longer marked as fixed in versions 24.4. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 27 Aug 2014 04:01:01 GMT) Full text and rfc822 format available.

Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 27 Aug 2014 04:01:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18324; Package emacs. (Wed, 27 Aug 2014 04:02:02 GMT) Full text and rfc822 format available.

Message #26 received at 18324 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 18324 <at> debbugs.gnu.org
Cc: john <at> aspden.com
Subject: Re: bug#18324: plots hang in inferior octave mode
Date: Wed, 27 Aug 2014 00:01:04 -0400
Whoops, I spoke too soon, sorry. The plot window does indeed hang.
Reopened.




bug Marked as found in versions 24.3.93. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 27 Aug 2014 04:02:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18324; Package emacs. (Wed, 27 Aug 2014 04:15:02 GMT) Full text and rfc822 format available.

Message #31 received at 18324 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 18324 <at> debbugs.gnu.org
Cc: john <at> aspden.com
Subject: Re: bug#18324: plots hang in inferior octave mode
Date: Wed, 27 Aug 2014 00:14:30 -0400
BTW:
1) Plots also hang in 24.3 (after setting prompt as per
https://savannah.gnu.org/bugs/?41099 to make it work at all).

2) Plots also hang in standalone octave if one does eg
ls -l /usr/bin and leaves it at the pager.
Ref: https://cygwin.com/ml/cygwin/2013-02/msg00302.html

3) The flags --line-editing -i seem to be there by default now and do not help.
Ref: https://lists.gnu.org/archive/html/help-emacs-windows/2012-10/msg00035.html




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18324; Package emacs. (Wed, 27 Aug 2014 05:36:03 GMT) Full text and rfc822 format available.

Message #34 received at 18324 <at> debbugs.gnu.org (full text, mbox):

From: Leo Liu <sdl.web <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: john <at> aspden.com, 18324 <at> debbugs.gnu.org
Subject: Re: bug#18324: plots hang in inferior octave mode
Date: Wed, 27 Aug 2014 13:35:28 +0800
On 2014-08-27 00:14 -0400, Glenn Morris wrote:
> 1) Plots also hang in 24.3 (after setting prompt as per
> https://savannah.gnu.org/bugs/?41099 to make it work at all).
>
> 2) Plots also hang in standalone octave if one does eg
> ls -l /usr/bin and leaves it at the pager.
> Ref: https://cygwin.com/ml/cygwin/2013-02/msg00302.html
>
> 3) The flags --line-editing -i seem to be there by default now and do not help.
> Ref: https://lists.gnu.org/archive/html/help-emacs-windows/2012-10/msg00035.html

Thanks for these points. I at one point tried to reduce
inferior-octave-startup-args to nil but there were (performance?)
problems. I forgot where it was discussed.

I can reproduce the hang with "octave --no-gui --no-line-editing" in a
terminal outside emacs.

Best, Leo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18324; Package emacs. (Fri, 28 May 2021 01:03:02 GMT) Full text and rfc822 format available.

Message #37 received at 18324 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 18324 <at> debbugs.gnu.org
Subject: Re: bug#18324: plots hang in inferior octave mode
Date: Fri, 28 May 2021 03:02:06 +0200
See bug#19723 -- I don't think this can be an Emacs bug, but is instead
an Octave bug, since "octave -i" on the command line also displays this
behaviour.

So I'm closing this bug report in the Emacs bug tracker, but the problem
should be reported to the Octave maintainers.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





bug closed, send any further explanations to 18324 <at> debbugs.gnu.org and John Lawrence Aspden <john <at> aspden.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 28 May 2021 01:03:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 25 Jun 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 361 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.