[Gambas-user] something's broken (do not know what)

Bruce Steers bsteers4 at gmail.com
Tue Jul 13 15:57:18 CEST 2021


On Tue, 13 Jul 2021 at 10:24, Benoît Minisini <g4mba5 at gmail.com> wrote:

> Le 13/07/2021 à 10:49, Bruce Steers a écrit :
> >
> >
> > On Tue, 13 Jul 2021 at 09:35, Benoît Minisini <g4mba5 at gmail.com
> > <mailto:g4mba5 at gmail.com>> wrote:
> >
> >     Le 13/07/2021 à 10:30, Bruce Steers a écrit :
> >      > The application loads fine.
> >      > But when selecting a file to open (any file) it just hangs while
> >     trying
> >      > to load it.
> >      >
> >      > My ScriptEd editor in the above link.
> >      >
> >      > I got no error messages to try to track it down.
> >      >
> >      > Like I say it was still working with qt and only recently stopped
> >     with gtk.
> >      >
> >      > Thanks Ben
> >      >
> >      > Bruce's
> >      >
> >
> >     I have no hang at all.
> >
> >
> > darn it !!
> >
> > it does here :(
> > i just reverted the revert and it's locking up again.
> > have tried changing themes / window manager
> >
> > BruceS
> >
>
> In that commit, the only thing that can hang is the automatic focus on
> window opening. Try to check that with 'gdb'.
>
> $ cd /myproject/directory
> $ GB_GUI=gb.gtk3 gdb gbx3
> ...
> (gdb) run
> ...
> ^C
> (gdb) bt
>

Right this bug fixed on LinuxMint but on Debian11 i'm getting it and i
cannot fix it.
i used your gdb command and got this text...

I hope it means more to you than it does to me.

bonus at debian:/mnt/SSDiskspace/git/scripted-oldgambas$ GB_GUI=gb.gtk3 gdb
gbx3
GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gbx3...
(gdb) run
Starting program: /usr/bin/gbx3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after vfork from child process 412840]
[New Thread 0x7ffff159d700 (LWP 412842)]
[New Thread 0x7ffff0d9c700 (LWP 412843)]
[Detaching after vfork from child process 412845]
[Detaching after vfork from child process 412848]
[Detaching after vfork from child process 412849]
[Detaching after vfork from child process 412850]
[New Thread 0x7fffeafff700 (LWP 412851)]
[New Thread 0x7fffea7fe700 (LWP 412852)]
[Thread 0x7fffea7fe700 (LWP 412852) exited]
[New Thread 0x7fffea7fe700 (LWP 412854)]
[New Thread 0x7fffebeff700 (LWP 412855)]
[New Thread 0x7fffe9ffd700 (LWP 412856)]
[Thread 0x7fffebeff700 (LWP 412855) exited]
[Thread 0x7fffea7fe700 (LWP 412854) exited]
[Detaching after fork from child process 412859]
^C
Thread 1 "gbx3" received signal SIGINT, Interrupt.
0x00007ffff62b82e0 in gtk_widget_get_type () from
/lib/x86_64-linux-gnu/libgtk-3.so.0
(gdb) bt
#0  0x00007ffff62b82e0 in gtk_widget_get_type () at
/lib/x86_64-linux-gnu/libgtk-3.so.0
#1  0x00007ffff62ba60e in gtk_widget_get_can_focus () at
/lib/x86_64-linux-gnu/libgtk-3.so.0
#2  0x00007ffff7120be0 in gControl::canFocus() const (this=<optimized out>)
at gcontrol.cpp:1283
#3  0x00007ffff713c93f in gMainWindow::setVisible(bool)
(this=0x555555963d80, vl=<optimized out>)
    at gmainwindow.cpp:913
#4  0x00007ffff713d4fd in gControl::show() (this=0x555555963d80) at
gcontrol.h:86
#5  gMainWindow::showActivate() (this=0x555555963d80) at
gmainwindow.cpp:1123
#6  0x00005555555b9905 in EXEC_native_quick () at gbx_exec.c:1175
#7  0x00005555555baa4b in EXEC_native_check (defined=<optimized out>) at
gbx_exec.c:1125
#8  0x00005555555b3caa in EXEC_loop () at gbx_exec_loop.c:1172
#9  0x00005555555b90ad in EXEC_function_loop () at gbx_exec.c:905
#10 0x00005555555b9816 in EXEC_function_real () at gbx_exec.c:892
#11 0x00005555555bac11 in EXEC_public_desc
    (class=class at entry=0x55555587a0e8, object=object at entry=0x555555a907f8,
desc=desc at entry=0x555555895158, nparam=nparam at entry=0) at gbx_exec.c:1585
#12 0x00005555555916c7 in raise_event
--Type <RET> for more, q to quit, c to continue without paging--q

Cheers
BruceS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210713/942c2694/attachment.htm>


More information about the User mailing list