From gambas at ...1... Sat Oct 4 17:18:49 2008 From: gambas at ...1... (Benoit Minisini) Date: Sat, 4 Oct 2008 17:18:49 +0200 Subject: [Gambas-devel] gb.option What it is used for? In-Reply-To: <200809251649.28505.rospolosco@...29...> References: <632580.38880.qm@...555...> <200809251649.28505.rospolosco@...29...> Message-ID: <200810041718.49325.gambas@...1...> On jeudi 25 septembre 2008, Stefano Palmeri wrote: > Il gioved? 25 settembre 2008 14:20:01 David Villalobos Cambronero ha scritto: > > Hi all, Does anybody know what gb.option is used for? How can I use it? > > Maybe an small example? > > > > Regards > > > > > > -- > > David > > Hi this is the message that the author of gb.option sent me some time ago. > You can find it even in developers-list archives. Benoit, don't you think > it's gonna be useful to add it in Gambas documentation, do you? > Anybody can add it if he wants. Regards, -- Benoit Minisini From lordheavym at ...176... Sat Oct 4 22:06:02 2008 From: lordheavym at ...176... (Laurent Carlier) Date: Sat, 4 Oct 2008 22:06:02 +0200 Subject: [Gambas-devel] Some wierd gdb behaviour (I think) In-Reply-To: <48E217AB.3070403@...572...> References: <48D7F6CA.9060907@...572...> <48E217AB.3070403@...572...> Message-ID: <200810042206.02340.lordheavym@...176...> Le mardi 30 septembre 2008 14:12:27 Ron, vous avez ?crit : > Ron schreef: > > Hi, > > > > Been trying to debug my program, because after adding some functionality > > every now and then it crashes (gambas), before that it was rock stable. > > But upgraded from 2.8.1 to 2.8.2 in the meantime also... > > > > I compile and start my program like the website says, this is what I get: > > > > ----------------- > > ron at ...218...:~/domotiga/DomotiGa$ gdb gbx2 > > GNU gdb 6.4.90-debian > > Copyright (C) 2006 Free Software Foundation, Inc. > > GDB is free software, covered by the GNU General Public License, and you > > are welcome to change it and/or distribute copies of it under certain > > conditions. > > Type "show copying" to see the conditions. > > There is absolutely no warranty for GDB. Type "show warranty" for > > details. This GDB was configured as "i486-linux-gnu"...Using host > > libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". > > > > (gdb) set args -p > > (gdb) run > > Starting program: /usr/local/bin/gbx2 -p > > Failed to read a valid object file image from memory. > > [Thread debugging using libthread_db enabled] > > [New Thread -1209992992 (LWP 8372)] > > [New Thread -1231660112 (LWP 8376)] > > [New Thread -1242149968 (LWP 8377)] > > [Thread -1242149968 (zombie) exited] > > [Thread -1231660112 (LWP 8376) exited] > > [New Thread -1231660112 (LWP 8378)] > > [New Thread -1242149968 (LWP 8379)] > > [New Thread -1250542672 (LWP 8380)] > > [Thread -1250542672 (zombie) exited] > > [New Thread -1250542672 (LWP 8381)] > > open /dev/sequencer: No such file or directory > > Qt: gdb: -nograb added to command-line options. > > Use the -dograb option to enforce grabbing. > > [New Thread -1266635856 (LWP 8385)] > > [Thread -1266635856 (LWP 8385) exited] > > [New Thread -1266635856 (LWP 8386)] > > [Thread -1266635856 (LWP 8386) exited] > > [New Thread -1266635856 (LWP 8390)] > > [Thread -1266635856 (LWP 8390) exited] > > [New Thread -1266635856 (LWP 8391)] > > [Thread -1266635856 (LWP 8391) exited] > > Segmentation fault (core dumped) > > ron at ...218...:~/domotiga/DomotiGa$ > > -------- > > > > the first thing that worries me, are the 2 zombie threads in the > > beginning, is this normal? > > > > Then when I click a certain menu, which lanches a part of my program > > which calls rrdtool to generate graphs (SHELL sRRDCmd2 WAIT) were > > sRRDCmd2 is a large command string which calls rrdtool graph... > > > > the gdb session gives Segmentation fault (core dumped) > > ron at ...218...:~/domotiga/DomotiGa$ > > and the gdb session is closed, my program continues to run... > > > > Is this normal? Because I started another program in the shell? My > > gambas program still runs and functions ok after this... > > What is wrong? This way I cannot debug my program without removing some > > functionality first. > > Did I overlook something? > > > > Gambas 2.8.2 on Debian 4.0etch3 > > > > Wanted to run it as root, but it's a headless server, and cannot get X > > to run remote for root... will have to look tomorrow... > > Do you need to run it as root to get the debugging info (see the Failed > > to read a valid object file image from memory. error) > > > > Regards, > > Ron_2nd > > OK, > so I compiled gdb 6.8 from scratch, and run my program with that, this > is the first result: > > ron at ...218...:~/domotiga/DomotiGa.112ok$ gdb gbx2 > GNU gdb 6.8 > Copyright (C) 2008 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "i686-pc-linux-gnu"... > (gdb) set args -p > (gdb) run > Starting program: /usr/local/bin/gbx2 -p > Failed to read a valid object file image from memory. > [Thread debugging using libthread_db enabled] > [New Thread 0xb7dca8e0 (LWP 4648)] > Qt: gdb: -nograb added to command-line options. > Use the -dograb option to enforce grabbing. > [New Thread 0xb654cbb0 (LWP 4660)] > [Thread 0xb654cbb0 (LWP 4660) exited] > [New Thread 0xb5d4bbb0 (LWP 4661)] > [Thread 0xb5d4bbb0 (LWP 4661) exited] > [New Thread 0xb654cbb0 (LWP 4662)] > [Thread 0xb654cbb0 (LWP 4662) exited] > [New Thread 0xb654cbb0 (LWP 4666)] > [Thread 0xb654cbb0 (LWP 4666) exited] > ... > [New Thread 0xb654cbb0 (LWP 5586)] > [Thread 0xb654cbb0 (LWP 5586) exited] > ... > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0xb7dca8e0 (LWP 4648)] > 0xb700e2bb in ?? () from /usr/lib/libcurl.so.3 > (gdb) bt > #0 0xb700e2bb in ?? () from /usr/lib/libcurl.so.3 > #1 0xb6feefa0 in ?? () from /usr/lib/libcurl.so.3 > #2 0x080d6970 in ?? () > #3 0xb7f65ff4 in ?? () from /lib/ld-linux.so.2 > #4 0x080d66d8 in ?? () > #5 0x00000001 in ?? () > #6 0x00000000 in ?? () > (gdb) > > > Ok, so I miss important debug information, dunno why yet, but at least > gdb itself is not crashing like the 6.4 version did. > But am I correct to notice the sigsegv is due to problem in/with libcurl? > > Any changes in gb.net.curl recently, say last 1 1/2 week? > Anyone using it in their program? > > Will try to weed out the gb.net.curl dependant code from my program, to > see if this is the only problem. > > Any ideas as how to get more debugging info inside my gdb would be fab. > > Debian 4.0 etch 3, qt, Gambas 2.99 recent svn > > Regards, > Ron_2nd > You need to add too *-dbg related packages to get debugging informations. Regards, From chintanraoh at ...176... Sun Oct 5 03:22:08 2008 From: chintanraoh at ...176... (chintan rao) Date: Sun, 5 Oct 2008 06:52:08 +0530 Subject: [Gambas-devel] gb.option What it is used for? In-Reply-To: <200810041718.49325.gambas@...1...> References: <632580.38880.qm@...555...> <200809251649.28505.rospolosco@...29...> <200810041718.49325.gambas@...1...> Message-ID: On Sat, Oct 4, 2008 at 8:48 PM, Benoit Minisini wrote: > On jeudi 25 septembre 2008, Stefano Palmeri wrote: >> Il gioved? 25 settembre 2008 14:20:01 David Villalobos Cambronero ha > scritto: >> > Hi all, Does anybody know what gb.option is used for? How can I use it? >> > Maybe an small example? >> > >> > Regards >> > >> > >> > -- >> > David >> >> Hi this is the message that the author of gb.option sent me some time ago. >> You can find it even in developers-list archives. Benoit, don't you think >> it's gonna be useful to add it in Gambas documentation, do you? >> > > Anybody can add it if he wants. I tried to edit this http://gambasdoc.org/help/comp/gb.option?v3 but it asked for password. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From gambas at ...1... Sun Oct 5 03:31:30 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 5 Oct 2008 03:31:30 +0200 Subject: [Gambas-devel] gb.option What it is used for? In-Reply-To: References: <632580.38880.qm@...555...> <200810041718.49325.gambas@...1...> Message-ID: <200810050331.30146.gambas@...1...> On dimanche 05 octobre 2008, chintan rao wrote: > On Sat, Oct 4, 2008 at 8:48 PM, Benoit Minisini > > wrote: > > On jeudi 25 septembre 2008, Stefano Palmeri wrote: > >> Il gioved? 25 settembre 2008 14:20:01 David Villalobos Cambronero ha > > > > scritto: > >> > Hi all, Does anybody know what gb.option is used for? How can I use > >> > it? Maybe an small example? > >> > > >> > Regards > >> > > >> > > >> > -- > >> > David > >> > >> Hi this is the message that the author of gb.option sent me some time > >> ago. You can find it even in developers-list archives. Benoit, don't you > >> think it's gonna be useful to add it in Gambas documentation, do you? > > > > Anybody can add it if he wants. > > I tried to edit this > http://gambasdoc.org/help/comp/gb.option?v3 > but it asked for password. > Tell me which password you want, and I will grant you a write access to the wiki. Regards, -- Benoit Minisini From chintanraoh at ...176... Sun Oct 5 03:22:08 2008 From: chintanraoh at ...176... (chintan rao) Date: Sun, 5 Oct 2008 06:52:08 +0530 Subject: [Gambas-devel] gb.option What it is used for? In-Reply-To: <200810041718.49325.gambas@...1...> References: <632580.38880.qm@...555...> <200809251649.28505.rospolosco@...29...> <200810041718.49325.gambas@...1...> Message-ID: On Sat, Oct 4, 2008 at 8:48 PM, Benoit Minisini wrote: > On jeudi 25 septembre 2008, Stefano Palmeri wrote: >> Il gioved? 25 settembre 2008 14:20:01 David Villalobos Cambronero ha > scritto: >> > Hi all, Does anybody know what gb.option is used for? How can I use it? >> > Maybe an small example? >> > >> > Regards >> > >> > >> > -- >> > David >> >> Hi this is the message that the author of gb.option sent me some time ago. >> You can find it even in developers-list archives. Benoit, don't you think >> it's gonna be useful to add it in Gambas documentation, do you? >> > > Anybody can add it if he wants. I tried to edit this http://gambasdoc.org/help/comp/gb.option?v3 but it asked for password. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > From gambas at ...1... Sun Oct 5 21:59:58 2008 From: gambas at ...1... (Benoit Minisini) Date: Sun, 5 Oct 2008 21:59:58 +0200 Subject: [Gambas-devel] Request: CTRL+DELETE/BACKSPACE In-Reply-To: <577069a50809130829h7f5acb62mc585a3610336bbb2@...178...> References: <577069a50809130829h7f5acb62mc585a3610336bbb2@...178...> Message-ID: <200810052159.58383.gambas@...1...> On samedi 13 septembre 2008, Patrik Karlsson wrote: > It would be nice if the editor understood CTRL+DELETE/BACKSPACE to > delete the word to the right and left of the cursor. I forgot to tell that this feature has been implemented in revision #1564. Regards, -- Benoit Minisini From patrik at ...611... Sun Oct 5 23:17:11 2008 From: patrik at ...611... (Patrik Karlsson) Date: Sun, 5 Oct 2008 23:17:11 +0200 Subject: [Gambas-devel] Request: CTRL+DELETE/BACKSPACE In-Reply-To: <200810052159.58383.gambas@...1...> References: <577069a50809130829h7f5acb62mc585a3610336bbb2@...178...> <200810052159.58383.gambas@...1...> Message-ID: <200810052317.11673.patrik@...611...> Den Sunday 05 October 2008 21:59:58 skrev Benoit Minisini: > On samedi 13 septembre 2008, Patrik Karlsson wrote: > > It would be nice if the editor understood CTRL+DELETE/BACKSPACE to > > delete the word to the right and left of the cursor. > > I forgot to tell that this feature has been implemented in revision #1564. > I am glad to hear that. From bberberov at ...176... Wed Oct 8 00:19:11 2008 From: bberberov at ...176... (Boian Berberov) Date: Tue, 7 Oct 2008 16:19:11 -0600 Subject: [Gambas-devel] Proposed patches [SVN:1636 gambas/branches/2.0] Message-ID: Gambas Developers, Please consider these patches. They are based on SVN revision 1636 of branch gambas/branches/2.0. *** app-Makefile.patch Changes "ln -s" to "${LN_S}", "gbs" to "gbw" (not sure) *** xdg-utils.patch Allows a user to chose not to install with xdg-utils through configure Boian Berberov -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: app-Makefile.patch Type: application/octet-stream Size: 987 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xdg-utils.patch Type: application/octet-stream Size: 1037 bytes Desc: not available URL: From gambas at ...1... Wed Oct 8 00:36:04 2008 From: gambas at ...1... (Benoit Minisini) Date: Wed, 8 Oct 2008 00:36:04 +0200 Subject: [Gambas-devel] Proposed patches [SVN:1636 gambas/branches/2.0] In-Reply-To: References: Message-ID: <200810080036.04632.gambas@...1...> On mercredi 08 octobre 2008, Boian Berberov wrote: > Gambas Developers, > > Please consider these patches. They are based on SVN revision 1636 of > branch gambas/branches/2.0. > > *** app-Makefile.patch > Changes "ln -s" to "${LN_S}", "gbs" to "gbw" (not sure) If I remember, I used $(LN_S) and it didn't work. What's the difference between ${LN_S} and $(LN_S)? And no, both symbolic links must point at gbs. gbw is just another way to launch gbs, there is no gbw executable. > > *** xdg-utils.patch > Allows a user to chose not to install with xdg-utils through configure OK. Thanks for the patches. Regards, -- Benoit Minisini From bberberov at ...176... Wed Oct 8 01:46:30 2008 From: bberberov at ...176... (Boian Berberov) Date: Tue, 7 Oct 2008 17:46:30 -0600 Subject: [Gambas-devel] Proposed patches [SVN:1636 gambas/branches/2.0] In-Reply-To: <200810080036.04632.gambas@...1...> References: <200810080036.04632.gambas@...1...> Message-ID: Benoit, According to my bash man page ${LN_S} is a "Parameter Expansion" of the LN_S variable. $(LN_S) is a "Command Substitution" of the LN_S command, like `LN_S`. This should be compatible with other shells. I do not know what BSDs and Solarises use. Revision 1578 of gambas/branches/2.0/acinclude.m4 seems to have fixed all LN_S issues for me. Boian Berberov On Tue, Oct 7, 2008 at 16:36, Benoit Minisini wrote: > On mercredi 08 octobre 2008, Boian Berberov wrote: > > Gambas Developers, > > > > Please consider these patches. They are based on SVN revision 1636 of > > branch gambas/branches/2.0. > > > > *** app-Makefile.patch > > Changes "ln -s" to "${LN_S}", "gbs" to "gbw" (not sure) > > If I remember, I used $(LN_S) and it didn't work. What's the difference > between ${LN_S} and $(LN_S)? > > And no, both symbolic links must point at gbs. gbw is just another way to > launch gbs, there is no gbw executable. > > > > > *** xdg-utils.patch > > Allows a user to chose not to install with xdg-utils through configure > > OK. > > Thanks for the patches. > > Regards, > > -- > Benoit Minisini > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Gambas-devel mailing list > Gambas-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: