[Gambas-user] Code challenge

2015-09-12 Thread Moviga Technologies
 

I just had an idea :) How about setting up a weekly or monthly (or every
other week?) Gambas code challenge? It could be coding a program to do a
certain task, or a program that has to use certain features of Gambas,
it could be modifying or extending the IDE in a certain way ... just to
learn more, to share techniques and a bit of fun. We could all vote for
best submission (except for voting on our selves). The winner will win
just fame and congratulations :) 

Just a loose idea that could be worked upon. 
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Code challenge

2015-09-12 Thread Tobias Boege
On Sat, 12 Sep 2015, Moviga Technologies wrote:
>  
> 
> I just had an idea :) How about setting up a weekly or monthly (or every
> other week?) Gambas code challenge? It could be coding a program to do a
> certain task, or a program that has to use certain features of Gambas,
> it could be modifying or extending the IDE in a certain way ... just to
> learn more, to share techniques and a bit of fun. We could all vote for
> best submission (except for voting on our selves). The winner will win
> just fame and congratulations :) 
> 
> Just a loose idea that could be worked upon. 

I think that's a nice idea. A monthly schedule sounds good to me:

 - there is enough time for people to find spare time to work on the code,
 - we need new challenge ideas only once a month.

Maybe we could use the software farm with special tags for the submissions.
It also has a voting system integrated, although one person there can vote
for multiple projects including one's own. But I wouldn't consider that a
negative.

[ Also there are certain features of Gambas for which we at Gambas-Buch.de
  struggle to find good concise examples. A well-constrained challenge task
  might solve this problem for us >:-) ]

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Code challenge

2015-09-12 Thread Moviga Technologies
> I think that's a nice idea. A monthly schedule sounds good to me:
> 
> - there is enough time for people to find spare time to work on the 
> code,
> -⁠ we need new challenge ideas only once a month.

  Agreed!

> Maybe we could use the software farm with special tags for the 
> submissions.
> It also has a voting system integrated, although one person there can 
> vote
> for multiple projects including one's own. But I wouldn't consider that 
> a
> negative.

  That could be a viable solution!

> [ Also there are certain features of Gambas for which we at 
> Gambas-Buch.de
> struggle to find good concise examples. A well-constrained challenge 
> task
> might solve this problem for us >:-⁠) ]

  Yes, to me that is also a reason for the code challenge, to teach each 
other how to do things.



  The challenge could even be published on the Gambas website so that 
people who do not follow the mailing list can see that there is one.

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Circular references and allocations non freed

2015-09-12 Thread martin p cristia
I hope so: It's like when I ask my wife to prepare breakfast and she 
tells me she'll do that after I set the bed, and I allways set the bed 
after breakfast.

Still don't know why that comes out.


Public Struct unidadesSTRUCT
 '  TODO
 long_nombre As String ' metr , cmtr, inch, feet
 peso_nombre As String ' kilo, tons, poun, kntw 'no guardo mas un 
"indice" , solo guardo los nombres en 4 carcteres
 ang_nombre As String  ' grad , rads
 factorEG As Float  '8
 factorSUP As Float '8
 factorDEN As Float '8
 factorLONG As Float'8
 factorANG As Float '8  agregue 40 bytes--> total 64 bytes
End Struct

Public Struct datosSTRUCT
 magic As String
 proyecto As String
 descripcion As String
 totalnudos As Integer
 totalbarras As Integer
 totalcargasnudo As Integer
 totalcargasplacas As Integer
 totalplacas As Integer
 TotalGrupos As Integer
 totalapoyos As Integer
 totalsecciones As Integer
 totalSectores As Integer
 tipo As Integer
 totalcargasbarra As Integer
 unidades As Struct UnidadesSTRUCT
End Struct


Public Struct flagsSTRUCT
 LogFile As File   ' 0 = cerrado
 LogFileName As String
 Perfil As Integer
 Pausa As Boolean
 PerfilTipo As String
 LogOn As Boolean
 palabra_clave As String
 lenguaje As String
 parar_calculos As Integer
 carga As Integer
 barra As Integer
 nudo As Integer
 material As Integer
 dibujar As Boolean
 Calculando As Boolean
 CalculandoEnvolventes As Boolean
 CalculandoSismos As Boolean
 CalculadoSismos As Boolean
 checked As Boolean ' la uso para no chequearla muchas veces
 ayuda_ok As Boolean
 redibujar As Boolean
 calculo_tipo As Integer
 seccion As Integer
 dibujado As Boolean
 dibujable As Boolean
 calculado As Boolean
 CalculadoEnvolventes As Boolean
 resultado As Integer
 modo As Integer
 cambios As Boolean
 dibujando As Integer
 ayuda As String
 ayuda_mostrar As Boolean
 Estado As Integer
 ' control del texto en la linea de entrada
 Entrada As String
 EntradaLista As Boolean
 EntradaCancel As Boolean
 asistente_copletado As Integer
 asistente_actual As Integer
 MostrarDespuesCalculo As Integer
 OcultarCargas As Boolean

End Struct


Public flags As Struct FlagsSTRUCT
Public datos As Struct DatosSTRUCT


that is  the code, they are not cross referenced or circular



El 11/09/15 a las 17:41, gambas-user-requ...@lists.sourceforge.net escribió:
>> >Public flags As Struct FlagsSTRUCT
>> >
>> >any ideas?
>> >
> Do you know what a circular reference is?
>
> --

-- 
Saludos

Ing. Martin P Cristia


--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Circular references and allocations non freed

2015-09-12 Thread Jussi Lahtinen
I can't reproduce the problem with that code. Please try to isolate the
problem in small runnable project.


Jussi

On Sat, Sep 12, 2015 at 5:23 PM, martin p cristia 
wrote:

> I hope so: It's like when I ask my wife to prepare breakfast and she
> tells me she'll do that after I set the bed, and I allways set the bed
> after breakfast.
>
> Still don't know why that comes out.
>
>
> Public Struct unidadesSTRUCT
>  '  TODO
>  long_nombre As String ' metr , cmtr, inch, feet
>  peso_nombre As String ' kilo, tons, poun, kntw 'no guardo mas un
> "indice" , solo guardo los nombres en 4 carcteres
>  ang_nombre As String  ' grad , rads
>  factorEG As Float  '8
>  factorSUP As Float '8
>  factorDEN As Float '8
>  factorLONG As Float'8
>  factorANG As Float '8  agregue 40 bytes--> total 64 bytes
> End Struct
>
> Public Struct datosSTRUCT
>  magic As String
>  proyecto As String
>  descripcion As String
>  totalnudos As Integer
>  totalbarras As Integer
>  totalcargasnudo As Integer
>  totalcargasplacas As Integer
>  totalplacas As Integer
>  TotalGrupos As Integer
>  totalapoyos As Integer
>  totalsecciones As Integer
>  totalSectores As Integer
>  tipo As Integer
>  totalcargasbarra As Integer
>  unidades As Struct UnidadesSTRUCT
> End Struct
>
>
> Public Struct flagsSTRUCT
>  LogFile As File   ' 0 = cerrado
>  LogFileName As String
>  Perfil As Integer
>  Pausa As Boolean
>  PerfilTipo As String
>  LogOn As Boolean
>  palabra_clave As String
>  lenguaje As String
>  parar_calculos As Integer
>  carga As Integer
>  barra As Integer
>  nudo As Integer
>  material As Integer
>  dibujar As Boolean
>  Calculando As Boolean
>  CalculandoEnvolventes As Boolean
>  CalculandoSismos As Boolean
>  CalculadoSismos As Boolean
>  checked As Boolean ' la uso para no chequearla muchas veces
>  ayuda_ok As Boolean
>  redibujar As Boolean
>  calculo_tipo As Integer
>  seccion As Integer
>  dibujado As Boolean
>  dibujable As Boolean
>  calculado As Boolean
>  CalculadoEnvolventes As Boolean
>  resultado As Integer
>  modo As Integer
>  cambios As Boolean
>  dibujando As Integer
>  ayuda As String
>  ayuda_mostrar As Boolean
>  Estado As Integer
>  ' control del texto en la linea de entrada
>  Entrada As String
>  EntradaLista As Boolean
>  EntradaCancel As Boolean
>  asistente_copletado As Integer
>  asistente_actual As Integer
>  MostrarDespuesCalculo As Integer
>  OcultarCargas As Boolean
>
> End Struct
>
>
> Public flags As Struct FlagsSTRUCT
> Public datos As Struct DatosSTRUCT
>
>
> that is  the code, they are not cross referenced or circular
>
>
>
> El 11/09/15 a las 17:41, gambas-user-requ...@lists.sourceforge.net
> escribió:
> >> >Public flags As Struct FlagsSTRUCT
> >> >
> >> >any ideas?
> >> >
> > Do you know what a circular reference is?
> >
> > --
>
> --
> Saludos
>
> Ing. Martin P Cristia
>
>
>
> --
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] 3.8.1 incompatibility with 3.6

