"out of memory" on RHEL5

5 views
Skip to first unread message

Brandon Bensel

unread,
May 24, 2010, 11:55:57 AM5/24/10
to Haskell Charts
Hello,

I'm trying to get this library working on Red Hat EL 5, but any
program that uses it crashes with "user error (out of memory)" on
rendering; even the Simple API example crashes like this.

I downloaded GHC from http://haskell.org/ghc/download_ghc_6_10_4.html#x86_64linux
, compiled cabal-install, compiled gtk2hs, ran the gtk2hs Cairo demos
to make sure the problem wasn't there, and installed Chart using cabal-
install. The same problem occurs on RHEL5 in both 32- and 64-bit
flavors.

Googling led me to problems with Cairo on Windows not finding fonts,
but as I said, the gtk2hs Cairo demos ran fine, and one of them
specifies "sans" as the font, as does Chart.

Let me know what I need to do to get a more descriptive error to you,
or if you have any suggestions.

Thanks,

Brandon

--
You received this message because you are subscribed to the Google Groups "Haskell Charts" group.
To post to this group, send email to haskell...@googlegroups.com.
To unsubscribe from this group, send email to haskell-chart...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/haskell-charts?hl=en.

Tim Docker

unread,
May 24, 2010, 5:54:16 PM5/24/10
to haskell...@googlegroups.com
Hmmm. I've only heard of these sort of problems under windows.

Presumably it's falling over in one of the gtk calls. Can you get a
traceback via gdb to see which?

Also, What version of gtk and gtk2hs are being used?

Tim
Reply all
Reply to author
Forward
0 new messages