MATLAB Answers

0

I got GLib-WARNING and GLib-CRITICAL

Asked by Suwichaya Suwanwimolkul on 24 Oct 2015
Latest activity Commented on by Walter Roberson
on 29 Oct 2015
I was running an optimization solver, namely Gurobi, on MATLAB 2015a and got the following warnings/errors. These errors were showed in the terminal. I don't know what causes these errors. By the way, I am using Lubuntu 14.04 tar trusty.
Please advice on how to solve this error/warning. I don't know if this warning means that there is something wrong about the result obtained from the optimization solver.
(MATLAB:6214): GLib-WARNING **: unknown option bit(s) set
** (MATLAB:6214): WARNING **: Compilation of mdvd regex failed: Error while compiling regular expression ^\{[0-9]+\}\{[0-9]+\} at char 0: unknown option bit(s) set
(MATLAB:6214): GLib-WARNING **: unknown option bit(s) set
** (MATLAB:6214): WARNING **: Compilation of subrip regex failed: Error while compiling regular expression ^ {0,3}[ 0-9]{1,4}\s*(\u000d)?
?[0-9]{1,2}: ?[0-9]{1,2}: ?[0-9]{1,2}[,.] {0,2}[0-9]{1,3} +--> +[0-9]{1,2}: ?[0-9]{1,2}: ?[0-9]{1,2}[,.] {0,2}[0-9]{1,2} at char 0: unknown option bit(s) set
(MATLAB:6214): GLib-WARNING **: unknown option bit(s) set
** (MATLAB:6214): WARNING **: Compilation of dks regex failed: Error while compiling regular expression ^\[[0-9]+:[0-9]+:[0-9]+\].* at char 0: unknown option bit(s) set
(MATLAB:6214): GLib-CRITICAL **: g_regex_match_full: assertion 'regex != NULL' failed
(MATLAB:6214): GLib-CRITICAL **: g_regex_match_full: assertion 'regex != NULL' failed
(MATLAB:6214): GLib-CRITICAL **: g_regex_match_full: assertion 'regex != NULL' failed
(MATLAB:6214): GLib-CRITICAL **: g_regex_match_full: assertion 'regex != NULL' failed
(MATLAB:6214): GLib-CRITICAL **: g_regex_match_full: assertion 'regex != NULL' failed
(MATLAB:6214): GLib-CRITICAL **: g_regex_match_full: assertion 'regex != NULL' failed

  0 Comments

Sign in to comment.

1 Answer

Answer by Walter Roberson
on 24 Oct 2015

The error appears to do with gst-plugins-base which is part of gstreamer.
I get the impression that it might be triggered if your glib does not support G_REGEX_OPTIMIZE. That could happen if an older version of glib was used. It could be an issue with MATLAB setting LD_LIBRARY_PATH that has a glib that is older than the one expected by that compilation of gst-plugins-base
I have no information as to why gstreamer is involved in your run at all.

  3 Comments

Dear Sir,
Due to my lack of understanding about the situation that I am having now, as well as I am very new to Ubuntu. Could you please explain more about how to solve this problem.
Kind regards, Suwichaya

Sign in to comment.