Bug 400501 - Umbrello fails to start due to ASSERT failure in QVector<T>::at "index out of range"
Summary: Umbrello fails to start due to ASSERT failure in QVector<T>::at "index out of...
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: 2.26.2 (KDE Applications 18.08.2)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-31 06:34 UTC by A. Wilcox (awilfox)
Modified: 2018-11-06 21:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.26.3 (KDE Applications 18.08.3)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Wilcox (awilfox) 2018-10-31 06:34:54 UTC
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.
Comment 1 Ralf Habacker 2018-11-01 10:06:09 UTC
In the backtrace there are some of the following lines: 

QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring call

which is implemented at 

void QPainterPath::addRect(const QRectF &r)
{
    if (!qt_is_finite(r.x()) || !qt_is_finite(r.y()) || !qt_is_finite(r.width()) || !qt_is_finite(r.height())) {
#ifndef QT_NO_DEBUG
        qWarning("QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring call");
#endif
        return;
    }

This indicates that there is something wrong in the windowing system or one of the base libraries umbrello depends on.

Are you able to build umbrello with  cmake -DBUILD_KF5=OFF ?
This would help to find out if the problem is located in umbrello itself or some of the base libraries.
Comment 2 A. Wilcox (awilfox) 2018-11-01 21:31:01 UTC
No, I am not able to do that, because we don't have the (deprecated, no longer supported) KDE 4 libraries packaged.

As for "QPainterPath::addRect: Adding rect where a parameter is NaN or Inf, ignoring call":

That output only appears on ppc64, which is using software backend for KWin and that is the likely cause for that message.  The crash still occurs, without this message, on the other architectures.
Comment 3 Ralf Habacker 2018-11-02 10:39:46 UTC
Git commit af72e059f728d70e43ac3ea03653865585818e66 by Ralf Habacker.
Committed on 02/11/2018 at 10:39.
Pushed by habacker into branch 'Applications/18.08'.

Fix 'Umbrello fails to start due to ASSERT failure in QVector<T>::at "index out of range"'

The backtrace shows that Qt wants to access tree view items that
have already been deleted. To avoid this, graphical updates are
disabled when creating the new document.
FIXED-IN:2.26.3 (KDE Applications 18.08.3)

M  +4    -0    umbrello/umldoc.cpp

https://commits.kde.org/umbrello/af72e059f728d70e43ac3ea03653865585818e66
Comment 4 A. Wilcox (awilfox) 2018-11-06 21:25:05 UTC
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
Comment 5 Ralf Habacker 2018-11-06 21:40:50 UTC
(In reply to A. Wilcox (awilfox) from comment #4)
> Applying that commit as a patch didn't change anything. 
You are right. The patch needs a fix.

The line 
+    UMLApp::app()->document()->setLoading(false);

needs to be changed 

+    UMLApp::app()->document()->setLoading(true);

to be have an effect.
Comment 6 Ralf Habacker 2018-11-06 21:59:28 UTC
Git commit abb8b3721ba400ab423489295e8e6662832aa288 by Ralf Habacker.
Committed on 06/11/2018 at 21:44.
Pushed by habacker into branch 'Applications/18.08'.

Fixup of commit af72e05

Loading state should be set to true to have an effect.

M  +1    -1    umbrello/umldoc.cpp

https://commits.kde.org/umbrello/abb8b3721ba400ab423489295e8e6662832aa288