Open rindek opened 11 years ago
Hello, rindek!
I couldn't reproduce it. I have no idea why this might happen. Can you try using other library versions and see if the loop continues?
Hey,
Not sure with what I can experiment, glib 2.36.0 is the newest and actually the only version which can run rrdtool to generate graph successfully (other versions of glib are failing to do on some other error), and this bug seems to be connected with glib somehow, I'm not sure where should I post this bug however, gotta start somewhere :(
What versions of aforemetioned libs are you using? Maybe I'll try the very same setup?
I'm using these: glib 2.32.4, pango 1.30.1, rrdtool 1.4.7
Under those the following error is happening when trying to generate graph:
(process:75451): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(process:75451): GLib-GObject-CRITICAL **: g_object_get_qdata: assertion `G_IS_OBJECT (object)' failed
(process:75451): GLib-GObject-CRITICAL **: g_object_set_qdata_full: assertion `G_IS_OBJECT (object)' failed
(process:75451): Pango-CRITICAL **: pango_fontset_foreach: assertion `PANGO_IS_FONTSET (fontset)' failed
(process:75451): Pango-CRITICAL **: pango_fontset_foreach: assertion `PANGO_IS_FONTSET (fontset)' failed
(process:75451): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderCoreText', script='latin'
(process:75451): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(process:75451): Pango-WARNING **: couldn't load font "DejaVu Sans Mono,Bitstream Vera Sans Mono,monospace,Courier Not-Rotated 8", modified variant/weight/stretch as fallback, expect ugly output.
(process:75451): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(process:75451): Pango-ERROR **: Could not load fallback font, bailing out.
Trace/BPT trap: 5
I've updated xcode to latest version, removed all the libs, installed them again, along with reinstalling rrd-ffi, and it still 'loops' (not every time though) but not with slightly diffrent output:
(process:6087): GLib-GObject-CRITICAL **: gpointer g_object_get_qdata(GObject *, GQuark): assertion `G_IS_OBJECT (object)' failed
(process:6087): GLib-GObject-CRITICAL **: gboolean g_object_replace_qdata(GObject *, GQuark, gpointer, gpointer, GDestroyNotify, GDestroyNotify *): assertion `G_IS_OBJECT (object)' failed
It efficiently stops me from working on a project, cause the only way out of this is to kill -9 the app :)
Oh my. This. Exact same error for multiple versions. Spent hours and hours on this, and as rindek said, only way out is kill -9.
Glib 2.36.1 Pango 1.34.0 rrdtool 1.4.7
Same as rindek with regard to the graph generating.. my messages started like this, and repeat the last two errors infinitely:
(process:41262): Pango-CRITICAL *: PangoContext pango_cairo_font_map_create_context(PangoCairoFontMap *): assertion `PANGO_IS_CAIRO_FONT_MAP (fontmap)' failed
(process:41262): GLib-GObject-CRITICAL *: gpointer g_object_get_qdata(GObject , GQuark): assertion `G_IS_OBJECT (object)' failed
(process:41262): GLib-GObject-CRITICAL *: gboolean g_object_replace_qdata(GObject , GQuark, gpointer, gpointer, GDestroyNotify, GDestroyNotify *): assertion `G_IS_OBJECT (object)' failed
Hey guys, please check https://github.com/mxcl/homebrew/issues/13587 See if it is the same issue as yours.
Aforementioned issue is slightly diffrent, it doesn't generate any graph (segault / fallback font) - I've actually had this issue but managed to resolve it.
Try opening a new issue in https://github.com/oetiker/rrdtool-1.x/issues Since this loop happens in the librrdtool internals, I'm not of much help. Maybe they can point out where the bug or how rrd-ffi misused the library functions some how.
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