Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

long json or txt file freezes pluma #673

Open
EvilrootNix opened this issue Apr 2, 2023 · 2 comments
Open

long json or txt file freezes pluma #673

EvilrootNix opened this issue Apr 2, 2023 · 2 comments

Comments

@EvilrootNix
Copy link

EvilrootNix commented Apr 2, 2023

Expected behaviour

The file is displayed by pluma

Actual behaviour

pluma freezes

Steps to reproduce the behaviour

try to open foo.json 1.3mb

MATE general version

MATE 1.26.0

Package version

pluma 1.26.0-2

Linux Distribution

Manjaro mate Version 22.1.0-1

Link to bugreport of your Distribution (requirement)

Manjaro reports bug to upstream directly, like Arch Linux (the package of Manjaro is the same of the arch)

With a 1.3 mb .json file, puma pluma freezes up completely. It's not an inherited issue or GTK related since with gedit using MATE it doesn't occur.

I'm attaching an example file foo.json, renamed to foo2.txt

But crash too with .txt extension.

Maybe related with #671 ?

Edit - Preferences - Editor - check "Show Spaces" and not "Show trailing spaces only", then freezes.

When I enable "show spaces" + "show trailing spaces only" does not freezes, otherwise yes

In the terminal says: Could not init tracker3 search engine: The name org.freedesktop.Tracker3.Miner.Files was not provided by any .service files

Vim, Nano, Kate and Geany works fine with this file. Kate show an advertisement about line have more than 10.000 chars, enable temporaly the limit.

Maybe the large line more than 300k chars?
But in the mentioned editors works.

foo2.txt

@zhuyaliang
Copy link
Member

I can't reproduce this problem

[mate@mouse tmp]$ pluma -V
pluma - Version 1.26.0
[mate@mouse tmp]$ cat /etc/os-release 
NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
[mate@mouse tmp]$ du -shb foo.txt 
5157928	foo.txt
[mate@mouse tmp]$ 

@EvilrootNix
Copy link
Author

EvilrootNix commented Apr 2, 2023

Please, delete the file foo.txt, was my mistake, the file have sensitive information.

I am editing replacing names with xxxx, foo2.txt

@zhuyaliang zhuyaliang
Edit - Preferences - Editor - check "Show Spaces" and not "Show trailing spaces only", then freezes.

When I enable "show spaces" + "show trailing spaces only" does not freezes, otherwise yes

@EvilrootNix EvilrootNix changed the title long json file freezes pluma long json or txt file freezes pluma Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants