#1929 Segmentation Fault for texstudio and qt5

3 days ago

I've built texstudio against qt5 5.6.1. It builds without issues but when I run the application, it produces a segmentation fault.

Gdb output:

gdb texstudio
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-slackware-linux".
For bug reporting instructions, please see:
Reading symbols from /usr/bin/texstudio...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/texstudio
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Traceback (most recent call last):
File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.3600.4-gdb.py", line 9, in <module>
from gobject import register
File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
import gdb.backtrace
ImportError: No module named backtrace
[New Thread 0x7fffe93f2700 (LWP 11068)]
[New Thread 0x7fffe0d79700 (LWP 11069)]

Program received signal SIGSEGV, Segmentation fault.
0x000000000070c627 in ManhattanStyle::event(QEvent*) ()
(gdb) bt
0 0x000000000070c627 in ManhattanStyle::event(QEvent*) ()
1 0x00007ffff6a3cd4c in QApplicationPrivate::notify_helper(QObject, QEvent) () from /usr/lib64/libQt5Widgets.so.5
2 0x00007ffff6a413ea in QApplication::notify(QObject, QEvent) () from /usr/lib64/libQt5Widgets.so.5
3 0x00007ffff50d36d5 in QCoreApplication::notifyInternal2(QObject, QEvent) () from /usr/lib64/libQt5Core.so.5
4 0x00007ffff5106bae in QObject::setProperty(char const*, QVariant const&) () from /usr/lib64/libQt5Core.so.5
5 0x000000000071095f in ManhattanStyle::ManhattanStyle(QString const&) ()
6 0x000000000064780d in ConfigManager::setInterfaceStyle() ()
7 0x000000000066cd44 in ConfigManager::readSettings(bool) ()
8 0x0000000000589828 in Texstudio::readSettings(bool) ()
9 0x000000000058b50e in Texstudio::Texstudio(QWidget, QFlags<Qt::WindowType>, QSplashScreen) ()
10 0x0000000000527aac in TexstudioApp::init(QStringList&) ()
11 0x0000000000522139 in main ()


Thank you for your help. It is very much appreciated.




Bugs: #2035


  • Jan  Sundermeyer

    Jan Sundermeyer - 2016-10-09

    wors fine on lubuntu 16.04.

  • Tim Hoffmann

    Tim Hoffmann - 2016-10-10

    please try to run the program with default settings

  • johannes lips

    johannes lips - 2016-10-19

    Could this be related to bug #1938, because the build also fails in connection with the Manhattan Style?




    Bugs: #1938

    Last edit: Tim Hoffmann 2016-10-19
  • Tim Hoffmann

    Tim Hoffmann - 2016-10-19

    Might be, though I doubt it. This one is a runtime error while [bugs:#1938] is a compile error.



    Bugs: #1938

  • Jan  Sundermeyer

    Jan Sundermeyer - 6 days ago
    • status: open --> works-for-me
    • Group: -->

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks