[umbrello] [Bug 400501] New: Umbrello fails to start due to ASSERT failure in QVector<T>::at "index out of range"

A. Wilcox (awilfox) bugzilla_noreply at kde.org
Wed Oct 31 06:34:54 GMT 2018


https://bugs.kde.org/show_bug.cgi?id=400501

            Bug ID: 400501
           Summary: Umbrello fails to start due to ASSERT failure in
                    QVector<T>::at "index out of range"
           Product: umbrello
           Version: 2.26.2 (KDE Applications 18.08.2)
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: umbrello-devel at kde.org
          Reporter: awilfox at adelielinux.org
  Target Milestone: ---

Hi, I'm the package maintainer for Umbrello at the Adélie Linux distribution. 
Umbrello is not able to start up on any platform we ship on (x86, x86_64, ppc,
ppc64, arm64).

Qt: 5.9.6
KDE Frameworks: 5.51.0
Umbrello UML Modeller: 2.26.2

Output:
awilcox on gwyn [pts/11 Wed 31 1:16] ~: umbrello5
Shortcut for action  "delete_selected" "Delete &Selected" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "move_tab_left" "&Move Tab Left" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "move_tab_right" "&Move Tab Right" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "previous_tab" "Select Diagram on Left" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Shortcut for action  "next_tab" "Select Diagram on Right" set with
QAction::setShortcut()! Use KActionCollection::setDefaultShortcut(s) instead.
Illegal icon group:  7
umbrello: searching for "/usr/bin/../doc/apphelp/index.cache.bz2"
umbrello: searching for
"/usr/bin/../share/doc/HTML/en/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/usr/bin/../share/doc/HTML/en_GB/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/usr/bin/../share/doc/HTML/en/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/home/awilcox/.local/share/doc/HTML/en/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/home/awilcox/.local/share/doc/HTML/en_GB/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/home/awilcox/.local/share/doc/HTML/en/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/usr/share/doc/HTML/en/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/usr/share/doc/HTML/en_GB/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/usr/share/doc/HTML/en/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/usr/local/share/doc/HTML/en/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/usr/local/share/doc/HTML/en_GB/umbrello/apphelp/index.cache.bz2"
umbrello: searching for
"/usr/local/share/doc/HTML/en/umbrello/apphelp/index.cache.bz2"
umbrello: view is NULL
umbrello: "folder"  : umlPackage not set on object
umbrello: view is NULL
umbrello: screen dpi: 96 file dpi: 96 scale: 1
umbrello: folder= "Logical View"  / type= "Class"  / name= "class diagram"
umbrello: "class diagram"  to folder  UMLFolder: localName="Logical View",
folderFile="", diagrams=0  ( "Logical View" )
umbrello: id= "uXuj12TS8ZppK"
umbrello: setZoom 100
umbrello: could not find  "class diagram"  in  UMLListViewItem: "Logical View",
type="lvt_Logical_View", id="Logical_View", children=1
umbrello: Changed view to UMLScene: "class diagram" / type="Class" /
id="uXuj12TS8ZppK" / isOpen=true
umbrello: Modified file= "Untitled"
umbrello: setZoom 100
umbrello: could not find  "class diagram"  in  UMLListViewItem: "Logical View",
type="lvt_Logical_View", id="Logical_View", children=1
umbrello: Changed view to UMLScene: "class diagram" / type="Class" /
id="uXuj12TS8ZppK" / isOpen=true
umbrello: setZoom 100
umbrello: setZoom 100
umbrello: Modified file= "Untitled"
umbrello: id= "uXuj12TS8ZppK"
umbrello: setZoom 100
umbrello: Changed view to UMLScene: "class diagram" / type="Class" /
id="uXuj12TS8ZppK" / isOpen=true
umbrello: Modified file= "Untitled"
umbrello: "Create UML object : char"  [ 1 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "char"
umbrello: "Create UML object : int"  [ 2 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "int"
QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring
call
umbrello: "Create UML object : float"  [ 3 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "float"
QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring
call
umbrello: "Create UML object : double"  [ 4 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "double"
umbrello: "Create UML object : bool"  [ 5 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "bool"
umbrello: "Create UML object : string"  [ 6 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "string"
umbrello: "Create UML object : unsigned char"  [ 7 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "unsigned char"
umbrello: "Create UML object : signed char"  [ 8 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "signed char"
QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring
call
umbrello: "Create UML object : unsigned int"  [ 9 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "unsigned int"
QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring
call
umbrello: "Create UML object : signed int"  [ 10 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "signed int"
umbrello: "Create UML object : short int"  [ 11 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "short int"
QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring
call
umbrello: "Create UML object : unsigned short int"  [ 12 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "unsigned short int"
umbrello: "Create UML object : signed short int"  [ 13 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "signed short int"
QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring
call
umbrello: "Create UML object : long int"  [ 14 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "long int"
QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring
call
umbrello: "Create UML object : signed long int"  [ 15 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "signed long int"
umbrello: "Create UML object : unsigned long int"  [ 16 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "unsigned long int"
QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring
call
umbrello: "Create UML object : long double"  [ 17 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "long double"
QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring
call
umbrello: "Create UML object : wchar_t"  [ 18 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "wchar_t"
ASSERT failure in QVector<T>::at: "index out of range", file
../../include/QtCore/../../src/corelib/tools/qvector.h, line 423
zsh: abort      umbrello5


Backtrace:
Thread 1 "umbrello5" received signal SIGABRT, Aborted.
0x00003ffff7f90268 in __syscall4 (d=8, c=0, b=70368744168608, a=2, n=174) at
./arch/powerpc64/syscall_arch.h:54
54      ./arch/powerpc64/syscall_arch.h: No such file or directory.
(gdb) bt
#0  0x00003ffff7f90268 in __syscall4 (d=8, c=0, b=70368744168608, a=2, n=174)
at ./arch/powerpc64/syscall_arch.h:54
#1  0x00003ffff7f90268 in __restore_sigs (set=0x3fffffffdca0) at
src/signal/block.c:43
#2  0x00003ffff7f9056c in raise (sig=<optimized out>) at src/signal/raise.c:11
#3  0x00003ffff7f5baa4 in abort () at src/exit/abort.c:14
#4  0x00003ffff578e424 in qt_message_fatal(QtMsgType, QMessageLogContext
const&, QString const&) (context=..., message=...) at global/qlogging.cpp:1690
#5  0x00003ffff578f274 in QMessageLogger::fatal(char const*, ...) const
(this=0x3fffffffde68, msg=<optimized out>) at global/qlogging.cpp:796
#6  0x00003ffff57871c0 in qt_assert_x(char const*, char const*, char const*,
int) (where=<optimized out>, what=<optimized out>, file=<optimized out>,
line=423) at global/qglobal.cpp:3088
#7  0x00003ffff69186f4 in QVector<QTreeViewItem>::at(int) const
(this=<optimized out>, i=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qvector.h:423
#8  0x00003ffff690c0a8 in QTreeViewPrivate::itemHeight(int) const
(this=0x100e299c0, item=<optimized out>) at itemviews/qtreeview.cpp:3436
#9  0x00003ffff690c95c in QTreeViewPrivate::coordinateForItem(int) const
(this=0x100e299c0, item=<optimized out>) at itemviews/qtreeview.cpp:3488
#10 0x00003ffff690cb20 in QTreeView::visualRect(QModelIndex const&) const
(this=0x100e29900, index=...) at itemviews/qtreeview.cpp:1141
#11 0x00003ffff6866354 in QAbstractItemView::update(QModelIndex const&)
(this=<optimized out>, index=...) at itemviews/qabstractitemview.cpp:3274
#12 0x00003ffff686f86c in QAbstractItemView::dataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=0x100e29900, topLeft=...,
bottomRight=..., roles=...) at itemviews/qabstractitemview.cpp:3307
#13 0x00003ffff6915900 in QTreeView::dataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=0x100e29900, topLeft=...,
bottomRight=..., roles=...) at itemviews/qtreeview.cpp:724
#14 0x00003ffff686e740 in QAbstractItemView::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at .moc/moc_qabstractitemview.cpp:410
#15 0x00003ffff5a79810 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x100e370a0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe2b8) at
kernel/qobject.cpp:3767
#16 0x00003ffff5a79cc8 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=0x100e370a0, m=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe2b8) at
kernel/qobject.cpp:3629
#17 0x00003ffff59ac72c in QAbstractItemModel::dataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=<optimized out>, _t1=...,
_t2=..., _t3=...) at .moc/moc_qabstractitemmodel.cpp:567
#18 0x00003ffff6921cfc in QTreeModel::emitDataChanged(QTreeWidgetItem*, int)
(this=0x100e370a0, item=0x100f5e5e0, column=0) at itemviews/qtreewidget.cpp:803
#19 0x00003ffff692383c in QTreeWidgetItem::setData(int, int, QVariant const&)
(this=0x100f5e5e0, column=<optimized out>, role=<optimized out>, value=...) at
itemviews/qtreewidget.cpp:1769
#20 0x000000010014884c in QTreeWidgetItem::setIcon(int, QIcon const&)
(aicon=..., column=0, this=0x100f5e5e0) at
/usr/include/QtWidgets/qtreewidget.h:225
#21 0x000000010014884c in UMLListViewItem::setIcon(Icon_Utils::IconType)
(this=0x100f5e5e0, iconType=<optimized out>) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umllistviewitem.cpp:472
#22 0x0000000100137de8 in UMLListView::slotCollapsed(QTreeWidgetItem*)
(this=<optimized out>, item=<optimized out>) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umllistview.cpp:2169
#23 0x000000010019459c in UMLListView::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>)
    at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/libumbrello_autogen/EWIEGA46WW/moc_umllistview.cpp:170
#24 0x00003ffff5a79810 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x100e29900, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe738) at
kernel/qobject.cpp:3767
#25 0x00003ffff5a79cc8 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=0x100e29900, m=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe738) at
kernel/qobject.cpp:3629
#26 0x00003ffff691df78 in QTreeWidget::itemCollapsed(QTreeWidgetItem*)
(this=<optimized out>, _t1=<error reading variable: value has been optimized
out>) at .moc/moc_qtreewidget.cpp:432
#27 0x00003ffff691f57c in QTreeWidgetPrivate::_q_emitItemCollapsed(QModelIndex
const&) (this=<optimized out>, index=...) at itemviews/qtreewidget.cpp:2295
#28 0x00003ffff6929034 in QTreeWidget::qt_static_metacall(QObject*,
QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>,
_id=<optimized out>, _a=<optimized out>) at .moc/moc_qtreewidget.cpp:211
#29 0x00003ffff5a79810 in QMetaObject::activate(QObject*, int, int, void**)
(sender=0x100e29900, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe938) at
kernel/qobject.cpp:3767
#30 0x00003ffff5a79cc8 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=0x100e29900, m=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe938) at
kernel/qobject.cpp:3629
#31 0x00003ffff6902bd4 in QTreeView::collapsed(QModelIndex const&)
(this=<optimized out>, _t1=...) at .moc/moc_qtreeview.cpp:329
#32 0x00003ffff6912c2c in QTreeViewPrivate::collapse(int, bool)
(this=0x100e299c0, item=<optimized out>, emitSignal=<optimized out>) at
itemviews/qtreeview.cpp:3170
#33 0x00003ffff6912e28 in QTreeView::collapse(QModelIndex const&)
(this=0x100e29900, index=...) at itemviews/qtreeview.cpp:819
#34 0x00003ffff6912f38 in QTreeView::setExpanded(QModelIndex const&, bool)
(this=<optimized out>, index=..., expanded=<optimized out>) at
itemviews/qtreeview.cpp:855
#35 0x00003ffff6920f30 in QTreeWidget::setItemExpanded(QTreeWidgetItem const*,
bool) (this=0x100e29900, item=0x100f5e5e0, expand=<optimized out>) at
itemviews/qtreewidget.cpp:3123
#36 0x0000000100149764 in QTreeWidgetItem::setExpanded(bool)
(aexpand=<optimized out>, this=0x100f5e5e0) at
/usr/include/QtWidgets/qtreewidget.h:407
#37 0x0000000100149764 in UMLListViewItem::setOpen(bool) (this=0x100f5e5e0,
expand=<optimized out>) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umllistviewitem.cpp:436
#38 0x000000010013bfb0 in UMLListView::closeDatatypesFolder() (this=<optimized
out>) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umllistview.cpp:2725
#39 0x000000010012516c in UMLDoc::addDefaultDatatypes() (this=0x1009b2ee0) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umldoc.cpp:3384
#40 0x000000010010b9cc in UMLApp::slotAddDefaultDatatypes() (this=0x1007568a0)
at /usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/uml.cpp:2790
#41 0x000000010010bbb4 in UMLApp::setGenerator(Uml::ProgrammingLanguage::Enum)
(this=0x1007568a0, pl=<optimized out>) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/uml.cpp:2330
#42 0x000000010012746c in UMLDoc::newDocument() (this=0x1009b2ee0) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umldoc.cpp:460
#43 0x0000000100111e94 in UMLApp::newDocument() (this=0x1007568a0) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/uml.cpp:3037
#44 0x00000001000f712c in initDocument(KCmdLineArgs*) (args=0x3fffeeb79860) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/main.cpp:79
#45 0x00000001000d2588 in main(int, char**) (argc=<optimized out>,
argv=0x3ffffffff158) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/main.cpp:230


I tried to install oxygen-icons5, and this did not help any.  The suggestion in
comment 12 of Bug 314149 did not help.  The suggestion in comment 5 of Bug
314149 did fix this, but now there are no icons (obviously).  It looks like the
fix from Bug 296300 should have fixed it, but it does not seem to have done so.
 I will be more than happy to provide any further help, and test any patches,
to resolve this issue once and for all.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list