Opened 5 years ago

Closed 4 years ago

#15779 closed defect (worksforme)

Nyx doesn't exit gracefully on Ctrl-C

Reported by: yurivict271 Owned by: atagar
Priority: Medium Milestone:
Component: Archived/Nyx Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


I am observing these problems:

  1. It doesn't immediately exit on Ctrl-C, but still runs for ~4-5 sec and then exits. But when I press Ctrl-C and ENTER - this makes it exit after ENTER. This is unconventional behavior, and nyx should just exit on Ctrl-C right away.
  2. Sometimes (in ~5% cases) pressing Ctrl-C causes the terminal state be modified (against what it was before). Not sure if this is ncurses bug, but I doubt.
  3. Once pressing Ctrl-C caused nyx to hang and it had to be killed.

Ideal behavior: Exit back into terminal after single Ctrl-C without any side-effects.

I am not sure if this is FreeBSD specific problem or not, it is unlikely.

Child Tickets

Change History (4)

comment:1 Changed 5 years ago by atagar

Component: - Select a componentNyx
Owner: set to atagar

Hi yurivict271. I can't say I'm entirely surprised, the rewrite is only half complete and thread termination will be one of the last things I overhaul.

Unfortunately the nyx repo will remain in rough shape until I'm done. At present I'm not paying much attention to the ticket queue since the codebase is in too much flux to be of much use.

Sorry about its present rough shape! Closer to release time I'll definitely be interested in bug reports like this.

comment:2 Changed 5 years ago by yurivict271

No problem, thanks, I didn't know it is a rewrite.

Two more things:

  • page#1 says "Download" twice, and no "Upload"
  • Connections page is blank.

comment:3 Changed 5 years ago by atagar

page#1 says "Download" twice, and no "Upload"

Oops, good catch! This part I was actually done rewriting so the catch is appreciated. :P

comment:4 Changed 4 years ago by atagar

Resolution: worksforme
Severity: Normal
Status: newclosed

Cleaning up old tickets. Nyx is undergoing a rewrite, if this is still relevant then feel free to reopen.

Note: See TracTickets for help on using tickets.