You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Display server protocol and version, if known: X server
Desktop Environment: XFCE 4
Composite Window Manager name and version: Cairo v1.14.6
Description of the warning/error
Grabbing screen concurrently by using threads crashes mss when running with Linux.
Code to reproduce:
importtimeimportthreadingfrommssimportmss# record for one seconddefrecord():
start_time=time.time()
whiletime.time() -start_time<1:
withmss() assct:
sct.grab(sct.monitors[1])
t1=threading.Thread(target=record)
t2=threading.Thread(target=record)
t1.start()
time.sleep(0.5)
t2.start()
Full message
[xcb] Unknown sequence number while processing reply
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
python3: ../../src/xcb_io.c:643: _XReply: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted
Other details
This is working fine under Windows (5.1.0) and when running with Linux and using and older mss version (4.0.3).
The text was updated successfully, but these errors were encountered:
General information:
For GNU/Linux users:
Description of the warning/error
Grabbing screen concurrently by using threads crashes mss when running with Linux.
Code to reproduce:
Full message
Other details
This is working fine under Windows (5.1.0) and when running with Linux and using and older mss version (4.0.3).
The text was updated successfully, but these errors were encountered: