bugWeeChat - Bugs: bug #37089, WeeChat hangs when the terminal...


bug #37089: WeeChat hangs when the terminal window is so small that only bars are drawn

Submitter:  frantk <frantk>
Submitted:  Mon 13 Aug 2012 09:33:50 PM UTC
Category:  display Severity:  3 - Normal
Item Group:  crash Status:  Fixed
Privacy:  Public Assigned to:  flashcode
Originator Name:  Open/Closed:  Closed
Release:  * 0.3.8 IRC nick: 
* Mandatory Fields

Add a New Comment Rich Markup

Wed 22 Aug 2012 08:15:04 AM UTC, comment #1: 

Fixed, please test and keep me informed if the fix is ok.

Sebastien Helleu <flashcode>
Group administrator
Mon 13 Aug 2012 09:33:50 PM UTC, original submission:  

It seems that when WeeChat can't draw a single character of the actual "window", because bars completely fill the screen, it hangs with 100% CPU usage.

I was able to reproduce this behavior with a fresh config like this:
- Connect to freenode, join a channel. (I haven't had this happen in the core buffer.)
- Increase the size of the nicklist bar; I set it to 10.
- Resize the terminal window so that it is as wide as the bar.

At this point, WeeChat will stop redrawing and hang.

I have attached two backtraces of such incidents.

frantk <frantk>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #26353:  gdb1.txt added by frantk (5KiB - text/plain)
file #26354:  gdb2.txt added by frantk (5KiB - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by frantk (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-09-29 flashcode Open/ClosedOpen Closed
    2012-08-23 flashcode StatusReady For Test Fixed
    2012-08-22 flashcode CategoryNone display
        StatusNone Ready For Test
        Assigned toNone flashcode
    2012-08-13 frantk Attached File- Added gdb1.txt, #26353
        Attached File- Added gdb2.txt, #26354

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code