Bug 164459 - CRASH: Writer crashes while typing (Crashreport attached)
Summary: CRASH: Writer crashes while typing (Crashreport attached)
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash
  Show dependency treegraph
 
Reported: 2024-12-25 17:39 UTC by Gerry
Modified: 2025-01-17 07:50 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Crashreport dump (1.11 MB, application/vnd.tcpdump.pcap)
2024-12-25 17:41 UTC, Gerry
Details
Document that I edited while Writer crashed (I sanitized the document) (22.93 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2024-12-26 19:37 UTC, Gerry
Details
2nd Crashreport mindump - new crash with same document, again while typing (1.10 MB, application/vnd.tcpdump.pcap)
2025-01-02 15:54 UTC, Gerry
Details
First gdbtrace.log (in fact, LibreOffice immediately crashed in debug mode while opening the previously crashed document) (74.08 KB, text/x-log)
2025-01-02 16:11 UTC, Gerry
Details
Second gdbtrace.log (77.51 KB, text/x-log)
2025-01-02 16:25 UTC, Gerry
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerry 2024-12-25 17:39:49 UTC
Description:
Writer crashes while typing. The document is ~10 page long.

Version: 25.8.0.0.alpha0+  (snapshot: Linux-rpm_deb-x86_64@tb99-TDF-dbg 	2024-12-25 03:53:00)

Steps to Reproduce:
.

Actual Results:
- LibreOffice crashes

Expected Results:
- LibreOffice should not crash


Reproducible: Didn't try


User Profile Reset: No

Additional Info:
System:

LibreOffice Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f24bb80e45c1693db33b47ee695436b2c8d5fbcd
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-CA (en_CA.UTF-8); UI: en-US
Calc: threaded

Extension: WritingTool 1.1 Snapshot 24.12.2024

OS: Ubuntu 24.04.1 LTS
Hardware: Lenovo Thinkpad E16 AMD Gen1, AMD Ryzen 7 7730U with Radeon Graphics
Language=en-CA
CPUModelName=AMD Ryzen 7 7730U with Radeon Graphics
CPUFlags=fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 hw_pstate ssbd mba ibrs ibpb stibp vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local user_shstk clzero irperf xsaveerptr rdpru wbnoinvd cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl umip pku ospke vaes vpclmulqdq rdpid overflow_recov succor smca fsrm debug_swap
MemoryTotal=39953964 kB
UseSkia=false
Comment 1 Gerry 2024-12-25 17:41:02 UTC
Created attachment 198262 [details]
Crashreport dump
Comment 2 Xisco Faulí 2024-12-26 10:00:46 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested document is provided.
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 3 Gerry 2024-12-26 19:37:14 UTC
Created attachment 198271 [details]
Document that I edited while Writer crashed (I sanitized the document)
Comment 4 BogdanB 2024-12-27 05:24:48 UTC
After I installed WritingTool extension, and enabled Automatic Spell Checking, wrinting text in document is slower. But no crash.

Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 5 BogdanB 2024-12-27 05:25:15 UTC
I did not test 25.8, just 24.8.4.
Comment 6 zcrhonek 2024-12-27 08:19:32 UTC
No crash with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cac9c7db6257b27724d90d4a355e52e456ef7e08
CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

Gerry, can you reproduce the crash with attached document?
Comment 7 BogdanB 2024-12-27 09:06:08 UTC
(In reply to zcrhonek from comment #6)
> No crash with Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: cac9c7db6257b27724d90d4a355e52e456ef7e08
> CPU threads: 4; OS: Linux 6.8; UI render: default; VCL: gtk3
> Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
> Calc: threaded
> 
> Gerry, can you reproduce the crash with attached document?

zcrhonek, do you have WritingTool extension installed, and have you enabled Automatic Spell Checking?
Comment 8 Gerry 2024-12-27 18:11:40 UTC
Thank you for looking into this bug. 
I tried to replicate the bug, but in the few minutes I tried, the document did not crash. I tested with the sanitized document and the original document.

Is there anything else I can do to trace the reason for the crash? Was the crash report helpful?
Comment 9 BogdanB 2024-12-28 09:44:39 UTC
(In reply to Gerry from comment #8)
> 
> Is there anything else I can do to trace the reason for the crash? Was the
> crash report helpful?

https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#Debugging_Information_by_OS
Comment 10 Gerry 2025-01-02 15:54:29 UTC
Created attachment 198354 [details]
2nd Crashreport mindump - new crash with same document, again while typing
Comment 11 Gerry 2025-01-02 16:11:13 UTC
Created attachment 198355 [details]
First gdbtrace.log (in fact, LibreOffice immediately crashed in debug mode while opening the previously crashed document)
Comment 12 Gerry 2025-01-02 16:14:10 UTC
Note for the gdbtrace.log : While Writer crashed (and while the gdbtrace.log (attached) was saved) the command line showed following error messages:

log will be saved as gdbtrace.log, this will take some time, patience...
warn:configmgr:402661:402661:configmgr/source/xcuparser.cxx:646: unknown property "SpellAndGrammarDialogImage" in "file:///home/gerald/.config/libreofficedev/4/user/uno_packages/cache/registry/com.sun.star.comp.deployment.configuration.PackageRegistryBackend/lu24dcbp.tmp/Linguistic.xcu"
warn:sfx.dialog:402661:402661:sfx2/source/dialog/filtergrouping.cxx:357: already have an element for WordPerfect
warn:sfx.dialog:402661:402661:sfx2/source/dialog/filtergrouping.cxx:357: already have an element for writerweb8_writer_template
warn:sfx.dialog:402661:402661:sfx2/source/dialog/filtergrouping.cxx:357: already have an element for writerglobal8
warn:vcl.gtk:402661:402661:vcl/unx/gtk3/fpicker/SalGtkFilePicker.cxx:950: no parent widget set
Comment 13 Gerry 2025-01-02 16:18:01 UTC
Adding to comment 11 : After I run soffice --backtrace, LibreOffice correctly starts up, but then any creation of a New Document or if I open the previously crashed document, LibreOffice will crash.
Comment 14 Gerry 2025-01-02 16:25:41 UTC
Created attachment 198356 [details]
Second gdbtrace.log

Please find attached the second gdbtrace.log. After I run soffice --backtrace, LibreOffice correctly started up, but this time I tried to create a new impress presentation. After I saw the new presentation, LibreOffice crashed within a tenth of a second.

These crashes happen with Writer and Impress, but not with Calc.

The error messages on the command line were:

warn:sfx:403465:403465:sfx2/source/control/thumbnailview.cxx:98: caught exception while trying to access Thumbnail/thumbnail.png of file:///home/peter/Templates/txt.txt com.sun.star.io.IOException message: "/home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/package/source/xstor/xstorage.cxx:2340:  at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/package/source/xstor/xstorage.cxx:2340"
warn:sfx:403465:403465:sfx2/source/control/thumbnailview.cxx:124: caught exception while trying to access Thumbnails/thumbnail.png of file:///home/peter/Templates/txt.txt com.sun.star.io.IOException message: "/home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/package/source/xstor/xstorage.cxx:2340:  at /home/tdf/lode/jenkins/workspace/lo_gerrit/tb/src_master/package/source/xstor/xstorage.cxx:2340"
Comment 15 Gerry 2025-01-15 16:21:46 UTC
Hi, it would be great if somebody could look into this CRASH bug. The bug might also affect the upcoming 25.2 release, because I noticed the bug in a pre version. In order to do the debugging I used 25.8. nightly to test the crash that I had experienced. Thanks!