2015-09-12 Thread Jussi Lahtinen
Can you send the project?


Jussi

On Wed, Sep 9, 2015 at 4:15 AM, Pino Zollo  wrote:

>
>
> El 08/09/15 a las 19:29, gambas-user-requ...@lists.sourceforge.net
> escribió:
> > Date: Wed, 9 Sep 2015 00:36:29 +0200
> > From: Beno?t Minisini 
> > Subject: Re: [Gambas-user] 3.8.1 incompatibility with 3.6
> > To: mailing list for gambas users 
> > Message-ID: <55ef62ed.4050...@users.sourceforge.net>
> > Content-Type: text/plain; charset=windows-1252; format=flowed
> >
> > Le 08/09/2015 21:23, Pino Zollo a ?crit :
> >> >
> >> > (gbx3:5228): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> >> > 'GTK_IS_WIDGET (widget)' failed
> >> >
> >> > (gbx3:5228): Gtk-CRITICAL **: IA__gtk_widget_get_direction: assertion
> >> > 'GTK_IS_WIDGET (widget)' failed
> >> >
> >> > 
> >> >
> >> > No idea about the instruction that fails
> >> >
> >> >
> >> > salud
> >> >
> >> > Pino
> >> >
> > I see that message on Mint only. I think it's a message from the widget
> > theme you use (GTK+ or QGtk)
> >
> > Regards,
>
> ...yes it is Mint 17.1 and Mate 1.8.1
>
> the program looks frozen
>
> Regards
>
> Pino
>
>
> --
> Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
> Get real-time metrics from all of your servers, apps and tools
> in one place.
> SourceForge users - Click here to start your Free Trial of Datadog now!
> http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Moviga TECHNOLOGIES reported a new bug.

Summary
---

gb.inotify segmentation error

Type : Bug
Priority : Medium
Gambas version   : 3.8.90 (TRUNK)
Product  : Unknown


Description
---

Public Sub Main()
   Dim hWatch As New Watch(User.Home &/ "Documents") As "MyWatcher"
End

Produces segmentation error (screenshot)





--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Moviga TECHNOLOGIES added an attachment:

gb.inotify.png



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #731: KDE Breeze Dark icons are dark

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.731&from=L21haW4-

Moviga TECHNOLOGIES added an attachment:

kde-breeze-dark.png



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #731: KDE Breeze Dark icons are dark

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.731&from=L21haW4-

Moviga TECHNOLOGIES reported a new bug.

Summary
---

KDE Breeze Dark icons are dark

Type : Bug
Priority : Low
Gambas version   : 3.8.90 (TRUNK)
Product  : Development Environment


Description
---

See screenshot





--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Tobias BOEGE changed the state of the bug to: Waiting.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #1 by Tobias BOEGE:

No segfault here; I'm running #7256. You should send a proper crash report as
explained here[0].

[0] http://gambaswiki.org/wiki/doc/report#t5



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #728: crash in profiler

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.728&from=L21haW4-

Benoît MINISINI changed the state of the bug to: Closed.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #731: KDE Breeze Dark icons are dark

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.731&from=L21haW4-

Comment #1 by Benoît MINISINI:

The bug is actually that IDE specific icons are not visible on a dark 
background, isn't it? It has nothing to do with breeze.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #731: KDE Breeze Dark icons are dark

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.731&from=L21haW4-

Comment #2 by Benoît MINISINI:

