You are not logged in.

#1 2022-10-30 16:29:30

okejeeper
Member
Registered: 2022-10-13
Posts: 3

Konsole "/bin/bash" crashed?

I did an update this morning and now when I launch Konsole I get the message in the subject line.


This only happens when I use the konsole shortcut within KDE. if I open temrinator first which runs fine using the shortcut in KDE and then launch konsole  from the command line it works fine.

Any ideas?

update:

I tried resetting the konsolerc and .bashrc and still no dice.

Last edited by okejeeper (2022-10-30 17:11:54)

Offline

#2 2022-10-30 19:27:37

seth
Member
Registered: 2012-09-03
Posts: 51,229

Re: Konsole "/bin/bash" crashed?

https://bbs.archlinux.org/viewtopic.php?id=280850

Last edited by seth (2022-10-31 12:45:12)

Offline

#3 2022-10-30 22:25:06

okejeeper
Member
Registered: 2022-10-13
Posts: 3

Re: Konsole "/bin/bash" crashed?

Mine only does that with Konsole. Terminator or xterm works fine.  Which is interesting since nothing with KDE updated today a couple xorg packages so who knows.

I am updating to the new kernel now which is 6.06 so we'll see what happens.

Offline

#4 2022-10-31 06:59:31

seth
Member
Registered: 2012-09-03
Posts: 51,229

Re: Konsole "/bin/bash" crashed?

It's not very likely that the kernel is involved w/ this.
Was the kernel the *only* thing that changed before the update?
Do you conduct partial updates?

What does the tail of your pacman log look like and did you try to downgrade readline?

Offline

#5 2022-10-31 10:13:10

znerk
Member
Registered: 2022-10-31
Posts: 14

Re: Konsole "/bin/bash" crashed?

I have the exact same issue after updating yesterday. Can you post a bug?

Last edited by znerk (2022-10-31 10:13:49)

Offline

#6 2022-10-31 12:45:44

seth
Member
Registered: 2012-09-03
Posts: 51,229

Offline

#7 2022-10-31 14:09:29

dogknowsnx
Member
Registered: 2021-04-12
Posts: 648

Re: Konsole "/bin/bash" crashed?

Or try the upgrade...


RI - Rest your Eyes and Self

"We are eternal, all this pain is an illusion" - Maynard James Keenan

Offline

#8 2022-10-31 14:25:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,560

Re: Konsole "/bin/bash" crashed?

Or fix your locale

Offline

#9 2022-10-31 15:43:56

znerk
Member
Registered: 2022-10-31
Posts: 14

Re: Konsole "/bin/bash" crashed?

Scimmia wrote:

Or fix your locale

?

Offline

#10 2022-10-31 15:47:03

znerk
Member
Registered: 2022-10-31
Posts: 14

Re: Konsole "/bin/bash" crashed?

if I try to access arch from a terminal by clicking CTRL+ALT+F3(or f4 or what ever) I am not even able to log in. If I enter root and password it just goes back to asking for username. I guess this is the following error: https://bugs.archlinux.org/task/76351?p … &sort=desc

Guess I will just wait until it goes OK in [testing] and then upgrade using discover in KDE to update.

Last edited by znerk (2022-10-31 15:48:12)

Offline

#11 2022-10-31 15:52:53

seth
Member
Registered: 2012-09-03
Posts: 51,229

Re: Konsole "/bin/bash" crashed?

localectl; locale; locale -a

Offline

#12 2022-10-31 15:53:47

znerk
Member
Registered: 2022-10-31
Posts: 14

Re: Konsole "/bin/bash" crashed?

seth wrote:
localectl; locale; locale -a

None of these are mentioned in the installation guide? Can't run them anyway since I neither can access bash nor konsole.

Offline

#13 2022-10-31 15:55:58

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: Konsole "/bin/bash" crashed?

Offline

#14 2022-10-31 15:59:08

znerk
Member
Registered: 2022-10-31
Posts: 14

Re: Konsole "/bin/bash" crashed?

Thanks, but would rather fix the issue with locale, if there is any

Offline

#15 2022-10-31 16:01:11

