[GH-ISSUE #3135] Error: Cannot create a string longer than 0x1fffffe8 characters #2084

Closed
opened 2026-02-27 00:06:00 +03:00 by kerem · 7 comments
Owner

Originally created by @flycomte-mzx on GitHub (Nov 29, 2023).
Original GitHub issue: https://github.com/electerm/electerm/issues/3135

Electerm Version and download file extension(Electerm版本和下载文件后缀)

electerm-1.37.16-1-linux-amd64.deb

Platform detail (平台详情)

Linux g7 5.15.0-89-generic #99~20.04.1-Ubuntu SMP Thu Nov 2 15:16:47 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

What steps will reproduce the bug?(重新问题的详细步骤)

when start the app, can't run it.
Selection_016

What should have happened?(期望的结果)

I have re-install 1.37.16-1 or 1.37.1-1, both has the same error.

Would this happen in other terminal app(是否能够在其他同类软件重现这个问题)

no

Additional information(其他任何相关信息)

No response

Originally created by @flycomte-mzx on GitHub (Nov 29, 2023). Original GitHub issue: https://github.com/electerm/electerm/issues/3135 ### Electerm Version and download file extension(Electerm版本和下载文件后缀) electerm-1.37.16-1-linux-amd64.deb ### Platform detail (平台详情) Linux g7 5.15.0-89-generic #99~20.04.1-Ubuntu SMP Thu Nov 2 15:16:47 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux ### What steps will reproduce the bug?(重新问题的详细步骤) when start the app, can't run it. ![Selection_016](https://github.com/electerm/electerm/assets/81898342/fc777a93-62ee-48c7-b450-695ed120a838) ### What should have happened?(期望的结果) I have re-install 1.37.16-1 or 1.37.1-1, both has the same error. ### Would this happen in other terminal app(是否能够在其他同类软件重现这个问题) no ### Additional information(其他任何相关信息) _No response_
kerem closed this issue 2026-02-27 00:06:00 +03:00
Author
Owner

@zxdong262 commented on GitHub (Nov 29, 2023):

how is the PC memory size, more than 512M?

<!-- gh-comment-id:1831137164 --> @zxdong262 commented on GitHub (Nov 29, 2023): how is the PC memory size, more than 512M?
Author
Owner

@zxdong262 commented on GitHub (Nov 29, 2023):

Newly installed one or upgrade to new version?

<!-- gh-comment-id:1831140071 --> @zxdong262 commented on GitHub (Nov 29, 2023): Newly installed one or upgrade to new version?
Author
Owner

@zxdong262 commented on GitHub (Nov 29, 2023):

Could be load a big json file bigger than 512M, any thing unusual you can think of? I tested in my 20.04 virtualbox ubuntu, no problem

<!-- gh-comment-id:1831140980 --> @zxdong262 commented on GitHub (Nov 29, 2023): Could be load a big json file bigger than 512M, any thing unusual you can think of? I tested in my 20.04 virtualbox ubuntu, no problem
Author
Owner

@zxdong262 commented on GitHub (Dec 6, 2023):

Can you run ls -al ~/.config/electerm/users/default_user/ to see the file sizes

<!-- gh-comment-id:1842181206 --> @zxdong262 commented on GitHub (Dec 6, 2023): Can you run `ls -al ~/.config/electerm/users/default_user/` to see the file sizes
Author
Owner

@flycomte-mzx commented on GitHub (Dec 6, 2023):

(base) zhixiang@g7:~$ ls -al ~/.config/electerm/users/default_user/
total 636100
drwxrwxr-x 2 zhixiang zhixiang 4096 12月 4 12:56 .
drwxrwxr-x 3 zhixiang zhixiang 4096 6月 27 00:23 ..
-rw-rw-r-- 1 zhixiang zhixiang 0 12月 4 12:56 electerm.addressBookmarks.nedb
-rw-rw-r-- 1 zhixiang zhixiang 154 12月 4 12:56 electerm.bookmarkGroups.nedb
-rw-rw-r-- 1 zhixiang zhixiang 6307 12月 4 12:56 electerm.bookmarks.nedb
-rw-rw-r-- 1 zhixiang zhixiang 717890 12月 4 12:56 electerm.data.nedb
-rw-rw-r-- 1 zhixiang zhixiang 2225 12月 4 12:56 electerm.dbUpgradeLog.nedb
-rw-rw-r-- 1 zhixiang zhixiang 18037 12月 4 12:56 electerm.history.nedb
-rw-rw-r-- 1 zhixiang zhixiang 0 10月 17 10:01 electerm.jumpHosts.nedb
-rw-rw-r-- 1 zhixiang zhixiang 650592004 11月 28 16:57 electerm.lastStates.nedb
-rw-rw-r-- 1 zhixiang zhixiang 0 12月 4 12:56 electerm.log.nedb
-rw-rw-r-- 1 zhixiang zhixiang 0 12月 4 12:56 electerm.quickCommands.nedb
-rw-rw-r-- 1 zhixiang zhixiang 1540 12月 4 12:56 electerm.terminalThemes.nedb

<!-- gh-comment-id:1842466832 --> @flycomte-mzx commented on GitHub (Dec 6, 2023): (base) zhixiang@g7:~$ ls -al ~/.config/electerm/users/default_user/ total 636100 drwxrwxr-x 2 zhixiang zhixiang 4096 12月 4 12:56 . drwxrwxr-x 3 zhixiang zhixiang 4096 6月 27 00:23 .. -rw-rw-r-- 1 zhixiang zhixiang 0 12月 4 12:56 electerm.addressBookmarks.nedb -rw-rw-r-- 1 zhixiang zhixiang 154 12月 4 12:56 electerm.bookmarkGroups.nedb -rw-rw-r-- 1 zhixiang zhixiang 6307 12月 4 12:56 electerm.bookmarks.nedb -rw-rw-r-- 1 zhixiang zhixiang 717890 12月 4 12:56 electerm.data.nedb -rw-rw-r-- 1 zhixiang zhixiang 2225 12月 4 12:56 electerm.dbUpgradeLog.nedb -rw-rw-r-- 1 zhixiang zhixiang 18037 12月 4 12:56 electerm.history.nedb -rw-rw-r-- 1 zhixiang zhixiang 0 10月 17 10:01 electerm.jumpHosts.nedb -rw-rw-r-- 1 zhixiang zhixiang 650592004 11月 28 16:57 electerm.lastStates.nedb -rw-rw-r-- 1 zhixiang zhixiang 0 12月 4 12:56 electerm.log.nedb -rw-rw-r-- 1 zhixiang zhixiang 0 12月 4 12:56 electerm.quickCommands.nedb -rw-rw-r-- 1 zhixiang zhixiang 1540 12月 4 12:56 electerm.terminalThemes.nedb
Author
Owner

@zxdong262 commented on GitHub (Dec 6, 2023):

看起来lastStates处理有bug

<!-- gh-comment-id:1842491288 --> @zxdong262 commented on GitHub (Dec 6, 2023): 看起来lastStates处理有bug
Author
Owner

@zxdong262 commented on GitHub (Dec 6, 2023):

感谢反馈,将在下个版本修复

<!-- gh-comment-id:1842491787 --> @zxdong262 commented on GitHub (Dec 6, 2023): 感谢反馈,将在下个版本修复
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#2084
No description provided.