How to resolve GLib:ERROR:/build/buildd/glib2.0-2.44.1/./glib/gasyncqueue.c ? [Ubuntu 14.04]

edited February 2016 in Kinoma Studio

I am trying to run my Hello world program in Kinoma Studio. I am running it on Kinoma simulator but I am getting "GLib error" and program is getting terminated.

NOTE: I am using Ubuntu 14.04 operating system. The error log in the Kinoma Studio console is mentioned below:

               GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

**

               GLib:ERROR:/build/buildd/glib2.0-2.44.1/./glib/gasyncqueue.c:431:g_async_queue_pop_intern_unlocked: assertion failed: (retval || !wait || end_time > 0)

Please help me to resolve it.

Thank you.

Answers

  • Hi,

    Have you installed all the required libraries? If not, please install them and try to run your code again. It is possible for Studio to run and the Simulator to fail if certain libraries are missing.

    Cheers,

    Will

  • Hi Will, Thank you for your response. I have followed all the necessary steps to install all dependencies but still the same problem persists. If could elaborate the steps in your words, it would be really helpful.

    Thank you.

  • Hi,

    Are you running the 32 bit or 64 bit version of Ubuntu 14.04? Let me know and I'll spin up a matching virtual machine to try and replicate your crash.

    Thanks,

    Will

  • I am running 64 bit Ubuntu 14.04.

  • Lets confirm that a few of your libraries are the correct versions. Please run the following command and post the output back here:

     dpkg-query -L libglib2.0-0:i386
    

    This will list out the versions of some files we think may be related.

    Thanks,

    Will

  • edited February 2016

    The output of the above command is:

    /.
    /usr
    /usr/share
    /usr/share/lintian
    /usr/share/lintian/overrides
    /usr/share/lintian/overrides/libglib2.0-0
    /usr/share/doc
    /usr/share/doc/libglib2.0-0
    /usr/share/doc/libglib2.0-0/copyright
    /usr/share/doc/libglib2.0-0/AUTHORS
    /usr/share/doc/libglib2.0-0/changelog.Debian.gz
    /usr/share/doc/libglib2.0-0/NEWS.pre-1-3.gz
    /usr/share/doc/libglib2.0-0/README.gz
    /usr/share/doc/libglib2.0-0/NEWS.gz
    /usr/share/glib-2.0
    /usr/share/glib-2.0/schemas
    /usr/lib
    /usr/lib/i386-linux-gnu
    /usr/lib/i386-linux-gnu/libgthread-2.0.so.0.4400.1
    /usr/lib/i386-linux-gnu/gio
    /usr/lib/i386-linux-gnu/gio/modules
    /usr/lib/i386-linux-gnu/libgio-2.0.so.0.4400.1
    /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.4400.1
    /usr/lib/i386-linux-gnu/libgobject-2.0.so.0.4400.1
    /usr/lib/i386-linux-gnu/glib-2.0
    /usr/lib/i386-linux-gnu/glib-2.0/gio-querymodules
    /usr/lib/i386-linux-gnu/glib-2.0/glib-compile-resources
    /usr/lib/i386-linux-gnu/glib-2.0/glib-compile-schemas
    /lib
    /lib/i386-linux-gnu
    /lib/i386-linux-gnu/libglib-2.0.so.0.4400.1
    /usr/lib/i386-linux-gnu/libgio-2.0.so.0
    /usr/lib/i386-linux-gnu/libgthread-2.0.so.0
    /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
    /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
    /lib/i386-linux-gnu/libglib-2.0.so.0
    
  • Answer ✓

    Hi,

    The versions of some of those files are unexpected for a computer running Ubuntu 14.04. Can you please reply back with the output of this command (it will give me some further version information):

        lsb_release  -a
    

    Thanks, Will

  • edited February 2016

    Hi Will, You are right. The machine I was trying to install is Ubuntu 15.04. Now I have installed the Kinoma Studio on Ubuntu 14.04 and it is working fine. Thank you for your help.

Sign In or Register to comment.