seth
Member
Registered: 2012-09-03
Posts: 51,229

Re: Konsole "/bin/bash" crashed?

None of these are mentioned in the installation guide?

No, the installation guide tells you how to configure your locale while those commands will tell us how broken it is.
You should be able to run bash w/ a downgraded readline.

Offline

#16 2022-10-31 16:03:49

znerk
Member
Registered: 2022-10-31
Posts: 14

Re: Konsole "/bin/bash" crashed?

seth wrote:

None of these are mentioned in the installation guide?

No, the installation guide tells you how to configure your locale while those commands will tell us how broken it is.
You should be able to run bash w/ a downgraded readline.

Will post the result as soon as I am able to update readline.

Thanks.

Offline

#17 2022-10-31 16:09:10

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: Konsole "/bin/bash" crashed?

znerk wrote:

Thanks, but would rather fix the issue with locale, if there is any

Then fix it. Stop asking us to hold your hand and start reading. Setting up a proper locale is clearly documented in the install guide. So is booting from a disk in case you can't boot into your own system.

Offline

#18 2022-10-31 16:16:14

znerk
Member
Registered: 2022-10-31
Posts: 14

Re: Konsole "/bin/bash" crashed?

twelveeighty wrote:
znerk wrote:

Thanks, but would rather fix the issue with locale, if there is any

Then fix it. Stop asking us to hold your hand and start reading. Setting up a proper locale is clearly documented in the install guide. So is booting from a disk in case you can't boot into your own system.

https://terms.archlinux.org/docs/code-o … irect%3Dno

Offline

#19 2022-10-31 16:20:31

seth
Member
Registered: 2012-09-03
Posts: 51,229

Offline

#20 2022-11-01 02:30:49

okejeeper
Member
Registered: 2022-10-13
Posts: 3

Re: Konsole "/bin/bash" crashed?

My issue was only affecting Konsole. All other terminal apps worked fine. Also redline was not one of the apps that upgraded for me. It was like 6 apps but I forget the names. I tried the locale and a few other things. Weird part was I could open xterm or any other teminal app and launch konsole without issue or error. 

I ended up just doing a reinstall. I have a script that does all my post setups from a base install. So it was easy enough to leave home alone and reinstall base then rerun my script. After that worked perfectly fine.  So somewhere something within me KDE setup or Konsole setup went bad. At least that is the only way I can explain it.


@seth - the kernel nor redline were my issue. Neither updated just before the issue started. I just updated the kernel to test if that would fix it. Either way mine was just Konsole inside KDE. I could load konsole via any terminal and could login at terminal level fine. So it wasn't bash either. I gave up after several hours of looking through everything I could think of.

Last edited by okejeeper (2022-11-01 02:38:54)

Offline

#21 2022-11-01 07:22:18

seth
Member
Registered: 2012-09-03
Posts: 51,229

Re: Konsole "/bin/bash" crashed?

The bash/readline issue is/was linked to the locale configuration, so if your system locale is broken™ but something in your terminator shell (which might or not have been bash or an indirect invocation through a non-interactive bash or influenced by the VTE injections) fixed the locale, subsequent invocations of bash from within that sanitized environment would have avoided the bug.
And plasma is on the records for trashing your locale in a local user config…

Since the system is gone, we're not going to be able to investigate that. The best thing would probably to report your post for deletion, since it won't serve future readers that "unknown problem with system was fixed by replacing the system".

Offline

#22 2022-11-01 10:44:04

znerk
Member
Registered: 2022-10-31
Posts: 14

Re: Konsole "/bin/bash" crashed?

this is a KDE issue. In plasma-localerc the auto generated file is:
[Formats]
LANG=en-US.UTF-8

this is obviously wrong. Correcting to en_US.UTF-8 solves the issue.

Source https://wiki.archlinux.org/title/KDE#Pl … e_settings

Last edited by znerk (2022-11-01 11:39:16)

Offline

#23 2022-11-01 10:46:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: Konsole "/bin/bash" crashed?

which should've still allowed you to upgrade from a TTY.

Offline

Board footer

Powered by FluxBB