xTIMEcomposer Studio does not start on Ubuntu13.04? Topic is solved

If you have a simple question and just want an answer.
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

xTIMEcomposer Studio does not start on Ubuntu13.04?

Postby sethu_jangala » Thu Dec 12, 2013 10:50 am

On starting the xTIMEcomposer, the following error message is displayed:

Code: Select all

GLib-GObject:ERROR:/build/buildd/glib2.0-2.36.0/./gobject/gobject.c:4127:g_weak_ref_set: assertion failed: (weak_locations != NULL)
The xTIMEcomposer then shuts down unexpectedly.

View Solution
User avatar
sethu_jangala
XCore Expert
Posts: 589
Joined: Wed Feb 29, 2012 10:03 am

Postby sethu_jangala » Thu Dec 12, 2013 10:51 am

On starting the xTIMEcomposer, the following error message is displayed:

Code: Select all

GLib-GObject:ERROR:/build/buildd/glib2.0-2.36.0/./gobject/gobject.c:4127:g_weak_ref_set: assertion failed: (weak_locations != NULL)
The xTIMEcomposer then shuts down unexpectedly.

ReasonThe xTIMEcomposer comes with an embedded web browser (the Developer Column) used to display tools and xSOFTip tutorials/documentation. However, this technology has certain dependencies and as of ubuntu 13.04 the default version of some of the dependent libraries has introduced incompatibilities.

Workaround - Install librariesBuild and install the required versions of the glib and pango libraries.

IMPORTANT: We recommend that these are NOT installed in the default location, as this could then cause general instabilities:

Download the following two source packages, and unpack them to a temporary directory.

glib-2.32.3.tar.gz

pango-1.30.0.tar.xz

Install the required build dependencies:

Code: Select all

sudo apt-get build-dep glib2.0sudo apt-get build-dep pango1.0
Configure, make and install glib:

Code: Select all

cd glib-2.32.3./autogen.sh --prefix=<INSTALL LOCATION> make install 
Configure, make and install pango:

Code: Select all

cd pango-1.30.0./configure --prefix=<INSTALL LOCATION> --enable-introspection=no make install 
Note: In both of the above, <INSTALL LOCATION> is a location of your choice on the file system. For example, make a new directory in the tools installation location and use this.

Before running xTIMEcomposer Studio, ensure the following two environment variables are updated:

Code: Select all

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:<INSTALL LOCATION>/lib/pkgconfig export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<INSTALL LOCATION>/lib 
When starting xTIMEcomposer, the Developer Column will now be successfully displayed.

Workaround - Disable Developer ColumnThe developer column can be disabled completely by adding the following two lines to the end of the xtimecomposer.exe.ini file:

Code: Select all

-Dcom.xmos.cdt.disableMozillaBrowserCreation=true-Dcom.xmos.cdt.disableDefaultBrowserCreation=true

Who is online

Users browsing this forum: No registered users and 2 guests