Chart package segfaults when rendering to window

Seems to be ok rendering to png files. I was wondering if anybody has been using Chart and may have seen the same thing. I'm running ghc 6.12.1 and the latest and greatest gtk2hs :-) Thanks, Brian p.s. the amplitude modulation

Can you boil this down to some simple example code? Are you using a
recent version of Chart? And your definition of "latest" gtk2hs is
11, right? How about your gtk+ C library, it what? 2.20?
Cheers,
Thomas
On Mon, Jul 26, 2010 at 9:39 PM,
Seems to be ok rendering to png files.
I was wondering if anybody has been using Chart and may have seen the same thing.
Nope, not me.

On Mon, 26 Jul 2010 21:54:16 -0700
Thomas DuBuisson
Can you boil this down to some simple example code? Are you using a recent version of Chart? And your definition of "latest" gtk2hs is 11, right? How about your gtk+ C library, it what? 2.20?
I can run any of the examples from the home page that render to screen. the AM chart is the one I'm using. BTW, the AM chart has a bug. It does not include the proper color modules and needs a (opaque color) instead of just color. gtk2hs is 11 gtk+ C library appars to be (debian package) 2.20.1
I was wondering if anybody has been using Chart and may have seen the same thing.
Nope, not me.
Yep, figured I'd be suffering alone. Brian

On 27/07/10 21:37, briand@aracnet.com wrote:
I can run any of the examples from the home page that render to screen.
the AM chart is the one I'm using.
BTW, the AM chart has a bug. It does not include the proper color modules and needs a (opaque color) instead of just color.
gtk2hs is 11
gtk+ C library appars to be (debian package) 2.20.1
Which version of the chart library are you running? Can you provide a small example that reproduces the seg fault? Note that there's a mailing list for this library: http://groups.google.com/group/haskell-charts I'm more likely to notice questions that arise there. Tim

Seems to be ok rendering to png files.
I'm using timeplot, which is based on Chart, to plot temperatures from my server in the attic (http://malde.org/~ketil/temp.png if you're curious :-). This runs from crontab, and I notice that I occasionally get mails saying tplot was "Killed" - possibly this is the same thing? I /am/ rendering to PNG, however. I'll see if I can tease out more information and/or a reproducible case. -k -- If I haven't seen further, it is by standing in the footprints of giants
participants (4)
-
briand@aracnet.com
-
Ketil Malde
-
Thomas DuBuisson
-
Tim Docker