Comments (4)
I have the same issue as @tonylambiris with the latest commit e65de5a.
Linux [redacted] 4.18.0-kali2-amd64 #1 SMP Debian 4.18.10-2kali1 (2018-10-09) x86_64 GNU/Linux
from veles.
I have the same issue and after some digging I was able to make it work by disabling the color palette setting in MainWindowWithDetachableDockWidgets::updateActiveDockWidget()
in src/ui/mainwindowwithdetachabledockwidgets.cc
:
QList<DockWidget*> dock_widgets = findChildren<DockWidget*>();
for (auto dock_widget : dock_widgets) {
if (false && mark_active_dock_widget_ && active_dock_widget_ == dock_widget) {
dock_widget->setStyleSheet(
QString("%1::title {"
"background : palette(highlight);"
"color : palette(highlighted-text);"
"}")
.arg(QString(dock_widget->metaObject()->className())
.replace(':', '-')));
} else {
// always force emptystylesheet
dock_widget->setStyleSheet("");
}
}
It seems to be related to Qt palette ( I also get these messages :
qt5ct: using qt5ct plugin
qt5ct: D-Bus global menu: no
qt5ct: palette support is disabled
)
No idea how to really fix this though, and it will still crash if you try dragging parts of the window. Any ideas ?
from veles.
Added the following patch to veles-git in the AUR.
diff --git a/src/ui/mainwindowwithdetachabledockwidgets.cc b/src/ui/mainwindowwithdetachabledockwidgets.cc
index 15e7e17..05a81e9 100644
--- a/src/ui/mainwindowwithdetachabledockwidgets.cc
+++ b/src/ui/mainwindowwithdetachabledockwidgets.cc
@@ -603,7 +603,8 @@ void MainWindowWithDetachableDockWidgets::updateActiveDockWidget() {
QList<DockWidget*> dock_widgets = findChildren<DockWidget*>();
for (auto dock_widget : dock_widgets) {
- if (mark_active_dock_widget_ && active_dock_widget_ == dock_widget) {
+ // always force emptystylesheet to fix veles crashes
+ if (false && mark_active_dock_widget_ && active_dock_widget_ == dock_widget) {
dock_widget->setStyleSheet(
QString("%1::title {"
"background : palette(highlight);"
Thanks for digging into this @Juleinn
from veles.
Using latest git commit:
Thread 1.1 "veles" received signal SIGSEGV, Segmentation fault.
0x00007ffff7af9375 in ?? () from /usr/lib/libQt5Widgets.so.5
=> 0x00007ffff7af9375: f6 40 20 01 test BYTE PTR [rax+0x20],0x1
bt
#0 0x00007ffff7af9375 in () at /usr/lib/libQt5Widgets.so.5
#1 0x00007ffff7af9494 in () at /usr/lib/libQt5Widgets.so.5
#2 0x00005555556dc62a in veles::ui::MainWindowWithDetachableDockWidgets::updateActiveDockWidget() ()
#3 0x00005555556dcc5c in veles::ui::MainWindowWithDetachableDockWidgets::updateDocksAndTabs() ()
#4 0x00007ffff6d28832 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#5 0x00007ffff7a92b0c in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#6 0x00007ffff7b6d54c in QDockWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#7 0x00007ffff7a52e14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#8 0x00007ffff7a5a6e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9 0x00007ffff6cfe119 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007ffff6d011ac in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#11 0x00007ffff6d51ec4 in () at /usr/lib/libQt5Core.so.5
#12 0x00007ffff52b1ca7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#13 0x00007ffff52b1f59 in () at /usr/lib/libglib-2.0.so.0
#14 0x00007ffff52b1fee in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#15 0x00007ffff6d5152e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#16 0x00007ffff1910312 in () at /usr/lib/libQt5XcbQpa.so.5
#17 0x00005555556dc0de in veles::ui::MainWindowWithDetachableDockWidgets::updateActiveDockWidget() ()
#18 0x00005555556dcc5c in veles::ui::MainWindowWithDetachableDockWidgets::updateDocksAndTabs() ()
#19 0x00007ffff6d280b0 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#20 0x00007ffff7b68d62 in QDockWidget::dockLocationChanged(Qt::DockWidgetArea) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007ffff7ba21df in () at /usr/lib/libQt5Widgets.so.5
#22 0x00005555556dcf5a in veles::ui::MainWindowWithDetachableDockWidgets::addTab(QWidget*, QString const&, veles::ui::DockWidget*) ()
#23 0x00005555556dd52f in veles::ui::MainWindowWithDetachableDockWidgets::createVisualization(QSharedPointer<veles::ui::FileBlobModel> const&) ()
#24 0x00007ffff6d280b0 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#25 0x00007ffff7a4c613 in QAction::triggered(bool) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007ffff7a4ed0a in QAction::activate(QAction::ActionEvent) () at /usr/lib/libQt5Widgets.so.5
#27 0x00007ffff7b3ee5e in () at /usr/lib/libQt5Widgets.so.5
#28 0x00007ffff7b3f096 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#29 0x00007ffff7c2e61b in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5Widgets.so.5
#30 0x00007ffff7a92658 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007ffff7c2e6c4 in QToolButton::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007ffff7a52e14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#33 0x00007ffff7a5a92a in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#34 0x00007ffff6cfe119 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#35 0x00007ffff7a59c11 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/libQt5Widgets.so.5
#36 0x00007ffff7aad98c in () at /usr/lib/libQt5Widgets.so.5
#37 0x00007ffff7ab05d5 in () at /usr/lib/libQt5Widgets.so.5
#38 0x00007ffff7a52e14 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007ffff7a5a6e1 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#40 0x00007ffff6cfe119 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#41 0x00007ffff724ad04 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#42 0x00007ffff724ccc6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#43 0x00007ffff7226a4c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#44 0x00007ffff191031d in () at /usr/lib/libQt5XcbQpa.so.5
#45 0x00007ffff6cfcdac in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#46 0x00007ffff6d050a6 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#47 0x000055555565abdb in main ()
#48 0x00007ffff65bc223 in __libc_start_main () at /usr/lib/libc.so.6
#49 0x000055555565c25e in _start ()
from veles.
Related Issues (20)
- Bad alloc in hexedit HOT 2
- Visualization minimap width resets itself HOT 3
- How to save image and 3D Trigram visualization Image HOT 2
- QFontDatabase returns some strange, non-default font on macOS
- Segfault - out of bounds chunk creation
- Strange behaviour of trackball manipulator
- It's possible to use Veles to analyse data streams, not only binary files?
- [Feature request] copy nodes
- Build error
- Web version
- Write some docs
- 32-bit releases are missing
- Check if MinGW is still unsuitable.
- ImportError: No module named 'veles' on macOS HOT 5
- Larger files trigger this failure: ValueError: 1398490 exceeds max_bin_len(1048576) HOT 1
- Radare2 integration
- missing Kaitai Struct (.ksy) source for file format parsers
- install of Veles_2018.05_64bit_Ubuntu1604.deb fails with error: invalid command 'bdist_wheel'
- NetworkClient: Disconnect. error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from veles.