-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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 ();
}




On 10/12/2014 04:13 PM, Reindl Harald wrote:
> Am 12.10.2014 um 15:06 schrieb 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
> 
>> On 10/12/2014 04:03 PM, Reindl Harald wrote:
>>> 
>>> Am 12.10.2014 um 14:56 schrieb Ali Khalfan:
>>>> 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
>>> 
>>> glib != gtk the opposite is true 
>>> http://en.wikipedia.org/wiki/GLib
> 
> 
> 
> _______________________________________________ Openvas-discuss
> mailing list [email protected] 
> https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJUO9b7AAoJEF9xp9NDNF0kKvsP/28fcIoj0BLx6Sly8/cUg86N
Mur2OW6NB6Gu/LRSL1IR8bvFQ9gBp8pnbPtTnFYqTYFnuh8ifTfbQFyvtkcq5ICR
zbL/Bls9a0UaU+98Z40wpoTeH+HZ6rUFnFiV4sKf+6jFe1tt5drOcuON3vDoKtEn
PNxy83FHTylFoLcFXD6Sd252fDtVB/hE/H2wRVKxSBFOV+a5Zv7nYvUQr1aTn8mG
tNzJYcd78MiOKbainSSBTC4TVyhoq2COqZbJpwM9/axSrddz7v9K9crNTuq4weAb
ReApZS6QMyTgZGjRYaeEdX7gAizlP43OIIBU4bdXmMcuUjEdoRGyqBWsRCr8HUiP
Ia11YkFdpJW+v/giyLkVn23iZAi752a6Sd/ZnBRG560UsEQnPFQq+WBuZCBRVnYw
kh3bJQ8AgnkzLH8KxUNSWip2bojQW2q6+HlhytLhGLhoCYuCueU8CzjK03RXhbhH
74b5RgNGE1DpUroRPUlV0TdOX6nF4N2CfcP6yLLCWaLM2gg5Xy0wzKRCn7YtbgCQ
7fxEGNraHOsPk0n3jdySXyxvmjHt3HFe8YQyWDNrsjEemd/kaNEawxABxW14fNQ1
uBp8R3XrKWMCx9juouahbPRDHNDtK/soDjgUPj+CgMvgulbyWtnEyfWQdU6A4oSd
9kWAR0YpgwgFj4YCitwA
=RBQh
-----END PGP SIGNATURE-----
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to