Bug 135739 - Assertion on Ctrl+Shift+Page down after Shift+Page down
Summary: Assertion on Ctrl+Shift+Page down after Shift+Page down
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: haveBacktrace
Depends on:
Blocks: Crash-Assert
  Show dependency treegraph
 
Reported: 2020-08-14 01:35 UTC by Jim Raykowski
Modified: 2023-04-13 08:09 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
test file to repro assert fail (122.73 KB, application/vnd.oasis.opendocument.text)
2020-08-14 01:35 UTC, Jim Raykowski
Details
bt with debug symbols (7.63 KB, text/plain)
2020-08-14 10:01 UTC, Julien Nabet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jim Raykowski 2020-08-14 01:35:59 UTC
Created attachment 164292 [details]
test file to repro assert fail

Steps to repro when using debugger:

1) Open attached file
2) Press Shift+Page down
3) Press Ctrl+Shift+Page down

Results:
core/sw/source/core/text/txtfrm.cxx:1254: TextFrameIndex SwTextFrame::MapModelToView(const SwTextNode*, sal_Int32) const: Assertion `static_cast<SwTextNode*>(const_cast<SwModify*>(SwFrame::GetDep())) == pNode' failed.
Comment 1 Julien Nabet 2020-08-14 10:01:39 UTC
Created attachment 164305 [details]
bt with debug symbols

On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 2 Julien Nabet 2020-08-14 10:03:15 UTC
Michael: thought you might be interested in this one since the assert statement comes from:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=c5abcfdf0c2e98c8f3445a92dd2d71eab23a7268
author	Michael Stahl <Michael.Stahl@cib.de>	2018-04-27 18:41:46 +0200
committer	Michael Stahl <Michael.Stahl@cib.de>	2018-06-08 21:51:20 +0200
commit c5abcfdf0c2e98c8f3445a92dd2d71eab23a7268 (patch)
tree 46fbfe78e2f39f363862241f5d063bc8efca970b
parent 38a88d7ff92f64470dee94afa75b5e3293841c4d (diff)
sw_redlinehide: add TextFrameIndex type & SwTextFrame mapping functions
By default, it's an alias for sal_Int32 for now, but if it's a
strong_int we can find all the code that needs changing.
Comment 3 QA Administrators 2022-08-15 03:44:29 UTC Comment hidden (obsolete)
Comment 4 Gabor Kelemen (allotropia) 2023-04-13 08:09:12 UTC
Checked in a debug build of:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 98cf5157d69d9f1692be7f2cac958b1dfb387ca9
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU
Calc: threaded

Still happens