I think there is some problem between Framework and OpenGL
rendering:
it's not only Kwrite to have problems, I can also see other software
crashing while opening the "save as" window (tested with QT Creator)
or "Open" window (tested with Marble).
Hm, yeah that's also what I
believe. I am observing lots of crashs of
application (its pretty much an instability nightmare ATM). The crashs
seems to be pretty random... e.g. ATM i am trying to reproduce the
kwrite issue and it is gone. I didn't find a system behind it so far.
But all the crashs seems to be related to XCB. It happens also with
krunner quite often while typing something. I am currently running
"OpenGL 2" with NVIDIA prop. So I don't think it is related to Mesa. I
will give XRender next time a try, but run into some issues while
starting KDE a while ago.
Best regards,
Florian
The only workaround I found that solves the problem is to set XRender
as rendering engine in KDE settings. I also tried to upgrade Mesa
stuff to 11.1 from the testing repo, but it doesn't work...
Il 27/12/2015 14:32, Mattia Verga ha scritto:
> Hi,
> there's an open bug at
https://bugs.kde.org/show_bug.cgi?id=356827
>
> As I wrote in comment #4 if you create a blank text file with dolphin
> menu, then you open it in kwrite and click "save as" it doesn't crash.
>
> Another note is that I can always reproduce the bug with KDE
> Rendering Engine set to OpenGL 2 or 3, but if I set XRender the bug
> disappear...
>
> Mattia
>
> Il 27/12/2015 14:17, Florian Sievert ha scritto:
>> Hi,
>>
>> I just lost quite some text while trying to save it. Seems like the
>> current version is still far away from being stable. Maybe someone can
>> confirm, if this is reproducable for him.
>>
>> Just open kwrite and hit "save".
>>
>> Expected:
>> The save dialog is opened
>>
>> Actually:
>> ---
>> Application: KWrite (kwrite), signal: Segmentation fault
>> Using host libthread_db library "/lib64/libthread_db.so.1".
>> [Current thread is 1 (Thread 0x7fa1ed737900 (LWP 5685))]
>>
>> Thread 2 (Thread 0x7fa1cd674700 (LWP 5686)):
>> #0 0x00007fa1e6534ffd in poll () at /lib64/libc.so.6
>> #1 0x00007fa1dead4272 in _xcb_conn_wait () at /lib64/libxcb.so.1
>> #2 0x00007fa1dead5ee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
>> #3 0x00007fa1d1060da9 in QXcbEventReader::run() () at
>> /lib64/libQt5XcbQpa.so.5
>> #4 0x00007fa1e713d3ce in QThreadPrivate::start(void*) () at
>> /lib64/libQt5Core.so.5
>> #5 0x00007fa1e428c60a in start_thread () at /lib64/libpthread.so.0
>> #6 0x00007fa1e6540a9d in clone () at /lib64/libc.so.6
>>
>> Thread 1 (Thread 0x7fa1ed737900 (LWP 5685)):
>> [KCrash Handler]
>> #5 0x00007fa1d1077f08 in QXcbWindow::setParent(QPlatformWindow const*)
>> () at /lib64/libQt5XcbQpa.so.5
>> #6 0x00007fa1e7f268bb in QWindow::setParent(QWindow*) () at
>> /lib64/libQt5Gui.so.5
>> #7 0x00007fa1e87015d5 in QWidgetPrivate::setParent_sys(QWidget*,
>> QFlags<Qt::WindowType>) () at /lib64/libQt5Widgets.so.5
>> #8 0x00007fa1e870cfda in QWidget::setParent(QWidget*,
>> QFlags<Qt::WindowType>) () at /lib64/libQt5Widgets.so.5
>> #9 0x00007fa1e870e0cc in QWidget::setParent(QWidget*) () at
>> /lib64/libQt5Widgets.so.5
>> #10 0x00007fa1e87f411c in QDialogButtonBox::addButton(QAbstractButton*,
>> QDialogButtonBox::ButtonRole) () at /lib64/libQt5Widgets.so.5
>> #11 0x00007fa1cc62ade9 in
>> KDEPlatformFileDialog::KDEPlatformFileDialog()
>> () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
>> #12 0x00007fa1cc62b212 in
>> KDEPlatformFileDialogHelper::KDEPlatformFileDialogHelper() () at
>> /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
>> #13 0x00007fa1cc61e35a in
>> KdePlatformTheme::createPlatformDialogHelper(QPlatformTheme::DialogType)
>>
>> const () at /usr/lib64/qt5/plugins/platformthemes/KDEPlatformTheme.so
>> #14 0x00007fa1e88c31b5 in QDialogPrivate::platformHelper() const () at
>> /lib64/libQt5Widgets.so.5
>> #15 0x00007fa1e88d6958 in QFileDialogPrivate::init(QUrl const&, QString
>> const&, QString const&) () at /lib64/libQt5Widgets.so.5
>> #16 0x00007fa1e88d6c76 in QFileDialog::QFileDialog(QFileDialogArgs
>> const&) () at /lib64/libQt5Widgets.so.5
>> #17 0x00007fa1e88d774e in QFileDialog::getSaveFileUrl(QWidget*, QString
>> const&, QUrl const&, QString const&, QString*,
>> QFlags<QFileDialog::Option>, QStringList const&) () at
>> /lib64/libQt5Widgets.so.5
>> #18 0x00007fa1ece75c03 in
>> KTextEditor::DocumentPrivate::documentSaveAs()
>> () at /lib64/libKF5TextEditor.so.5
>> #19 0x00007fa1ece74507 in KTextEditor::DocumentPrivate::documentSave()
>> () at /lib64/libKF5TextEditor.so.5
>> #20 0x00007fa1ed030cc2 in
>> KTextEditor::DocumentPrivate::qt_static_metacall(QObject*,
>> QMetaObject::Call, int, void**) () at /lib64/libKF5TextEditor.so.5
>> #21 0x00007fa1e734d2ea in QMetaObject::activate(QObject*, int, int,
>> void**) () at /lib64/libQt5Core.so.5
>> #22 0x00007fa1e86bf7d2 in QAction::triggered(bool) () at
>> /lib64/libQt5Widgets.so.5
>> #23 0x00007fa1e86c1c58 in QAction::activate(QAction::ActionEvent) () at
>> /lib64/libQt5Widgets.so.5
>> #24 0x00007fa1e87c7b80 in QAbstractButtonPrivate::click() () at
>> /lib64/libQt5Widgets.so.5
>> #25 0x00007fa1e87c7cb4 in
>> QAbstractButton::mouseReleaseEvent(QMouseEvent*) () at
>> /lib64/libQt5Widgets.so.5
>> #26 0x00007fa1e888c96a in QToolButton::mouseReleaseEvent(QMouseEvent*)
>> () at /lib64/libQt5Widgets.so.5
>> #27 0x00007fa1e870c428 in QWidget::event(QEvent*) () at
>> /lib64/libQt5Widgets.so.5
>> #28 0x00007fa1e888ca49 in QToolButton::event(QEvent*) () at
>> /lib64/libQt5Widgets.so.5
>> #29 0x00007fa1e86c941c in QApplicationPrivate::notify_helper(QObject*,
>> QEvent*) () at /lib64/libQt5Widgets.so.5
>> #30 0x00007fa1e86cefe9 in QApplication::notify(QObject*, QEvent*) () at
>> /lib64/libQt5Widgets.so.5
>> #31 0x00007fa1e731e77b in QCoreApplication::notifyInternal(QObject*,
>> QEvent*) () at /lib64/libQt5Core.so.5
>> #32 0x00007fa1e86cdef2 in QApplicationPrivate::sendMouseEvent(QWidget*,
>> QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)
>> () at /lib64/libQt5Widgets.so.5
>> #33 0x00007fa1e872698b in QWidgetWindow::handleMouseEvent(QMouseEvent*)
>> () at /lib64/libQt5Widgets.so.5
>> #34 0x00007fa1e8728f4b in QWidgetWindow::event(QEvent*) () at
>> /lib64/libQt5Widgets.so.5
>> #35 0x00007fa1e86c941c in QApplicationPrivate::notify_helper(QObject*,
>> QEvent*) () at /lib64/libQt5Widgets.so.5
>> #36 0x00007fa1e86ce8e6 in QApplication::notify(QObject*, QEvent*) () at
>> /lib64/libQt5Widgets.so.5
>> #37 0x00007fa1e731e77b in QCoreApplication::notifyInternal(QObject*,
>> QEvent*) () at /lib64/libQt5Core.so.5
>> #38 0x00007fa1e7f1fee1 in
>>
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
>>
>> () at /lib64/libQt5Gui.so.5
>> #39 0x00007fa1e7f21bb5 in
>>
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
>>
>> () at /lib64/libQt5Gui.so.5
>> #40 0x00007fa1e7f05958 in
>>
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
>>
>> () at /lib64/libQt5Gui.so.5
>> #41 0x00007fa1d10920a0 in userEventSourceDispatch(_GSource*, int
>> (*)(void*), void*) () at /lib64/libQt5XcbQpa.so.5
>> #42 0x00007fa1e2cb2e3a in g_main_context_dispatch () at
>> /lib64/libglib-2.0.so.0
>> #43 0x00007fa1e2cb31d0 in g_main_context_iterate.isra () at
>> /lib64/libglib-2.0.so.0
>> #44 0x00007fa1e2cb327c in g_main_context_iteration () at
>> /lib64/libglib-2.0.so.0
>> #45 0x00007fa1e7374eef in
>> QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
>>
>> () at /lib64/libQt5Core.so.5
>> #46 0x00007fa1e731bf0a in
>> QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
>> /lib64/libQt5Core.so.5
>> #47 0x00007fa1e7323fec in QCoreApplication::exec() () at
>> /lib64/libQt5Core.so.5
>> #48 0x00007fa1ed42d465 in kdemain () at /lib64/libkdeinit5_kwrite.so
>> #49 0x00007fa1e645e580 in __libc_start_main () at /lib64/libc.so.6
>> #50 0x0000556d6f42bb19 in _start ()
>> ---
>>
>> Maybe someone does have an idea why the application is crashing
>> reproducable here and can explain why this is caused?
>>
>> Best regards,
>> Florian
>> _______________________________________________
>> kde mailing list
>> kde(a)lists.fedoraproject.org
>>
http://lists.fedoraproject.org/admin/lists/kde@lists.fedoraproject.org
>>
> _______________________________________________
> kde mailing list
> kde(a)lists.fedoraproject.org
>
http://lists.fedoraproject.org/admin/lists/kde@lists.fedoraproject.org
>
_______________________________________________
kde mailing list
kde(a)lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/kde@lists.fedoraproject.org