Menu

#2035 qt5 segfault

None
wont-fix
nobody
None
1
2017-01-17
2017-01-17
Anonymous
No

Hi,
I am using texstudio 2.12.0 with QT_QPA_PLATFORMTHEME=qt5ct (version 0.27) over Archlinux/XFCE. I recently did upgrade of my system (dunno which package caused the following bug, qt5? qt5ct? ...?)

I had the same issue as mentioned by Fred in a comment in #1927, however I didn't find a bug report about it (sorry if I miss searched).

Stopped reason: SIGSEGV
0x0000000000711db7 in ManhattanStyle::event(QEvent*) ()

#0  0x0000000000711db7 in ManhattanStyle::event(QEvent*) ()
#1  0x00007ffff6c9435c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#2  0x00007ffff6c9bad1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#3  0x00007ffff5581a40 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#4  0x00007ffff55b5bea in QObject::setProperty(char const*, QVariant const&) () from /usr/lib/libQt5Core.so.5
#5  0x00000000007134d2 in ManhattanStyle::ManhattanStyle(QString const&) ()
#6  0x000000000064f0cb in ConfigManager::setInterfaceStyle() ()
#7  0x00000000006747d5 in ConfigManager::readSettings(bool) ()
#8  0x000000000059e6ca in Texstudio::readSettings(bool) ()
#9  0x00000000005a025b in Texstudio::Texstudio(QWidget*, QFlags<Qt::WindowType>, QSplashScreen*) ()
#10 0x0000000000539ae2 in TexstudioApp::init(QStringList&) ()
#11 0x000000000053403e in main ()
#12 0x00007ffff44bc291 in __libc_start_main () from /usr/lib/libc.so.6
#13 0x0000000000536dda in _start ()

One possible workaround to partially solve the issue was to unset QT_QPA_PLATFORMTHEME. So no segfault, but I couldn't have a proper window theming.

So I did set QT_QPA_PLATFORMTHEME back to qt5ct, and moved away the .config/texstudio folder, then no segfault. Digging a bit more, it appears that in my previous texstudio.ini I had "GUI\Style=true" that now needs to be "GUI\Style=false" to properly work.

Hope this helps someone.
Cheers.

Discussion

  • Jan  Sundermeyer

    Jan Sundermeyer - 2017-01-17

    as it is platform specific, and again on Arch linux, we don't look into it

     
  • Jan  Sundermeyer

    Jan Sundermeyer - 2017-01-17
    • status: open --> wont-fix
    • Group: -->
     
  • Tim Hoffmann

    Tim Hoffmann - 2017-01-17

    possibly the same: [bugs:#1929]

     

    Related

    Bugs: #1929


Log in to post a comment.