Can you explain exactly how you set your theme (colors, icons...) so that I 
reproduce the same configuration?



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #731: KDE Breeze Dark icons are dark

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.731&from=L21haW4-

Benoît MINISINI changed the state of the bug to: Waiting.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #2 by Moviga TECHNOLOGIES:

(gdb) run
Starting program: /usr/bin/gbx3 

Program received signal SIGSEGV, Segmentation fault.
0x00420369 in ?? ()
(gdb) bt
#0  0x00420369 in ?? ()
#1  0x7666c542 in ?? () from /usr/lib64/gambas3/gb.inotify.so
#2  0x0040b675 in ?? ()
#3  0x0040bdb9 in ?? ()
#4  0x0040c0af in ?? ()
#5  0x0040f392 in ?? ()
#6  0x0040c7e0 in ?? ()
#7  0x00438665 in ?? ()
#8  0x0040a7b9 in ?? ()
#9  0x0040ae94 in ?? ()
#10 0x00404ac8 in ?? ()
#11 0x77a57610 in __libc_start_main () from /usr/lib/libc.so.6
#12 0x00404c39 in ?? ()
(gdb)



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #731: KDE Breeze Dark icons are dark

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.731&from=L21haW4-

Comment #3 by Moviga TECHNOLOGIES:

Well, I thought you had made "breeze look alike" icons for light and dark?

I am using the Breeze Dark colour scheme, Breeze Dark icons and Breeze Dark 
desktop theme.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #3 by Tobias BOEGE:

Sorry but this is almost no information. At the places of the many question 
marks
should be function names and line numbers. You get those from compiling Gambas
with debugging information.

Since the call path seems rather plain, I think it would suffice to just compile
the interpreter and the gb.inotify component with debugging symbols enabled. In
case you don't know, here is how to do that:

  $ cd gambas-source-tree/
  $ main/gbx
  $ make clean && make CFLAGS+="-O0 -ggdb"
  # make install
  $ cd ../lib/inotify
  $ make clean && make CFLAGS+="-O0 -ggdb"
  # make install

assuming that you have previously compiled Gambas from source.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #4 by Tobias BOEGE:

" $ main/gbx" should be " $ *cd* main/gbx"



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #732: another crash in the profiler window

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.732&from=L21haW4-

Charlie REINL added an attachment:

Profile_B001.png



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #732: another crash in the profiler window

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.732&from=L21haW4-

Charlie REINL reported a new bug.

Summary
---

another crash in the profiler window

Type : Bug
Priority : Medium
Gambas version   : 3.8.90 (TRUNK)
Product  : Development Environment


Description
---

in any project, in the Code-Window at right, scroll down the lines (get a big 
Function) and then click on the last visible Code-line. The goto the left side 
and try to open another function where you know that it was less lines.





--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #5 by Moviga TECHNOLOGIES:

Is this better?

(gdb) run
Starting program: /usr/bin/gbx3 

Program received signal SIGSEGV, Segmentation fault.
0x77ab80ca in strlen () from /usr/lib/libc.so.6
(gdb) bt
#0  0x77ab80ca in strlen () from /usr/lib/libc.so.6
#1  0x0043bdcc in ?? ()
#2  0x7666b63a in ?? () from /usr/lib64/gambas3/gb.inotify.so
#3  0x7666bed1 in ?? () from /usr/lib64/gambas3/gb.inotify.so
#4  0x004134d6 in ?? ()
#5  0x004144ee in ?? ()
#6  0x00414789 in ?? ()
#7  0x0041b474 in ?? ()
#8  0x00415732 in ?? ()
#9  0x00463190 in ?? ()
#10 0x00411498 in ?? ()
#11 0x0041104e in ?? ()
#12 0x00414363 in ?? ()



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #733: a paste button for the System information

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.733&from=L21haW4-

Charlie REINL reported a new bug.

Summary
---

a paste button for the  System information

Type : Request
Priority : Low
Gambas version   : 3.8.90 (TRUNK)
Product  : Bugtracker


Description
---

normally you get the System information by copy, so a paste button beside the 
'>System information'  would be handy.





--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #732: another crash in the profiler window

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.732&from=L21haW4-

