When KConsole is managing several tabs simultaneously, a critical bug can occur when the current working directory of one of the opened tab gets deleted. KConsole will enlessly loop until it is forced closed/killed.
I can confirm this. (rmdir the working directory of a given tab, and then press Ctrl+Alt+T to open a new tab in this no longer existing directory.)
I guess it's time to consider konsole using OSC 7 for tracking the working directory (as Terminal.app and gnome-terminal do), rather than digging into /proc. I vaguely recall having filed a bug about it, but cannot find it right now, maybe I just wanted to do this but never actually ended up filing it.
I thought this had been fixed in 16.08.x - OSC7 was put in June 2016 Are you still having this issue?
Hi Kurt, yes, this bug seems corrected or I wasn't able to reproduce it. Thanks,
Sorry to say so, but I have been able to reproduce it now and up-to-date Leap-42.2 OS.
What version is that? and I need more info about steps to reproduce or even a gif/video
Version 16.08.2 I haven't been able to reproduce it again. I'm missing something in the initial conditions for this bug to happen. Have you checked what Edmont said ( (rmdir the working directory of a given tab, and then press Ctrl+Alt+T to open a new tab in this no longer existing directory.) )?
yes I've tried a lot of things - nothing crashes here - not sure if it shell I'm using or OS or distro....
I could reproduce the issue using what Edgmont said. Just create a new terminal then `mkdir test && cd test`, create a second tab then `cd test && rmdir test`, navigate back to first tab then create a new tab using keyboard shortcut : freeze.
Comment #9 is bug 370437.
Note: I am no maintainer but from the bugsquad. As mentioned this bug seems to be fixed. I will close this issue as the last report was a false positive, I cannot reproduce this bug and a fix was released. Please feel free to change the status if you encounter this problem again!