FS#54269 - [texstudio] Broken with Qt 5.9

Attached to Project: Community Packages
Opened by Peter (protake) - Friday, 02 June 2017, 10:54 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Thursday, 10 August 2017, 21:10 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

$ texstudio
inconsistent command arguments: "\\csname" "scrlayer.cwl"
inconsistent command arguments: "\\x" "catchfile.cwl"
inconsistent command arguments: "\\x" "catchfile.cwl"
inconsistent command arguments: "\\x" "catchfile.cwl"
inconsistent command arguments: "\\x" "catchfile.cwl"
inconsistent command arguments: "\\x" "catchfile.cwl"
inconsistent command arguments: "\\x" "etexcmds.cwl"
inconsistent command arguments: "\\x" "infwarerr.cwl"
inconsistent command arguments: "\\x" "ltxcmds.cwl"
inconsistent command arguments: "\\x" "luatex-loader.cwl"
inconsistent command arguments: "\\x" "pdftexcmds.cwl"
inconsistent command arguments: "\\hyphentextcquote" "csquotes.cwl"
inconsistent command arguments: "\\hyphentextcquote" "csquotes.cwl"
inconsistent command arguments: "\\hyperref" "hyperref.cwl"
inconsistent command arguments: "\\hyperref" "hyperref.cwl"
level addition 0 QSet("\\part", "\\part*", "\\addpart*", "\\addpart") != QSet("\\part", "\\part*", "\\addpart*")
level addition 0 QSet("\\part", "\\part*", "\\addpart*", "\\addpart") != QSet("\\part", "\\part*", "\\addpart*", "\\addpart")
level addition 1 QSet("\\chapter", "\\addchap*", "\\addchap", "\\chapter*") != QSet("\\chapter", "\\addchap*", "\\chapter*")
level addition 1 QSet("\\chapter", "\\addchap*", "\\addchap", "\\chapter*") != QSet("\\chapter", "\\addchap*", "\\addchap", "\\chapter*")
level addition 2 QSet("\\addsec", "\\section", "\\section*", "\\addsec*") != QSet("\\addsec", "\\section", "\\section*")
level addition 2 QSet("\\addsec", "\\section", "\\section*", "\\addsec*") != QSet("\\addsec", "\\section", "\\section*", "\\addsec*")
zsh: segmentation fault (core dumped) texstudio

Maybe it just needs to be rebuild?
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Thursday, 10 August 2017, 21:10 GMT
Reason for closing:  Fixed
Comment by Chih-Hsuan Yen (yan12125) - Friday, 02 June 2017, 12:01 GMT
I guess you got the same problem as me. My comment at https://sourceforge.net/p/texstudio/bugs/2149/#75b5 may be helpful.

> Maybe it just needs to be rebuild?

Unfortunately, if upstream bug #2149 is the cause, rebuilding does not fix the issue.
Comment by Peter (protake) - Friday, 02 June 2017, 12:07 GMT
Thanks! Removing that line brought it back to life!
Comment by Antonio Rojas (arojas) - Tuesday, 06 June 2017, 16:17 GMT
Given that upstream closed the bug as works-for-me, I don't think there's much we can do about it.
Comment by Ondřej Hruška (MightyPork) - Monday, 12 June 2017, 18:46 GMT
thanks so much Yen. Tried rebuilding from AUR, then from upstream, already been looking for alternatives. One bad line in the ini file :facepalm:
Comment by Stefan (poidl) - Tuesday, 13 June 2017, 05:59 GMT
Excellent, Yen Chi Hsuan's solution works for me. I spent an hour on this today and ended up filing a (duplicate) bug report, somehow missed this one.
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 14 June 2017, 17:03 GMT
Wait, so what am I to do about this?
Comment by Antonio Rojas (arojas) - Wednesday, 14 June 2017, 17:35 GMT
I'd say someone should ask upstream to reopen the bug now that it's known what triggers it... there's no packaging issue here.
Comment by Mayeul C. (MayeulC) - Friday, 23 June 2017, 16:51 GMT
I can confirm the same problem.
Prepending a semicolon ';' to the line starting by centralVSplitterState in $HOME/.config/texstudio/texstudio.ini seems to work around the problem.

From gdb, it seems that the problem is:

Thread 1 "texstudio" received signal SIGSEGV, Segmentation fault.
0x00007fffc9cd6b68 in ?? () from /usr/lib/qt/plugins/styles/oxygen.so
0x00007fffc9cd6b68 ? callq 0x7fffc9c33530 <_ZN6Oxygen6Helper9isWaylandEv@plt>

Though I might be mistaken. I hope this helps. I am running plasma 5 (breeze decorations/theme) on X11 (ADM R600 open source drivers)
Comment by Tom van Dijk (trolando) - Sunday, 16 July 2017, 11:22 GMT
Can confirm the same problem. Removing or commenting out that line is an effective workaround.

However, after commenting out the line, uncommenting it does not trigger the bug again.
Comment by Sven-Hendrik Haase (Svenstaro) - Tuesday, 08 August 2017, 14:39 GMT
Ok guys, I've patched the package. Can anyone test? For me, the old and the new package both don't crash.

Loading...