| Summary: | Crash when changing Text Grid type after I switch from Calc to Writer window | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Kevin Suo <suokunlong> |
| Component: | Writer | Assignee: | Kevin Suo <suokunlong> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | serval2412 |
| Priority: | medium | Keywords: | haveBacktrace |
| Version: | 7.4.2.3 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:7.5.0 target:7.4.4 | ||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 106568 | ||
| Attachments: | bt with debug symbols | ||
|
Description
Kevin Suo
2022-11-09 15:47:12 UTC
Confirmed Also crashes if you choose the second grid type, i.e. Grid (lines only), but it does not crash if select the first option (No grid) Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: bdb76c9ff1832041fa7a9bda30e8d4d7d937ff94 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: es-ES (es_ES); UI: en-US Calc: CL threaded Created attachment 183502 [details]
bt with debug symbols
On pc Debian x86-64 with master sources updated today, I could reproduce this with gtk + gen renderings, I attached bt with gen rendering.
(In reply to Julien Nabet from comment #2) So the SwView here is nullptr. > but it does not crash if select the first option (No grid) That's because if (aGridItem.GetGridType() == GRID_NONE) then the "get ruler" code will not be run. Proposed fix submitted as: https://gerrit.libreoffice.org/c/core/+/142508 Kevin Suo committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/9b80b2d6140d1aad240f10755105e49d678b98f1 tdf#151979: fix crash in Text Grid dialog when switching active view It will be available in 7.5.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Kevin Suo committed a patch related to this issue. It has been pushed to "libreoffice-7-4": https://git.libreoffice.org/core/commit/ea8a74ae6881f5ecacc6743b18c03ce3e759779a tdf#151979: fix crash in Text Grid dialog when switching active view It will be available in 7.4.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. |