Bug 127564 - Chinese conversion doesn't work, even crash Calc 6.3 sometime
Summary: Chinese conversion doesn't work, even crash Calc 6.3 sometime
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
6.3.1.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-16 04:40 UTC by zexcel
Modified: 2019-11-03 08:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
test bed for Chinese Conversion in Tools Menu of Calc (11.46 KB, application/vnd.oasis.opendocument.spreadsheet)
2019-09-20 23:56 UTC, zexcel
Details
Full log from Open test file to quit without saving of test bed (4.93 KB, text/x-log)
2019-09-21 01:08 UTC, zexcel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zexcel 2019-09-16 04:40:51 UTC
Description:
Bug 104378 reported partly conversation problem in version 5. However, in version6.3, nothing happens, most of time. Libreoffice totally crashes and recoveries sometime.
Version 6.3.1.2
Build ID: 1:6.3.1~rc2-0ubuntu0.18.04.1~lo1
CPU threads: 4; OS:Linux 4.15; UI render: default; VCL: gtk3;
locale: ja-JP (ja_JP.UTF-8); UI-Language: ja-JP
Calc: threaded

Steps to Reproduce:
1.In cell B2 input: 娱乐結構 
2.Follow the instruction in: https://help.libreoffice.org/Common/Chinese_Conversion
3.

Actual Results:
Nothing happens, most time. Libreoffice totally crashes and recoveries sometime.

Expected Results:
Depending on the encoding I selected, it should be
娯楽結構 or 娱乐结构



Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Ming Hua 2019-09-16 09:12:12 UTC
(Sort of) reproducible on 6.3.1 on Windows 10.

On my version of LO, the Chinese conversion of cell B2 succeeds, but the opration doesn't stop, instead the focus seems to keep going to the next cell to the right, then wrap to the the first cell of the next row when it reaches the end, and doesn't stop.  Press Ctrl-S and the "Save as..." dialog pops up and stops it, and one can go back to cell B2 to check that conversion indeed succeeded.

It also seems to only happen to freshly-created spreadsheet.  Once the bug is triggered and stopped, subsequent Chinese conversion works fine.

Version: 6.3.1.2 (x64)
Build ID: b79626edf0065ac373bd1df5c28bd630b4424273
CPU threads: 2; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: zh-CN (zh_CN); UI-Language: en-US
Calc: threaded

NOT reproducible on 6.2.7 on Windows 10.
Comment 2 Julien Nabet 2019-09-16 19:49:27 UTC
On pc Debian x86-64 with master sources updated today + gtk3, I don't reproduce the crash but noticed these logs repeated lots of times:
warn:svx:27695:27695:svx/source/accessibility/AccessibleTextHelper.cxx:1358: DBG_UNHANDLED_EXCEPTION in virtual void accessibility::AccessibleTextHelper_Impl::Notify(SfxBroadcaster&, const SfxHint&) exception: com.sun.star.uno.RuntimeException message: Text forwarder is invalid, model might be dead context: ScAccessibleEditObject
Comment 3 Xisco Faulí 2019-09-17 05:22:58 UTC
Thank you for reporting the bug. To be certain the reported issue is not
related to corruption in the user profile, could you please reset your
Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and
re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 4 zexcel 2019-09-17 13:15:08 UTC
 Yes. After following your instructions to renew user's profile in the safe mode, Calc corruptions disappear, in both safe mode and normal mode. I have repeated the processes 10s times manually in each mode.
 The Chinese conversion does not function anyway: nothing happened.
Comment 5 Julien Nabet 2019-09-17 13:21:43 UTC
If you launch LO from console, do you get any trace which may help when trying to do the Chinese conversion?
Comment 6 zexcel 2019-09-20 23:56:24 UTC
Created attachment 154336 [details]
test bed for Chinese Conversion in Tools Menu of Calc
Comment 7 zexcel 2019-09-21 00:18:25 UTC
In Command line, I tried:

  $ soffice --backtrace

The Chinese conversion RESPONSED this time to my test file. And after, it functions every day(I shutdown PC daily). 

