Russ Cox is sharing code with you

Bitbucket is a code hosting site. Unlimited public and private repositories. Free for small teams.

Don't show this again

rsc / drawterm http://swtch.com/drawterm/

Plan 9 Terminal Emulator

Clone this repository (size: 753.9 KB): HTTPS / SSH
hg clone https://bitbucket.org/rsc/drawterm
hg clone ssh://hg@bitbucket.org/rsc/drawterm

Issues

#1 continues running after X server crash, using cpu

Reported by Ethan Grammatikidis

I had 4 instances of drawterm running yesterday when my X server crashed. Afterwards I found all 4 still running and using about 25% of the available CPU power each. They responded to kill, exiting on the default signal.

Status: new Responsible: Russ Cox Type: bug Priority: major
Milestone: none Component: none Version: none

Attachments

No attachments added for this issue yet.

Comments and changes

  1. #1 Russ Cox

    written

    • Changed responsible from nobody to rsc.

    If you can reproduce the situation (maybe kill -9 your X server) then you can attach gdb to one of the spinning drawterms and run

    thread apply all where
    

    That should give some idea of which thread is spinning (probably it is making X calls) and where to put the error check that should cause drawterm to exit.

  2. #2 Iaroslav K

    written , last edited

    (please ignore this comment)

Add comment / attachment

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?