Autore Topic: Crash in MapView e gb.net.curl  (Letto 236 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.306
  • Ne mors quidem nos iunget
    • Mostra profilo
Crash in MapView e gb.net.curl
« il: 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
"
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »

Offline kicco

  • Senatore Gambero
  • ******
  • Post: 1.703
  • So dove andare, seguitemi, ci perderemo insieme!
    • Mostra profilo
Re: Crash in MapView e gb.net.curl
« Risposta #1 il: 27 Febbraio 2015, 13:22:38 »
 :D
Credo di saperne qualcosa!
 :ciao:
Chi ha paura muore ogni giorno, chi non ha paura muore una volta sola. (Paolo Borsellino)