Now problems shift to
1. The first run of Chinese Convesion will cost 5 seconds and scroll far to the Column ALM.(one of 4 cpus touches 100% usage)
2. The results are different, depends on active cell on B2 or B9.
3. The Chinese Convesion does not work on real sheet, which contents hundreds of rows, functions. One CPU occupied 100% a minute and nothing happened.


By the way, I do not get any log which looks meaningful. One example:
____________
warning: Currently logging to gdbtrace.log.  Turn the logging off and on to make the new setting effective.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
warning: Corrupted shared library list: 0x555555833540 != 0x55555582aaa0
[New Thread 0x7fffdae53700 (LWP 3043)]
[New Thread 0x7fffda652700 (LWP 3044)]
[New Thread 0x7fffd99e0700 (LWP 3045)]
[New Thread 0x7fffd91df700 (LWP 3046)]
[New Thread 0x7fffca5a3700 (LWP 3047)]
[New Thread 0x7fffc9da2700 (LWP 3048)]
[New Thread 0x7fffbc6f0700 (LWP 3050)]
[New Thread 0x7fffbc1ea700 (LWP 3051)]
[New Thread 0x7fffa020f700 (LWP 3052)]
[New Thread 0x7fff91efe700 (LWP 3053)]
[New Thread 0x7fff91dfc700 (LWP 3054)]
[New Thread 0x7fff914fa700 (LWP 3055)]
[New Thread 0x7fff913f8700 (LWP 3056)]
[New Thread 0x7fff90bf7700 (LWP 3057)]
[New Thread 0x7fff77fff700 (LWP 3058)]
[New Thread 0x7fff903f6700 (LWP 3059)]
[New Thread 0x7fff902f5700 (LWP 3060)]
[New Thread 0x7fff777fe700 (LWP 3061)]
[Thread 0x7fffca5a3700 (LWP 3047) exited]
[New Thread 0x7fffca5a3700 (LWP 3062)]
[New Thread 0x7fff901f4700 (LWP 3063)]
[New Thread 0x7fff76dde700 (LWP 3064)]
[New Thread 0x7fff75f99700 (LWP 3065)]
[Thread 0x7fffdae53700 (LWP 3043) exited]
[New Thread 0x7fffdae53700 (LWP 3066)]
[Thread 0x7fffdae53700 (LWP 3066) exited]
[New Thread 0x7fffdae53700 (LWP 3067)]
[New Thread 0x7fff579b2700 (LWP 3068)]
[Thread 0x7fff579b2700 (LWP 3068) exited]
[New Thread 0x7fff579b2700 (LWP 3069)]
[Thread 0x7fffdae53700 (LWP 3067) exited]
[Thread 0x7fff579b2700 (LWP 3069) exited]
[New Thread 0x7fff579b2700 (LWP 3070)]
[Thread 0x7fff579b2700 (LWP 3070) exited]
[New Thread 0x7fff579b2700 (LWP 3071)]
[New Thread 0x7fffdae53700 (LWP 3072)]
[Thread 0x7fffdae53700 (LWP 3072) exited]
[Thread 0x7fff579b2700 (LWP 3071) exited]
[Thread 0x7fffc9da2700 (LWP 3048) exited]
[New Thread 0x7fffc9da2700 (LWP 3175)]
[Thread 0x7fffc9da2700 (LWP 3175) exited]
[New Thread 0x7fffc9da2700 (LWP 3179)]
[Thread 0x7fffc9da2700 (LWP 3179) exited]
[New Thread 0x7fffc9da2700 (LWP 3200)]
[Thread 0x7fffc9da2700 (LWP 3200) exited]
[New Thread 0x7fffc9da2700 (LWP 3205)]
[Thread 0x7fffc9da2700 (LWP 3205) exited]
[New Thread 0x7fffc9da2700 (LWP 3210)]
[Thread 0x7fffc9da2700 (LWP 3210) exited]
[New Thread 0x7fffc9da2700 (LWP 3211)]
[Thread 0x7fffc9da2700 (LWP 3211) exited]
[New Thread 0x7fffc9da2700 (LWP 3212)]
[Thread 0x7fffc9da2700 (LWP 3212) exited]
[New Thread 0x7fffc9da2700 (LWP 3213)]
[Thread 0x7fffc9da2700 (LWP 3213) exited]
[New Thread 0x7fffc9da2700 (LWP 3216)]
[Thread 0x7fffc9da2700 (LWP 3216) exited]
[New Thread 0x7fffc9da2700 (LWP 3219)]
[Thread 0x7fffc9da2700 (LWP 3219) exited]
[New Thread 0x7fffc9da2700 (LWP 3308)]
[Thread 0x7fffc9da2700 (LWP 3308) exited]
[New Thread 0x7fffc9da2700 (LWP 3317)]
[New Thread 0x7fff579b2700 (LWP 3318)]
[Thread 0x7fff579b2700 (LWP 3318) exited]
[New Thread 0x7fff579b2700 (LWP 3320)]
[New Thread 0x7fffdae53700 (LWP 3321)]
[New Thread 0x7fff47365700 (LWP 3322)]
[New Thread 0x7fff46b64700 (LWP 3323)]
[Thread 0x7fff46b64700 (LWP 3323) exited]
[Thread 0x7fff47365700 (LWP 3322) exited]
[Thread 0x7fffdae53700 (LWP 3321) exited]
[Thread 0x7fff579b2700 (LWP 3320) exited]
[Thread 0x7fffc9da2700 (LWP 3317) exited]
[New Thread 0x7fffc9da2700 (LWP 3327)]
[Thread 0x7fffc9da2700 (LWP 3327) exited]
[New Thread 0x7fffc9da2700 (LWP 3374)]
[New Thread 0x7fff46b64700 (LWP 3375)]
[Thread 0x7fff46b64700 (LWP 3375) exited]
[New Thread 0x7fff46b64700 (LWP 3376)]
[New Thread 0x7fffdae53700 (LWP 3377)]
[New Thread 0x7fff47365700 (LWP 3378)]
[New Thread 0x7fff46363700 (LWP 3379)]
[Thread 0x7fff46363700 (LWP 3379) exited]
[Thread 0x7fff47365700 (LWP 3378) exited]
[Thread 0x7fffdae53700 (LWP 3377) exited]
[Thread 0x7fff46b64700 (LWP 3376) exited]
[Thread 0x7fffc9da2700 (LWP 3374) exited]
[New Thread 0x7fffc9da2700 (LWP 3652)]
[Thread 0x7fffc9da2700 (LWP 3652) exited]
[New Thread 0x7fffc9da2700 (LWP 3779)]
[Thread 0x7fffc9da2700 (LWP 3779) exited]
[New Thread 0x7fffc9da2700 (LWP 3827)]
[Thread 0x7fffc9da2700 (LWP 3827) exited]
[New Thread 0x7fffc9da2700 (LWP 3874)]
[Thread 0x7fffc9da2700 (LWP 3874) exited]
[New Thread 0x7fffc9da2700 (LWP 3940)]
[Thread 0x7fffc9da2700 (LWP 3940) exited]
[New Thread 0x7fffc9da2700 (LWP 3977)]
[Thread 0x7fffc9da2700 (LWP 3977) exited]
[New Thread 0x7fffc9da2700 (LWP 4052)]
[Thread 0x7fffc9da2700 (LWP 4052) exited]
[New Thread 0x7fffc9da2700 (LWP 4306)]
[Thread 0x7fffc9da2700 (LWP 4306) exited]
[New Thread 0x7fffc9da2700 (LWP 4308)]
[Thread 0x7fffc9da2700 (LWP 4308) exited]
[New Thread 0x7fffc9da2700 (LWP 4312)]
[Thread 0x7fffc9da2700 (LWP 4312) exited]
[New Thread 0x7fffc9da2700 (LWP 4316)]
[Thread 0x7fffc9da2700 (LWP 4316) exited]
[New Thread 0x7fffc9da2700 (LWP 4317)]
[New Thread 0x7fff46b64700 (LWP 4318)]
[Thread 0x7fff46b64700 (LWP 4318) exited]
[Thread 0x7fffc9da2700 (LWP 4317) exited]
[New Thread 0x7fffc9da2700 (LWP 4319)]
[Thread 0x7fffc9da2700 (LWP 4319) exited]
[New Thread 0x7fffc9da2700 (LWP 4322)]
[Thread 0x7fffc9da2700 (LWP 4322) exited]
[New Thread 0x7fffc9da2700 (LWP 4327)]
[Thread 0x7fffc9da2700 (LWP 4327) exited]
[New Thread 0x7fffc9da2700 (LWP 4328)]
[Thread 0x7fffc9da2700 (LWP 4328) exited]
[New Thread 0x7fffc9da2700 (LWP 4338)]
[Thread 0x7fffc9da2700 (LWP 4338) exited]
[New Thread 0x7fffc9da2700 (LWP 4340)]
[Thread 0x7fffc9da2700 (LWP 4340) exited]
[Thread 0x7fff75f99700 (LWP 3065) exited]
[Thread 0x7fffda652700 (LWP 3044) exited]
[Thread 0x7fff76dde700 (LWP 3064) exited]
[Thread 0x7fff901f4700 (LWP 3063) exited]
[Thread 0x7fff777fe700 (LWP 3061) exited]
[Thread 0x7fff902f5700 (LWP 3060) exited]
[Thread 0x7fff903f6700 (LWP 3059) exited]
[Thread 0x7fff77fff700 (LWP 3058) exited]
[Thread 0x7fff90bf7700 (LWP 3057) exited]
[Thread 0x7fff913f8700 (LWP 3056) exited]
[Thread 0x7fff914fa700 (LWP 3055) exited]
[Thread 0x7fff91dfc700 (LWP 3054) exited]
[Thread 0x7fff91efe700 (LWP 3053) exited]
[Thread 0x7fffa020f700 (LWP 3052) exited]
[Thread 0x7fffbc1ea700 (LWP 3051) exited]
[Thread 0x7fffbc6f0700 (LWP 3050) exited]
[Thread 0x7fffd91df700 (LWP 3046) exited]
[Thread 0x7fffd99e0700 (LWP 3045) exited]
[Thread 0x7ffff7f9fb00 (LWP 3036) exited]
[Inferior 1 (process 3036) exited normally]
/usr/lib/libreoffice/program/gdbtrace:9: Error in sourced command file:
No stack.
quit
Comment 8 zexcel 2019-09-21 01:08:30 UTC
Created attachment 154337 [details]
Full log from Open test file to quit without saving of test bed