Benoît MINISINI changed the state of the bug to: Accepted.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #733: a paste button for the System information

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.733&from=L21haW4-

Comment #1 by Benoît MINISINI:

What are you talking about? I don't get it.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #6 by Tobias BOEGE:

Not particularly. I see that the segfault is in strlen(), but gb.inotify does 
not
call strlen() directly anywhere. If debugging information was available, the 
back-
trace would look somewhat like this:

(gdb) bt
#0  Watch_new (_object=0x69ce78, _param=0x765cd040) at c_watch.c:331
#1  0x00412744 in EXEC_native () at gbx_exec.c:1366
#2  0x004136f4 in EXEC_special (special=0, class=0x69a4a8, 
object=0x69ce78, nparam=1, drop=1 '\001') at gbx_exec.c:1674
#3  0x00413980 in EXEC_special_inheritance (special=0, class=0x69a4a8, 
object=0x69ce78, nparam=1, drop=1 '\001') at gbx_exec.c:1730
#4  0x004145d0 in EXEC_new () at gbx_exec.c:1947
#5  0x0045e85b in EXEC_loop () at gbx_exec_loop.c:907
#6  0x004109e4 in EXEC_function_loop () at gbx_exec.c:931
#7  0x00410631 in EXEC_function_real () at gbx_exec.c:895
#8  0x00413569 in EXEC_public_desc (class=0x69b758, object=0x0, 
desc=0x69b918, nparam=0) at gbx_exec.c:1616
#9  0x0044418a in main (argc=1, argv=0x7fffe6b8) at gbx.c:416

All the question marks are replaced by useful information.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #7 by Tobias BOEGE:

Hmm, wait a minute. Since the crash happens to early, it surely is the Watch 
class
constructor. I blindly fixed a line where a strlen() might be called. So try 
#7300
and tell me if it works.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #733: a paste button for the System information

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.733&from=L21haW4-

Comment #2 by Charlie REINL:

to fill the 'System information' here in the Bugtracker.
To get these information, I go to the IDE on the menu I click ?/System 
information.
Once the window with the Infos opened I press the Copy button.
Going back to the  Bugtracker I would like to have a paste/insert button to 
enter the clipboard to the 
 'System information' textarea



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #8 by Benoît MINISINI:

GB.NewString() does terminate the string with a nul byte (see the source code 
at gbx_string.c:317).



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #733: a paste button for the System information

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.733&from=L21haW4-

Comment #3 by Benoît MINISINI:

Instead of clicking in the "system information" field and pressing CTRL+V ?

Anyway, I don't think it's possible to access the clipboard with javascript. 
Otherwise it would be a huge security hole.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #732: another crash in the profiler window

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.732&from=L21haW4-

Benoît MINISINI changed the state of the bug to: Closed.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #9 by Moviga TECHNOLOGIES:

No, it still chrashes...



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #732: another crash in the profiler window

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.732&from=L21haW4-

Comment #1 by Benoît MINISINI:

It should be fixed in revision #7301.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #10 by Moviga TECHNOLOGIES:

I'm compiling with a PKGBUILD script. Does this look correct in regards to 
enableing debugging?

create_dirs() {
  install -dm755 ${pkgdir}/usr/lib/gambas3
  install -dm755 ${pkgdir}/usr/share/gambas3/info/control
}

prepare() {
  cd ${srcdir}/trunk

  ./reconf-all
}

build() {
  cd ${srcdir}/trunk

  ./configure --prefix=/usr

  make clean && make bindir=${pkgdir}/usr/bin CFLAGS+="-O0 -ggdb"
  
  mkdir -p ${srcdir}/fakeinstall
  make -j1 XDG_UTILS='' DESTDIR=${srcdir}/fakeinstall install > install.txt 2>&1
}



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #11 by Tobias BOEGE:

It would seem so, but know that I have never written a PKGBUILD.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #732: another crash in the profiler window

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.732&from=L21haW4-

Comment #2 by Charlie REINL:

is Ok now, Thanks



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #12 by Moviga TECHNOLOGIES:

Well, the only important lines are the one with make [...]

I don't know then why it still just produces ?? instead of useful information...



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #13 by Tobias BOEGE:

