Discussion:
why does greenbone need gtk in Openvas 7
Ali Khalfan
2014-10-12 12:56:33 UTC
Permalink
I run gsad on Debian squeeze and I get the below:

GLib-ERROR **: The thread system is not yet initialized.
aborting...
Aborted


why is GLib needed at all I thought greenbone was web based. and how
to fix this? installing gtk2 and dev doesn't seems to do anything.


Ali
Reindl Harald
2014-10-12 13:03:11 UTC
Permalink
Post by Ali Khalfan
GLib-ERROR **: The thread system is not yet initialized.
aborting...
Aborted
why is GLib needed at all I thought greenbone was web based. and how
to fix this? installing gtk2 and dev doesn't seems to do anything
glib != gtk
the opposite is true

http://en.wikipedia.org/wiki/GLib
Ali Khalfan
2014-10-12 13:06:26 UTC
Permalink
sorry I actually meant glib, why is it needed at all?
Post by Ali Khalfan
GLib-ERROR **: The thread system is not yet initialized.
aborting... Aborted
why is GLib needed at all I thought greenbone was web based.
and how to fix this? installing gtk2 and dev doesn't seems to do
anything
glib != gtk the opposite is true
http://en.wikipedia.org/wiki/GLib
_______________________________________________ Openvas-discuss
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Reindl Harald
2014-10-12 13:13:51 UTC
Permalink
Post by Ali Khalfan
sorry I actually meant glib, why is it needed at all?
what about read the wikipedia article i linked?

because it is a library and functions are used from it?
because write the code from libraries from scratch
won't gain anything but another implementation of
already existing things even less tested

why is software ushing glibc?
why is software using apr?
why is software uisng gnutls/openssl?

because it exists and thats the purpose of libraries

http://en.wikipedia.org/wiki/GLib
Post by Ali Khalfan
Post by Ali Khalfan
GLib-ERROR **: The thread system is not yet initialized.
aborting... Aborted
why is GLib needed at all I thought greenbone was web based.
and how to fix this? installing gtk2 and dev doesn't seems to do
anything
glib != gtk the opposite is true
http://en.wikipedia.org/wiki/GLib
Ali Khalfan
2014-10-12 13:22:17 UTC
Permalink
That makes sense.. I get it now

Has anyone encountered this on greenbone? Is there a fix for it?
Post by Reindl Harald
Post by Ali Khalfan
sorry I actually meant glib, why is it needed at all?
what about read the wikipedia article i linked?
because it is a library and functions are used from it?
because write the code from libraries from scratch
won't gain anything but another implementation of
already existing things even less tested
why is software ushing glibc?
why is software using apr?
why is software uisng gnutls/openssl?
because it exists and thats the purpose of libraries
http://en.wikipedia.org/wiki/GLib
Post by Ali Khalfan
Post by Ali Khalfan
GLib-ERROR **: The thread system is not yet initialized.
aborting... Aborted
why is GLib needed at all I thought greenbone was web based.
and how to fix this? installing gtk2 and dev doesn't seems to do
anything
glib != gtk the opposite is true
http://en.wikipedia.org/wiki/GLib
------------------------------------------------------------------------
_______________________________________________
Openvas-discuss mailing list
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
Ali Khalfan
2014-10-13 13:43:23 UTC
Permalink
I added g_thread_init(NULL) in gsad.c in the function gsad_init ()
and it looks like it


gsad_init ()
{
tracef ("Initializing the Greenbone Security Assistant...\n");

/* Init Glib. */
#if GLIB_CHECK_VERSION (2, 31, 0)
mutex = g_malloc (sizeof (GMutex));
g_mutex_init (mutex);
#else
if (mutex == NULL)
{ g_thread_init(NULL);
mutex = g_mutex_new ();
}
Post by Reindl Harald
Post by Ali Khalfan
sorry I actually meant glib, why is it needed at all?
what about read the wikipedia article i linked?
because it is a library and functions are used from it? because
write the code from libraries from scratch won't gain anything but
another implementation of already existing things even less tested
why is software ushing glibc? why is software using apr? why is
software uisng gnutls/openssl?
because it exists and thats the purpose of libraries
http://en.wikipedia.org/wiki/GLib
Post by Ali Khalfan
Post by Ali Khalfan
GLib-ERROR **: The thread system is not yet initialized.
aborting... Aborted
why is GLib needed at all I thought greenbone was web
based. and how to fix this? installing gtk2 and dev doesn't
seems to do anything
glib != gtk the opposite is true
http://en.wikipedia.org/wiki/GLib
_______________________________________________ Openvas-discuss
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
Loading...