Bug 419850 - System Settings crashes when adding Japanese, Korean, or Traditional Chinese languages
Summary: System Settings crashes when adding Japanese, Korean, or Traditional Chinese ...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_language (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-08 16:53 UTC by Alex
Modified: 2021-10-30 04:35 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2020-04-08 16:53:04 UTC
SUMMARY
When trying to add Japanese language support to my Kubuntu install, system settings crashes. I'm able to reproduce this every time. Korean and Traditional Chinese also crash, but Simplified Chinese does not. I haven't tested other languages besides American English, which is fine. 


STEPS TO REPRODUCE
1. Open System Settings > Regional Settings > Language
2. In the Configure Plasma Translations menu, click Add languages...
3. Select Japanese from the list (3rd from bottom if you can't read Japanese)
4. Click the Add button that has become active
5. System Settings crashes at this point, with the language selection window still open. I do not get as far as applying the selected language addition.

OBSERVED RESULT
System Settings crashes as soon as you click the Add button, with the language selection window still open. I do not get as far as applying the selected language addition.

EXPECTED RESULT
Language selection window should disappear. Japanese should be added to the list. The Apply button should become active. No crash should happen.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 19.10
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION
laptop with AMD Ryzen 5 3500U
Comment 1 2wxsy58236r3 2020-04-09 01:17:06 UTC
I cannot reproduce this on 5.18.4.1. Adding Japanese, Korean and Chinese to the list works for me and does not crash System Settings.
Comment 2 Alex 2020-04-12 18:33:14 UTC
The crash was apparently caused by some missing packages. After installing an alternate desktop environment, switching back to Plasma somehow triggered the detection of the missing packages and I was prompted to install them. After that installation, I was able to add Japanese language with no crashes.
Comment 3 David Edmundson 2020-04-12 19:13:57 UTC
Could you give any more information on that? 

We have a repeated crash and I can't reproduce and track this down at all.
Comment 4 Alex 2020-04-12 19:34:52 UTC
A few days after encountering the crash, I installed Cinnamon desktop to try it out. I logged out of plasma, and logged into Cinnamon. After some time, I logged out of Cinnamon and into Plasma. After logging into Plasma, I got a system notification that language install was partially complete and additional packages were required. I got a small window asking for my password to install the necessary packages. I did, and it installed around 8 megs of packages. I don't recall the package names unfortunately. After the packages installed, I tried adding Japanese language again and it completed without error. 

I'm kind of new to linux, so if there's a method to look at the package install history, I don't know it. If there is, I could look up the packages in question. I'm unsure why the packages where missing. This was a pretty stock install of Kubuntu, and I had done an update/upgrade after install.
Comment 5 2wxsy58236r3 2020-04-13 01:30:35 UTC
> a method to look at the package install history
In Ubuntu, you may be able to find the logs in /var/log/apt/term.log or /var/log/apt/history.log or /var/log/dpkg.log.
Comment 6 Alex 2020-04-13 04:12:36 UTC
These packages seem related to the language install. This came from the 


This looks like the event from term.log. The timestamps of the matching package actions in dpkg.log matches about the time I got the prompt to install packages that fixed the language adding crash.

og started: 2020-04-12  14:05:07
Selecting previously unselected package language-pack-gnome-en-base.
(Reading database ... ^M(Reading database ... 5%^M(Reading database ... 10%^M(Reading database ... 15%^M(Reading database ... 20%^M(Reading database ... 2>
Preparing to unpack .../language-pack-gnome-en-base_1%3a19.10+20191010_all.deb ...
Unpacking language-pack-gnome-en-base (1:19.10+20191010) ...
Selecting previously unselected package language-pack-gnome-en.
Preparing to unpack .../language-pack-gnome-en_1%3a19.10+20191010_all.deb ...
Unpacking language-pack-gnome-en (1:19.10+20191010) ...
Setting up language-pack-gnome-en (1:19.10+20191010) ...
Setting up language-pack-gnome-en-base (1:19.10+20191010) ...
Log ended: 2020-04-12  14:05:08


Related entries from dpkg.log
2019-10-17 12:31:01 install language-pack-en-base:all <none> 1:19.10+20191010
2019-10-17 12:31:01 status half-installed language-pack-en-base:all 1:19.10+20191010
2019-10-17 12:31:01 status unpacked language-pack-en-base:all 1:19.10+20191010
2019-10-17 12:31:01 install language-pack-en:all <none> 1:19.10+20191010
2019-10-17 12:31:01 status half-installed language-pack-en:all 1:19.10+20191010
2019-10-17 12:31:01 status unpacked language-pack-en:all 1:19.10+20191010
2019-10-17 12:31:01 install k3b-i18n:all <none> 19.04.3-0ubuntu1
2019-10-17 12:31:01 status half-installed k3b-i18n:all 19.04.3-0ubuntu1
2019-10-17 12:31:02 status unpacked k3b-i18n:all 19.04.3-0ubuntu1
2019-10-17 12:31:02 install language-pack-kde-en:all <none> 1:19.10.0ubuntu1
2019-10-17 12:31:02 status half-installed language-pack-kde-en:all 1:19.10.0ubuntu1
2019-10-17 12:31:02 status unpacked language-pack-kde-en:all 1:19.10.0ubuntu1
Comment 7 Nate Graham 2021-09-30 19:23:05 UTC
If you can still reproduce this crash with Plasma 5.22, can you please attach a backtrace? See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 8 Bug Janitor Service 2021-10-15 04:35:25 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
mark the bug 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 9 Bug Janitor Service 2021-10-30 04:35:16 UTC
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!