From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wp266.webpack.hosteurope.de ([80.237.133.35]) by ur; Thu Mar 17 14:31:19 EDT 2016 Received: from p57983ce7.dip0.t-ipconnect.de ([87.152.60.231] helo=[192.168.2.100]); authenticated by wp266.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1agchT-0004wu-07; Thu, 17 Mar 2016 19:31:11 +0100 From: Maurice Quennet Subject: [drawterm] two bugs To: 9front@9front.org Message-ID: <56EAF7EE.7000801@quennet.eu> Date: Thu, 17 Mar 2016 19:31:10 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;maurice@quennet.eu;1458239479;18803b25; List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: virtual template lifecycle base-based layer Hi, I've just hit two bugs in drawterm. The first one I could pin down to commit 175:5afb44d9672b. When pressing (and releasing) the Ctrl key once, drawterm gets stuck and thinks the Ctrl key is then pressed forever (I found no method to stop this). This results in being unable to type lowercase characters ('d' becomes '^D'). (Yes, I checked; I did indeed take my finger off the Ctrl key.) The bug can be circumvented using "-B". The second bug is rather obscure, but nonetheless I was able to hit it while recompiling my system. To reproduce: log into an account, which doesn't start rio on login (in my case it was "glenda" on a CPU server), so you get the drawterm console. Then, while lots of text is scrolling on the screen (e.g. recompiling the system; `seq 100000` does the trick, too), flip fast and long enough between virtual desktops and soon enough drawterm will crash and dump [xcb] Unknown sequence number while processing queue [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. drawterm: xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed. into ~/.xsession-errors. It seems, that the more text has scrolled past the screen the sooner drawterm will crash. I have no clue about X11 programming, so no patches. Sorry. - Maurice PS: I doubt it is relevant in this case, but just for the sake of completeness: Drawterm runs on Slackware 14.1 with XFCE 4.10 on a Thinkpad x230 and 9front runs 9pccpuf (commit: 5174:b56a9e7f8cd0) on an Intel NUC DN2820FYKH.