Custom Query (152 matches)


Show under each result:

Results (25 - 27 of 152)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Ticket Resolution Summary Owner Reporter
#1112 fixed "Xlib: unexpected async reply" with threaded RTS and --sync command line parameter somebody guest

Reported by guest, 10 years ago.


A trivial program which uses unsafeInitGUIForThreadedRTS, and doesn't even start additional threads, causes the above error message when started with the "--sync" command line parameter. It has to be compiled with "-threaded", but multithreading doesn't need to be enabled at runtime for the error to occur. The same problem occurs even without the "--sync" parameter, but only in a much more complex program. All the parameter does is tell X to report errors synchronously.

Calling XInitThreads at the start of main makes the error disappear, which indicates that Haskell calls Gtk (which in turn calls X) from multiple OS threads.

The attached archive contains three versions of the same program:

  1. broken.hs prints the error and hangs. Some fierce resizing (i. e. Expose events) may be necessary to trigger the error.
  2. working.hs merely adds a call to XInitThreads and doesn't hang regardless of the amount of resizing.
  3. test.c is an equivalent program in C, which works fine without calling XInitThreads.
#1113 invalid install gtk2hs- on flash drive w/ ghc-6.8.2? pgavin guest

Reported by guest, 10 years ago.


I've installed the Windows version of GHC-6.8.2 on my flashdrive (it works great once I set the PATH variable) to work through SOE. I couldn't get GLFW to work (another matter), so I wanted to try Gtk2Hs. The Windows installer wont install to the flash drive, looking instead at the Windows Registry to find the GHC install on my main computer. Is there any way to force the installer to look at a specific directory for a valid GHC? Would it work to install to the main computer, then copy Gtk2Hs directory tree to the GHC tree on the flash drive? I've not tried this, as I'm not sure if registry keys are being set, etc. Thanks for your help!

Ed Bernal

#1114 fixed Graphics.UI.Gtk.ModelView.entryCompletionSetMatchFunc results in cellLayoutSetAttributeFunc error somebody guest

Reported by guest, 10 years ago.


Attempting to set a match function on an EntryCompletion? results in the following error when a key is pressed in the field:

Test: cellLayoutSetAttributeFunc: attempt to set attributes of CellRenderer? from different model.

See attached file for example.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Note: See TracQuery for help on using queries.