-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[rrd-ffi] generating graph sometimes loops glib on OSX 10.7.5 #386
Comments
I have the exact same problem. |
I have this too, but note that the loop of errors start with:
|
Mine too. I suspect rindek didn't see that initial error, as thousands do spurt out immediately... |
This bug goes away if I downgrade pango to 1.33.8. Both 1.33.9 and 1.34.0 crash. So this might not be a bug in rrdtool after all, but in pango. |
I'm having troubles installing pango 1.33.8 the ./configure commands ends with
Even if I point the Edit: Nevermind I managed to install it :-) |
@rdvdijk unfortunately downgrading pango to 1.33.8 didn't resolve it for me, I am still getting this loop :/ |
Sorry, I spoke too soon. It worked longer, but I ended up in that loop as well 😢 |
I downgraded back to pango 1.32.5 and things now do seem stable. All other versions crashed more or less immediately. |
Will try that tomorrow when I wake up, thanks! 👍 |
sending patches via email to the bug tracker seems not to work very well ... --- a/src/rrd_graph.c
+++ b/src/rrd_graph.c
@@ -4282,7 +4282,7 @@ void rrd_graph_init(
fontmap = pango_cairo_font_map_get_default();
}
- context = pango_cairo_font_map_create_context((PangoCairoFontMap*)fontmap);
+ context = pango_font_map_create_context(fontmap);
pango_cairo_context_set_resolution(context, 100); |
I applied the patch to rrdtool svn rev 2305 but it doesn't seem to help much:
I'm trying to render from Perl using RRDs::graph() |
Has there been any fix for this? |
not sure these are all about the same thing ... in any event, best is to test with the latest master |
Hi,
Originally issue posted on rrd-ffi lib (ruby wrapper for librrd) but it looks like the issue is inside the librrd itself, you can see the conversation here: morellon/rrd-ffi#24
Maybe you'll be able to help here?
Cheers,
Hi,
Having all latest libraries (glib 2.36.0, pango 1.34.0, rrdtool 1.4.7).
I'm trying to generate an rrdgraph using very simple command
it sometimes generates graph instantly but quite often command hungs up and looping output:
It never ends, just showing these information, I have to kill -9 whole rails app to terminate it.
Using
rrdtool
command from console never behaved like this.Any idea why it goes like this?
Cheers
The text was updated successfully, but these errors were encountered: