bugGNU Octave - Bugs: bug #64383, [octave forge] (video) misformed...

 
 

bug #64383: [octave forge] (video) misformed filename crashes octave

Submitter:  Dmitri A. Sergatskov <dasergatskov>
Submitted:  Wed 05 Jul 2023 11:31:39 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Segfault, Bus Error, etc.
Status:  Fixed Assigned to:  andy1978
Originator Name:  Open/Closed:  * Closed
Release:  * 8.2.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 05 Jul 2023 11:55:33 AM UTC, comment #3: 

Thanks for testing, closing as fixed

Andreas Weber <andy1978>
Group Member
Wed 05 Jul 2023 11:54:12 AM UTC, comment #2: 

Confirm fix:

octave:1> pkg load video
octave:2> t1
error: Can't guess container format from filename '/tmp/sombrero,mp4'
error: called from
    writeVideo at line 190 column 13
    t1 at line 12 column 4


Thanks!

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Wed 05 Jul 2023 11:46:23 AM UTC, comment #1: 
Andreas Weber <andy1978>
Group Member
Wed 05 Jul 2023 11:31:39 AM UTC, original submission:  

The code copied from "demo VideoWriter" with the output file
misspelled as "sombrero,mp4" crashes octave. That reproduces on linux and windows and with 2.0.2 and (pre)2.1.0 of video package.

The code:

$ cat t1.m
 fn = fullfile (tempdir (), "sombrero,mp4");
 w = VideoWriter (fn);
 w.FrameRate = 50;
 open (w);
 z = sombrero ();
 hs = surf (z);
 axis manual
 nframes = 2;
 for ii = 1:nframes
   set (hs, "zdata", z * sin (2*pi*ii/nframes + pi/5));
   drawnow
   writeVideo (w, getframe (gcf));
 endfor
 close (w)


The backtrace:


Thread 6 "QThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f2111eed640 (LWP 366951)]
F__writer_open__ (args=..., nargout=<optimized out>) at cap_ffmpeg_wrapper.cc:442
442        cap_ffmpeg_wrapper.cc: Directory not empty.
Missing separate debuginfos, use: dnf debuginfo-install cuda-opencl-12-2-12.2.53-1.x86_64 ffmpeg-libs-5.1.3-1.el9.x86_64 highway-1.0.4-1.el9.x86_64 ilbc-3.0.4-1.el9.x86_64 intel-mediasdk-21.3.5-1.el9.x86_64 libaom-3.6.1-1.el9.x86_64 libbluray-1.3.4-1.el9.x86_64 libchromaprint-1.5.1-1.el9.x86_64 libdav1d-1.2.1-1.el9.x86_64 libjxl-0.7.0-1.el9.x86_64 libopenmpt-0.6.10-1.el9.x86_64 libsodium-1.0.18-8.el9.x86_64 libudfread-1.1.2-2.el9.x86_64 libunwind-1.6.2-1.el9.x86_64 libvmaf-2.3.0-2.el9.x86_64 nvidia-driver-libs-535.54.03-1.el9.x86_64 openpgm-5.2.122-28.el9.x86_64 soxr-0.1.3-11.el9.x86_64 srt-libs-1.4.4-1.el9.x86_64 svt-av1-libs-0.9.0-1.el9.x86_64 vapoursynth-libs-57-1.el9.x86_64 vo-amrwbenc-0.1.3-18.el9.x86_64 x264-libs-0.163-6.20210613git5db6aa6.el9.x86_64 x265-libs-3.5-5.el9.x86_64 xvidcore-1.3.7-9.el9.x86_64 zeromq-4.3.4-2.el9.x86_64
(gdb) thread apply all bt

