Gambas-it

Gambas dal mondo esterno => Mailing List => Topic aperto da: vuott - 26 Febbraio 2015, 23:09:38

Titolo: Crash in MapView e gb.net.curl
Inserito da: vuott - 26 Febbraio 2015, 23:09:38
Vi riporto questi messaggi di Minisini:


" I found who was guilty: Ubuntu.

Gambas component that use thread needs the interpreter to be linked with
the system thread library, even if the interpreter does not use it.

Alas, I have just discovered that Ubuntu adds some global compiler
configuration that automatically remove linked libraries when they are
not used!

Consequently, the system thread library was not linked with the Gambas
interpreter, and gb.net.curl randomly crashes.

Thank you Ubuntu!

A workaround should follow soon...

--
Benoît Minisini
"


" To check if your system has the same "feature":

$ cd /path/to/gambas/sources
$ cd main/gbx
$ make
...
$ ldd gbx3

Look if the last command writes a reference to 'libpthread'. If it does,
all is ok. Otherwise, you need the workaround.

Regards,


--
Benoît Minisini
"
Titolo: Re: Crash in MapView e gb.net.curl
Inserito da: kicco - 27 Febbraio 2015, 13:22:38
 :D
Credo di saperne qualcosa!
 :ciao: