With Qt-5.4.2 it works fine. But it crashes with every 5.5 (5.5.0, 5.5.1) version. nomicons/dizzy nomicons/dizzy nomicons/dizzy

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?

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)

I forgot to mention that I am using Qt 5.5.1.

It segfaults while showing the start-up screen. It says Loading... Folios editor.

http://i.imgur.com/mFbmlDk.png

Hello. Thanks you for your work.

About 0.5 rc1. I have an issue with Archlinux. I made a bug report. Any hints?

http://qelectrotech.org/bugtracker/view.php?id=74