Custom Query (152 matches)

Filters
 
Columns

Show under each result:


Results (16 - 18 of 152)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Ticket Resolution Summary Owner Reporter
#1183 fixed Segfault in ghci 6.12.1 axel guest

Reported by guest, 5 years ago.

description

Summary: I get a segmentation fault when running gtk2hs in interactive mode. I haven't seen this happen (yet?) with a compiled gtk2hs program. I think that it may be related to garbage collection.

Environment:

OS: Arch Linux (x86_64) GHC: 6.12.1 gtk2hs: Darcs - last commit @ Fri Feb 12 00:23:26 PST 2010

Reproduce:

  • Open hello world demo in ghci
  • Run main
  • Everything works and looks normal
  • Wait a few moments (so far never more than a 30 seconds)
  • Segmentation fault

Backtrace: Unfortunately, Arch Linux strips out a lot of debugging information so my gdb backtrace is rather useless. I tried to recompile without debug stripping, but I have yet to have the right magic to get it working correctly.

Garbage collection?: I ran ghci with +RTS -S and performed the same steps. On startup, I got lots of things, typically (Gen: 0) - eg:

524192 221720 12653616 0.00 0.00 0.46 3.52 0 0 (Gen: 0)

Which is perfectly fine. But when the GUI starts up, I get silence for the however many seconds, then I get:

231704 7528416 11688904 0.04 0.04 0.95 9.02 0 0 (Gen: 1)

and an immediate crash afterwards. In compiled mode, I see similar GC's (both) and I don't get a crash.

#1222 invalid Setting Foreground / Background color via Attributes on pango layout does not work axel guest

Reported by guest, 3 years ago.

description

Hello,

I'm trying to set foreground and background color for a pango layout, unfortunately it does not seem to work.

If I do something like layoutSetAttributes lay [AttrForeground? 0 (-1) (Color 255 0 0),

AttrBackground? 0 (-1) (Color 255 255 255)]

then foreground and background is black (black rectangles are displayed), if I only set the foreground using layoutSetAttributes lay [AttrForeground? 0 (-1) (Color 255 0 0) then the foreground color is always black (not red), if I set the background to whatever value, using layoutSetAttributes lay [AttrBackground? 0 (-1) (Color 255 0 0) foreground and background is always black. To test this with the associated source, modify line 34 or 35 . Maybe I'm dooing something wrong, if so what is the correct way to set foreground and background color.

#1238 fixed cairoCreateContext axel guest

Reported by guest, 3 years ago.

description

"Graphics.Rendering.Pango.Context":

--   A context can be created from scratch or, more conveniently, by using
--   default settings that are already used in the application. When text
--   is rendered through Gdk, use
--   'Graphics.UI.Gtk.Abstract.Widget.widgetCreatePangoContext', if you use
--   the Cairo rendering engine, a new context can be acquired using
--   'Graphics.Rendering.Cairo.cairoCreateContext'.

The function 'Graphics.Rendering.Cairo.cairoCreateContext' is absent in cairo-0.12.1 .

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