Summary: | Assert when using tab to move between controls in the Navigator in the Sidebar | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | am_dxer <am_dxer> |
Component: | Writer | Assignee: | Michael Stahl (allotropia) <michael.stahl> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | foss, michael.stahl, serval2412, vsfoote |
Priority: | medium | Keywords: | accessibility, haveBacktrace |
Version: | 6.1.0.0.alpha0+ | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | target:6.2.0 target:6.1.0.2 target:6.0.6 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 101912, 105537 | ||
Attachments: |
Debug Log of the crash.
bt with debug symbols |
Description
am_dxer
2018-02-20 19:49:42 UTC
Created attachment 140022 [details]
Debug Log of the crash.
Can not confirm on Windows 10 Ent 64-bit en-US with NVDA 2017-3 and Version: 6.0.1.1 (x64) Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6 CPU threads: 8; OS: Windows 10.0; UI render: GL; Locale: en-US (en_US); Calc: group nor with current master Version: 6.1.0.0.alpha0+ (x64) Build ID: e1082e45361a92a31adedcc3ed0a35c704bca543 CPU threads: 8; OS: Windows 10.0; UI render: GL; TinderBox: Win-x86_64@42, Branch:master, Time: 2018-02-15_23:24:06 Locale: en-US (en_US); Calc: group Introduced somewhere between 7d56128654457bfc859217c23a957d1712fd6e1c and 48cf115778b29ab916dd884d0bfc On pc Debian x86-64 with master sources updated today + gtk2 rendering, I don't reproduce this. Do you have Orca enabled when testing on Debian? From looking at the trace, this looks to only occur when a11y is enabled. You're right, I hadn't tested it with Orca. I'll give it a try later. Created attachment 140025 [details]
bt with debug symbols
I could reproduce the assertion.
It mustn't be confounded with a crash.
Michael: the assert has been added with https://cgit.freedesktop.org/libreoffice/core/commit/?id=b673ddb7d7a7b09ad171af57acadb3e532030428, thought you might be interested in this one. I don't know why dynamic cast doesn't work since SwContent inherits from SwTypeNumber (see https://opengrok.libreoffice.org/xref/core/sw/source/uibase/inc/swcont.hxx#70) but this works: assert(pEntry->GetUserData() == nullptr || static_cast<SwContent*>(pEntry->GetUserData())); Michael Stahl committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=2986f4baa8bdef1f9ab9108240ea890075321be1 tdf#115890 sw: fix invalid cast in SwContentTree::GetEntryAltText() It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-6-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=018b59833878afc6f1a4a2489e83235d508e2702&h=libreoffice-6-1 tdf#115890 sw: fix invalid cast in SwContentTree::GetEntryAltText() It will be available in 6.1.0.2. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Michael Stahl committed a patch related to this issue. It has been pushed to "libreoffice-6-0": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a900c91447897e725fc0cf674205eee633b326eb&h=libreoffice-6-0 tdf#115890 sw: fix invalid cast in SwContentTree::GetEntryAltText() It will be available in 6.0.6. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. fixed on master I confirm the fix in 6.2.0.0.alpha0+ Build ID: d0a481d09e696f6d5a2a0d40a9d5c48cfca559bf I've tested on Debian 9 "Stretch" with Orca master. I don't reproduce the crash described by am_dxer. Best regards, Alex. |