Re: [Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-22 Thread PICCORO McKAY Lenz
From: Willy Raets wi...@earthshipbelgium.be Kendek already offered to patch the gb.cairo bug fix into his 3.4.2 PPA (the one I am using). And since I already updated my Gambas version with his patched one all is working just fine. i revised the commit and the diff can be put into dsc sources

Re: [Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-21 Thread Willy Raets
On Sat, 2013-09-21 at 00:24 +0200, Benoît Minisini wrote: Le 17/09/2013 18:44, Willy Raets a écrit : Hi all, I have this strange problem in one of my projects. When placing an image on the PdfSurface I get strange things happening. In the project when the image is smaller than 280 x 390

Re: [Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-21 Thread Kende Krisztián
Hi, Everything should be fixed in revision #5846. Can you confirm? Yes Benoît I can confirm that it is fixed. Is it possible for me to patch the fix to the current 3.4.2 version? I really need this working a.s.a.p. at my work situation (and there I'm not running a trunk version) If

Re: [Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-21 Thread Willy Raets
On Sat, 2013-09-21 at 14:36 +0200, Kende Krisztián wrote: Hi, Everything should be fixed in revision #5846. Can you confirm? Yes Benoît I can confirm that it is fixed. Is it possible for me to patch the fix to the current 3.4.2 version? I really need this working a.s.a.p. at

Re: [Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-21 Thread Benoît Minisini
Le 21/09/2013 14:15, Willy Raets a écrit : On Sat, 2013-09-21 at 00:24 +0200, Benoît Minisini wrote: Le 17/09/2013 18:44, Willy Raets a écrit : Hi all, I have this strange problem in one of my projects. When placing an image on the PdfSurface I get strange things happening. In the project

Re: [Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-21 Thread Willy Raets
On Sat, 2013-09-21 at 20:56 +0200, Benoît Minisini wrote: Le 21/09/2013 14:15, Willy Raets a écrit : On Sat, 2013-09-21 at 00:24 +0200, Benoît Minisini wrote: Le 17/09/2013 18:44, Willy Raets a écrit : Hi all, I have this strange problem in one of my projects. When placing an image on

Re: [Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-20 Thread Benoît Minisini
Le 17/09/2013 18:44, Willy Raets a écrit : Hi all, I have this strange problem in one of my projects. When placing an image on the PdfSurface I get strange things happening. In the project when the image is smaller than 280 x 390 it is on the pdf. When the image is just 5 pixels more in

Re: [Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-17 Thread Fabien Bodard
a thing ... for example for ReportLabel25 put only border on left/bottom/right... the result will be better T L Tittle R B Ldata R B L data R B idem for H array T T T L data R data RdataR B B

[Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-17 Thread Willy Raets
Hi all, I have this strange problem in one of my projects. When placing an image on the PdfSurface I get strange things happening. In the project when the image is smaller than 280 x 390 it is on the pdf. When the image is just 5 pixels more in either width, height or both I get a signal 11. I

Re: [Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-17 Thread Tobias Boege
On Tue, 17 Sep 2013, Willy Raets wrote: Hi all, I have this strange problem in one of my projects. When placing an image on the PdfSurface I get strange things happening. In the project when the image is smaller than 280 x 390 it is on the pdf. When the image is just 5 pixels more in either

Re: [Gambas-user] Signal 11 when making pdf using gb.cairo

2013-09-17 Thread Willy Raets
On Tue, 2013-09-17 at 21:44 +0200, Tobias Boege wrote: On Tue, 17 Sep 2013, Willy Raets wrote: Hi all, I have this strange problem in one of my projects. When placing an image on the PdfSurface I get strange things happening. In the project when the image is smaller than 280 x 390 it

Re: [Gambas-user] Signal 11 in revision #5142

2012-09-09 Thread Benoît Minisini
Le 09/09/2012 03:50, Willy Raets a écrit : Discovered this testing my library and isolated the problem. Next made this test application and run some tests. I attached a source code archive. Just open in IDE and run, then click on button Signal 11 to generate the Signal 11 error. On 3.2.1

Re: [Gambas-user] Signal 11 in revision #5142

2012-09-09 Thread Willy Raets
On zo, 2012-09-09 at 10:45 +0200, Benoît Minisini wrote: Le 09/09/2012 03:50, Willy Raets a écrit : Discovered this testing my library and isolated the problem. Next made this test application and run some tests. I attached a source code archive. Just open in IDE and run, then click on

Re: [Gambas-user] Signal 11 in revision #5142

2012-09-09 Thread Willy Raets
On zo, 2012-09-09 at 14:48 +0200, Willy Raets wrote: On zo, 2012-09-09 at 10:45 +0200, Benoît Minisini wrote: Le 09/09/2012 03:50, Willy Raets a écrit : Discovered this testing my library and isolated the problem. Next made this test application and run some tests. I attached a

Re: [Gambas-user] Signal 11 in revision #5142

2012-09-09 Thread Willy Raets
On zo, 2012-09-09 at 15:02 +0200, Willy Raets wrote: On zo, 2012-09-09 at 14:48 +0200, Willy Raets wrote: On zo, 2012-09-09 at 10:45 +0200, Benoît Minisini wrote: Le 09/09/2012 03:50, Willy Raets a écrit : Discovered this testing my library and isolated the problem. Next made this

Re: [Gambas-user] Signal 11 in revision #5142

2012-09-09 Thread Willy Raets
On zo, 2012-09-09 at 15:25 +0200, Willy Raets wrote: On zo, 2012-09-09 at 15:02 +0200, Willy Raets wrote: On zo, 2012-09-09 at 14:48 +0200, Willy Raets wrote: On zo, 2012-09-09 at 10:45 +0200, Benoît Minisini wrote: Le 09/09/2012 03:50, Willy Raets a écrit : Discovered this testing

[Gambas-user] Signal 11 in revision #5142

2012-09-08 Thread Willy Raets
Discovered this testing my library and isolated the problem. Next made this test application and run some tests. I attached a source code archive. Just open in IDE and run, then click on button Signal 11 to generate the Signal 11 error. On 3.2.1 it runs On 3.2.90 #5071 it runs On 3.2.90 #5142 I

Re: [Gambas-user] Signal #11 when overriding Variant[] - Bug revived?

2012-06-26 Thread Emil Lenngren
If you use the JIT compiler, you can override native classes with classes written in Gambas, but not override classes written in gambas with a native one. I hope that makes sense.. /Emil 2012/6/24 Benoît Minisini gam...@users.sourceforge.net Le 24/06/2012 20:46, tobi a écrit : Alright,

Re: [Gambas-user] Signal #11 when overriding Variant[] - Bug revived?

2012-06-24 Thread tobi
On Fri, 22 Jun 2012, Benoît Minisini wrote: Le 20/06/2012 21:38, tobi a écrit : Hi Benoît, this afternoon, we discovered that with a newer revision the program I wrote to demonstrate sorting of multi-dimensioned Variant[] broke. I again get Segfault when exporting an overridden

Re: [Gambas-user] Signal #11 when overriding Variant[] - Bug revived?

2012-06-24 Thread Benoît Minisini
Le 24/06/2012 12:40, tobi a écrit : The demonstration project for our website is attached. I removed the Form containing a GridView to sort and some stuff and replaced it by a simple module file to test it with the latest revision, problem still present. Regards, Tobi Can you check

Re: [Gambas-user] Signal #11 when overriding Variant[] - Bug revived?

2012-06-24 Thread tobi
On Sun, 24 Jun 2012, Benoît Minisini wrote: Le 24/06/2012 12:40, tobi a écrit : The demonstration project for our website is attached. I removed the Form containing a GridView to sort and some stuff and replaced it by a simple module file to test it with the latest revision, problem

Re: [Gambas-user] Signal #11 when overriding Variant[] - Bug revived?

2012-06-24 Thread Benoît Minisini
Le 24/06/2012 20:46, tobi a écrit : Alright, works. I wonder how a bugfix could disappear but thanks. Regards, Tobi Because the bug was not really fixed, and the recent changes on the way classes are loaded woke it up again. And beware that it may break again, as you are not supposed to

Re: [Gambas-user] Signal #11 when overriding Variant[] - Bug revived?

2012-06-22 Thread Benoît Minisini
Le 20/06/2012 21:38, tobi a écrit : Hi Benoît, this afternoon, we discovered that with a newer revision the program I wrote to demonstrate sorting of multi-dimensioned Variant[] broke. I again get Segfault when exporting an overridden Variant[] class from my project (wasn't there a

[Gambas-user] Signal #11 when overriding Variant[] - Bug revived?

2012-06-20 Thread tobi
Hi Benoît, this afternoon, we discovered that with a newer revision the program I wrote to demonstrate sorting of multi-dimensioned Variant[] broke. I again get Segfault when exporting an overridden Variant[] class from my project (wasn't there a discussion about this recently?) When I

[Gambas-user] Signal 11

2011-09-22 Thread Dag-Jarle Johansen
Hi, I get a signal 11 with this code-sniplet: Public Sub PBX_LC_MouseDown() FLC.Show End where PBX_LC is a picturebox and FLC is a Form. If you need more info, I will send you the project. Regards, Dag-Jarle -- All

Re: [Gambas-user] Signal 11

2011-09-22 Thread Jussi Lahtinen
Cannot reproduce, send the project. Jussi On Thu, Sep 22, 2011 at 21:20, Dag-Jarle Johansen dag.jarle.johan...@gmail.com wrote: Hi, I get a signal 11 with this code-sniplet: Public Sub PBX_LC_MouseDown() FLC.Show End where PBX_LC is a picturebox and FLC is a Form. If you need more

Re: [Gambas-user] Signal 11

2011-09-22 Thread Benoît Minisini
Hi, I get a signal 11 with this code-sniplet: Public Sub PBX_LC_MouseDown() FLC.Show End where PBX_LC is a picturebox and FLC is a Form. If you need more info, I will send you the project. Regards, Dag-Jarle I need a project and I need you to explain me exactly how to reproduce

Re: [Gambas-user] Signal 11

2011-09-22 Thread Dag-Jarle Johansen
If I only could, too big for the mailinglist, it tells me 2011/9/22 Benoît Minisini gam...@users.sourceforge.net Hi, I get a signal 11 with this code-sniplet: Public Sub PBX_LC_MouseDown() FLC.Show End where PBX_LC is a picturebox and FLC is a Form. If you need more info, I

Re: [Gambas-user] Signal 11

2011-09-22 Thread Dag-Jarle Johansen
Gambas 3, rev. 4144 Ubuntu 10.04.2.LTS, Gnome Nothing particular installed: XAMPP is the single 3.party SW, any other SW comes from the APT PC is AMD Athlon, 2 disks 500/250 GB, Win XP on one Partition, 1GB Mem 2011/9/22 Benoît Minisini gam...@users.sourceforge.net Hi, I get a signal 11

Re: [Gambas-user] Signal 11

2011-08-26 Thread Benoît Minisini
I did: sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 sudo make clean Then: ( ./reconf-all ./configure -C make sudo make install ) ~/Desktop/compile.log 21 The

Re: [Gambas-user] Signal 11

2011-08-26 Thread Jussi Lahtinen
I'm on gnome..? Jussi 2011/8/26 Benoît Minisini gam...@users.sourceforge.net I did: sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 sudo make clean Then: (

Re: [Gambas-user] Signal 11

2011-08-26 Thread Benoît Minisini
I'm on gnome..? Jussi Please give me more details about your desktop, your window manager... so that I can reproduce your crash! -- Benoît Minisini -- EMC VNX: the world's simplest storage, starting under $10K

Re: [Gambas-user] Signal 11

2011-08-26 Thread Jussi Lahtinen
gnome 2.32.1 metacity 2.30.3 Theme is clearlooks classic for controls and clearlooks for window borders... What else you need to know? Jussi 2011/8/27 Benoît Minisini gam...@users.sourceforge.net I'm on gnome..? Jussi Please give me more details about your desktop, your window

Re: [Gambas-user] Signal 11

2011-08-26 Thread Benoît Minisini
gnome 2.32.1 metacity 2.30.3 Theme is clearlooks classic for controls and clearlooks for window borders... What else you need to know? Jussi I know enough to reproduce the crash. It should be fixed in revision #4044. Regards, -- Benoît Minisini

Re: [Gambas-user] Signal #11 in Gambas 2

2011-05-05 Thread Jussi Lahtinen
I cannot reproduce with Gambas 2.23.0 nor with Gambas 3 rev 3831. @ Ubuntu 10.10 64bit What is your Gambas version and operating system? Jussi On Thu, May 5, 2011 at 08:43, nando nand...@nothingsimple.com wrote: How to make the 4 line example signal #11 every time: 1. Place a breakpoint on

[Gambas-user] Signal #11 in Gambas 2

2011-05-04 Thread nando
How to make the 4 line example signal #11 every time: 1. Place a breakpoint on the PRINT hello line 2. Run the program (F5) 3. When the program stops at the breakpoint, highlight the word 'String[]' on line 2 -Fernando SUB x() DIM uu AS NEW String[] PRINT hello END

Re: [Gambas-user] Signal 11 when opening project

2011-03-16 Thread Benoît Minisini
OK, just try to write mkinteger$()... Jussi Fixed in revision #3653. Regards, -- Benoît Minisini -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization -

[Gambas-user] Signal 11 when opening project

2011-03-15 Thread Jussi Lahtinen
Hi! Try to open attached project. Gambas 3 rev 3651 @ Ubuntu 10.10 64bit Jussi GambasTester.tar.gz Description: GNU Zip compressed data -- Colocation vs. Managed Hosting A question and answer guide to determining the

Re: [Gambas-user] Signal 11 when opening project

2011-03-15 Thread Jussi Lahtinen
Something to do with .settings file... but there is more. After resetting settings everything opens as expected, but attempt to compile that project crashes Gambas again. Jussi On Tue, Mar 15, 2011 at 21:16, Jussi Lahtinen jussi.lahti...@gmail.comwrote: Hi! Try to open attached project.

Re: [Gambas-user] Signal 11 when opening project

2011-03-15 Thread Jussi Lahtinen
Hmmm... some misinformation, sorry. Problem is in viewing mTest.module, not .settings issue. Jussi On Tue, Mar 15, 2011 at 21:20, Jussi Lahtinen jussi.lahti...@gmail.comwrote: Something to do with .settings file... but there is more. After resetting settings everything opens as expected, but

Re: [Gambas-user] Signal 11 when opening project

2011-03-15 Thread Jussi Lahtinen
OK, just try to write mkinteger$()... Jussi On Tue, Mar 15, 2011 at 21:23, Jussi Lahtinen jussi.lahti...@gmail.comwrote: Hmmm... some misinformation, sorry. Problem is in viewing mTest.module, not .settings issue. Jussi On Tue, Mar 15, 2011 at 21:20, Jussi Lahtinen

Re: [Gambas-user] Signal 11 with callback functions

2011-03-13 Thread Ron
Can someone explain what extern callbacks are/do? Thanks! 2011/3/13 Benoît Minisini gam...@users.sourceforge.net: It's better, but there are other problems too... Something to do with select case and callback functions. I managed to isolate the problem. See attachment. Click coupleo of

Re: [Gambas-user] Signal 11 with callback functions

2011-03-13 Thread Jussi Lahtinen
Take a look at the sources I attached to earlier mail. But quickly explaining; it means possibility to use external library, in way that external library also uses functions from gambas program. See also: http://en.wikipedia.org/wiki/Callback_%28computer_programming%29

Re: [Gambas-user] Signal 11 with callback functions

2011-03-13 Thread Benoît Minisini
Can someone explain what extern callbacks are/do? Thanks! Some external functions written in C ask for a function pointer argument. In Gambas 3, you can use any private or public function written in Gambas as function pointer. The interpreter internally creates a temporary internal C

Re: [Gambas-user] Signal 11 with callback functions

2011-03-12 Thread Benoît Minisini
Forgot... press the button, and error is raised after the form is closed. Jussi It should be fixed in revision #3644. Regards, -- Benoît Minisini -- Colocation vs. Managed Hosting A question and answer guide to

Re: [Gambas-user] Signal 11 with callback functions

2011-03-12 Thread Jussi Lahtinen
It's better, but there are other problems too... Something to do with select case and callback functions. I managed to isolate the problem. See attachment. Click coupleo of times that button, and you will see cumulative performance problem leading practically to freeze. Gambas 3 rev 3644 @

Re: [Gambas-user] Signal 11 with callback functions

2011-03-12 Thread Benoît Minisini
It's better, but there are other problems too... Something to do with select case and callback functions. I managed to isolate the problem. See attachment. Click coupleo of times that button, and you will see cumulative performance problem leading practically to freeze. Gambas 3 rev 3644

[Gambas-user] Signal 11 with callback functions

2011-03-11 Thread Jussi Lahtinen
Hi! Is there something I have misunderstand? I get; gbx3: warning: circular references detected: gbx3: 1 FMain And then signal 11. See attachment. Gambas 3 rev 3639 @ Ubuntu 10.10 64bit Jussi CallbackTest-0.0.1.tar.gz Description: GNU Zip compressed data

Re: [Gambas-user] signal 11 from menus

2011-01-04 Thread Benoît Minisini
The crash comes from the fact that the Menu Show event is raised just before showing the menu. And during that event, you are clearing the menu that is being show. Qt4 does not like that (neither GTK+). Maybe I should prevent that with a internal flag... Regards, Actually

[Gambas-user] signal 11 from menus

2011-01-03 Thread Ian Haywood
I'm not filing this as a bug as I'm not sure it is. The project Richard and I work on was segfaulting when opening a submenu. I enclose the stacktrace from GDB and a small project that elicits it. As you can see from the project, the cause is generating the submenu structure twice, the second

Re: [Gambas-user] signal 11 from menus

2011-01-03 Thread Benoît Minisini
I'm not filing this as a bug as I'm not sure it is. A segfault is normally a bug. Gambas should never segfault. :-) The project Richard and I work on was segfaulting when opening a submenu. I enclose the stacktrace from GDB and a small project that elicits it. As you can see from the

Re: [Gambas-user] signal 11 from menus

2011-01-03 Thread Benoît Minisini
The crash comes from the fact that the Menu Show event is raised just before showing the menu. And during that event, you are clearing the menu that is being show. Qt4 does not like that (neither GTK+). Maybe I should prevent that with a internal flag... Regards, Actually sometimes

[Gambas-user] Signal 11 from programming error

2010-08-14 Thread Jussi Lahtinen
Hi! I had error in way I calculated position in array, and it revealed error in it's handling. Way to reproduce problem: Private aa As New Integer[] Public Sub Form_Open() aa.Fill(1, -1, 1) End gdb outputs: (gdb) run Starting program: /usr/local/bin/gbx3 -p [Thread debugging using libthread_db

Re: [Gambas-user] Signal 11 from programming error

2010-08-14 Thread Benoît Minisini
Hi! I had error in way I calculated position in array, and it revealed error in it's handling. Way to reproduce problem: Private aa As New Integer[] Public Sub Form_Open() aa.Fill(1, -1, 1) End gdb outputs: (gdb) run Starting program: /usr/local/bin/gbx3 -p [Thread debugging

Re: [Gambas-user] Signal 11 from programming error

2010-08-14 Thread Jussi Lahtinen
Works correctly now. Jussi 2010/8/14 Benoît Minisini gam...@users.sourceforge.net: Hi! I had error in way I calculated position in array, and it revealed error in it's handling. Way to reproduce problem: Private aa As New Integer[] Public Sub Form_Open() aa.Fill(1, -1, 1) End gdb

Re: [Gambas-user] signal#11 in Gambas3

2010-08-02 Thread Matti
Ok, here you have a demo. You should get signal #11 if you abort the dialog. Move all the code from _new() to Form_Open(), and the crash is gone. Am 01.08.2010 22:00, schrieb Benoît Minisini: No, it's not your fault if you have a crash. And if you give me a way to reproduce it, I will able

Re: [Gambas-user] signal#11 in Gambas3

2010-08-02 Thread Benoît Minisini
Ok, here you have a demo. You should get signal #11 if you abort the dialog. Move all the code from _new() to Form_Open(), and the crash is gone. Am 01.08.2010 22:00, schrieb Benoît Minisini: No, it's not your fault if you have a crash. And if you give me a way to reproduce it, I will

Re: [Gambas-user] signal#11 in Gambas3

2010-08-01 Thread Benoît Minisini
Hi, I have a dialog right at the start of a program, and if the user aborts the dialog, the program should quit. In gambas2 this worked: If Dialog.SelectDirectory() Then Quit Endif In gambas3 (v 3083) I get the signal#11 (for the program, not for gambas itself) at this

Re: [Gambas-user] signal#11 in Gambas3

2010-08-01 Thread Matti
Sorry, I think this was my fault. For reasons I don't remember anymore, I had this dialog in the _new() routine. Put it into Form_Open(), and everything is fine. Am 01.08.2010 20:53, schrieb Benoît Minisini: Hi, I have a dialog right at the start of a program, and if the user aborts the

Re: [Gambas-user] signal#11 in Gambas3

2010-08-01 Thread Benoît Minisini
Sorry, I think this was my fault. For reasons I don't remember anymore, I had this dialog in the _new() routine. Put it into Form_Open(), and everything is fine. No, it's not your fault if you have a crash. And if you give me a way to reproduce it, I will able to fix it. -- Benoît

[Gambas-user] signal#11 in Gambas3

2010-07-31 Thread Matti
Hi, I have a dialog right at the start of a program, and if the user aborts the dialog, the program should quit. In gambas2 this worked: If Dialog.SelectDirectory() Then Quit Endif In gambas3 (v 3083) I get the signal#11 (for the program, not for gambas itself) at this point. Also tried

Re: [Gambas-user] Signal 11, when calling external function

2010-06-13 Thread Benoît Minisini
Did you compile Gambas with debugging information enabled ? Gambas is compiled with following steps: 1. ./reconf 2. ./configure -C 3. make 4. sudo make install Are debugging information enabled by default? Otherwise you will have more useful information by running your

Re: [Gambas-user] Signal 11, when calling external function

2010-06-13 Thread Jussi Lahtinen
What happens if you declare Aja_Mtrx that way?        void Aja_Mtrx(int k0[31][], int k1[31][], int k2[31][]) It trows error: array type has incomplete element type And that way?        void Aja_Mtrx(int k0[31][31], int k1[31][31], int k2[31][31]) Same, signal 11. Jussi

Re: [Gambas-user] Signal 11, when calling external function

2010-06-13 Thread Benoît Minisini
What happens if you declare Aja_Mtrx that way? void Aja_Mtrx(int k0[31][], int k1[31][], int k2[31][]) It trows error: array type has incomplete element type And that way? void Aja_Mtrx(int k0[31][31], int k1[31][31], int k2[31][31]) Same, signal 11. Do you

Re: [Gambas-user] Signal 11, when calling external function

2010-06-13 Thread Jussi Lahtinen
OK, I compiled revision 3003, still signal 11. But different valgrind output (see attachment). Jussi 2010/6/13 Benoît Minisini gam...@users.sourceforge.net: What happens if you declare Aja_Mtrx that way?        void Aja_Mtrx(int k0[31][], int k1[31][], int k2[31][]) It trows error:

Re: [Gambas-user] Signal 11, when calling external function

2010-06-13 Thread Jussi Lahtinen
Forgot to mention this valgrind output is made with declaration: void Aja_Mtrx(int k0[31][31], int k1[31][31], int k2[31][31]) Jussi On Sun, Jun 13, 2010 at 17:41, Jussi Lahtinen jussi.lahti...@gmail.com wrote: OK, I compiled revision 3003, still signal 11. But different valgrind output (see

Re: [Gambas-user] Signal 11, when calling external function

2010-06-13 Thread Jussi Lahtinen
...but declaration: void Aja_Mtrx(int k0[][31], int k1[][31], int k2[][31]) Gives same valgrind output. Jussi On Sun, Jun 13, 2010 at 17:41, Jussi Lahtinen jussi.lahti...@gmail.com wrote: Forgot to mention this valgrind output is made with declaration: void Aja_Mtrx(int k0[31][31], int

Re: [Gambas-user] Signal 11, when calling external function

2010-06-13 Thread Benoît Minisini
...but declaration: void Aja_Mtrx(int k0[][31], int k1[][31], int k2[][31]) Gives same valgrind output. Jussi OK, the bug should be fixed in revision #3004! Regards, -- Benoît Minisini -- ThinkGeek and

Re: [Gambas-user] Signal 11, when calling external function

2010-06-13 Thread Jussi Lahtinen
It is working now! Thanks!! Jussi 2010/6/13 Benoît Minisini gam...@users.sourceforge.net: ...but declaration: void Aja_Mtrx(int k0[][31], int k1[][31], int k2[][31]) Gives same valgrind output. Jussi OK, the bug should be fixed in revision #3004! Regards, -- Benoît Minisini

Re: [Gambas-user] Signal 11, when calling external function

2010-06-11 Thread Jussi Lahtinen
Hope this helps... Program received signal SIGSEGV, Segmentation fault. 0x77535f5e in ffi_call_unix64 () from /usr/lib/libffi.so.5 (gdb) bt #0 0x77535f5e in ffi_call_unix64 () from /usr/lib/libffi.so.5 #1 0xff0077535c84 in ?? () #2 0x in ?? () #3

Re: [Gambas-user] Signal 11, when calling external function

2010-06-11 Thread Benoît Minisini
Hope this helps... Program received signal SIGSEGV, Segmentation fault. 0x77535f5e in ffi_call_unix64 () from /usr/lib/libffi.so.5 (gdb) bt #0 0x77535f5e in ffi_call_unix64 () from /usr/lib/libffi.so.5 #1 0xff0077535c84 in ?? () #2 0x in ?? () #3

Re: [Gambas-user] Signal 11, when calling external function

2010-06-11 Thread Jussi Lahtinen
Did you compile Gambas with debugging information enabled ? Gambas is compiled with following steps: 1. ./reconf 2. ./configure -C 3. make 4. sudo make install Are debugging information enabled by default? Otherwise you will have more useful information by running your program inside

Re: [Gambas-user] Signal 11, when calling external function

2010-06-10 Thread Jussi Lahtinen
Function declaration is from example code I found, I don't understand logic of that notation. BUT it works with Gambas2, and it worked fine with earlier revision of Gambas3. I'm not saying that it makes it correct way pass 2d arrays, but makes me puzzled... Jussi 2010/6/10 Benoît Minisini

Re: [Gambas-user] Signal 11, when calling external function

2010-06-10 Thread Jussi Lahtinen
I changed code to (makes very much more sense to me): void Aja_Mtrx(int k0[][31], int k1[][31], int k2[][31]) But it still doesn't work with Gambas3. With Gambas2 everything is OK. Jussi On Thu, Jun 10, 2010 at 18:18, Jussi Lahtinen jussi.lahti...@gmail.com wrote: Function declaration is from

[Gambas-user] Signal 11, when calling external function

2010-06-08 Thread Jussi Lahtinen
Hi! I have use external function for certain tasks successfully, but I run into problems with recent revision of Gambas. In Gambas: Public Extern Aja_Mtrx(pk0 As Pointer, pk1 As Pointer, pk2 As Pointer) In libMlpp Public k0 As New Integer[31, 31] Public k1 As New Integer[31, 31] Public k2 As New

[Gambas-user] Signal #11

2010-03-27 Thread M. Cs.
Hi, I have strange crashes in my program. It is a module inside a program. The FMain. refers to the main form of the program. It is a Where Is it catalog importer module, but it crashes randomly. I can't find the error's output. I know it uses a LOT of memory, yet I don't understand which symbol

Re: [Gambas-user] Signal #11

2010-03-27 Thread Benoît Minisini
Hi, I have strange crashes in my program. It is a module inside a program. The FMain. refers to the main form of the program. It is a Where Is it catalog importer module, but it crashes randomly. I can't find the error's output. I know it uses a LOT of memory, yet I don't understand which

[Gambas-user] signal #11

2009-09-23 Thread Stefano Palmeri
This code stopped with signal #11: ,, PUBLIC SUB Main() DIM sHostname, sDisplay AS String DIM sClipboardLastEntry AS String SHELL hostname TO sHostname SHELL xdpyinfo | head -1

Re: [Gambas-user] signal #11

2009-09-23 Thread Benoît Minisini
This code stopped with signal #11: ,,, ,,, PUBLIC SUB Main() DIM sHostname, sDisplay AS String DIM sClipboardLastEntry AS String SHELL hostname TO sHostname SHELL xdpyinfo |

Re: [Gambas-user] signal #11

2009-09-23 Thread Stefano Palmeri
Il mercoledì 23 settembre 2009 14:29:08 Benoît Minisini ha scritto: This code stopped with signal #11: , ,, ,,, PUBLIC SUB Main() DIM sHostname, sDisplay AS String DIM

[Gambas-user] signal 11

2009-07-20 Thread Jean-Yves F. Barbier
Debian sid Gambas V.2.13.1-1 == Hi, I try to start my app, but I can't even trace into it as it returns: (from fr) Program crashed triggering signal# 11 - Please send a bug report to ML I already had that, but at least I was able to trace until faulty line. JY -- You are a

Re: [Gambas-user] signal 11

2009-07-20 Thread Jean-Yves F. Barbier
Jean-Yves F. Barbier a écrit : Debian sid Gambas V.2.13.1-1 == Hi, I try to start my app, but I can't even trace into it as it returns: (from fr) Program crashed triggering signal# 11 - Please send a bug report to ML I already had that, but at least I was able to

Re: [Gambas-user] signal 11

2009-07-20 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : Jean-Yves F. Barbier a écrit : Debian sid Gambas V.2.13.1-1 == Hi, I try to start my app, but I can't even trace into it as it returns: (from fr) Program crashed triggering signal# 11 - Please send a bug report to ML I already had that, but at

Re: [Gambas-user] signal 11

2009-07-20 Thread Benoît Minisini
Jean-Yves F. Barbier a écrit : Debian sid Gambas V.2.13.1-1 == Hi, I try to start my app, but I can't even trace into it as it returns: (from fr) Program crashed triggering signal# 11 - Please send a bug report to ML I already had that, but at

Re: [Gambas-user] signal 11

2009-07-20 Thread Jean-Yves F. Barbier
Benoît Minisini a écrit : ... I think we should vote for the best bug report of the year... :-) Yep, and with a special icon to draw for the winner in he's posts (until next) -- Religion is what keeps the poor from murdering the rich. -- Napoleon

Re: [Gambas-user] Signal 11 with some ByRef conditions

2009-05-18 Thread Benoît Minisini
Hi! Call this function; Public Function Test(a1 As Object, ByRef a2 As Long, a3 As Long, a4 As Long, a5 As Boolean, a6 As Boolean, a7 As Long, a8 As Long, a9 As Boolean, Optional ByRef a10 As Long, Optional ByRef a11 As Long, Optional ByRef a12 As Long, Optional ByRef a13 As Long, Optional

Re: [Gambas-user] Signal 11 with some ByRef conditions

2009-05-17 Thread Benoît Minisini
Hi! Call this function; Public Function Test(a1 As Object, ByRef a2 As Long, a3 As Long, a4 As Long, a5 As Boolean, a6 As Boolean, a7 As Long, a8 As Long, a9 As Boolean, Optional ByRef a10 As Long, Optional ByRef a11 As Long, Optional ByRef a12 As Long, Optional ByRef a13 As Long, Optional

[Gambas-user] Signal 11 with some ByRef conditions

2009-05-15 Thread Jussi Lahtinen
Hi! Call this function; Public Function Test(a1 As Object, ByRef a2 As Long, a3 As Long, a4 As Long, a5 As Boolean, a6 As Boolean, a7 As Long, a8 As Long, a9 As Boolean, Optional ByRef a10 As Long, Optional ByRef a11 As Long, Optional ByRef a12 As Long, Optional ByRef a13 As Long, Optional ByRef

[Gambas-user] Signal 11 with Format$(123,00)

2009-04-25 Thread Gaël Le Hec'H
hi all,on gambas2-2.11.1 on fedora 10 if I type on the console : ? format$(123,00) I get a beautiful Signal 11 ;-) Am I alone ? Gaël Le Hec'H -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new

Re: [Gambas-user] Signal 11 with Format$(123,00)

2009-04-25 Thread Benoît Minisini
hi all,on gambas2-2.11.1 on fedora 10 if I type on the console : ? format$(123,00) I get a beautiful Signal 11 ;-) Am I alone ? Gaël Le Hec'H The bug is fixed in revision #1934. Don't forget to put double quotes around your format string! Regards, -- Benoît

Re: [Gambas-user] Signal 11 while initializing a property

2009-01-23 Thread Dominique SIMONART
Jussi (sorry for the preceding Julien) I wonder if our problems are really the same! Here is more details of my situation. As you can see, the READ should know that the datatype of hMyClas[i].X *is* a byte hMyClass.Resize(9) FOR i = 0 TO 8 hMyClass[i] = NEW MyClass ' using these

Re: [Gambas-user] Signal 11 while initializing a property

2009-01-23 Thread Jussi Lahtinen
No, I think it is exactly same problem. Here is the reason (just like in my code): PUBLIC hMyClass AS NEW Object[] Only difference is how we populate that array. I use fResult.Add(aa) and you use hMyClass[i] = NEW MyClass (and hMyClass.Resize(9)). Result is very same. Read my post and followups

Re: [Gambas-user] Signal 11 while initializing a property

2009-01-23 Thread Simonart Dominique
Thanks Jussi, Now I think I really understand :) Dominique Simonart Jussi Lahtinen a écrit : No, I think it is exactly same problem. Here is the reason (just like in my code): PUBLIC hMyClass AS NEW Object[] Only difference is how we populate that array. I use fResult.Add(aa) and you

[Gambas-user] Signal 11 while initializing a property

2009-01-21 Thread Dominique SIMONART
Hi everybody, Gambas 2.8, OpenSuse 11.0, Kde 3.5, with Qt If I initialize my property with the next 2 lines, it's OK ( N and the X property are defined as Byte, i is an Integer) READ #hFile, N hMyClass[i].X = N But if I want to write it shorter with the line below, it ends

Re: [Gambas-user] Signal 11 with wrong syntax 1703

2008-11-24 Thread Benoit Minisini
On mardi 18 novembre 2008, richard terry wrote: I put in this typo not remembering the item key was a string - signall 11 crash. Str(lvwLabRequests.Item.key + 1) Regards Richard This bug should have been fixed in revision #1716. Regards, -- Benoit Minisini

Re: [Gambas-user] Signal #11

2008-09-08 Thread Benoit Minisini
On dimanche 07 septembre 2008, Hans-Martin Bundeshund wrote: Hello all, i have an application running well with 2.7.0 but getting a signal#11 with 2.8.2 PUBLIC SUB ButtonPartner_Click() DIM hForm AS FPartnerStart signal#11 -- hForm = NEW FPartnerStart(BenutzerID)-- signal#11

Re: [Gambas-user] Signal #11

2008-09-08 Thread Benoit Minisini
On dimanche 07 septembre 2008, Kari Laine wrote: On Sun, Sep 7, 2008 at 3:48 PM, Hans-Martin [EMAIL PROTECTED] wrote: Am Sonntag, 7. September 2008 14:05:22 schrieb Hans-Martin Bundeshund: Hello all, i have an application running well with 2.7.0 but getting a signal#11 with

Re: [Gambas-user] Signal #11

2008-09-07 Thread Hans-Martin
Am Sonntag, 7. September 2008 14:05:22 schrieb Hans-Martin Bundeshund: Hello all, i have an application running well with 2.7.0 but getting a signal#11 with 2.8.2 PUBLIC SUB ButtonPartner_Click() DIM hForm AS FPartnerStart signal#11 -- hForm = NEW FPartnerStart(BenutzerID)--

Re: [Gambas-user] Signal #11

2008-09-07 Thread Hans-Martin
Am Sonntag, 7. September 2008 14:05:22 schrieb Hans-Martin Bundeshund: Hello all, i have an application running well with 2.7.0 but getting a signal#11 with 2.8.2 PUBLIC SUB ButtonPartner_Click() DIM hForm AS FPartnerStart signal#11 -- hForm = NEW FPartnerStart(BenutzerID)--

Re: [Gambas-user] Signal #11

2008-09-07 Thread Kari Laine
On Sun, Sep 7, 2008 at 3:48 PM, Hans-Martin [EMAIL PROTECTED] wrote: Am Sonntag, 7. September 2008 14:05:22 schrieb Hans-Martin Bundeshund: Hello all, i have an application running well with 2.7.0 but getting a signal#11 with 2.8.2 PUBLIC SUB ButtonPartner_Click() DIM hForm AS

  1   2   >