Le 18/09/2017 à 18:45, Andres Carranza a écrit :
Hello,
Damned, my program crashed Gambas that way :
*access to data base sql3 lite*
Public Sub Ok_Click()
Dim sql As String
'Dim i As Integer
Me.mouse = 3
If Val(cargo.Text) = 0 Then cargo.Text = "0"
If Val(abono.Text) = 0 Then
#8173 seems to have fixed everything, including a crash when I enable
dbus signalling, which I haven't brought up yet. Now I have to figure
out how to install 8173 to all my PCs
Some advice please. Currently, I have many calls like
Le Sun, 06 Aug 2017 17:56:27 +0200, Tony Morehen
a écrit:
Hello all,
Damn, my program crashed Gambas this way :
1) Run the program
2) Plug in a usb drive
3) Click the mount button, mounts OK
4) Click the unmount button
Program crashes Aborted(6)
Console shows
Hello all,
Damn, my program crashed Gambas this way :
1) Run the program
2) Plug in a usb drive
3) Click the mount button, mounts OK
4) Click the unmount button
Program crashes Aborted(6)
Console shows realloc error invalid old size
Background:
I'm writing a Udisks2 module that communicates
Hello,
Damned, my program crashed Gambas that way :
Lancer et faire pause sur le projet gb.term.form
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
Le 13/09/2016 à 14:40, Adrien Prokopowicz a écrit :
>
> Damn Tobias, you're fast ! I saw your message just when I commited my
> fixes.
> I think that overwrote it, but thanks still. :)
>
> I took the opportunity to spread the fix to the .GetAttribute() method,
> which works
> the same way.
>
>
Le Tue, 13 Sep 2016 14:00:44 +0200, Tobias Boege a
écrit:
> On Tue, 13 Sep 2016, adamn...@gmail.com wrote:
>> Hello,
>>
>> Damned, my program crashed Gambas that way :
>>
>> The segfault occurs when I attempt to get the value of the argname
>> attribute thus:
>> hAD = New
On Tue, 13 Sep 2016, adamn...@gmail.com wrote:
> Hello,
>
> Damned, my program crashed Gambas that way :
>
> The segfault occurs when I attempt to get the value of the argname attribute
> thus:
> hAD = New CArgDef
> With hAD
> .ShortName = hArg.Attributes["shortname"]
>
Hello,
Damned, my program crashed Gambas that way :
The segfault occurs when I attempt to get the value of the argname attribute
thus:
hAD = New CArgDef
With hAD
.ShortName = hArg.Attributes["shortname"]
.LongName = hArg.Attributes["longname"]
.ArgName =
Hello,
Damned, my program crashed Gambas!
The program crashes on quit after having read a string from a
DBus-registered application. It apparently has no problem after reading
a boolean or an array.
--
Lee
__
"Artificial Intelligence is no match for natural stupidity."
Salut Benoît, Salut Jussi ,
Damned, my program crashed Gambas that way :
crash on F5
Program received signal SIGFPE, Arithmetic exception.
0x08073d10 in check_size (size=optimized out, inc=0, _object=optimized out)
at gbx_c_array.c:436
436 size = (size + inc - 1) / inc * inc;
Le 22/08/2015 10:31, Karl Reinl a écrit :
Salut Benoît, Salut Jussi ,
Damned, my program crashed Gambas that way :
crash on F5
Program received signal SIGFPE, Arithmetic exception.
0x08073d10 in check_size (size=optimized out, inc=0, _object=optimized
out)
at gbx_c_array.c:436
436
There is a new trayicon implementation, and TrayIcon now only supports
three events: Click, MiddleClick and MouseWheel. Because the DBus
protocol does not support anything else.
Oh, you are right. I was using MouseUp. That works now.
Maybe I should have raised fake MouseDown and Mouseup
For some reason the crash does not occur when the project is run in IDE!?
Only when it is run as executable.
Jussi
On Thu, Jul 30, 2015 at 4:30 PM, Jussi Lahtinen jussi.lahti...@gmail.com
wrote:
Pressing any key on DateBox causes crash on latest revision. See the error
message from attached
It's a bug in gb.gtk.
OK.
By the way, closing the window of your program does not stop it.
That is by design. Because the alarms should work even if the control
form is closed.
The form should be visible again when clicking on the tray icon, but with
latest revisions the click event
Le 01/08/2015 01:56, Benoît Minisini a écrit :
Le 01/08/2015 01:51, Jussi Lahtinen a écrit :
It's a bug in gb.gtk.
OK.
By the way, closing the window of your program does not stop it.
That is by design. Because the alarms should work even if the control
form is closed.
The form
Le 31/07/2015 21:41, Jussi Lahtinen a écrit :
For some reason the crash does not occur when the project is run in IDE!?
Only when it is run as executable.
Jussi
It's a bug in gb.gtk.
By the way, closing the window of your program does not stop it.
--
Benoît Minisini
Le 01/08/2015 01:51, Jussi Lahtinen a écrit :
It's a bug in gb.gtk.
OK.
By the way, closing the window of your program does not stop it.
That is by design. Because the alarms should work even if the control
form is closed.
The form should be visible again when clicking on the tray
Pressing any key on DateBox causes crash on latest revision. See the error
message from attached picture.
You can reproduce the problem with attached project.
Just select new alarm, select the upper datebox and press any key on it.
[System]
Gambas=3.7.90
OperatingSystem=Linux
Le 22/04/2015 11:18, Frank a écrit :
Hello,
Damned, my program crashed Gambas that way :
When I try to create a table with MySQL I get this error
(Segmentationfault (11))
I tried the existing databaseexample of Gambas an got the same error. This
worked fine in the past (Gambas 3.5.4)
Hello,
Damned, my program crashed Gambas that way :
When I try to create a table with MySQL I get this error
(Segmentationfault (11))
I tried the existing databaseexample of Gambas an got the same error. This
worked fine in the past (Gambas 3.5.4)
[System]
Gambas=3.7.0
OperatingSystem=Linux
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
Le 26/02/2015 22:56, Benoît Minisini a écrit :
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
On Mon, Feb 23, 2015 at 9:51 PM, Benoît Minisini
gam...@users.sourceforge.net wrote:
Le 24/02/2015 03:49, Benoît Minisini a écrit :
Le 17/02/2015 22:15, zachsmith...@gmail.com a écrit :
Hello,
Damned, my program crashed Gambas that way :
While running in the IDE, press the '1' key and
Hello,
Damned, my program crashed Gambas!
I missed out the B in /B so / caused the crash.
If siFindEnd 1 Then sFind[iCount2] = Replace(sFind[iCount2],
sFindString, B sFindString /)
Regards,
Charlie Ogier
FindFiles2-2.0-crash-150222-152432.tar.bz2
Description: application/bzip
On Fri, 20 Feb 2015, Beno?t Minisini wrote:
Le 20/02/2015 18:18, Tobias Boege a ?crit :
Hi,
the following project crashes after being started.
I'm running the latest revision, of course, but I'm not sure about those
crashes. Most recently (today morning I guess), I had another one
Hi,
the following project crashes after being started.
I'm running the latest revision, of course, but I'm not sure about those
crashes. Most recently (today morning I guess), I had another one from a
gb.xml project, gb.report2 didn't install well a few minutes ago, I have
already accumulated a
Le 20/02/2015 18:18, Tobias Boege a écrit :
Hi,
the following project crashes after being started.
I'm running the latest revision, of course, but I'm not sure about those
crashes. Most recently (today morning I guess), I had another one from a
gb.xml project, gb.report2 didn't install well
well i have an error too but not this one... if i press more than one
time the button1 then if i try to close the form then i have a crash.
2015-02-17 22:15 GMT+01:00 zachsmith...@gmail.com zachsmith...@gmail.com:
Hello,
Damned, my program crashed Gambas that way :
While running in the IDE,
Hello,
Damned, my program crashed Gambas that way :
While running in the IDE, press the '1' key and the program crashes.
Using the latest trunk.
test53-0.0.1-crash-150217-161012.tar.bz2
Description: application/bzip
Am Sonntag, den 25.01.2015, 23:49 +0100 schrieb Benoît Minisini:
Le 25/01/2015 21:31, Benoît Minisini a écrit :
Le 25/01/2015 20:59, Charlie Reinl a écrit :
Hello,
Damned, my program crashed Gambas that way :
This connection throws a #11 at Try con.Open()
Public Sub Form_Open()
Hello,
Damned, my program crashed Gambas that way :
This connection throws a #11 at Try con.Open()
Public Sub Form_Open()
Dim con As New Connection
With con
.Host =
.Name = myTable
' .Charset = sCharSet
.Type =
.Login =
.Password =
End With
OK, I can confirm, it crashes with my system too.
[System]
Gambas=3.6.90
OperatingSystem=Linux
Kernel=3.13.0-43-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.1 LTS
Desktop=XFCE
Theme=QGtk
Language=en_US.UTF-8
Memory=3953M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
Hello,
Damned, my program crashed Gambas that way :
after con is declared (pass it with F8), then dblClick con to inspect it.
TestApp01-0.0.1-crash-150108-194725.tar.bz2
Description: application/bzip-compressed-tar
The attachment doesn't contain any sources..?
Use IDE to package the sources; Project -- Make -- Source archive.
Jussi
On Thu, Jan 8, 2015 at 8:49 PM, Karl Reinl karl.re...@fen-net.de wrote:
Hello,
Damned, my program crashed Gambas that way :
after con is declared (pass it with F8), then
Am Donnerstag, den 08.01.2015, 20:57 +0200 schrieb Jussi Lahtinen:
The attachment doesn't contain any sources..?
Use IDE to package the sources; Project -- Make -- Source archive.
Jussi
On Thu, Jan 8, 2015 at 8:49 PM, Karl Reinl karl.re...@fen-net.de wrote:
Hello,
Damned, my
Hello,
Damned, my program crashed Gambas that way :
the try con.Open fails when only the con.name is filled
Sorry for last CRASH-Report, I checked for not sending source.
TestApp01-0.0.1-crash-150108-211425.tar.bz2
Description: application/bzip-compressed-tar
Hello,
Damned, my program crashed Gambas!
Updated HttpClient project attached. Notice the command-line printout
for the second URL.
--
Lee
__
Artificial Intelligence is no match for natural stupidity.
GraphicalAppTest-0.0.1-crash-141123-022113.tar.bz2
Description:
Oops, sorry about the noise folks. I meant to send that to Benoît privately.
On 11/23/2014 02:23 AM, T Lee Davidson wrote:
Hello,
Damned, my program crashed Gambas!
Updated HttpClient project attached. Notice the command-line printout
for the second URL.
--
Lee
__
Artificial
Hello,
Damned, my program crashed Gambas!
--
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective
Le 26/09/2014 11:32, Ian a écrit :
Greetings,
If you create a breakpoint and highlight a variable of Type 'Result' you
get a seg fault 11.
If the break point is before the result contains a value then it returns
NULL which is expected behaviour.
Once the Result holds a value and you
[13] Null object.
FOutput.edtOutput_MouseMove.440
I have no clue what happened! I was going to change tab.
Jussi
--
Open source business process management suite built on Java and Eclipse
Turn processes into business
Le 27/06/2014 00:01, Jussi Lahtinen a écrit :
[13] Null object.
FOutput.edtOutput_MouseMove.440
I have no clue what happened! I was going to change tab.
Jussi
Try the latest revision.
--
Benoît Minisini
--
Seems to work. However I'm not sure exactly what even caused it.
Jussi
On Fri, Jun 27, 2014 at 1:50 AM, Benoît Minisini
gam...@users.sourceforge.net wrote:
Le 27/06/2014 00:01, Jussi Lahtinen a écrit :
[13] Null object.
FOutput.edtOutput_MouseMove.440
I have no clue what happened!
Right now I don't know what caused this, but I'm investigating.
Crash occurs when I run my huge project. I redesigned part of the code, and
so this bug may also
be in earlier revisions of gbx3.
Program received signal SIGSEGV, Segmentation fault.
0x00409b5d in VALUE_write
Tested with latest revision of Gambas 3 on Xubuntu 12.04 64bit.
1. Click on Button1.
2. Close the form.
3. Crash.
Jussi
DrawingAreaBug-0.0.1.tar.gz
Description: GNU Zip compressed data
--
Master SQL Server Development,
Le 01/01/2013 15:02, Jussi Lahtinen a écrit :
Tested with latest revision of Gambas 3 on Xubuntu 12.04 64bit.
1. Click on Button1.
2. Close the form.
3. Crash.
Jussi
Fixed in revision #5483. Don't forget to call Paint.End() if you call
Paint.Begin()! :-)
--
Benoît Minisini
Thanks!
Jussi
On Tue, Jan 1, 2013 at 4:41 PM, Benoît Minisini
gam...@users.sourceforge.net wrote:
Le 01/01/2013 15:02, Jussi Lahtinen a écrit :
Tested with latest revision of Gambas 3 on Xubuntu 12.04 64bit.
1. Click on Button1.
2. Close the form.
3. Crash.
Jussi
Fixed in
This happens when I try to open some project to IDE.
$ gdb gbr3
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and
Le 22/10/2012 17:57, Jussi Lahtinen a écrit :
This happens when I try to open some project to IDE.
...
Is it better with revision #5249?
--
Benoît Minisini
--
Everyone hates slow websites. So do we.
Make your web
Seems that latest revision corrected this error!
Jussi
On Mon, Oct 1, 2012 at 10:19 PM, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
I hope this leads to somewhere...
I removed 2 /dev/null (--- why it was there?) to see what happens
when .pot file is created,
or more precisely why it
Bug disappeared when I moved from 5219 to 5228.
There is only this change for compiler:
* BUG: Error messages are correctly printed when warnings are disabled.
It cannot explain it?
I tested with backup of my project, so I'm pretty sure it's nothing that I
did.
Jussi
On Mon, Oct 8, 2012
Le 08/10/2012 22:02, Jussi Lahtinen a écrit :
Bug disappeared when I moved from 5219 to 5228.
There is only this change for compiler:
* BUG: Error messages are correctly printed when warnings are disabled.
It cannot explain it?
I tested with backup of my project, so I'm pretty sure it's
Le 01/10/2012 16:03, Jussi Lahtinen a écrit :
It's project I can't send.
How could I help you then if I cannot reproduce the bug?
--
Benoît Minisini
--
Got visibility?
Most devs has no idea what their production app
How could I help you then if I cannot reproduce the bug?
Sometimes you have that magic touch, never know without trying.
Jussi
--
Got visibility?
Most devs has no idea what their production app looks like.
Find out how
I hope this leads to somewhere...
I removed 2 /dev/null (--- why it was there?) to see what happens when
.pot file is created,
or more precisely why it has zero size.
/home/jussiemmi/Desktop/testcopy/.lang/MainModule.pot:2858: duplicate
message definition...
Translation tool says everything is already translated, which is not true,
and when I close the window IDE crashes.
[13] Null object.
FTranslate.ShiftToSort.1306
I couldn't isolate the problem with quick look.
I'll try again tomorrow.
Gambas 3 rev 5208 @ Xubuntu 12.04 64bit.
Jussi
Le 30/09/2012 22:51, Jussi Lahtinen a écrit :
Translation tool says everything is already translated, which is not true,
and when I close the window IDE crashes.
[13] Null object.
FTranslate.ShiftToSort.1306
I couldn't isolate the problem with quick look.
I'll try again tomorrow.
Le Thu, 13 Sep 2012 22:37:36 -0300,
Sebastian Kulesz sebi...@gmail.com a écrit :
On Thu, Sep 13, 2012 at 10:04 PM, Adrien Prokopowicz
adrien.prokopow...@gmail.com wrote:
Le Thu, 13 Sep 2012 20:48:04 -0300,
Is it better with revision #5165 ?
Sebastian Kulesz sebi...@gmail.com a écrit
Le 14/09/2012 03:37, Sebastian Kulesz a écrit :
Another bug (i think) but unrelated to gb.xml.html. if you scroll
through the html file inside the project i sent using the ide, it will
get stuck into an infinite loop. The trace for this bug is attached, i
had to run the ide from the command
Hi! I'm getting a crash with gb.xml.html when creating an instance.
The output is:
gb.debug: warning: unable to send data to the debugger: Broken pipe
The backtrace is attached.
The project has only 2 lines, first it declares a variable and then it
creates and HtmlDocument instance. The file,
Le Thu, 13 Sep 2012 20:07:33 -0300,
Hi Sebastian,
Can you send me the full project please ?
Regards,
Adrien.
Sebastian Kulesz sebi...@gmail.com a écrit :
Hi! I'm getting a crash with gb.xml.html when creating an instance.
The output is:
gb.debug: warning: unable to send data to the
Le Thu, 13 Sep 2012 20:48:04 -0300,
Is it better with revision #5165 ?
Sebastian Kulesz sebi...@gmail.com a écrit :
On Thu, Sep 13, 2012 at 8:35 PM, Adrien Prokopowicz
adrien.prokopow...@gmail.com wrote:
Le Thu, 13 Sep 2012 20:07:33 -0300,
Hi Sebastian,
Can you send me the full
On Thu, Sep 13, 2012 at 10:04 PM, Adrien Prokopowicz
adrien.prokopow...@gmail.com wrote:
Le Thu, 13 Sep 2012 20:48:04 -0300,
Is it better with revision #5165 ?
Sebastian Kulesz sebi...@gmail.com a écrit :
On Thu, Sep 13, 2012 at 8:35 PM, Adrien Prokopowicz
adrien.prokopow...@gmail.com
Hi! Since the commit of the new toolbar code (rev 4828) i can't start
the IDE. This is what it prints out:
FToolBar.LoadConfig.1368: #29: Invalid object
1: FWelcome.Run.33
2: Project.Main.287
Any ideas?
Thanks!
--
Live
Hi,
I tried to profile the IDE by enabling the profiling option, but when I close
the child IDE, the parent IDE crashes :
gdb gbr3
GNU gdb (GDB) 7.4.1
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free
Le 03/06/2012 15:02, Emil Lenngren a écrit :
Which function is marked as Fast? I would like to know which gambas
function that results in that error.
I should add debug printing that says which function is being compiled
And profiling jit functions is not really implemented.
/Emil
Benoît, didn't you get the same message before?
2012/6/3 Benoît Minisini gam...@users.sourceforge.net
Le 03/06/2012 15:02, Emil Lenngren a écrit :
Which function is marked as Fast? I would like to know which gambas
function that results in that error.
I should add debug printing that says
It's probably a 32-bit problem. I will start up my virtualbox with 32-bit
and see what happens :)
2012/6/3 Emil Lenngren emil.lenng...@gmail.com
Benoît, didn't you get the same message before?
2012/6/3 Benoît Minisini gam...@users.sourceforge.net
Le 03/06/2012 15:02, Emil Lenngren a écrit
Le 03/06/2012 16:30, Emil Lenngren a écrit :
Benoît, didn't you get the same message before?
What are you talking about?
--
Benoît Minisini
--
Live Security Virtual Conference
Exclusive live event will cover all the
Nevermind, that was another problem.
2012/6/3 Benoît Minisini gam...@users.sourceforge.net
Le 03/06/2012 16:30, Emil Lenngren a écrit :
Benoît, didn't you get the same message before?
What are you talking about?
--
Benoît Minisini
I hope it works in the latest revision :)
/Emil
2012/6/3 Emil Lenngren emil.lenng...@gmail.com
Nevermind, that was another problem.
2012/6/3 Benoît Minisini gam...@users.sourceforge.net
Le 03/06/2012 16:30, Emil Lenngren a écrit :
Benoît, didn't you get the same message before?
What
Le dimanche 3 juin 2012 19:10:13 Emil Lenngren a écrit :
I hope it works in the latest revision :)
/Emil
2012/6/3 Emil Lenngren emil.lenng...@gmail.com
Nevermind, that was another problem.
2012/6/3 Benoît Minisini gam...@users.sourceforge.net
Le 03/06/2012 16:30, Emil
El mar, 22-03-2011 a las 21:35 +0200, Jussi Lahtinen escribió:
Way to reproduce the problem.
1. Open any project to IDE.
2. Click on console.
3. Type in ? .
4. Click on editor.
Gambas 3 rev 3657 @ Ubuntu 10.10 64bit
Jussi
Also in ArchLinx x64
Fixed in revision #3677.
Way to reproduce the problem.
1. Open any project to IDE.
2. Click on console.
3. Type in ? .
4. Click on editor.
Gambas 3 rev 3657 @ Ubuntu 10.10 64bit
Jussi
--
Enable your software for Intel(R) Active Management
Hi to all,
When you got in the IDE a connection to MySQL database, if you click over a
view (not over a table), IDE crash.
Views have been declared in mysql as create view SomeName as select * from
SomeTable and runs ok from mysql command line.
I was looking for in gambas3 sources about the
Hi to all,
When you got in the IDE a connection to MySQL database, if you click over a
view (not over a table), IDE crash.
Views have been declared in mysql as create view SomeName as select * from
SomeTable and runs ok from mysql command line.
I was looking for in gambas3 sources
Hi Benoit,
Please, exec this sentences as a script in mysql server. It creates a table
an a view.
If you make a new connection to this database from the gambas3 IDE. If you
select the view from the list, IDE crash (with no 11 signal)
I'm using ubuntu 10.10 x64 with gambas3 rev 3537
Regards,
On Friday, January 14, 2011 05:07:45 am Jussi Lahtinen wrote:
Hi!
I was adding some test for pointer arithmetic when noticing this.
GambasTester will pass, but when you close main form, signal 11 will rise.
Commenting out Free(pp) from mTest: line 1070, will prevent crash.
Gambas 3 rev 3452
True, and that is my only usage for them,
except GambasTester which is supposed to test every command
for possible errors.
Jussi
On Fri, Jan 14, 2011 at 05:29, Ian Haywood ihayw...@iinet.net.au wrote:
On Fri, Jan 14, 2011 at 8:41 AM, Demosthenes Koptsis
demosthen...@gmail.com wrote:
:)
Aaaa... of course, pointer is not correct to free after pp += 4.
Though, result shouldn't be signal 11.
It could not be different.
I mean Gambas should handle this without crash,
but of course this is anyhow end of execution.
I still would like to see error message with according line
Jussi i can post here the cases of pointer's mis-usage from my book and
you can add any of them in your project freely.
1) Assign new address to an existing pointer drives to memory leak.
The first address cannot be freed directly.
' Gambas module file
Public Sub Main()
Dim pPointer1 As
OK, I managed to isolate this problem!
This will crash Gambas 3 rev 3452 @ Ubuntu 10.10 64bit.
Public Sub Form_Open()
Dim hFile As File
Dim sho As Short
Dim sStr As String = 'abc Crash only occurs if string is null.
hFile = Open /tmp/test For Create
Write #hFile, 123 As Short
Write
OK, I managed to isolate this problem!
This will crash Gambas 3 rev 3452 @ Ubuntu 10.10 64bit.
Public Sub Form_Open()
Dim hFile As File
Dim sho As Short
Dim sStr As String = 'abc Crash only occurs if string is null.
hFile = Open /tmp/test For Create
Write #hFile, 123 As Short
Write #hFile,
Hi!
I was adding some test for pointer arithmetic when noticing this.
GambasTester will pass, but when you close main form, signal 11 will rise.
Commenting out Free(pp) from mTest: line 1070, will prevent crash.
Gambas 3 rev 3452 @ Ubuntu 10.10 64bit
Jussi
GambasTester-0.9.18.tar.gz
Hi!
I was adding some test for pointer arithmetic when noticing this.
GambasTester will pass, but when you close main form, signal 11 will rise.
Commenting out Free(pp) from mTest: line 1070, will prevent crash.
Gambas 3 rev 3452 @ Ubuntu 10.10 64bit
Jussi
You are calling Free(pp)
Aaaa... of course, pointer is not correct to free after pp += 4.
Though, result shouldn't be signal 11.
Jussi
2011/1/13 Benoît Minisini gam...@users.sourceforge.net
Hi!
I was adding some test for pointer arithmetic when noticing this.
GambasTester will pass, but when you close main form,
:) Pointers are tricky!
And may be this subject is difficult for BASIC programmers like me.
But in time we can learn their tricks and pay attention to such cases.
In my book i simulate and describe such cases based on
http://www.yolinux.com/TUTORIALS/C++MemoryCorruptionAndMemoryLeaks.html
i do
On Fri, Jan 14, 2011 at 8:41 AM, Demosthenes Koptsis
demosthen...@gmail.com wrote:
:) Pointers are tricky!
yes, the ability to avoid pointers is one of the main advantages of
higher-level languages like Gambas.
I'm curious to know why you guys are so fascinated by them, other than
interfacing
Ian Haywood ha scritto:
On Fri, Jan 14, 2011 at 8:41 AM, Demosthenes Koptsis
demosthen...@gmail.com wrote:
:) Pointers are tricky!
Aaaa... of course, pointer is not correct to free after pp += 4.
Though, result shouldn't be signal 11.
It could not be different.
yes, the
On Fri, 2011-01-14 at 14:29 +1100, Ian Haywood wrote:
I'm curious to know why you guys are so fascinated by them
Ian
For me i just want to describe them for my book about Gambas3, that's
all. In this, is including the tricky part of pointers and the correct
use of them inside a program.
--
These valgrind logs are taken also without compiler optimizations.
Jussi
On Sat, Jan 8, 2011 at 22:33, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
With compiler optimizations removed:
Starting program: /usr/local/bin/gbx3 -p
[Thread debugging using libthread_db enabled]
[New Thread
Forgot... Gambas 3 rev 3452 @ Ubuntu 10.10 64bit
Jussi
On Wed, Jan 12, 2011 at 23:05, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
These valgrind logs are taken also without compiler optimizations.
Jussi
On Sat, Jan 8, 2011 at 22:33, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
With compiler optimizations removed:
Starting program: /usr/local/bin/gbx3 -p
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffef2ba700 (LWP 19548)]
warning: unable to load Qt translation: en_GB.utf8
Program received signal SIGSEGV, Segmentation fault.
0x0042420f in
Hi!
I cannot really isolate my problem, but in this case it happens when loading
string data from file to object
(something like someobject.sStr = Read #hFile As String).
Gambas 3 rev 3447 @ Ubuntu 10.10 64bit
$ gbc3 -agpmt
OK
$ gdb gbx3
GNU gdb (GDB) 7.2-ubuntu
Copyright (C) 2010 Free Software
95 matches
Mail list logo