With Qt-5.4.2 it works fine. But it crashes with every 5.5 (5.5.0, 5.5.1) version.
1 2015-11-15 19:04:27
Re: QElectroTech version 0.5 Release Candidate 1 released (52 replies, posted in News)
2 2015-11-15 10:59:35
Re: QElectroTech version 0.5 Release Candidate 1 released (52 replies, posted in News)
I have already patched the qelectrotech.pro file.
[10:55 - firewalker@laptop ~]$ ls /usr/share/qelectrotech/
elements examples lang titleblocks
The problem is with the function I mentioned (buildSystemTrayMenu). If for example I coment out this function from the code, the program will not segfault.
What version of Qt-5 are you using?
3 2015-11-14 15:11:44
Re: QElectroTech version 0.5 Release Candidate 1 released (52 replies, posted in News)
The problem is with function buildSystemTrayMenu(); in qetapp.cpp file, line 127.
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xb79e0f81 in QMenu::actionEvent(QActionEvent*) () from /usr/lib/libQt5Widgets.so.5
#2 0xb7892cfa in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#3 0xb79e798a in QMenu::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#4 0xb784ac6a in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#5 0xb7850330 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#6 0xb6d2a8cf in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#7 0xb78891c9 in QWidget::insertAction(QAction*, QAction*) () from /usr/lib/libQt5Widgets.so.5
#8 0xb788933e in QWidget::addAction(QAction*) () from /usr/lib/libQt5Widgets.so.5
#9 0x081483ec in QETApp::buildSystemTrayMenu (this=0xbffff224) at sources/qetapp.cpp:1529
#10 0x0813fdc5 in QETApp::QETApp (this=0xbffff224, argc=@0xbffff310: 1, argv=0xbffff3a4) at sources/qetapp.cpp:127
#11 0x08126213 in main (argc=1, argv=0xbffff3a4) at sources/main.cpp:34
(gdb) frame 10
#10 0x0813fdc5 in QETApp::QETApp (this=0xbffff224, argc=@0xbffff310: 1, argv=0xbffff3a4) at sources/qetapp.cpp:127
warning: Source file is more recent than executable.
127 // buildSystemTrayMenu();
(gdb)
4 2015-11-14 13:45:52
Re: QElectroTech version 0.5 Release Candidate 1 released (52 replies, posted in News)
I forgot to mention that I am using Qt 5.5.1.
5 2015-11-14 13:43:56
Re: QElectroTech version 0.5 Release Candidate 1 released (52 replies, posted in News)
It segfaults while showing the start-up screen. It says Loading... Folios editor.
6 2015-11-14 12:31:47
Re: QElectroTech version 0.5 Release Candidate 1 released (52 replies, posted in News)
Hello. Thanks you for your work.
About 0.5 rc1. I have an issue with Archlinux. I made a bug report. Any hints?