This repository has been archived by the owner. It is now read-only.

gnuplot cairo fix #18528

Closed
wants to merge 2 commits into
base: master
from

Conversation

Projects
None yet
5 participants
@typedivision
Copy link

typedivision commented Mar 17, 2013

Error: GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

See the cairo issue also here: fontforge/fontforge#222

Filed at gnuplot: https://sourceforge.net/p/gnuplot/bugs/1223/

@adamv

This comment has been minimized.

Copy link
Contributor

adamv commented Mar 17, 2013

Please include those two links as comments in the code.

@kmarsh

This comment has been minimized.

Copy link

kmarsh commented Mar 17, 2013

This fixed gnuplot for me, thanks!

@adamv adamv closed this in 19028b5 Mar 18, 2013

@sencer

This comment has been minimized.

Copy link

sencer commented Mar 19, 2013

same problem exists for wxt terminal

@claudiodsf

This comment has been minimized.

Copy link
Contributor

claudiodsf commented Mar 24, 2013

I have the same problem with wxt terminal, as well.

$ brew info gnuplot
gnuplot: stable 4.6.2, HEAD
http://www.gnuplot.info
Depends on: pkg-config, readline, lua, gd
/usr/local/Cellar/gnuplot/4.6.2 (49 files, 5.3M) *
Built from source
  Installed with: --wx
https://github.com/mxcl/homebrew/commits/master/Library/Formula/gnuplot.rb
$ gnuplot

    G N U P L O T
    Version 4.6 patchlevel 2    last modified 2013-03-14
    Build System: Darwin x86_64

    Copyright (C) 1986-1993, 1998, 2004, 2007-2013
    Thomas Williams, Colin Kelley and many others

    gnuplot home:     http://www.gnuplot.info
    faq, bugs, etc:   type "help FAQ"
    immediate help:   type "help"  (plot window: hit 'h')

Terminal type set to 'wxt'
gnuplot> f(x) = x
gnuplot> p f(x)

(process:15046): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

(process:15046): GLib-CRITICAL **: void g_once_init_leave(volatile void *, gsize): assertion `result != 0' failed

(process:15046): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

(process:15046): GLib-CRITICAL **: void g_once_init_leave(volatile void *, gsize): assertion `result != 0' failed

(process:15046): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

(process:15046): GLib-GObject-CRITICAL **: gtype.c:2720: You forgot to call g_type_init()

Then it hangs

@sencer

This comment has been minimized.

Copy link

sencer commented Mar 24, 2013

I have installed development version of glib, and fixed.

@claudiodsf

This comment has been minimized.

Copy link
Contributor

claudiodsf commented Mar 25, 2013

@seppiz, @adamv : Should we reopen this or rather submit a new issue?

@adamv

This comment has been minimized.

Copy link
Contributor

adamv commented Mar 25, 2013

New issue.

nesv added a commit to nesv/homebrew that referenced this pull request Apr 12, 2013

gnuplot: fix for cairo backend
call g_type_init() in cairo.trm

Closes Homebrew#18528.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>

@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.