I attached the full log of actions of following:
1) Close all LO applications
2) In command line: $ soffice --backtrace
3) File open:  20190921ChineseConversion.ods
4) Active Cell B2
5) Chinese conversion to Traditional Chinese
6) Scroll back to column A
7) Ctrl^z: Returns to initial statue
8) Active Cell B9
9) Chinese conversion to Traditional Chinese
10) Quit without saving
Comment 9 QA Administrators 2019-09-21 03:08:35 UTC Comment hidden (obsolete)
Comment 10 Julien Nabet 2019-09-27 15:12:26 UTC
I tried on Win10 with master sources updated today and Linux with master sources updated some days ago, I don't reproduce this.
Would it be possible you attach a screencast? Indeed, perhaps I missed something
Comment 11 Xisco Faulí 2019-10-30 09:28:53 UTC
(In reply to Julien Nabet from comment #10)
> I tried on Win10 with master sources updated today and Linux with master
> sources updated some days ago, I don't reproduce this.
> Would it be possible you attach a screencast? Indeed, perhaps I missed
> something

Hello zexcel,
Could you please create and attach a screencast showing the steps?
There are various free screencast software available for use, including Camstudio (Windows), Jing (Mac), Simple Screen Recorder (Linux) or screencast-o-matic.com (Web).

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested screencast is provided.
Comment 12 zexcel 2019-11-02 22:29:34 UTC
Hello Xisco;

 My PC cannot repeat the problem, 100% of one CPU occupation and scroll far away to the Column ALM, any more. 

  The conversion tools works normally, in both directions.

Now 
Ubuntu is 
 18.04.3 LTS
LibreOffice is
 version: 6.3.2.2
 Build ID: 1:6.3.2-0ubuntu0.18.04.1~lo1
Comment 13 Julien Nabet 2019-11-03 08:19:57 UTC
Thank you zexcel for your feedback.
Let's put this one to WFM then.