octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63388] Octave may crash with uitable containi


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #63388] Octave may crash with uitable containing true/false data
Date: Sun, 20 Nov 2022 10:32:26 -0500 (EST)

Follow-up Comment #4, bug #63388 (project octave):

If I compile w/ debugging (-O0 -ggdb3) flags, the first test 
crashes on the very first run:


octave:1> cd ~/Downloads/
octave:2> test_crash_submit([],[],1);
warning: set: allowing unit to match uitable property units
warning: called from
    uitable at line 224 column 8
    test_crash_submit at line 7 column 8

ans =
{
  [1,1] = method
  [2,1] = MaxFunEvals
  [3,1] = obj_fcn_form
  [1,2] = global_opt
  [2,2] = 500
  [3,2] = classical
}

ans =
{
  [1,1] = method
  [2,1] = guessWeight
  [3,1] = flagVectorize
  [4,1] = plotFun
  [1,2] = global_opt
  [2,2] = 0.5000
  [3,2] = 0
  [4,2] = 
}

ans =
{
  [1,1] = method
  [2,1] = GGAP
  [3,1] = SEL_F
  [1,2] = global_opt
  [2,2] = 0.8000
  [3,2] = sus
}

ans =
{
  [1,1] = method
  [2,1] = guessWeight
  [3,1] = flagVectorize
  [4,1] = plotFun
  [1,2] = global_opt
  [2,2] = 0.5000
  [3,2] = 0
  [4,2] = 
}

octave:3> 
Thread 1 "octave-gui" received signal SIGSEGV, Segmentation fault.
QWidget::show (this=0x60400155d050) at kernel/qwidget.cpp:7662
7662    void QWidget::show()
<...deleted...>
Thread 1 (Thread 0x7fffedef6380 (LWP 3056905) "octave-gui"):
#0  QWidget::show() (this=0x60400155d050) at kernel/qwidget.cpp:7662
#1  0x00007ffff2e2cbbd in QAbstractItemView::updateEditorGeometries()
(this=0x6040015d2110) at itemviews/qabstractitemview.cpp:2732
#2  0x00007ffff2e2417b in QAbstractItemView::updateGeometries()
(this=0x6040015d2110) at itemviews/qabstractitemview.cpp:2765
#3  0x00007ffff2e238d1 in QAbstractItemView::doItemsLayout()
(this=0x6040015d2110) at itemviews/qabstractitemview.cpp:1222
#4  0x00007ffff2e85d0e in QTableView::doItemsLayout() (this=<optimized out>)
at itemviews/qtableview.cpp:1262
#5  0x00007ffff2e275e2 in QAbstractItemView::timerEvent(QTimerEvent*)
(this=0x6040015d2110, event=<optimized out>) at
itemviews/qabstractitemview.cpp:2552
#6  0x00007ffff1ed12cf in QObject::event(QEvent*)
(this=this@entry=0x6040015d2110, e=e@entry=0x7fffffffbd90) at
kernel/qobject.cpp:1336
#7  0x00007ffff2bf0ed9 in QWidget::event(QEvent*)
(this=this@entry=0x6040015d2110, event=event@entry=0x7fffffffbd90) at
kernel/qwidget.cpp:9081
#8  0x00007ffff2c9ea22 in QFrame::event(QEvent*) (this=0x6040015d2110,
e=0x7fffffffbd90) at widgets/qframe.cpp:550
#9  0x00007ffff2bae443 in QApplicationPrivate::notify_helper(QObject*,
QEvent*) (this=<optimized out>, receiver=0x6040015d2110, e=0x7fffffffbd90) at
kernel/qapplication.cpp:3632
#10 0x00007ffff69a3295 in octave::octave_qapplication::notify(QObject*,
QEvent*) (this=0x6020000063d0, receiver=0x6040015d2110, ev=0x7fffffffbd90) at
../libgui/src/octave-qobject.cc:148

<...deleted...>



Entire bt is attached.

This looks like a bug in Qt library.

Dmitri.
-- 


(file #53975)

    _______________________________________________________

Additional Item Attachment:

File name: das_bt.txt.gz                  Size:4 KB
    <https://file.savannah.gnu.org/file/das_bt.txt.gz?file_id=53975>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63388>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]