Skip to content

Nvda crashes when selecting whole text in specific source files in Android studio #17418

@PeterLecky

Description

@PeterLecky

Actually do not know what causes this. It happens in larger files but not in all large files. I prepared file which is not compillable (see zipped attachment, it defines few constants a lot of times), but this happens also in syntactically correct files.

Steps to reproduce:

  1. Open Android studio and attached java file in code editor
  2. Press ctrl+a to select whole file
  3. Nvda now completely crashes

It is also possible to reproduce this crash from python console

  1. Open Android studio and attached java file in code editor
  2. invoke python console (nvda+ctrl+z)
  3. invoke import textInfos;len(focus.makeTextInfo(textInfos.POSITION_ALL).text)

Actual behavior:

Nvda completely crashes and there are no any relevant information in %tmp%\nvda-old.log

Expected behavior:

NVDA logs, crash dumps and other attachments:

BadConstants.zip

System configuration

NVDA installed/portable/running from source:

Installed

NVDA version:

Nvda 2024.4

Windows version:

Windows 10 22H2,

Name and version of other software in use when reproducing the issue:

Android Studio Koala | 2024.1.1 Patch 1
Build #AI-241.18034.62.2411.12071903, built on July 10, 2024
Runtime version: 17.0.11+0--11852314 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Non-Bundled Plugins:
io.wisetime.plugins.window.branch (1.1.0)

Other information about your system:

Other questions

Does the issue still occur after restarting your computer?

Yes

Have you tried any other versions of NVDA? If so, please report their behaviors.

Reproducible on older versions of NVDA

If NVDA add-ons are disabled, is your problem still occurring?

Does the issue still occur after you run the COM Registration Fixing Tool in NVDA's tools menu?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/crashcomponent/java-access-bridgeneeds-technical-investigationA technical investigation is required to progress the issue.p1https://github.com/nvaccess/nvda/blob/master/projectDocs/issues/triage.md#prioritytriagedHas been triaged, issue is waiting for implementation.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions