Re: [Gambas-user] Gambas freezes with Qt apps

2009-04-10 Thread Benoît Minisini
 Here is the output of the gdb program.

Alas it is not very useful.

Can you run the program that freeze in the console with the strace command, 
and send me the output?

$ cd /path/to/my/project
$ strace gbx2  strace.out 21

Thanks in advance.

-- 
Benoît

--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas freezes with Qt apps

2009-04-06 Thread Leonardo Miliani
Benoît Minisini ha scritto:

 kbuildsycoca is a KDE program, so either you have gb.qt.kde selected in your 
 project, or maybe you are using a specific Qt theme that depends on KDE.
 
 Do you know what Qt theme is used by your freezing applications on your 
 Ubuntu 
 system? Use the qtconfig program for that, or look for the Style= entry 
 in 
 the ~/.qt/qtrc file.

Plastik theme.

 
 You can help me too by using 'gdb' on the frozen process. Find the PID of the 
 frozen process, and run 'gdb gbx2 PID'. gdb will stop and debug it. Then 
 you 
 can use the 'bt' command to get the stack backtrace and send me the result. 
 Note that Gambas must have been compiled with debugging information enabled.
 
 Regards,
 

I'll try this procedure. But freeze maybe is not the correct term. The
IDE still runs quite and fine. Simply, the applications seems not to
start, waiting for some events that don't happen...
In fact, if I press the Stop button, the IDE terminates the program
without error messages.


-- 
Ciao.
Leo.

Web: www.leonardomiliani.com
E-mail: leona...@leonardomiliani.com
Scegli software opensource - Choose opensource software

Co-fondatore di Gambas-it.org
Il sito di riferimento della comunità italiana degli utenti di Gambas
www.gambas-it.org

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Gambas freezes with Qt apps

2009-04-06 Thread Leonardo Miliani

Here is the output of the gdb program.
-- 
Ciao.
Leo.

Web: www.leonardomiliani.com
E-mail: leona...@leonardomiliani.com
Scegli software opensource - Choose opensource software

Co-fondatore di Gambas-it.org
Il sito di riferimento della comunità italiana degli utenti di Gambas
www.gambas-it.org
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and 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 i486-linux-gnu...
(no debugging symbols found)
Attaching to program: /usr/bin/gbx2, process 7013
Reading symbols from /usr/lib/libqt-mt.so.3...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libqt-mt.so.3
Reading symbols from /lib/tls/i686/cmov/libm.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /lib/tls/i686/cmov/libm.so.6
Reading symbols from /lib/tls/i686/cmov/libdl.so.2...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/i686/cmov/libdl.so.2
Reading symbols from /lib/tls/i686/cmov/libpthread.so.0...(no debugging symbols 
found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb72ca6c0 (LWP 7013)]
Loaded symbols for /lib/tls/i686/cmov/libpthread.so.0
Reading symbols from /usr/lib/libffi.so.5...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libffi.so.5
Reading symbols from /lib/tls/i686/cmov/libc.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /lib/tls/i686/cmov/libc.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libaudio.so.2...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libaudio.so.2
Reading symbols from /usr/lib/libXt.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXt.so.6
Reading symbols from /usr/lib/libjpeg.so.62...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libpng12.so.0...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libXi.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXi.so.6
Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libXrandr.so.2...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXcursor.so.1...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXinerama.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXinerama.so.1
Reading symbols from /usr/lib/libXft.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXft.so.2
Reading symbols from /usr/lib/libfreetype.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libX11.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libICE.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libgcc_s.so.1...
(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libexpat.so.1...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/libXau.so.6...
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libxcb-xlib.so.0...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libxcb-xlib.so.0
Reading symbols from /usr/lib/libxcb.so.1...
---Type return to continue, or q return to quit---
(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols 
found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...
(no 

[Gambas-user] Gambas freezes with Qt apps

2009-04-05 Thread Leonardo Miliani
Starting from 2.11 Gambas usually manifests some freezes when Qt
applications are run on some systems. With release 2.12 things seem not
to be changed: freezes still continue to randomly appear.
For freeze I mean that even I click on the Run button from the IDE
or when trying to start the application from console, the program never
start and no message is displaied. If I run it from the IDE, I have to
click on the Stop button and click on Run again.

Regarding this problem, I've noticed a little thing...
Sometimes a Qt application that starts from the IDE writes in the
console the following message:
kbuildsycoca running
Sometimes it doesn't.

If the application displays that message it is sure that the first time
that I try to run it, it will randomly freeze during start. Next time it
will run fine. I don't know which KDE component displays that message:
maybe finding it will help to resolve the freezing problems.

I use Ubuntu 8.10 with Gnome but I know about other people with
different systems that have had the same problem (i.e. Slackware).

I hope this will help developers to fix the bug.

-- 
Ciao.
Leo.

Web: www.leonardomiliani.com
E-mail: leona...@leonardomiliani.com
Scegli software opensource - Choose opensource software

Co-fondatore di Gambas-it.org
Il sito di riferimento della comunità italiana degli utenti di Gambas
www.gambas-it.org

--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user