I see there is a "strip" option available in PKGBUILDs[0]. This removes the 
debugging
information from the binaries and libraries. Maybe it is turned on (by default)?

[0] https://www.archlinux.org/pacman/PKGBUILD.5.html



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #717: F2 does not work on Message()

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.717&from=L21haW4-

Benoît MINISINI changed the state of the bug to: Closed.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #717: F2 does not work on Message()

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.717&from=L21haW4-

Comment #1 by Benoît MINISINI:

It should be fixed in revision #7302.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #14 by Moviga TECHNOLOGIES:

Super detective work there Tobias :) !strip did the trick

(gdb) run
Starting program: /usr/bin/gbx3 

Program received signal SIGSEGV, Segmentation fault.
0x77ab80ca in strlen () from /usr/lib/libc.so.6
(gdb) bt
#0  0x77ab80ca in strlen () from /usr/lib/libc.so.6
#1  0x0043bdcc in GB_HashTableRemove (hash=0x6a0b98, key=0x0, len=0) at 
gbx_api.c:2099
#2  0x7666b63a in destroy_watch (watch=0x6a0ac8) at c_watch.c:131
#3  0x7666beea in Watch_free (_object=0x6a0ac8, _param=0x7686f040) 
at c_watch.c:382
#4  0x004134d6 in EXEC_native () at gbx_exec.c:1366
#5  0x004144ee in EXEC_special (special=1, class=0x69dbd8, 
object=0x6a0ac8, nparam=0, drop=1 '\001') at gbx_exec.c:1674
#6  0x00414789 in EXEC_special_inheritance (special=1, class=0x69dbd8, 
object=0x6a0ac8, nparam=0, drop=1 '\001') at gbx_exec.c:1730
#7  0x0041b474 in CLASS_free (object=0x6a0ac8) at gbx_class.c:759
#8  0x00415732 in EXEC_new () at gbx_exec.c:1961
#9  0x00463190 in EXEC_loop () at gbx_exec_loop.c:907
#10 0x00411498 in EXEC_function_loop () at gbx_exec.c:931
#11 0x0041104e in EXEC_function_real () at gbx_exec.c:895
#12 0x00414363 in EXEC_public_desc (class=0x69eec8, object=0x0, 
desc=0x69f088, nparam=0) at gbx_exec.c:1616



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #15 by Tobias BOEGE:

Great. Let's see if #7303 fixes the problem. (It should.)



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Comment #16 by Moviga TECHNOLOGIES:

Yes, but now it makes a new error... I will make a new bugreport



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #734: gb.inotify "no more space on the unit"

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.734&from=L21haW4-

Moviga TECHNOLOGIES added an attachment:

gb.inotify1.png



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #734: gb.inotify "no more space on the unit"

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.734&from=L21haW4-

Moviga TECHNOLOGIES reported a new bug.

Summary
---

gb.inotify "no more space on the unit"

Type : Bug
Priority : Medium
Gambas version   : Unknown
Product  : Unknown


Description
---

See screenshot





--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #730: gb.inotify segmentation error

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.730&from=L21haW4-

Tobias BOEGE changed the state of the bug to: Closed.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #734: gb.inotify "no more space on the unit"

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.734&from=L21haW4-

Comment #1 by Moviga TECHNOLOGIES:

It is "almost" like German, so perhaps you can even read it in Norwegian? ;)



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #731: KDE Breeze Dark icons are dark

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.731&from=L21haW4-

Benoît MINISINI changed the state of the bug to: Accepted.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #734: gb.inotify "no more space on the unit"

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.734&from=L21haW4-

Comment #2 by Tobias BOEGE:

It might be "No space left on device" which is the error ENOSPC. This error
can indeed happen, according to the inotify documentation, if

  "The user limit on  the  total  number  of  inotify  watches  was
   reached or the kernel failed to allocate a needed resource."

Apparently the files /proc/sys/fs/inotify/max_user_instances and
/proc/sys/fs/inotify/max_user_watches tell you how many inotify instances
and how many watches you can create. Note that other running applications
possibly already use some of this capacity at the time the Gambas process
starts.

