Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Uncaught IndexSizeError: Failed to execute 'setEnd' on 'Range': The offset 501 is larger than or ... #7465

Closed

Description

@cs0ip

[Enter steps to reproduce below:]

  1. open libsteam_api.so
  2. scroll

Atom Version: 1.0.0
System: Linux Mint
Thrown From: Atom Core

Stack Trace

Uncaught IndexSizeError: Failed to execute 'setEnd' on 'Range': The offset 501 is larger than or equal to the node's length (500).

At /opt/atom/resources/app.asar/src/tile-component.js:444

Error: Failed to execute 'setEnd' on 'Range': The offset 501 is larger than or equal to the node's length (500).
    at Error (native)
    at TileComponent.module.exports.TileComponent.measureCharactersInLine (/opt/atom/resources/app.asar/src/tile-component.js:444:33)
    at TileComponent.module.exports.TileComponent.measureCharactersInNewLines (/opt/atom/resources/app.asar/src/tile-component.js:398:16)
    at /opt/atom/resources/app.asar/src/lines-component.js:157:23
    at DisplayBuffer.module.exports.DisplayBuffer.batchCharacterMeasurement (/opt/atom/resources/app.asar/src/display-buffer.js:572:7)
    at TextEditor.module.exports.TextEditor.batchCharacterMeasurement (/opt/atom/resources/app.asar/src/text-editor.js:2718:33)
    at TextEditorPresenter.module.exports.TextEditorPresenter.batchCharacterMeasurement (/opt/atom/resources/app.asar/src/text-editor-presenter.js:1301:18)
    at LinesComponent.module.exports.LinesComponent.measureCharactersInNewLines (/opt/atom/resources/app.asar/src/lines-component.js:151:29)
    at TextEditorComponent.module.exports.TextEditorComponent.readAfterUpdateSync (/opt/atom/resources/app.asar/src/text-editor-component.js:250:29)
    at /opt/atom/resources/app.asar/src/text-editor-component.js:3:61

Commands

Config

{}

Installed Packages

# User
language-rust, v0.4.3
language-scala, v1.1.3
rust-api-docs-helper, v0.5.1

# Dev
No dev packages

Activity

  1. nathansobo commented on Jun 30, 2015

    @nathansobo
    Contributor

    @mnquintana Were you able to reproduce this one?

  2. mnquintana commented on Jun 30, 2015

    @mnquintana
    Contributor

    Hmm no I couldn't reproduce either one yet.

  3. cs0ip commented on Jun 30, 2015

    @cs0ip
    Author
  4. izuzak commented on Jun 30, 2015

    @izuzak
    Contributor

    @cs0ip I just tried scrolling completely through that file and wasn't able to reproduce the problem on OSX. Does this happen every time for you?

  5. cs0ip commented on Jun 30, 2015

    @cs0ip
    Author

    Yes. The error occurs every time on my Linux Mint 17.1 Mate x64.

  6. izuzak commented on Jun 30, 2015

    @izuzak
    Contributor

    Thanks, @cs0ip. Just to double-check -- does it happen in safe mode as well? Also, which encoding do you see in the bottom right corner? Do you have soft wrap turned on or off? Which font are you using?

    @nathansobo Any other questions we can ask to help investigate this?

  7. nathansobo commented on Jun 30, 2015

    @nathansobo
    Contributor

    At this point, maybe @cs0ip you could open the dev tools, set a breakpoint for uncaught exceptions, then paste us the actual content of the node? We may need to insert some kind of assertion for this scenario and gather more data.

  8. stale commented on Jun 30, 2017

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  9. lock commented on Mar 31, 2018

    @lock

    This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

  10. locked and limited conversation to collaborators on Mar 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions