[GH-ISSUE #1095] close error #638

Closed
opened 2026-02-27 00:00:23 +03:00 by kerem · 4 comments
Owner

Originally created by @inkroom on GitHub (Jan 22, 2019).
Original GitHub issue: https://github.com/electerm/electerm/issues/1095

Electerm version: 0.26.23

Operating system(linux, macos, or windows7/8/10?): linux deepin

Expected Behavior

exit

Current Behavior

Possible Solution

Steps to Reproduce

1.exit program
2. a dialog say " Error: kill ESRCH "

Error

_ _20190122183342

Originally created by @inkroom on GitHub (Jan 22, 2019). Original GitHub issue: https://github.com/electerm/electerm/issues/1095 <!--- Provide some basic info --> ## Electerm version: 0.26.23 ## Operating system(linux, macos, or windows7/8/10?): linux deepin ## Expected Behavior <!--- Tell me what should happen --> exit ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1.exit program 2. a dialog say " Error: kill ESRCH " ## Error ![_ _20190122183342](https://user-images.githubusercontent.com/27911304/51529722-41c54e00-1e74-11e9-831f-2ab5489450d5.png)
kerem 2026-02-27 00:00:23 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@zxdong262 commented on GitHub (Jan 22, 2019):

Hi @inkroom,

So this happens every time you close electerm?

<!-- gh-comment-id:456437102 --> @zxdong262 commented on GitHub (Jan 22, 2019): Hi @inkroom, So this happens every time you close electerm?
Author
Owner

@zxdong262 commented on GitHub (Jan 22, 2019):

Can you run electerm from command line, and post the log here?

<!-- gh-comment-id:456610080 --> @zxdong262 commented on GitHub (Jan 22, 2019): Can you run electerm from command line, and post the log here?
Author
Owner

@inkroom commented on GitHub (Jan 23, 2019):

@zxdong262 when I open multiple remote ssh,and I close a tab , the other ssh also lose connect. then close the program ,,error

the log is here

error parsing $HOME/.ssh/config
maybe no $HOME/.ssh/config, but it is ok
no ../../install-src file
[09:05:04.359] [info] App starting...
no /home/inkbox/.config/electerm-config.js but it is ok
no ../../install-src file
Wed Jan 23 2019 09:05:04 GMT+0800 (CST) server runs on localhost 3075
shortcut Registration failed.
Wed Jan 23 2019 09:05:05 GMT+0800 (CST) Created terminal with PID: s4b60hNpS
Wed Jan 23 2019 09:05:05 GMT+0800 (CST) Connected to terminal s4b60hNpS
Wed Jan 23 2019 09:05:05 GMT+0800 (CST) Resized terminal  s4b60hNpS  to  91  cols and  20  rows.
Wed Jan 23 2019 09:05:05 GMT+0800 (CST) Resized terminal  s4b60hNpS  to  91  cols and  35  rows.
Wed Jan 23 2019 09:06:59 GMT+0800 (CST) Created terminal with PID: NA-hr0lgY
Wed Jan 23 2019 09:07:02 GMT+0800 (CST) Created terminal with PID: g9WtAgu5n
Wed Jan 23 2019 09:07:02 GMT+0800 (CST) Connected to terminal g9WtAgu5n
Wed Jan 23 2019 09:07:02 GMT+0800 (CST) Resized terminal  g9WtAgu5n  to  91  cols and  35  rows.
Wed Jan 23 2019 09:07:05 GMT+0800 (CST) Closed terminal g9WtAgu5n
/media/inkbox/software/software/electron/electerm-0.26.23-linux-x64/resources/app.asar/lib/dispatch-center.js:39
      let inst = global.sftpInsts[id]
                                 ^

TypeError: Cannot read property 'BDemIM3beHN' of undefined
    at WebSocket.ws.on (/media/inkbox/software/software/electron/electerm-0.26.23-linux-x64/resources/app.asar/lib/dispatch-center.js:39:34)
    at WebSocket.emit (events.js:187:15)
    at WebSocket.emitClose (/media/inkbox/software/software/electron/electerm-0.26.23-linux-x64/resources/app.asar/node_modules/ws/lib/websocket.js:172:10)
    at Socket.socketOnClose (/media/inkbox/software/software/electron/electerm-0.26.23-linux-x64/resources/app.asar/node_modules/ws/lib/websocket.js:781:15)
    at Socket.emit (events.js:182:13)
    at TCP._handle.close [as _onclose] (net.js:596:12)
Gtk-Message: 09:07:14.339: GtkDialog mapped without a transient parent. This is discouraged.


<!-- gh-comment-id:456627238 --> @inkroom commented on GitHub (Jan 23, 2019): @zxdong262 when I open multiple remote ssh,and I close a tab , the other ssh also lose connect. then close the program ,,error the log is here ``` base error parsing $HOME/.ssh/config maybe no $HOME/.ssh/config, but it is ok no ../../install-src file [09:05:04.359] [info] App starting... no /home/inkbox/.config/electerm-config.js but it is ok no ../../install-src file Wed Jan 23 2019 09:05:04 GMT+0800 (CST) server runs on localhost 3075 shortcut Registration failed. Wed Jan 23 2019 09:05:05 GMT+0800 (CST) Created terminal with PID: s4b60hNpS Wed Jan 23 2019 09:05:05 GMT+0800 (CST) Connected to terminal s4b60hNpS Wed Jan 23 2019 09:05:05 GMT+0800 (CST) Resized terminal s4b60hNpS to 91 cols and 20 rows. Wed Jan 23 2019 09:05:05 GMT+0800 (CST) Resized terminal s4b60hNpS to 91 cols and 35 rows. Wed Jan 23 2019 09:06:59 GMT+0800 (CST) Created terminal with PID: NA-hr0lgY Wed Jan 23 2019 09:07:02 GMT+0800 (CST) Created terminal with PID: g9WtAgu5n Wed Jan 23 2019 09:07:02 GMT+0800 (CST) Connected to terminal g9WtAgu5n Wed Jan 23 2019 09:07:02 GMT+0800 (CST) Resized terminal g9WtAgu5n to 91 cols and 35 rows. Wed Jan 23 2019 09:07:05 GMT+0800 (CST) Closed terminal g9WtAgu5n /media/inkbox/software/software/electron/electerm-0.26.23-linux-x64/resources/app.asar/lib/dispatch-center.js:39 let inst = global.sftpInsts[id] ^ TypeError: Cannot read property 'BDemIM3beHN' of undefined at WebSocket.ws.on (/media/inkbox/software/software/electron/electerm-0.26.23-linux-x64/resources/app.asar/lib/dispatch-center.js:39:34) at WebSocket.emit (events.js:187:15) at WebSocket.emitClose (/media/inkbox/software/software/electron/electerm-0.26.23-linux-x64/resources/app.asar/node_modules/ws/lib/websocket.js:172:10) at Socket.socketOnClose (/media/inkbox/software/software/electron/electerm-0.26.23-linux-x64/resources/app.asar/node_modules/ws/lib/websocket.js:781:15) at Socket.emit (events.js:182:13) at TCP._handle.close [as _onclose] (net.js:596:12) Gtk-Message: 09:07:14.339: GtkDialog mapped without a transient parent. This is discouraged. ```
Author
Owner

@zxdong262 commented on GitHub (Jan 23, 2019):

Released new version with bug fix. Thank you for the feedback!

<!-- gh-comment-id:456643510 --> @zxdong262 commented on GitHub (Jan 23, 2019): Released new version with bug fix. Thank you for the feedback!
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#638
No description provided.