I also attach a small C program which you can use to tell me if inotify
generally (i.e. without the rest of Gambas) works on your system. You can
compile and try it like this:

  $ gcc -Wall inotify-test.c
  $ ./a.out ~/Documents/

After you start the program, it watches ~/Documents for "open" events. Go
to another terminal and "ls ~/Documents". Then an output line like this
should appear:

  Events 0x4020 for '/home/tab/Documents/'

It tells you that the watched object is a directory (the leading 4 digit)
and that the caught event was an "open" (the 2 digit).



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #734: gb.inotify "no more space on the unit"

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.734&from=L21haW4-

Tobias BOEGE added an attachment:

inotify-test.c



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #735: Gambas3 when running from the terminal, the following message is obtained

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.735&from=L21haW4-

Raldi AQUEPUCHO reported a new bug.

Summary
---

Gambas3 when running from the terminal, the following message is obtained

Type : Bug
Priority : Medium
Gambas version   : Unknown
Product  : QT4 component


Description
---

ERROR: #27: Cannot load component 'gb.qt4': 
/usr/lib/i386-linux-gnu/libQtSvg.so.4: undefined symbol: 
_ZNK14QWidgetPrivate17hasHeightForWidthEv


System information
--

Debian jessie 8.1.
32 bit

gambas3-3.5.4-2



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #731: KDE Breeze Dark icons are dark

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.731&from=L21haW4-

Benoît MINISINI changed the state of the bug to: Waiting.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #731: KDE Breeze Dark icons are dark

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.731&from=L21haW4-

Comment #4 by Benoît MINISINI:

Please try revision #7304 and tell me.

Support for dark theme specific icons required some big internal changes, so 
I'm not sure that
this change will be backported to 3.8. It depends on the amount of problems 
reported.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #735: Gambas3 when running from the terminal, the following message is obtained

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.735&from=L21haW4-

Comment #1 by Benoît MINISINI:

According to the message, this is a bug in your QT installation, not in Gambas. 
I can't say more, I don't know what you did exactly yo your system.



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #735: Gambas3 when running from the terminal, the following message is obtained

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.735&from=L21haW4-

Benoît MINISINI changed the state of the bug to: Rejected.




--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] [Gambas Bug Tracker] Bug #702: Installation Package Building

2015-09-12 Thread bugtracker
http://gambaswiki.org/bugtracker/edit?object=BUG.702&from=L21haW4-

Comment #11 by Donald Dwane ROSS:

The option for Signing a package is no longer in the package build of 3.8.1 
(that I can find, which upgraded just recently) so the sign option is not a 
problem. The builds seem smooth enough with out it. Now if you can get a 
package build to not display Package is of bad quality in the Ubuntu Software 
Center.
The Gambas3.8.1 package build doesn't seem to be satisfying the Lintian check 
results.
Try this for yourself, just package anything you have on Ubuntu 14.04 or 15.04 
with Gambas3(.5.x to 8.1) and set the Ubuntu Software center to activate on a 
.deb file. Double click your package build .deb file and choose 
install. In a few seconds mine pops up "The package is of bad quality" Box 
(Details shows problems, Ok Crashes the install , Ignore and install is left to 
install anyway (WHICH SEEMS TO INSTALL OK). I have seen this on several 
programs to be installed besides the ones I have tried from the Ubuntu Software 
center that have been programed with Gambas3. If its not doing it for you the 
problem may be on MY Hard drive install of 15.04 or the Flash drive install of 
14.04, all have various versions of Gambas3 from 3.5.x to 3.8.1. When I get 
time I will build a fresh Flash drive and try it on my code to see if it has 
problems.
So far the most reliable way to run a program with Gambas is to build a 
FlashDrive with persistence on Ubuntu 14.04LTS and install the entire Gambas 
program environment and all extra dependencies, compile the program I write and 
package and install it there. The flash drive can be used from computer to 
computer with the program that way, in other words build a LIVE install of my 
program (found that the Ubuntu Builder is another problem child in versions 
above 12).
It would probably help a LOT, LOT, LOT if a package could be built with the 
Gambas runtime and the stuff it needed for the version of Gambas used to 
compile the program. (Just a thought, kind of like a stand alone .exe (Oh 
for the old DOS days).



--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user