Thread 7 (Thread 0x7f2111092640 (LWP 366952) "QThread"):
#0  0x00007f222d455b0a in __GI___sigtimedwait (set=set@entry=0x7f22300a30e0 <async_signals>, info=info@entry=0x7f21110911d0, timeout=timeout@entry=0x0) at ../sysdeps/unix/sysv/linux/sigtimedwait.c:61
#1  0x00007f222d45514c in __GI___sigwait (set=0x7f22300a30e0 <async_signals>, sig=0x7f211109128c) at ../sysdeps/unix/sysv/linux/sigwait.c:28
#2  0x00007f222fe31663 in signal_watcher(void*) (arg=0x7f2232dbcaf7 <octave::generic_sig_handler(int)>) at ../liboctave/wrappers/cxx-signal-helpers.cc:179
#3  0x00007f222d49f832 in start_thread (arg=<optimized out>) at pthread_create.c:443
#4  0x00007f222d43f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f2111eed640 (LWP 366951) "QThread"):
#0  F__writer_open__(octave_value_list const&, int) (args=..., nargout=<optimized out>) at cap_ffmpeg_wrapper.cc:442
#1  0x00007f22327e388f in octave::tree_evaluator::execute_builtin_function(octave_builtin&, int, octave_value_list const&) (this=0x7f210406d168, builtin_function=..., nargout=1, args=...) at ../libinterp/parse-tree/pt-eval.cc:3439
#2  0x00007f22326248aa in octave_builtin::execute(octave::tree_evaluator&, int, octave_value_list const&) (this=<optimized out>, tw=<optimized out>, nargout=<optimized out>, args=<optimized out>) at ../libinterp/octave-value/ov-builtin.cc:49
#3  0x00007f223268af73 in octave_function::call(octave::tree_evaluator&, int, octave_value_list const&) (this=0x7f210486b7a0, tw=..., nargout=1, args=...) at ../libinterp/octave-value/ov-fcn.cc:57
#4  0x00007f2232803ab4 in octave::tree_index_expression::evaluate_n(octave::tree_evaluator&, int) (this=0x7f210451e290, tw=..., nargout=1) at ../libinterp/parse-tree/pt-idx.cc:427
#5  0x00007f22328067cb in octave::tree_index_expression::evaluate(octave::tree_evaluator&, int) (this=<optimized out>, tw=<optimized out>, nargout=<optimized out>) at ../libinterp/parse-tree/pt-idx.h:108
#6  0x00007f22327d51f2 in octave::tree_simple_assignment::evaluate(octave::tree_evaluator&, int) (this=0x7f210451e7b0, tw=...) at ../libinterp/parse-tree/pt-assign.cc:101
#7  0x00007f22327f7084 in octave::tree_evaluator::visit_statement(octave::tree_statement&) (this=0x7f210406d168, stmt=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:3941
#8  0x00007f223280cb04 in octave::tree_statement::accept(octave::tree_walker&) (this=<optimized out>, tw=<optimized out>) at ../libinterp/parse-tree/pt-stmt.h:124
#9  0x00007f22327e14a2 in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) (this=0x7f210406d168, lst=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:4026
#10 0x00007f22327f62e6 in octave::tree_statement_list::accept(octave::tree_walker&) (tw=..., this=<optimized out>) at ../libinterp/parse-tree/pt-stmt.h:201
#11 octave::tree_evaluator::visit_if_command_list(octave::tree_if_command_list&) (this=0x7f210406d168, lst=...) at ../libinterp/parse-tree/pt-eval.cc:3789
#12 0x00007f22327ea2db in octave::tree_if_command_list::accept(octave::tree_walker&) (tw=..., this=<optimized out>) at ../libinterp/parse-tree/pt-select.h:119
#13 octave::tree_evaluator::visit_if_command(octave::tree_if_command&) (this=0x7f210406d168, cmd=...) at ../libinterp/parse-tree/pt-eval.cc:3767
#14 0x00007f223280b378 in octave::tree_if_command::accept(octave::tree_walker&) (this=<optimized out>, tw=<optimized out>) at ../libinterp/parse-tree/pt-select.h:153
#15 0x00007f22327f6ff5 in octave::tree_evaluator::visit_statement(octave::tree_statement&) (this=0x7f210406d168, stmt=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:3916
--Type <RET> for more, q to quit, c to continue without paging--c
#16 0x00007f223280cb04 in octave::tree_statement::accept(octave::tree_walker&) (this=<optimized out>, tw=<optimized out>) at ../libinterp/parse-tree/pt-stmt.h:124
#17 0x00007f22327e14a2 in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) (this=0x7f210406d168, lst=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:4026
#18 0x00007f22327eba69 in octave::tree_statement_list::accept(octave::tree_walker&) (tw=..., this=0x7f2104515910) at ../libinterp/parse-tree/pt-stmt.h:201
#19 octave::tree_evaluator::execute_user_function(octave_user_function&, int, octave_value_list const&) (this=0x7f210406d168, user_function=..., nargout=0, xargs=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:3665
#20 0x00007f2232709772 in octave_user_function::execute(octave::tree_evaluator&, int, octave_value_list const&) (this=<optimized out>, tw=<optimized out>, nargout=<optimized out>, args=<optimized out>) at ../libinterp/octave-value/ov-usr-fcn.cc:495
#21 0x00007f223270a0a0 in octave_user_function::call(octave::tree_evaluator&, int, octave_value_list const&) (this=0x7f21045231b0, tw=..., nargout=0, args=...) at ../libinterp/octave-value/ov-usr-fcn.cc:488
#22 0x00007f2232c0e36f in octave::interpreter::feval(octave_function*, octave_value_list const&, int) (this=this@entry=0x7f210406cf70, fcn=<optimized out>, args=..., nargout=nargout@entry=0) at ../libinterp/corefcn/interpreter.cc:1572
#23 0x00007f2232c1053a in octave::interpreter::feval(octave_value const&, octave_value_list const&, int) (this=0x7f210406cf70, val=..., args=..., nargout=nargout@entry=0) at ../libinterp/corefcn/interpreter.cc:1592
#24 0x00007f22327b1960 in octave::feval(octave_value const&, octave_value_list const&, int) (val=..., args=..., nargout=nargout@entry=0) at ../libinterp/parse-tree/oct-parse.yy:6313
#25 0x00007f22325f49d7 in octave::cdef_method::cdef_method_rep::execute(octave_value_list const&, int, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (this=this@entry=0x7f2104530d70, args=..., nargout=0, do_check_access=do_check_access@entry=true, who="") at ../libinterp/octave-value/cdef-method.cc:137
#26 0x00007f22325f4c4c in octave::cdef_method::cdef_method_rep::meta_subsref(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::list<octave_value_list, std::allocator<octave_value_list> > const&, int) (this=0x7f2104530d70, type="(", idx=Python Exception <class 'AttributeError'> 'NoneType' object has no attribute 'pointer':
std::__cxx11::list, nargout=0) at ../libinterp/octave-value/cdef-method.cc:220
#27 0x00007f2232653ec9 in octave::cdef_meta_object::meta_subsref(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::list<octave_value_list, std::allocator<octave_value_list> > const&, int) (nargout=0, idx=Python Exception <class 'AttributeError'> 'NoneType' object has no attribute 'pointer':
std::__cxx11::list, type="(", this=<optimized out>) at ../libinterp/octave-value/cdef-object.h:692
#28 octave_classdef_meta::subsref(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::list<octave_value_list, std::allocator<octave_value_list> > const&, int) (this=<optimized out>, type="(", idx=Python Exception <class 'AttributeError'> 'NoneType' object has no attribute 'pointer':
std::__cxx11::list, nargout=0) at ../libinterp/octave-value/ov-classdef.h:202
#29 0x00007f2232654786 in octave_classdef_meta::execute(octave::tree_evaluator&, int, octave_value_list const&) (this=0x7f21046adbf0, nargout=0, args=...) at ../libinterp/octave-value/ov-classdef.h:222
#30 0x00007f2232653c3d in octave_classdef_meta::call(octave::tree_evaluator&, int, octave_value_list const&) (this=<optimized out>, tw=<optimized out>, nargout=<optimized out>, args=<optimized out>) at ../libinterp/octave-value/ov-classdef.h:211
#31 0x00007f2232803ab4 in octave::tree_index_expression::evaluate_n(octave::tree_evaluator&, int) (this=0x7f21042507c0, tw=..., nargout=0) at ../libinterp/parse-tree/pt-idx.cc:427
#32 0x00007f22328067cb in octave::tree_index_expression::evaluate(octave::tree_evaluator&, int) (this=<optimized out>, tw=<optimized out>, nargout=<optimized out>) at ../libinterp/parse-tree/pt-idx.h:108
#33 0x00007f22327f7084 in octave::tree_evaluator::visit_statement(octave::tree_statement&) (this=0x7f210406d168, stmt=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:3941
#34 0x00007f223280cb04 in octave::tree_statement::accept(octave::tree_walker&) (this=<optimized out>, tw=<optimized out>) at ../libinterp/parse-tree/pt-stmt.h:124
#35 0x00007f22327e14a2 in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) (this=0x7f210406d168, lst=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:4026
#36 0x00007f22327f97cf in octave::tree_statement_list::accept(octave::tree_walker&) (tw=..., this=0x7f2104459bc0) at ../libinterp/parse-tree/pt-stmt.h:201
#37 octave::tree_evaluator::execute_range_loop<double>(octave::range<double, void> const&, int, octave::octave_lvalue&, octave::tree_statement_list*) (this=this@entry=0x7f210406d168, rng=..., line=line@entry=9, ult=..., loop_body=loop_body@entry=0x7f2104459bc0) at ../libinterp/parse-tree/pt-eval.cc:3049
#38 0x00007f22327f5a0c in octave::tree_evaluator::visit_simple_for_command(octave::tree_simple_for_command&) (this=0x7f210406d168, cmd=...) at ../libinterp/parse-tree/pt-eval.cc:3096
#39 0x00007f2232807806 in octave::tree_simple_for_command::accept(octave::tree_walker&) (this=<optimized out>, tw=<optimized out>) at ../libinterp/parse-tree/pt-loop.h:191
#40 0x00007f22327f6ff5 in octave::tree_evaluator::visit_statement(octave::tree_statement&) (this=0x7f210406d168, stmt=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:3916
#41 0x00007f223280cb04 in octave::tree_statement::accept(octave::tree_walker&) (this=<optimized out>, tw=<optimized out>) at ../libinterp/parse-tree/pt-stmt.h:124
#42 0x00007f22327e14a2 in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) (this=0x7f210406d168, lst=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:4026
#43 0x00007f22327eb045 in octave::tree_statement_list::accept(octave::tree_walker&) (tw=..., this=0x7f210441b6f0) at ../libinterp/parse-tree/pt-stmt.h:201
#44 octave::tree_evaluator::execute_user_script(octave_user_script&, int, octave_value_list const&) (this=0x7f210406d168, user_script=..., nargout=0, args=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:3518
#45 0x00007f2232709726 in octave_user_script::execute(octave::tree_evaluator&, int, octave_value_list const&) (this=<optimized out>, tw=<optimized out>, nargout=<optimized out>, args=<optimized out>) at ../libinterp/octave-value/ov-usr-fcn.cc:196
#46 0x00007f22327098cf in octave_user_script::call(octave::tree_evaluator&, int, octave_value_list const&) (this=0x7f2104246e20, tw=..., nargout=0, args=...) at ../libinterp/octave-value/ov-usr-fcn.cc:189
#47 0x00007f22327ff22a in octave::tree_identifier::evaluate_n(octave::tree_evaluator&, int) (this=<optimized out>, tw=..., nargout=0) at ../libinterp/parse-tree/pt-id.cc:130
#48 0x00007f2232800731 in octave::tree_identifier::evaluate(octave::tree_evaluator&, int) (this=<optimized out>, tw=<optimized out>, nargout=<optimized out>) at ../libinterp/parse-tree/pt-id.h:98
#49 0x00007f22327f7084 in octave::tree_evaluator::visit_statement(octave::tree_statement&) (this=0x7f210406d168, stmt=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:3941
#50 0x00007f223280cb04 in octave::tree_statement::accept(octave::tree_walker&) (this=<optimized out>, tw=<optimized out>) at ../libinterp/parse-tree/pt-stmt.h:124
#51 0x00007f22327e14a2 in octave::tree_evaluator::visit_statement_list(octave::tree_statement_list&) (this=0x7f210406d168, lst=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:4026
#52 0x00007f22327e1b3d in octave::tree_statement_list::accept(octave::tree_walker&) (tw=..., this=<optimized out>) at ../libinterp/parse-tree/pt-stmt.h:201
#53 octave::tree_evaluator::eval(std::shared_ptr<octave::tree_statement_list>&, bool) (this=this@entry=0x7f210406d168, stmt_list=std::shared_ptr<class octave::tree_statement_list> (use count 2, weak count 0) = {...}, interactive=<optimized out>) at ../libinterp/parse-tree/pt-eval.cc:985
#54 0x00007f22327f0fbe in octave::tree_evaluator::repl() (this=this@entry=0x7f210406d168) at ../libinterp/corefcn/interpreter.h:173
#55 0x00007f2232c0dc1e in octave::interpreter::main_loop() (this=this@entry=0x7f210406cf70) at ../libinterp/corefcn/interpreter.cc:1350
#56 0x00007f2232c1901e in octave::interpreter::execute() (this=this@entry=0x7f210406cf70) at ../libinterp/corefcn/interpreter.cc:916
#57 0x00007f22333fae4d in octave::interpreter_qobject::execute() (this=0xda7bd0) at ../libgui/src/interpreter-qobject.cc:89
#58 0x00007f223352ee56 in octave::interpreter_qobject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at libgui/src/moc-interpreter-qobject.cc:88
#59 0x00007f22304d2cd9 in QObject::event(QEvent*) (this=0xda7bd0, e=0xb46a20) at kernel/qobject.cpp:1347
#60 0x00007f22311af533 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0xdda360, receiver=0xda7bd0, e=0xb46a20) at kernel/qapplication.cpp:3640
#61 0x00007f22311b69a8 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0xb42f70, receiver=<optimized out>, e=<optimized out>) at kernel/qapplication.cpp:3386
#62 0x00007f223347a323 in octave::octave_qapplication::notify(QObject*, QEvent*) (this=0xb42f70, receiver=<optimized out>, ev=<optimized out>) at ../libgui/src/octave-qobject.cc:147
#63 0x00007f22304a7938 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0xda7bd0, event=0xb46a20) at kernel/qcoreapplication.cpp:1064
#64 0x00007f22304aae86 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0xdfaf50) at kernel/qcoreapplication.cpp:1821
#65 0x00007f22304f9d17 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x7f2104006060) at kernel/qeventdispatcher_glib.cpp:277
#66 0x00007f222c72ee2f in g_main_dispatch (context=0x7f2104017270) at ../glib/gmain.c:3337
#67 g_main_context_dispatch (context=0x7f2104017270) at ../glib/gmain.c:4055
#68 0x00007f222c7840a8 in g_main_context_iterate.constprop.0 (context=context@entry=0x7f2104017270, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4131
#69 0x00007f222c72c5f3 in g_main_context_iteration (context=0x7f2104017270, may_block=1) at ../glib/gmain.c:4196
#70 0x00007f22304f97b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f2104070930, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#71 0x00007f22304a6342 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f2111eec210, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#72 0x00007f22302e89aa in QThread::exec() (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#73 0x00007f22302e9c8d in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#74 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>, t=<optimized out>) at thread/qthread_unix.cpp:287
#75 QThreadPrivate::start(void*) (arg=0xd48610) at thread/qthread_unix.cpp:310
#76 0x00007f222d49f832 in start_thread (arg=<optimized out>) at pthread_create.c:443
#77 0x00007f222d43f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f21127c3640 (LWP 366949) "gdbus"):
#0  0x00007f222d54296f in __GI___poll (fds=0xd20470, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f222c78403c in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0xd20470, timeout=<optimized out>, context=0xd1e510) at ../glib/gmain.c:4434
#2  g_main_context_iterate.constprop.0 (context=0xd1e510, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4126
#3  0x00007f222c72e483 in g_main_loop_run (loop=0xd1e600) at ../glib/gmain.c:4329
#4  0x00007f21181b4e1a in gdbus_shared_thread_func (user_data=0xd1e4e0) at ../gio/gdbusprivate.c:280
#5  0x00007f222c75d582 in g_thread_proxy (data=0xd18920) at ../glib/gthread.c:826
#6  0x00007f222d49f832 in start_thread (arg=<optimized out>) at pthread_create.c:443
#7  0x00007f222d43f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f2112fc4640 (LWP 366948) "gmain"):
#0  0x00007f222d54296f in __GI___poll (fds=0xd0db80, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f222c78403c in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0xd0db80, timeout=<optimized out>, context=0xd0f040) at ../glib/gmain.c:4434
#2  g_main_context_iterate.constprop.0 (context=context@entry=0xd0f040, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4126
#3  0x00007f222c72c5f3 in g_main_context_iteration (context=0xd0f040, may_block=may_block@entry=1) at ../glib/gmain.c:4196
#4  0x00007f222c72c641 in glib_worker_main (data=<optimized out>) at ../glib/gmain.c:6089
#5  0x00007f222c75d582 in g_thread_proxy (data=0xd10de0) at ../glib/gthread.c:826
#6  0x00007f222d49f832 in start_thread (arg=<optimized out>) at pthread_create.c:443
#7  0x00007f222d43f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f2118ca4640 (LWP 366946) "QXcbEventQueue"):
#0  0x00007f222d54296f in __GI___poll (fds=fds@entry=0x7f2118ca3108, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f222d24af42 in poll (__timeout=-1, __nfds=1, __fds=0x7f2118ca3108) at /usr/include/bits/poll2.h:48
#2  _xcb_conn_wait (c=0xb57360, vector=0x0, count=0x0, cond=<optimized out>) at /usr/src/debug/libxcb-1.13.1-9.el9.x86_64/src/xcb_conn.c:479
#3  0x00007f222d24c90c in _xcb_conn_wait (count=0x0, vector=0x0, cond=0xb573a0, c=0xb57360) at /usr/src/debug/libxcb-1.13.1-9.el9.x86_64/src/xcb_conn.c:445
#4  xcb_wait_for_event (c=0xb57360) at /usr/src/debug/libxcb-1.13.1-9.el9.x86_64/src/xcb_in.c:697
#5  0x00007f2119515407 in QXcbEventQueue::run() (this=0xb545f0) at qxcbeventqueue.cpp:228
#6  0x00007f22302e9c8d in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#7  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>, t=<optimized out>) at thread/qthread_unix.cpp:287
#8  QThreadPrivate::start(void*) (arg=0xb545f0) at thread/qthread_unix.cpp:310
#9  0x00007f222d49f832 in start_thread (arg=<optimized out>) at pthread_create.c:443
#10 0x00007f222d43f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f21194a5640 (LWP 366945) "QDBusConnection"):
#0  0x00007f222d54296f in __GI___poll (fds=0x7f211401f060, nfds=4, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f222c78403c in g_main_context_poll (priority=<optimized out>, n_fds=4, fds=0x7f211401f060, timeout=<optimized out>, context=0x7f2114001ce0) at ../glib/gmain.c:4434
#2  g_main_context_iterate.constprop.0 (context=context@entry=0x7f2114001ce0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4126
#3  0x00007f222c72c5f3 in g_main_context_iteration (context=0x7f2114001ce0, may_block=1) at ../glib/gmain.c:4196
#4  0x00007f22304f97b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f2114000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f22304a6342 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f21194a41e0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f22302e89aa in QThread::exec() (this=this@entry=0x7f222a233060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f222a1b9b8b in QDBusConnectionManager::run() (this=0x7f222a233060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:179
#8  0x00007f22302e9c8d in operator() (__closure=<optimized out>, __closure=<optimized out>) at thread/qthread_unix.cpp:350
#9  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=<optimized out>, t=<optimized out>) at thread/qthread_unix.cpp:287
#10 QThreadPrivate::start(void*) (arg=0x7f222a233060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:310
#11 0x00007f222d49f832 in start_thread (arg=<optimized out>) at pthread_create.c:443
#12 0x00007f222d43f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f222c130300 (LWP 366944) "octave-gui"):
#0  0x00007f222d54296f in __GI___poll (fds=0xe4dec0, nfds=5, timeout=30120) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f222c78403c in g_main_context_poll (priority=<optimized out>, n_fds=5, fds=0xe4dec0, timeout=<optimized out>, context=0x7f2114005000) at ../glib/gmain.c:4434
#2  g_main_context_iterate.constprop.0 (context=context@entry=0x7f2114005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4126
#3  0x00007f222c72c5f3 in g_main_context_iteration (context=0x7f2114005000, may_block=1) at ../glib/gmain.c:4196
#4  0x00007f22304f97b8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0xc885a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#5  0x00007f22304a6342 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffc7b0814a0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#6  0x00007f22304ae874 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#7  0x00007f223095fae0 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#8  0x00007f22311af4a9 in QApplication::exec() () at kernel/qapplication.cpp:2832
#9  0x00007f2233476256 in octave::base_qobject::exec() (this=this@entry=0x7ffc7b081520) at ../libgui/src/octave-qobject.cc:425
#10 0x00007f223348b489 in octave::qt_application::execute() (this=this@entry=0x7ffc7b081740) at ../libgui/src/qt-application.cc:73
#11 0x000000000040253b in main(int, char**) (argc=1, argv=0x7ffc7b081a98) at ../src/main-gui.cc:148


Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>

 

(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 andy1978 (Posted a comment)
  • -email is unavailable- added by dasergatskov (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
    2023-07-05 andy1978 StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2023-07-05 andy1978 StatusNone Ready For Test
        Assigned toNone andy1978

    Back to the top

    Powered by Savane 3.13-54b4.
    Corresponding source code