Freeze occuring in PyCharm IDE

My system completely freezes occasionally when using PyCharm IDE for writing python code. It only occurs, however, after using CTL + V to paste code I have copied using CTL + C…

The mouse still moves on screen during the freeze, however no keys seem to work. I have to hold the power button to reboot.

Anyone heard of something similar to this? I have no clue what to do other than using a different IDE, but I’d prefer not to have to. I could potentially lose work to an issue like this if it freezes and I lose the code I had written.

(Manjaro + KDE Plasma)

There’s probably much better ways to do this but my gut reaction would be:

  1. Check systemd logs. This command journalctl -b -1 tells you what happened during the last boot.
  2. Try to replicate keeping System Monitor open in a window (looking at the resources tab). Then watch if cpu or mem have some spike, that will give you an indication at least!

Good luck!

Thanks for the reply, I’ll give it a go!

In my case, after I installed the input method sogoupinyin, Pycharm freezes every time when starting. Uninstalling the sogoupinyin solved my problem.

Setting fs.inotify.max_user_watches=524288 may help - but of course this will only help in the case of how many open files the system can handle.

Hmm, I don’t have any additional language inputs on this pc yet… When that happened to you, would it freeze just Pycharm, or your entire computer? Mine was the entire pc.

I’ll pay attention to how many things I have running next time I encounter the issue, thank you for the response.

It happened again, the logs are as follows… Any ideas?? It happened while using pycharm

There was an error:

Nov 01 10:06:21 joseph-20qd001tus kernel: i915 0000:00:02.0: [drm] ERROR Atomic update failure on pipe A (start=29 end=30) time 175 us, min 1073, max 1079, scanline start 1070, end 1081

Followed by:

Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:11:43 joseph-20qd001tus plasmashell[1348]: file:///usr/lib/qt/qml/QtQuick/Controls/Styles/Plasma/ToolButtonStyle.qml:196:13: QML Connections: Implicitly defined onFoo propertie>
Nov 01 10:15:03 joseph-20qd001tus plasmashell[1348]: file:///home/ponticellius/.local/share/plasma/plasmoids/org.kde.plasma.bigSur-inlineBattery/contents/ui/main.qml:221:10: QML Label: D>
Nov 01 10:15:03 joseph-20qd001tus plasmashell[1348]: file:///home/ponticellius/.local/share/plasma/plasmoids/org.kde.plasma.bigSur-inlineBattery/contents/ui/main.qml:240:10: QML QQuickIt>
Nov 01 10:15:03 joseph-20qd001tus plasmashell[1348]: file:///home/ponticellius/.local/share/plasma/plasmoids/org.kde.plasma.bigSur-inlineBattery/contents/ui/main.qml:261:10: QML Label: D>
Nov 01 10:16:16 joseph-20qd001tus wpa_supplicant[975]: wlp0s20f3: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-81 noise=9999 txrate=520000