[Gambas-user] No interface showing

Steven Lobbezoo steven at ...1652...
Sat Nov 10 11:09:16 CET 2007


Le vendredi 9 novembre 2007 19:41, Benoit Minisini a écrit :
> On jeudi 8 novembre 2007, Steven Lobbezoo wrote:
> > Le jeudi 8 novembre 2007 18:14, Benoit Minisini a écrit :
> > > On jeudi 8 novembre 2007, Steven Lobbezoo wrote:
> > > > Le jeudi 8 novembre 2007 17:53, Benoit Minisini a écrit :
> > > > > On jeudi 8 novembre 2007, Steven Lobbezoo wrote:
> > > > > > Le jeudi 8 novembre 2007 17:21, Benoit Minisini a écrit :
> > > > > > > On jeudi 8 novembre 2007, Benoit Minisini wrote:
> > > > > > > > On jeudi 8 novembre 2007, Steven Lobbezoo wrote:
> > > > > > > > > Hi,
> > > > > > > > >
> > > > > > > > > In the mean time i tried a complete new installation of the
> > > > > > > > > latest trunk. Still no changes : gbr2 strats, and then does
> > > > > > > > > not show any window, it stays running, but no interaction
> > > > > > > > > with the sceen.
> > > > > > > > >
> > > > > > > > > Also : why does gbr2 tries to write
> > > > > > > > > /usr/local/share/gambas2/info/gb.vb.info its installed 600
> > > > > > > > > owner root, so cannot be written by normal users.
> > > > > > > > >
> > > > > > > > > Steven
> > > > > > > >
> > > > > > > > ???
> > > > > > > >
> > > > > > > > gbr2 does not try to write gb.vb.info. It never looks inside
> > > > > > > > this directory, unless the project it runs asks for it.
> > > > > > >
> > > > > > > OK, you wanted to say gbi2. But what are you doing with gbi2?
> > > > > > > This program is only used at installation time, you normally
> > > > > > > never have to use it yourself.
> > > > > >
> > > > > > Sorry, in the heat of trying anything to get back up i made some
> > > > > > mistakes. If I do this :
> > > > > > gdb gbr2
> > > > > >
> > > > > > GNU gdb 6.5
> > > > > > 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
> > > > > > "i586-suse-linux"...Using host libthread_db library
> > > > > > "/lib/libthread_db.so.1".
> > > > > >
> > > > > > (gdb) run
> > > > > > Starting program: /usr/local/bin/gbr2
> > > > > > Failed to read a valid object file image from memory.
> > > > > > ERROR: #45: File or directory does not exist
> > > > > >
> > > > > > Program exited with code 01.
> > > > > > (gdb) quit
> > > > > >
> > > > > > The result is as above. If I type gambas2, gbr2 starts running,
> > > > > > but nothing shows. So how can I find whats happening ?
> > > > > >
> > > > > > Steven
> > > > >
> > > > > You must run gbx2 (and not gbr2) inside the gambas2 source
> > > > > directory. gbr2 is only used for running *.gambas files.
> > > >
> > > > Did that :
> > > >
> > > > steven at ...1686...:~/trunk/main> gdb gbx2
> > > > GNU gdb 6.5
> > > > 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 "i586-suse-linux"...Using host
> > > > libthread_db library "/lib/libthread_db.so.1".
> > > >
> > > > (gdb) run
> > > > Starting program: /usr/local/bin/gbx2
> > > > Failed to read a valid object file image from memory.
> > > > ERROR: #45: File or directory does not exist
> > > >
> > > > Program exited with code 01.
> > > > (gdb) quit
> > > >
> > > > --------------> so still the same result
> > > >
> > > > Steven
> > >
> > > When I said 'gambas2', I mean the IDE source code directory. And I said
> > > *gbx2*, not *gbr2*!
> > >
> > > gbx2 is an interpreter. It interprets what it founds inside its current
> > > directory (a gambas project normally).
> > >
> > > When you type 'gambasé', you actually run 'gambas2.gambas', which is a
> > > gambas project archived in one file.
> > >
> > > 'gbr2' only runs these archived files. You must use 'gbx2' when running
> > > a non compressed gambas project directory.
> > >
> > > Regards,
> >
> > I thought I did (see above lines ...), whatever.
> > So I cd onto my development directory and this is what happens :
> >
> > steven at ...1686...:~/request_dev> gdb gbx2
> > GNU gdb 6.5
> > 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 "i586-suse-linux"...Using host
> > libthread_db library "/lib/libthread_db.so.1".
> >
> > (gdb) run
> > Starting program: /usr/local/bin/gbx2
> > Failed to read a valid object file image from memory.
> > [Thread debugging using libthread_db enabled]
> > [New Thread -1210287808 (LWP 29198)]
> > Error while reading shared library symbols:
> > Cannot find new threads: generic error
> > <<<<<<<<<<after about 30 secs wait I press Ctrl-C here
> >
> > >>>>>>>>>>>>>>>>>>>>>> Program received signal SIGINT, Interrupt.
> >
> > [Switching to Thread -1210287808 (LWP 29198)]
> > 0xb7f55410 in ?? ()
> > (gdb)
> >
> > Regards,
> > Steven
>
> Now you can type 'bt' to know where it stopped.

Did that allready, but to me the output is chinese :
(gdb) bt
#0  0xb7f2a410 in ?? ()
#1  0xbfa15de4 in ?? ()
#2  0x00000002 in ?? ()
#3  0x00000000 in ?? ()

Does not tell me anything.

Steven





More information about the User mailing list