9front - general discussion about 9front
 help / color / mirror / Atom feed
* [drawterm] two bugs
@ 2016-03-17 18:31 Maurice Quennet
  2016-03-17 21:01 ` [9front] " cinap_lenrek
  2016-03-17 22:08 ` cinap_lenrek
  0 siblings, 2 replies; 5+ messages in thread
From: Maurice Quennet @ 2016-03-17 18:31 UTC (permalink / raw)
  To: 9front

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] [drawterm] two bugs
  2016-03-17 18:31 [drawterm] two bugs Maurice Quennet
@ 2016-03-17 21:01 ` cinap_lenrek
  2016-03-17 21:10   ` Maurice Quennet
  2016-03-17 22:08 ` cinap_lenrek
  1 sibling, 1 reply; 5+ messages in thread
From: cinap_lenrek @ 2016-03-17 21:01 UTC (permalink / raw)
  To: 9front

ctl bug should already be fixed.

will try reproducing your x11 bug here... but i do not have direct
access to linux or x11 environment.

--
cinap


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] [drawterm] two bugs
  2016-03-17 21:01 ` [9front] " cinap_lenrek
@ 2016-03-17 21:10   ` Maurice Quennet
  0 siblings, 0 replies; 5+ messages in thread
From: Maurice Quennet @ 2016-03-17 21:10 UTC (permalink / raw)
  To: 9front

> ctl bug should already be fixed.

Okay, I checked out the newest version and works.

> will try reproducing your x11 bug here... but i do not have direct
> access to linux or x11 environment.

Yeah � as I've said, it's really obscure. For the time I'll try not
to switch desktops so fast�

- Maurice


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] [drawterm] two bugs
  2016-03-17 18:31 [drawterm] two bugs Maurice Quennet
  2016-03-17 21:01 ` [9front] " cinap_lenrek
@ 2016-03-17 22:08 ` cinap_lenrek
  2016-03-17 22:13   ` Maurice Quennet
  1 sibling, 1 reply; 5+ messages in thread
From: cinap_lenrek @ 2016-03-17 22:08 UTC (permalink / raw)
  To: 9front

second bug seems to be fixed as well now. was a unlocked flushscreenimage()
call in term.c when it scrolled up. can you confirm?

--
cinap


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [9front] [drawterm] two bugs
  2016-03-17 22:08 ` cinap_lenrek
@ 2016-03-17 22:13   ` Maurice Quennet
  0 siblings, 0 replies; 5+ messages in thread
From: Maurice Quennet @ 2016-03-17 22:13 UTC (permalink / raw)
  To: 9front

> second bug seems to be fixed as well now. was a unlocked flushscreenimage()
> call in term.c when it scrolled up. can you confirm?

Great, works like a charm. Now I can finally use drawterm to induce
epilepsy.

- Maurice


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-03-17 22:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-17 18:31 [drawterm] two bugs Maurice Quennet
2016-03-17 21:01 ` [9front] " cinap_lenrek
2016-03-17 21:10   ` Maurice Quennet
2016-03-17 22:08 ` cinap_lenrek
2016-03-17 22:13   ` Maurice Quennet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).