Bug 353285 - Kate crashes when discard changes in file
Summary: Kate crashes when discard changes in file
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2015-09-28 17:48 UTC by Anton
Modified: 2018-10-27 03:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton 2015-09-28 17:48:18 UTC
Application: kdeinit5 (5.0.0)

Qt Version: 5.5.0
Operating System: Linux 4.1.7-200.fc22.x86_64 x86_64
Distribution: "Fedora release 22 (Twenty Two)"

-- Information about the crash:
- What I was doing when the application crashed:

Kate asked if I want to save or discard changes in file and I choose to discard.

It was .sh file.

-- Backtrace:
Application: Kate (kdeinit5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc15960f840 (LWP 18504))]

Thread 3 (Thread 0x7fc138e73700 (LWP 18505)):
#0  0x00007fc1563872fd in poll () at /lib64/libc.so.6
#1  0x00007fc15556f182 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007fc155570c77 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007fc13b002999 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007fc156f9354e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fc1559d7555 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fc156392b9d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fc12fe87700 (LWP 18638)):
#0  0x00007fc1559dc540 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fc13bd41494 in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5Script.so.5
#2  0x00007fc13bd414d9 in  () at /lib64/libQt5Script.so.5
#3  0x00007fc1559d7555 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fc156392b9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fc15960f840 (LWP 18504)):
[KCrash Handler]
#5  0x00007fc13ce00358 in KateMainWindow::queueModifiedOnDisc(KTextEditor::Document*) () at /lib64/libkdeinit5_kate.so
#6  0x00007fc13ce4abed in KateMainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libkdeinit5_kate.so
#7  0x00007fc1571a4021 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#8  0x00007fc157ea032b in QWidget::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#9  0x00007fc157fb630b in QMainWindow::event(QEvent*) () at /lib64/libQt5Widgets.so.5
#10 0x00007fc144d5724a in KMainWindow::event(QEvent*) () at /lib64/libKF5XmlGui.so.5
#11 0x00007fc144da18d5 in KXmlGuiWindow::event(QEvent*) () at /lib64/libKF5XmlGui.so.5
#12 0x00007fc157e5d4ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#13 0x00007fc157e62976 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#14 0x00007fc15717461b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#15 0x00007fc157176a16 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#16 0x00007fc1571ca983 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#17 0x00007fc15480ba8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#18 0x00007fc15480be20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#19 0x00007fc15480becc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#20 0x00007fc1571cad8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#21 0x00007fc157171daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#22 0x00007fc157179e6c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#23 0x00007fc13ce459f4 in kdemain () at /lib64/libkdeinit5_kate.so
#24 0x00000000004085e0 in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#25 0x0000000000409f2e in handle_launcher_request(int, char const*) [clone .isra.23] ()
#26 0x000000000040a52b in handle_requests(int) ()
#27 0x0000000000404f53 in main ()

Possible duplicates by query: bug 324786.

Reported using DrKonqi
Comment 1 Jan Molnar 2015-10-04 15:58:52 UTC
A few days ago I probably reported the same bug, but I cannot find it now. Strange. I just wanted to write there the problem has been probably fixed – yesterday I installed a daily build and discarding worked there very well.

(I use Kubuntu 15.04 upgraded from previous versions and yesterday I added ppa:kubuntu-ci/stable)
Comment 2 Anton 2015-10-06 07:28:19 UTC
Thank you, Jan, I will try the new build.

/Anton Ermolenko

On Sun, Oct 4, 2015 at 6:58 PM, Jan Molnar <jan.molnar@gmail.com> wrote:
> https://bugs.kde.org/show_bug.cgi?id=353285
>
> Jan Molnar <jan.molnar@gmail.com> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                  CC|                            |jan.molnar@gmail.com
>
> --- Comment #1 from Jan Molnar <jan.molnar@gmail.com> ---
> A few days ago I probably reported the same bug, but I cannot find it now.
> Strange. I just wanted to write there the problem has been probably fixed –
> yesterday I installed a daily build and discarding worked there very well.
>
> (I use Kubuntu 15.04 upgraded from previous versions and yesterday I added
> ppa:kubuntu-ci/stable)
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 Christoph Cullmann 2016-01-31 20:56:15 UTC
Hi, can't reproduce either with e.g. Kate 15.12.

Please reopen and provide some hints how to get that crash with recent versions, thanks, and sorry for the problems :/
Comment 4 Andrew Crouthamel 2018-09-25 21:40:54 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-27 03:39:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!