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

2013-09-22 Thread PICCORO McKAY Lenz
From: Willy Raets > 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 of venenux packages wi

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. > >>> Whe

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. >>>

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 wo

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 v

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

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 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

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 e

[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 tr

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

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

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

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 a

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

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

[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 g

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 > Le 24/06/2012 20:46, tobi a écrit : > > > > Alright, works. > > I wonder how a b

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 suppos

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,

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

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 ove

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 developed

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 > > Hi, I get a signal 11 with this code-sniplet: > > >

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 > > 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

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

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 n

[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 t

Re: [Gambas-user] Signal 11

2011-08-28 Thread Jussi Lahtinen
Yes, works now! Jussi 2011/8/27 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

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

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 > > I'm on gnome..? > > > > Jussi > > > > Please give me more details about your desktop, your window manager... so > that >

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 $10

Re: [Gambas-user] Signal 11

2011-08-26 Thread Jussi Lahtinen
I'm on gnome..? Jussi 2011/8/26 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 &&

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.lo

Re: [Gambas-user] Signal 11

2011-08-26 Thread Benoît Minisini
> See attachment. Run and just close the window. > > Gambas 3 rev 4039 @ Ubuntu 11.04 64bit > > Jussi That does not crash there (same revision, same Ubuntu 11.04 64 bits). Are you sure everything compiled correctly ? Can you recompile everything from scratch ? -- Benoît Minisini ---

[Gambas-user] Signal 11

2011-08-26 Thread Jussi Lahtinen
See attachment. Run and just close the window. Gambas 3 rev 4039 @ Ubuntu 11.04 64bit Jussi MangleErr-0.0.1.tar.gz Description: GNU Zip compressed data -- EMC VNX: the world's simplest storage, starting under $10K The o

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 wrote: > How to make the 4 line example signal #11 every time: > > 1. Place a breakpoint on the PRINT "hello" line

[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

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 wrote: > Hmmm... some misinformation, sorry. > Problem is in viewing mTest.module, not ".settings" issue. > > Jussi > > > > On Tue, Mar 15, 2011 at 21:20, Jussi Lahtinen wrote: > >> Something to do with "

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 wrote: > Something to do with ".settings" file... but there is more. > After resetting settings everything opens as expected, but attempt to > compi

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 wrote: > Hi! > Try to open attached project. > > Gambas 3 rev 3651 @ U

[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 be

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

2011-03-13 Thread Jussi Lahtinen
Works correctly and FAST! Thanks, this is very useful feature! Jussi 2011/3/13 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 tim

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-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 http://gambasdoc.org/help/la

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 : >> 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, an

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

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 @ Ubun

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

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

2011-03-11 Thread Jussi Lahtinen
Forgot... press the button, and error is raised after the form is closed. Jussi On Fri, Mar 11, 2011 at 21:31, Jussi Lahtinen wrote: > Hi! > Is there something I have misunderstand? > > I get; > gbx3: warning: circular references detected: > gbx3: 1 FMain > > And then signal 11. > > See att

[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, > >

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 someti

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 p

[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 time

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

2010-08-14 Thread Jussi Lahtinen
Works correctly now. Jussi 2010/8/14 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

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 > [Thre

[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 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

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-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 Mini

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
> 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

[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 Jussi Lahtinen
It is working now! Thanks!! Jussi 2010/6/13 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 > > --

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
...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 wrote: > 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])

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 wrote: > OK, I compiled revision 3003, still signal 11. > But different valgrind output (see attachment). > > Jussi

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 : >> > 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 inco

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, sign

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
> > 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

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-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 ?? ()

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 0xf

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 wrote: > Function declaration is from example code I found, I

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 : >> H

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

2010-06-10 Thread Benoît Minisini
> 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,

[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 Ne

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

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 co

Re: [Gambas-user] Signal 11

2010-02-05 Thread Jussi Lahtinen
I tested again with revision 2664. Maybe there was problem with my installation, or did this "BUG: Forgot to implement a static class variable in gapplication.cpp." has something to do with crash..? Now everything works with both Qt and GTK+. Jussi 2010/2/5 Benoît Minisini : >> Hi, >> >> I send

Re: [Gambas-user] Signal 11

2010-02-04 Thread Benoît Minisini
> Hi, > > I send you the app. it's not so big. > the system is Ubuntu 9.10, SVN 3 Revision 2660 > The app does not start at all, get signal 11 imidiatly on start, > > Thanks > Dag > I have just tested on my Mandriva 2010.0 32 bits, by creating the accurate database with your sql file, and I go

Re: [Gambas-user] Signal 11

2010-02-04 Thread Jussi Lahtinen
Problem seems to be in GTK+... Benoit? Jussi On Thu, Feb 4, 2010 at 19:40, Dag Jarle Johansen wrote: > Hi, > > I send you the app. it's not so big. > the system is Ubuntu 9.10, SVN 3 Revision 2660 > The app does not start at all, get signal 11 imidiatly on start, > > Thanks > Dag > > > Am Donne

Re: [Gambas-user] Signal 11

2010-02-04 Thread Jussi Lahtinen
For bug reports, always describe your system too (and Gambas version and revision [as you did]). >From IDE menu --> ? --> About Gambas... --> System information Please be more specific! Isolate code that causes the problem and provide it to us, or send the whole source code to us. Until that we ca

[Gambas-user] Signal 11

2010-02-04 Thread Dag Jarle Johansen
hi, have a problem with a small app, does not start, get signal 11. As I have figured out, there must be a bug somewhere. Yesterday I upgraded to SVN rev 2660, before that the app worked. any help please? regards Dag ---

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

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 "xd

[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 -

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

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 > > > > >

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 >>>

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 > > > > I already had that, bu

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 > > I already had that, but at least I was able

[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 I already had that, but at least I was able to trace until faulty line. JY -- You are a wish t

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

2009-05-18 Thread Jussi Lahtinen
Thanks!! My work just jammed because this issue, so fix couldn't have any better timing! And it seems to work! Jussi 2009/5/18 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,

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, O

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, O

  1   2   >