LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Matlab R2013a - GLib error (https://www.linuxquestions.org/questions/slackware-14/matlab-r2013a-glib-error-4175493034/)

josephhernandez 01-29-2014 03:52 PM

Matlab R2013a - GLib error
 
I'm recently upgraded from Slackware 14.0 to 14.1. I've installed multilib packages from Alien.


Matlab R2013a hangs when launching help or when publishing. Running Matlab from a terminal reports this

Code:

(MATLAB:9815): GLib-GObject-WARNING **: cannot register existing type `GtkObject'

(MATLAB:9815): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

(MATLAB:9815): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(MATLAB:9815): GLib-GObject-WARNING **: cannot register existing type `GtkBuildable'

(MATLAB:9815): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed

(MATLAB:9815): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed

(MATLAB:9815): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(MATLAB:9815): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed

not sure if this related to glib installs, graphics drivers or Matlab. I reinstalled Matlab and this error persists

willysr 01-30-2014 08:56 AM

I guess this is caused by glib upgrade that deprecates lots of things

drumz 02-01-2014 02:40 PM

For what it's worth I can run R2013b:

Code:

/opt/MATLAB/R2013b/bin
$ ./matlab &
[1] 12640
/opt/MATLAB/R2013b/bin
$ Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated.

[1]+  Done                    ./matlab
/opt/MATLAB/R2013b/bin

No MATLAB errors (I didn't publish but I did use the help browser). I'm running Slackware 14.1 64 bit without multilib installed.

Can you try upgrading MATLAB?

josephhernandez 02-03-2014 11:39 AM

Thanks for checking, I will get a hold of IT in the next few days to see if I can upgrade.

Thanks


All times are GMT -5. The time now is 07:19 PM.