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

A. Wilcox (awilfox) bugzilla_noreply at kde.org
Tue Nov 6 21:25:05 GMT 2018


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

A. Wilcox (awilfox) <awilfox at adelielinux.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED
     Ever confirmed|0                           |1

--- Comment #4 from A. Wilcox (awilfox) <awilfox at adelielinux.org> ---
Applying that commit as a patch didn't change anything.  Does it require more
commits from master?  It was applied directly to a 18.08.2 tarball.


awilcox on gwyn [pts/11 Tue 6 15:23] user: gdb umbrello5
GNU gdb (GDB) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "powerpc64-foxkit-linux-musl".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from umbrello5...Reading symbols from
/usr/lib/debug//usr/bin/umbrello5.debug...done.
done.
(gdb) run
Starting program: /usr/bin/umbrello5 
Qt: gdb: -nograb added to command-line options.
         Use the -dograb option to enforce grabbing.
[New LWP 36041]
[New LWP 36042]
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.
[New LWP 36043]
[New LWP 36044]
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= "ukYrMZXkIkFZG"
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="ukYrMZXkIkFZG" / 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="ukYrMZXkIkFZG" / isOpen=true
umbrello: setZoom 100
umbrello: setZoom 100
umbrello: Modified file= "Untitled"
umbrello: id= "ukYrMZXkIkFZG"
umbrello: setZoom 100
umbrello: Changed view to UMLScene: "class diagram" / type="Class" /
id="ukYrMZXkIkFZG" / 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"
umbrello: "Create UML object : float"  [ 3 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "float"
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"
umbrello: "Create UML object : unsigned int"  [ 9 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "unsigned int"
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"
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"
umbrello: "Create UML object : long int"  [ 14 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "long int"
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"
umbrello: "Create UML object : long double"  [ 17 ]
umbrello: Modified file= "Untitled"
umbrello: scene= "class diagram"  / object= "long double"
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

Thread 1 "umbrello5" received signal SIGABRT, Aborted.
0x00003ffff7f90268 in __syscall4 (d=8, c=0, b=70368744168576, 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=70368744168576, a=2, n=174)
at ./arch/powerpc64/syscall_arch.h:54
#1  0x00003ffff7f90268 in __restore_sigs (set=0x3fffffffdc80) 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=0x3fffffffde48, 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=0x100df86a0, item=<optimized out>) at itemviews/qtreeview.cpp:3436
#9  0x00003ffff690c95c in QTreeViewPrivate::coordinateForItem(int) const
(this=0x100df86a0, item=<optimized out>) at itemviews/qtreeview.cpp:3488
#10 0x00003ffff690cb20 in QTreeView::visualRect(QModelIndex const&) const
(this=0x100dfad00, 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=0x100dfad00, topLeft=...,
bottomRight=..., roles=...) at itemviews/qabstractitemview.cpp:3307
#13 0x00003ffff6915900 in QTreeView::dataChanged(QModelIndex const&,
QModelIndex const&, QVector<int> const&) (this=0x100dfad00, 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=0x100e050e0, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe298) at
kernel/qobject.cpp:3767
#16 0x00003ffff5a79cc8 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=0x100e050e0, m=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe298) 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=0x100e050e0, item=0x100f17520, column=0) at itemviews/qtreewidget.cpp:803
#19 0x00003ffff692383c in QTreeWidgetItem::setData(int, int, QVariant const&)
(this=0x100f17520, column=<optimized out>, role=<optimized out>, value=...) at
itemviews/qtreewidget.cpp:1769
#20 0x00000001001488ec in QTreeWidgetItem::setIcon(int, QIcon const&)
(aicon=..., column=0, this=0x100f17520) at
/usr/include/QtWidgets/qtreewidget.h:225
#21 0x00000001001488ec in UMLListViewItem::setIcon(Icon_Utils::IconType)
(this=0x100f17520, iconType=<optimized out>) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umllistviewitem.cpp:472
#22 0x0000000100137e88 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 0x000000010019463c 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=0x100dfad00, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe718) at
kernel/qobject.cpp:3767
#25 0x00003ffff5a79cc8 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=0x100dfad00, m=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe718) 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=0x100dfad00, signalOffset=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe918) at
kernel/qobject.cpp:3767
#30 0x00003ffff5a79cc8 in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (sender=0x100dfad00, m=<optimized out>,
local_signal_index=<optimized out>, argv=0x3fffffffe918) 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=0x100df86a0, item=<optimized out>, emitSignal=<optimized out>) at
itemviews/qtreeview.cpp:3170
#33 0x00003ffff6912e28 in QTreeView::collapse(QModelIndex const&)
(this=0x100dfad00, 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=0x100dfad00, item=0x100f17520, expand=<optimized out>) at
itemviews/qtreewidget.cpp:3123
#36 0x0000000100149804 in QTreeWidgetItem::setExpanded(bool)
(aexpand=<optimized out>, this=0x100f17520) at
/usr/include/QtWidgets/qtreewidget.h:407
#37 0x0000000100149804 in UMLListViewItem::setOpen(bool) (this=0x100f17520,
expand=<optimized out>) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umllistviewitem.cpp:436
#38 0x000000010013c050 in UMLListView::closeDatatypesFolder() (this=<optimized
out>) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umllistview.cpp:2725
#39 0x00000001001251cc in UMLDoc::addDefaultDatatypes() (this=0x1009b39a0) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umldoc.cpp:3388
#40 0x000000010010b9cc in UMLApp::slotAddDefaultDatatypes() (this=0x10071e780)
at /usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/uml.cpp:2790
#41 0x000000010010bbb4 in UMLApp::setGenerator(Uml::ProgrammingLanguage::Enum)
(this=0x10071e780, pl=<optimized out>) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/uml.cpp:2330
#42 0x0000000100127508 in UMLDoc::newDocument() (this=0x1009b39a0) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/umldoc.cpp:463
#43 0x0000000100111e94 in UMLApp::newDocument() (this=0x10071e780) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/uml.cpp:3037
#44 0x00000001000f712c in initDocument(KCmdLineArgs*) (args=0x3fffef18bb20) 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=0x3ffffffff148) at
/usr/src/packages/user/umbrello/src/umbrello-18.08.2/umbrello/main.cpp:230

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


More information about the umbrello-devel mailing list