octave 4.4.1-rc2 crashing at exit

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

octave 4.4.1-rc2 crashing at exit

Dmitri A. Sergatskov
I compiled a recent stable with
 ../configure "CFLAGS=-O0 -ggdb3" "FFLAGS=-O0 -ggdb3" "CXXFLAGS=-O0 -ggdb3"

and now it is crashing at exit (just start octave and Ctrl-D right away).

Here is the start of the backrack:

#0  0x00007fffeadc8feb in raise () at /lib64/libc.so.6
#1  0x00007fffeadb35c1 in abort () at /lib64/libc.so.6
#2  0x00007fffebbf9358 in  () at /lib64/libstdc++.so.6
#3  0x00007fffebc768f6 in  () at /lib64/libstdc++.so.6
#4  0x00007ffff701037f in octave::base_reader::octave_gets[abi:cxx11](bool&) (this=0x7fffb0184fc0, eof=@0x7fffc129da0f: true) at ../libinterp/corefcn/input.cc:258
#5  0x00007ffff7011e25 in octave::terminal_reader::get_input[abi:cxx11](bool&) (this=0x7fffb0184fc0, eof=@0x7fffc129da0f: true) at ../libinterp/corefcn/input.cc:768
#6  0x00007ffff6cbda85 in octave::input_reader::get_input[abi:cxx11](bool&) (this=0x7fffb018a450, eof=@0x7fffc129da0f: true) at ../libinterp/corefcn/input.h:184
#7  0x00007ffff6cbd040 in octave::lexer::fill_flex_buffer(char*, unsigned int) (this=0x7fffb018a0b0, buf=0x7fffb049a7f0 "", max_size=8192) at ../libinterp/parse-tree/lex.ll:3642
#8  0x00007ffff6cb5b73 in yy_get_next_buffer(yyscan_t) (yyscanner=0x7fffb01c9e40) at libinterp/parse-tree/lex.cc:3431
#9  0x00007ffff6cb54e8 in octave_lex(OCTAVE_STYPE*, void*) (yylval_param=0x7fffc129e0e8, yyscanner=0x7fffb01c9e40)
    at libinterp/parse-tree/lex.cc:3271
#10 0x00007ffff6cc366b in octave_pull_parse(octave_pstate*, octave::base_parser&) (yyps=0x7fffb016d1b0, parser=...)
    at libinterp/parse-tree/oct-parse.cc:2999
#11 0x00007ffff6cd2fe0 in octave::parser::run() (this=0x7fffc129e1c0) at libinterp/parse-tree/oct-parse.yy:4378
#12 0x00007ffff701bb37 in octave::interpreter::main_loop() (this=0x7fffb00031c0)
    at ../libinterp/corefcn/interpreter.cc:989
#13 0x00007ffff701aa22 in octave::interpreter::execute() (this=0x7fffb00031c0)
    at ../libinterp/corefcn/interpreter.cc:717
#14 0x00007ffff796743e in octave::octave_interpreter::execute() (this=0x8c2310) at ../libgui/src/main-window.cc:128
#15 0x00007ffff7a004c9 in octave::octave_interpreter::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x8c2310, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x8fcd40) at libgui/src/moc-main-window.cc:89
#16 0x00007ffff5177a26 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#17 0x00007ffff5a61e95 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007ffff5a6983a in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#19 0x00007ffff514e376 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib64/libQt5Core.so.5

Dmitri.
--

Reply | Threaded
Open this post in threaded view
|

Re: octave 4.4.1-rc2 crashing at exit

Sebastian Schöps
Dmitri A. Sergatskov wrote
> I compiled a recent stable with
>  ../configure "CFLAGS=-O0 -ggdb3" "FFLAGS=-O0 -ggdb3" "CXXFLAGS=-O0
> -ggdb3"
>
> and now it is crashing at exit (just start octave and Ctrl-D right away).

On macOS there are freezes and crashes on exit for quite since some time,
however this helps: https://savannah.gnu.org/bugs/?50025 helping?

Sebastian



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: octave 4.4.1-rc2 crashing at exit

Dmitri A. Sergatskov
In reply to this post by Dmitri A. Sergatskov


On Thu, Aug 2, 2018 at 11:44 AM Dmitri A. Sergatskov <[hidden email]> wrote:
I compiled a recent stable with
 ../configure "CFLAGS=-O0 -ggdb3" "FFLAGS=-O0 -ggdb3" "CXXFLAGS=-O0 -ggdb3"

and now it is crashing at exit (just start octave and Ctrl-D right away).


I just noticed that it crashes only if I press "Ctrl-D", if I type "exit" or "quit" then I do not see any problem.

Dmitri.
--