Bug 430156 - logs me out when started for second time (apt, not snap)
Summary: logs me out when started for second time (apt, not snap)
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 20.08.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-08 15:06 UTC by Edvard Rejthar
Modified: 2020-12-08 21:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edvard Rejthar 2020-12-08 15:06:57 UTC
SUMMARY

I've recently upgraded to Ubuntu 20.10. However, kate's apt version is dysfunctional.


STEPS TO REPRODUCE
1. Start kate, screen trembles a little bit. However everything works.
2. End kate
3. Start kate for the second time, a window appears with the text similar to "Oh no! Something has gone wrong." and "A problem has occurred and the system can't recover. Please log out and try again." There is a button to Log out.
4. I'm still able to change the TTY to Ctrl+Alt+3 and investigate the system, however I do not know what I'm searching.

I'm know it is very strange the issue strikes when kate is invoked for the second time, however I tried many times and it's the rule.

OBSERVED RESULT
kate launches with troubles

EXPECTED RESULT
kate launches normally

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 20.10 64-bit GNOME version 3.38.1 Windowing system X11

(Krusader / Help / About Krusader)
KDE Frameworks 5.74.0
Qt 5.14.2 (built against 5.14.2)
The xcb windowing system

ADDITIONAL INFORMATION

* I've found nothing related in /var/log
* When I uninstall `apt purge kate` and install snap version `snap install kate`, snap's kate has no issue like this. However, I do prefer to use `apt's` version, snap version is limited.
* Other KDE application like Krusader works with no obstacles.
* I've already launched `apt dist-upgrade` `apt upgrade`


$ /usr/bin/kate --version
kate 20.08.2
$ /snap/bin/kate --version
Qt: Session management error: Could not open network socket
kate 20.04.0

I'd be grateful for tips to debug this.
Comment 1 Nate Graham 2020-12-08 16:06:51 UTC
Is something crashing? If so can you attach a crash log? `coredumpctl` will show them.
Comment 2 Edvard Rejthar 2020-12-08 21:59:41 UTC
I feel a little dumb but since I've installed coredumb, there was no need for that again. Kate never crashed nor did strange things with the screen. I really cannot tell when exactly changed, I did no big thing since this afternoon. Even after restart it is ok.

So sorry for bothering and thanks for maintaining Kate, the life would be really a bit harder without!