FS#51454 - [texstudio] Crash on open file

Attached to Project: Community Packages
Opened by Choong Jun Jin (zepx) - Thursday, 20 October 2016, 05:25 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 20 October 2016, 06:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Texstudio crashes upon clicking 'open file' or 'ctrl + o'.

Additional info:
* Package Version: community/texstudio 2.11.2-1
* Error Log:

/tmp/texstudio_backtrace1.txt

SIGSEGV (TXS-Version 6191:c01fb289a5fe R )
[bt] texstudio(_ZN12SimulatedCPU13set_from_realEv+0) [0x6ac1c0]


Steps to reproduce:
1. Open texstudio
2. Click on 'Open File' or press 'ctrl + o' Hotkey
This task depends upon

Closed by  Doug Newgard (Scimmia)
Thursday, 20 October 2016, 06:13 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#50706 
Comment by Choong Jun Jin (zepx) - Thursday, 20 October 2016, 05:41 GMT
[choong@Arch ~]$ gdb texstudio
GNU gdb (GDB) 7.12
Copyright (C) 2016 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from texstudio...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/texstudio
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib64/libthread_db.so.1".
[New Thread 0x7fffe91de700 (LWP 24296)]
[New Thread 0x7fffdf0e9700 (LWP 24298)]
[New Thread 0x7fffde8e8700 (LWP 24299)]
[New Thread 0x7fffde0e7700 (LWP 24300)]
[New Thread 0x7fffcf503700 (LWP 24301)]
[New Thread 0x7fffce8e7700 (LWP 24302)]
[New Thread 0x7fffcdde4700 (LWP 24303)]
[New Thread 0x7fffcd49c700 (LWP 24304)]
[New Thread 0x7fffccc9b700 (LWP 24305)]
[New Thread 0x7fffc5c8f700 (LWP 24306)]
[New Thread 0x7fffc548e700 (LWP 24307)]
[New Thread 0x7fffabfff700 (LWP 24308)]
[New Thread 0x7fffab7fe700 (LWP 24309)]
[Thread 0x7fffab7fe700 (LWP 24309) exited]
[New Thread 0x7fffab7fe700 (LWP 24319)]
[New Thread 0x7fffaaffd700 (LWP 24320)]

(texstudio:24292): Gdk-WARNING **: gdkwindow-x11.c:5554 drawable is not a native X11 window

Thread 1 "texstudio" received signal SIGSEGV, Segmentation fault.
0x00007ffff7aba495 in XChangeProperty () from /usr/lib64/libX11.so.6
(gdb) backtrace
#0 0x00007ffff7aba495 in XChangeProperty () at /usr/lib64/libX11.so.6
#1 0x00007ffff7ad7829 in XSetTransientForHint () at /usr/lib64/libX11.so.6
#2 0x00007fffe817a46e in () at /usr/lib/qt/plugins/platformthemes/libqgtk3.so
#3 0x00007fffe817d101 in () at /usr/lib/qt/plugins/platformthemes/libqgtk3.so
#4 0x00007ffff6e836f0 in QDialogPrivate::setNativeDialogVisible(bool) () at /usr/lib64/libQt5Widgets.so.5
#5 0x00007ffff6e95d32 in QFileDialog::setVisible(bool) () at /usr/lib64/libQt5Widgets.so.5
#6 0x00007ffff6e845a1 in QDialog::exec() () at /usr/lib64/libQt5Widgets.so.5
#7 0x00007ffff6e9683a in QFileDialog::getOpenFileUrls(QWidget*, QString const&, QUrl const&, QString const&, QString*, QFlags<QFileDialog::Option>, QStringList const&) () at /usr/lib64/libQt5Widgets.so.5
#8 0x00007ffff6e96a9f in QFileDialog::getOpenFileNames(QWidget*, QString const&, QString const&, QString const&, QString*, QFlags<QFileDialog::Option>) ()
at /usr/lib64/libQt5Widgets.so.5
#9 0x0000000000590b0c in Texstudio::fileOpen() ()
#10 0x0000000000909cda in ()
#11 0x00007ffff55a9659 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#12 0x00007ffff6c91442 in QAction::triggered(bool) () at /usr/lib64/libQt5Widgets.so.5
#13 0x00007ffff6c93e30 in QAction::activate(QAction::ActionEvent) () at /usr/lib64/libQt5Widgets.so.5
#14 0x00007ffff6d806ed in () at /usr/lib64/libQt5Widgets.so.5
#15 0x00007ffff6d80924 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#16 0x00007ffff6e4c29a in QToolButton::mouseReleaseEvent(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007ffff6cdeef8 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007ffff6e4c379 in QToolButton::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007ffff6c97e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007ffff6ca043d in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#21 0x00007ffff557dde0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007ffff6c9eaed in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
at /usr/lib64/libQt5Widgets.so.5
#23 0x00007ffff6cf8fa0 in () at /usr/lib64/libQt5Widgets.so.5
#24 0x00007ffff6cfb743 in () at /usr/lib64/libQt5Widgets.so.5
#25 0x00007ffff6c97e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#26 0x00007ffff6c9f581 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#27 0x00007ffff557dde0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#28 0x00007ffff6506303 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5
#29 0x00007ffff6507e85 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5
#30 0x00007ffff64e5cab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5
#31 0x00007fffeb8002f0 in () at /usr/lib64/libQt5XcbQpa.so.5
#32 0x00007ffff1e70587 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#33 0x00007ffff1e707f0 in () at /usr/lib64/libglib-2.0.so.0
#34 0x00007ffff1e7089c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#35 0x00007ffff55d270f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#36 0x00007ffff557c23a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#37 0x00007ffff558473c in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
Comment by Doug Newgard (Scimmia) - Thursday, 20 October 2016, 05:53 GMT
Sounds like you're running Gnome on Wayland?
Comment by Choong Jun Jin (zepx) - Thursday, 20 October 2016, 06:09 GMT
Thanks for pointing that out, I did not know that my gnome was running on Wayland. Had Wayland flag in /etc/gdm/custom.conf set to false and texstudio seems to be working perfectly.

Loading...