Bug 13165 - octave crashes even with simple plotting
Summary: octave crashes even with simple plotting
Status: CLOSED NOTABUG
Alias: None
Product: Branch 4.0
Classification: Distributions
Component: gnuplot (show other bugs)
Version: 4.0
Hardware: all Linux
: P2 normal
Assignee: swi
QA Contact: Q.A. 4.0
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-19 21:37 MSD by Andrey Chesnokov
Modified: 2007-11-14 23:47 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Chesnokov 2007-10-19 21:37:30 MSD
[ache@abel testiterative]$ octave-2.9.13
GNU Octave, version 2.9.13
Copyright (C) 2007 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTIBILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "i586-alt-linux-gnu".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Report bugs to <bug@octave.org> (but first, please read
http://www.octave.org/bugs.html to learn how to write a helpful report).

For information about changes from previous versions, type `news'.

octave-2.9.13:1> x=1:10; plot(x)
error: `flag' undefined near line 21 column 8
error: evaluating binary operator `==' near line 21, column 13
error: if: error evaluating conditional expression
error: evaluating if command near line 21, column 3
error: called from `split' in file
`/home/ache/work/teach-0708/testiterative/split.m'
error: evaluating argument list element number 1
error: evaluating assignment expression near line 106, column 7
error: called from `compare_versions' in file
`/usr/share/octave/2.9.13/m/miscellaneous/compare_versions.m'
error: evaluating static command near line 35, column 5
error: evaluating if command near line 29, column 3
error: called from `__go_draw_axes__' in file
`/usr/share/octave/2.9.13/m/plot/__go_draw_axes__.m'
error: evaluating switch command near line 57, column 4
error: evaluating for command near line 55, column 2
error: evaluating if command near line 37, column 7
error: evaluating if command near line 30, column 5
error: evaluating if command near line 29, column 3
error: called from `__go_draw_figure__' in file
`/usr/share/octave/2.9.13/m/plot/__go_draw_figure__.m'
error: evaluating if command near line 61, column 6
error: evaluating if command near line 58, column 4
error: evaluating if command near line 56, column 2
error: evaluating for command near line 55, column 7
error: evaluating if command near line 38, column 5
error: called from `drawnow' in file `/usr/share/octave/2.9.13/m/plot/drawnow.m'
octave-2.9.13:2> 
Steps to Reproduce:
1. load octave
2. type 'x=1:10; plot(x)'
3.

The same is for self-compiled from the sources octave 2.9.14 
Actual Results:  
a lot of error messages.

sometimes (when started from a new clean console session) octave is able to
plot, the ratio successful|unsuccessful plots is approx 1:10
Comment 1 swi 2007-10-20 15:37:36 MSD
samurai@home ~ $ rpm -q octave gnuplot
octave-2.9.13-alt1
gnuplot-4.2.2-alt1

not reproduced
Comment 2 swi 2007-11-08 14:56:42 MSK
снимите с меня это. 
Comment 3 Andrey Chesnokov 2007-11-08 16:19:59 MSK
снять-то можно, но проблема не исчезает.

куда бы копнуть?
Comment 4 swi 2007-11-08 16:31:21 MSK
1. у меня не падает
2. я не поддерживаю Octave ни разу.
Comment 5 swi 2007-11-08 16:53:40 MSK
У меня не воспроизводится, по словам lioka на x86 тоже не воспроизводится.
Comment 6 Sergey Bolshakov 2007-11-08 16:56:04 MSK
lioka -- maintainer octave
если считается, что баг закрыт неоправданно -- предлагаю
завести новый на octave
Comment 7 Andrey Chesnokov 2007-11-08 17:02:11 MSK
я могу перевесить на octave, но в багрепортере

Component:  	

Select search type and enter component name (or search pattern) to find
correspondent component(s).

Found 0 components.
Not found!

компонента octave нету ;)
Comment 8 Sergey Bolshakov 2007-11-08 17:15:46 MSK
вешайте на продукт Sisyphus -- в нём есть
Comment 9 Andrey Chesnokov 2007-11-14 20:36:09 MSK
есть новая инфа по баге: бага проявляется и в octave и в gnuplot тогда и только
тогда, когда рушится редактирование командной строки
(например, BackSpace начинает стирать текст левее от $ в приглашении командной
строки типа [ache@abel Clean]$; некоторые русские буквы рисуются символами ':)'
и ':(')

Это с каким компонентом траблы?

Есть подозрение, что 'ядра' octave|gnuplot просто получают некорректный текст на
обработку.
Comment 10 swi 2007-11-14 23:47:53 MSK
(In reply to comment #9)
> есть новая инфа по баге: бага проявляется и в octave и в gnuplot тогда и 
только
> тогда, когда рушится редактирование командной строки
> (например, BackSpace начинает стирать текст левее от $ в приглашении 
командной
> строки типа [ache@abel Clean]$; некоторые русские буквы рисуются 
символами ':)'
> и ':(')
> 
> Это с каким компонентом траблы?
> 
> Есть подозрение, что 'ядра' octave|gnuplot просто получают некорректный 
текст на
> обработку.

не могу воспроизвести... пробовал редактировать строку и backspace и del... 
все равно пашет.
Может дадите еще какую последовательность комманд octave на которой  у вас 
падает(точнуюпосимвольную последовательность)

еще запустите сие под strace (может чего умного там есть)
rpm -ql ocatve |grep draw ?