Elszáll a terminál libxcb-vel

Fórumok

terminal.exe: ../../src/xcb_lock.c:33: _XCBUnlockDisplay: Assertion `xcb_get_request_sent(dpy->xcb->connection) == dpy->request' failed.Úgy lehet ilyet kapni, hogy a maskban az F4-gyel kijelölt területet jobbra-balra növelem-csökkentem. Hasonló hiba jön a z-ből is, bár ritkábban. Következmény: Hardyn nem futnak a karakteres CCC programok.

Háttérinfó:

The XCB library provides an interface to the X Window System protocol, designed to replace the Xlib interface. XCB provides several advantages over Xlib:

* Size: small library and lower memory footprint
* Latency hiding: batch several requests and wait for the replies later
* Direct protocol access: one-to-one mapping between interface and protocol
* Thread support: access XCB from multiple threads, with no explicit locking
* Easy creation of new extensions: automatically generates interface from machine-parsable protocol descriptions

Ez egy új fejlemény. A Feistyben benne vannak a libxcb csomagok, de nincsenek telepítve. A Gutsyban nem tudom mi a helyzet, nem vettem észre hibát, de nem is használtam túl sokat (és most éppen lecseréltem Hardyra, tehát nem is tudom megnézni). A Hardyban rátértek a libxcb használatára. Rendkívül nagyszerű, csak nem kompatibilis hátrafelé.

Hozzászólások

Megjavul a terminal, ha beleteszek egy XInitThreads() hívást, amire a man szerint egyébként nincs szükség:

It is only necessary to call this function if multiple threads might use Xlib concurrently. If all calls to Xlib functions are protected by some other access mechanism (for example, a mutual exclusion lock in a toolkit or through explicit client programming), Xlib thread initialization is not required. It is recommended that single-threaded programs not call this function.

Úgy néz ki, el van szúrva a libxbc. Szerintem ezért nem megy az xmms sem. Gáz.
--
CCC3