You are not logged in.

#1 2017-06-12 08:11:01

kutkh
Member
Registered: 2017-06-12
Posts: 2

[SOLVED] Texstudio segfaults after update

Hi together,

the last thing I did on Friday was to update and then I went into the weekend.

Today, I've tried to start Texstudio but I only get
>[1]    2293 segmentation fault (core dumped)  texstudio

Since I am sometimes a bit lazy with updating, I am not sure which packages got upgraded and therefore I am not sure which package I have to downgrade...

I hope you can help me :-)

Last edited by kutkh (2017-06-13 10:49:53)

Offline

#2 2017-06-12 08:13:25

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Texstudio segfaults after update

You can read your log to see what was updated...



Moving to NC.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-06-12 17:54:17

NoOneX
Member
Registered: 2012-07-31
Posts: 5

Re: [SOLVED] Texstudio segfaults after update

I have the same issue. I suspect the Qt 5.8 -> 5.9 update a few days ago which happened since the last time I was using TexStudio. The issue is a stack overflow while handling resize events:

Thread 1 "texstudio" received signal SIGSEGV, Segmentation fault.
0x00007ffff6ce0910 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
(gdb) bt
#0  0x00007ffff6ce0910 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#1  0x00007ffff6c9f46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#2  0x00007ffff6ca6cf4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#3  0x00007ffff5519b98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff6cd8c62 in QWidget::setContentsMargins(int, int, int, int) () at /usr/lib/libQt5Widgets.so.5
#5  0x00000000007f079f in Internal::MiniSplitterHandle::resizeEvent(QResizeEvent*) ()
#6  0x00007ffff6ce0912 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#7  0x00007ffff6c9f46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#8  0x00007ffff6ca6cf4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007ffff5519b98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007ffff6cd8c62 in QWidget::setContentsMargins(int, int, int, int) () at /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff6e1b231 in QSplitterHandle::resizeEvent(QResizeEvent*) () at /usr/lib/libQt5Widgets.so.5
#12 0x00000000007f07e1 in Internal::MiniSplitterHandle::resizeEvent(QResizeEvent*) ()
#13 0x00007ffff6ce0912 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff6c9f46c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#15 0x00007ffff6ca6cf4 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007ffff5519b98 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#17 0x00007ffff6cd8c62 in QWidget::setContentsMargins(int, int, int, int) () at /usr/lib/libQt5Widgets.so.5
#18 0x00000000007f079f in Internal::MiniSplitterHandle::resizeEvent(QResizeEvent*) ()
#19 0x00007ffff6ce0912 in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5

I am sorry for just dumping this here. I currently don't have the time to investigate further / report it upstream, TexStudio broke in the worst possible moment (I am just using a text editor for now).

Why was this moved from the application forum, since this is clearly an application issue?

Edit: @kutkh The installation log can be found in 

/var/log/pacman.log

Last edited by NoOneX (2017-06-12 17:57:37)

Offline

#4 2017-06-12 18:00:29

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: [SOLVED] Texstudio segfaults after update

Online

#5 2017-06-12 18:12:24

NoOneX
Member
Registered: 2012-07-31
Posts: 5

Re: [SOLVED] Texstudio segfaults after update

Thanks, I got it to work with the fix given in the upstream bug https://sourceforge.net/p/texstudio/bugs/2149/#75b5:

Chi-Hsuan Yen - 2017-05-06

Thanks for testing. I find the cause - my texstudio.ini has an invalid line:

centralVSplitterState=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1\x84\0\0\x1\x17\0\xff\xff\xff\xff\x1\0\0\0\x2\0)

Removing this line brings texstudio back, even on Qt 5.9 beta 3.

Offline

#6 2017-06-13 10:47:16

kutkh
Member
Registered: 2017-06-12
Posts: 2

Re: [SOLVED] Texstudio segfaults after update

Fixing texstudio.ini also solves the issue for me.

Thanks! :-)

Offline

Board footer

Powered by FluxBB