{"action":"opened","issue":{"url":"https://api.github.com/repos/kvirc/KVIrc/issues/2083","repository_url":"https://api.github.com/repos/kvirc/KVIrc","labels_url":"https://api.github.com/repos/kvirc/KVIrc/issues/2083/labels{/name}","comments_url":"https://api.github.com/repos/kvirc/KVIrc/issues/2083/comments","events_url":"https://api.github.com/repos/kvirc/KVIrc/issues/2083/events","html_url":"https://github.com/kvirc/KVIrc/issues/2083","id":169074851,"number":2083,"title":"Crash when changing themes after #2079","user":{"login":"un1versal","id":3521959,"avatar_url":"https://avatars.githubusercontent.com/u/3521959?v=3","gravatar_id":"","url":"https://api.github.com/users/un1versal","html_url":"https://github.com/un1versal","followers_url":"https://api.github.com/users/un1versal/followers","following_url":"https://api.github.com/users/un1versal/following{/other_user}","gists_url":"https://api.github.com/users/un1versal/gists{/gist_id}","starred_url":"https://api.github.com/users/un1versal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/un1versal/subscriptions","organizations_url":"https://api.github.com/users/un1versal/orgs","repos_url":"https://api.github.com/users/un1versal/repos","events_url":"https://api.github.com/users/un1versal/events{/privacy}","received_events_url":"https://api.github.com/users/un1versal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-03T08:23:27Z","updated_at":"2016-08-03T08:23:27Z","closed_at":null,"body":"### Expected behavior\r\nChange theme\r\n\r\n### Actual behavior\r\nCrash\r\n\r\n[//]: # (Besides the text description, include any screenshot(s) that help us visualize the issue you're facing)\r\n\r\n### Steps to reproduce the issue\r\n1. Open theme manager\r\n2. select any global theme\r\n3. click apply\r\n\r\n### System information\r\n[//]: # (Type \"/about.kvirc\" (or click \"Help → About KVIrc\") and copy&paste the details from the \"Executable Information\" tab below between ``` marks)\r\n[//]: # (Also Enter any OS information the \"Executable Information\" tab doesn't contain, e.g. KDE, Gentoo, Linux Mint, etc.)\r\n\r\n```\r\nKVIrc 4.9.2 'Aria'\r\n\r\nRuntime Info:\r\nSystem name: Linux 4.4.0-31-generic\r\nSystem version: #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016\r\nArchitecture: x86_64\r\nQt version: 5.5.1\r\nQt theme: fusion\r\n\r\nBuild Info:\r\nBuild date: 2016-08-03 07:32:49 UTC\r\nSources date: 20160803\r\nRevision number: git-6845-g69ac1b9\r\nSystem name: Linux-4.4.0-31-generic\r\nCPU name: x86_64\r\nBuild command: /usr/bin/cmake\r\nBuild flags: \r\n   MANDIR=share/man\r\n   CMAKE_INSTALL_PREFIX=/usr\r\n   LIB_SUFFIX=/x86_64-linux-gnu\r\n   Threads=POSIX\r\nCompiler name: /usr/bin/c++\r\nCompiler flags: N/A\r\nQt version: 5.5.1\r\nFeatures: IRC, Debug, Crypt, SSL, IfAddr, IPC, OSS, Transparency, Webkit, Perl, Python, Enchant, Qt5, KVS\r\n```\r\n[//]: # (If you experienced crashes, segfaults please also include a stacktrace below, For how-to read: https://github.com/kvirc/KVIrc/wiki/Grabbing-a-useful-backtrace.)\r\n\r\n### Stacktrace (actually useful)\r\n```stacktrace\r\nContinuing.\r\n\r\nThread 1 \"kvirc\" received signal SIGSEGV, Segmentation fault.\r\n0x00000000005adc49 in QTreeWidgetItem::setExpanded (this=0x0, aexpand=true) at /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtreewidget.h:399\r\n399\t{ if (view) view->setItemExpanded(this, aexpand); }\r\n(gdb) thread apply all bt\r\n\r\nThread 5 (Thread 0x7f9e43591700 (LWP 3432)):\r\n#0  0x00007f9e6bc6ac5d in nanosleep () at ../sysdeps/unix/syscall-template.S:84\r\n#1  0x00007f9e62db54a6 in RTThreadSleep () from /var/lib/VBoxGuestAdditions/lib/libGL.so.1\r\n#2  0x00007f9e62d93493 in ?? () from /var/lib/VBoxGuestAdditions/lib/libGL.so.1\r\n#3  0x00007f9e62db77ec in ?? () from /var/lib/VBoxGuestAdditions/lib/libGL.so.1\r\n#4  0x00007f9e62dc46fd in ?? () from /var/lib/VBoxGuestAdditions/lib/libGL.so.1\r\n#5  0x00007f9e6bc616fa in start_thread (arg=0x7f9e43591700) at pthread_create.c:333\r\n#6  0x00007f9e670f8b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\n\r\nThread 4 (Thread 0x7f9e51e26700 (LWP 3429)):\r\n---Type <return> to continue, or q <return> to quit---\r\n#0  0x00007f9e670ece8d in poll () at ../sysdeps/unix/syscall-template.S:84\r\n#1  0x00007f9e653c639c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#2  0x00007f9e653c6722 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#3  0x00007f9e5938b916 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0\r\n#4  0x00007f9e653ecbc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#5  0x00007f9e6bc616fa in start_thread (arg=0x7f9e51e26700) at pthread_create.c:333\r\n#6  0x00007f9e670f8b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\n\r\nThread 3 (Thread 0x7f9e52627700 (LWP 3428)):\r\n#0  0x00007f9e670ece8d in poll () at ../sysdeps/unix/syscall-template.S:84\r\n#1  0x00007f9e653c639c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n---Type <return> to continue, or q <return> to quit---\r\n#2  0x00007f9e653c64ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#3  0x00007f9e653c64e9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#4  0x00007f9e653ecbc5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#5  0x00007f9e6bc616fa in start_thread (arg=0x7f9e52627700) at pthread_create.c:333\r\n#6  0x00007f9e670f8b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\n\r\nThread 2 (Thread 0x7f9e5b4ba700 (LWP 3427)):\r\n#0  0x00007f9e670ece8d in poll () at ../sysdeps/unix/syscall-template.S:84\r\n#1  0x00007f9e66b70c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1\r\n#2  0x00007f9e66b728d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1\r\n#3  0x00007f9e5e041629 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5\r\n---Type <return> to continue, or q <return> to quit---\r\n#4  0x00007f9e67d0184e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5\r\n#5  0x00007f9e6bc616fa in start_thread (arg=0x7f9e5b4ba700) at pthread_create.c:333\r\n#6  0x00007f9e670f8b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109\r\n\r\nThread 1 (Thread 0x7f9e6c1b18c0 (LWP 3425)):\r\n#0  0x00000000005adc49 in QTreeWidgetItem::setExpanded (this=0x0, aexpand=true) at /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtreewidget.h:399\r\n#1  0x00000000005ac471 in KviTreeWindowList::addItem (this=0x27cb010, wnd=0x2ea0530) at /home/un1versal/Desktop/kvirc/src/kvirc/ui/KviTreeWindowList.cpp:439\r\n#2  0x000000000059e8a9 in KviWindow::createWindowListItem (this=0x2ea0530) at /home/un1versal/Desktop/kvirc/src/kvirc/ui/KviWindow.cpp:349\r\n#3  0x000000000051a50a in KviMainWindow::recreateWindowList (this=0x2a501e0) at /home/un1versal/Desktop/kvirc/src/kvirc/ui/KviMainWindow.cpp:1298\r\n#4  0x000000000070a903 in KviApplication::optionResetUpdate (this=0x2684230, flags=43974656) at /home/un1versal/Desktop/kvirc/src/kvirc/kernel/KviOptions.cpp:1324\r\n#5  0x0000000000709629 in KviTheme::apply (szThemeDir=..., eLocation=KviThemeInfo::Builtin, buffer=...)\r\n---Type <return> to continue, or q <return> to quit---\r\n    at /home/un1versal/Desktop/kvirc/src/kvirc/kernel/KviOptions.cpp:1224\r\n#6  0x00007f9e4168431a in ThemeManagementDialog::applyCurrentTheme (this=0x2a46fc0) at /home/un1versal/Desktop/kvirc/src/modules/theme/ThemeManagementDialog.cpp:359\r\n#7  0x00007f9e416841bd in ThemeManagementDialog::applyTheme (this=0x2a46fc0, it=0x2f91420)\r\n    at /home/un1versal/Desktop/kvirc/src/modules/theme/ThemeManagementDialog.cpp:342\r\n#8  0x00007f9e4169143a in ThemeManagementDialog::qt_static_metacall (_o=0x2a46fc0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x7ffc109de540)\r\n    at /home/un1versal/Desktop/kvirc/build/src/modules/theme/moc_ThemeManagementDialog.cpp:122\r\n#9  0x00007f9e67f10fca in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5\r\n#10 0x00007f9e68a91642 in QListWidget::itemDoubleClicked(QListWidgetItem*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#11 0x00007f9e67f10fca in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5\r\n#12 0x00007f9e68a2d745 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#13 0x00007f9e68a3cafe in QAbstractItemView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n---Type <return> to continue, or q <return> to quit---\r\n#14 0x00007f9e68818387 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#15 0x00007f9e68916b5e in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#16 0x00007f9e68a3c5db in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#17 0x00007f9e67ee2412 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5\r\n#18 0x00007f9e687d503c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#19 0x00007f9e687dac19 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#20 0x00007f9e67ee262b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5\r\n#21 0x00007f9e687d9b32 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#22 0x00007f9e6883257b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#23 0x00007f9e68834b3b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n---Type <return> to continue, or q <return> to quit---\r\n#24 0x00007f9e687d505c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#25 0x00007f9e687da516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5\r\n#26 0x00007f9e67ee262b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5\r\n#27 0x00007f9e68224888 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5\r\n#28 0x00007f9e682261e5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()\r\n   from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5\r\n#29 0x00007f9e68209f38 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5\r\n#30 0x00007f9e5e073070 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5\r\n#31 0x00007f9e653c61a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#32 0x00007f9e653c6400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#33 0x00007f9e653c64ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0\r\n#34 0x00007f9e67f38a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5\r\n#35 0x00007f9e67edfdea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5\r\n#36 0x00007f9e67ee7e8c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5\r\n#37 0x00000000006fa029 in main (argc=2, argv=0x7ffc109df718) at /home/un1versal/Desktop/kvirc/src/kvirc/kernel/KviMain.cpp:488\r\n```"}}
{"actor":{"display_login":"un1versal"}}