[Gambas-bugtracker] Bug #2542: IDE crash on weyland gnome desktop

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun May 8 13:53:41 CEST 2022


http://gambaswiki.org/bugtracker/edit?object=BUG.2542&from=L21haW4-

Gianluigi GRADASCHI reported a new bug.

Summary
-------

IDE crash on weyland gnome desktop

Type             : Bug
Priority         : Medium
Gambas version   : Master
Product          : GUI components


Description
-----------

If I open the IDE with weyland and start to write code I get a segmentation error...

With the following terminal commands:

--> $ GB_GUI_PLATFORM=x11 gambas3

All is OK

--> $ gambas3

(gambas3:3217): Gtk-WARNING **: 10:02:50.365: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node headerbar, owner GtkHeaderBar)

(gambas3:3217): Gtk-WARNING **: 10:02:50.366: gtk_widget_size_allocate(): attempt to allocate widget with width -72 and height 17

(gambas3:3217): Gtk-WARNING **: 10:02:50.366: Negative content width -23 (allocation 1, extents 12x12) while allocating gadget (node label, owner GtkLabel)

** (gambas3:3217): WARNING **: 10:02:51.189: GDK is not able to create a GL context, falling back to glReadPixels (slow!): Impossibile creare un contesto GL

** (gambas3:3217): WARNING **: 10:03:00.113: GDK is not able to create a GL context, falling back to glReadPixels (slow!): Impossibile creare un contesto GL
Segmentation error (core dump creato)
-------------------------------------

With gdb:

cd ~/gambasdevel/app/src/gambas3
gbc3 -agt
aristide at aristide-VirtualBox:~$ cd ~/gambasdevel/app/src/gambas3
aristide at aristide-VirtualBox:~/gambasdevel/app/src/gambas3$ gbc3 -agt
OK
aristide at aristide-VirtualBox:~/gambasdevel/app/src/gambas3$ gdb gbx3
GNU gdb (Ubuntu 12.0.90-0ubuntu1) 12.0.90
Copyright (C) 2022 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 3777]
[Detaching after vfork from child process 3778]
[Detaching after vfork from child process 3780]
[Detaching after vfork from child process 3783]
[New Thread 0x7fffea66b640 (LWP 3784)]
[New Thread 0x7fffe9e48640 (LWP 3786)]
[New Thread 0x7fffe8e05640 (LWP 3787)]
[New Thread 0x7fffe9606640 (LWP 3788)]
[New Thread 0x7fffdbfff640 (LWP 3789)]
[Thread 0x7fffdbfff640 (LWP 3789) exited]
[Detaching after vfork from child process 3793]
[New Thread 0x7fffdbfff640 (LWP 3794)]
[Thread 0x7fffdbfff640 (LWP 3794) exited]
[New Thread 0x7fffdbfff640 (LWP 3795)]
[Thread 0x7fffdbfff640 (LWP 3795) exited]
[New Thread 0x7fffdbfff640 (LWP 3796)]
[Thread 0x7fffdbfff640 (LWP 3796) exited]
[New Thread 0x7fffdbfff640 (LWP 3797)]
[Thread 0x7fffdbfff640 (LWP 3797) exited]
[New Thread 0x7fffdbfff640 (LWP 3801)]
[New Thread 0x7fffdb753640 (LWP 3802)]
[Thread 0x7fffdbfff640 (LWP 3801) exited]
[New Thread 0x7fffdbfff640 (LWP 3803)]
[Thread 0x7fffdb753640 (LWP 3802) exited]
[New Thread 0x7fffdb753640 (LWP 3804)]
[Thread 0x7fffdbfff640 (LWP 3803) exited]
[Thread 0x7fffdb753640 (LWP 3804) exited]
[New Thread 0x7fffdb753640 (LWP 3805)]
[Thread 0x7fffdb753640 (LWP 3805) exited]
[New Thread 0x7fffdb753640 (LWP 3806)]
[New Thread 0x7fffdbfff640 (LWP 3807)]
[Thread 0x7fffdb753640 (LWP 3806) exited]
[New Thread 0x7fffdb753640 (LWP 3808)]
[Thread 0x7fffdbfff640 (LWP 3807) exited]
[New Thread 0x7fffdbfff640 (LWP 3809)]
[Thread 0x7fffdb753640 (LWP 3808) exited]
[New Thread 0x7fffdb753640 (LWP 3810)]
[Thread 0x7fffdbfff640 (LWP 3809) exited]
[Thread 0x7fffdb753640 (LWP 3810) exited]
[New Thread 0x7fffdb753640 (LWP 3811)]
[New Thread 0x7fffdbfff640 (LWP 3812)]
[Thread 0x7fffdb753640 (LWP 3811) exited]
[Thread 0x7fffdbfff640 (LWP 3812) exited]
[New Thread 0x7fffdbfff640 (LWP 3813)]
[New Thread 0x7fffdb753640 (LWP 3817)]
[New Thread 0x7fff89eff640 (LWP 3818)]
[New Thread 0x7fff896fe640 (LWP 3819)]
[Detaching after vfork from child process 3820]
[New Thread 0x7fff88efd640 (LWP 3821)]
[New Thread 0x7fff83fff640 (LWP 3822)]
[New Thread 0x7fff837fe640 (LWP 3823)]
[Thread 0x7fff83fff640 (LWP 3822) exited]
[Thread 0x7fff837fe640 (LWP 3823) exited]
[New Thread 0x7fff837fe640 (LWP 3828)]
[New Thread 0x7fff83fff640 (LWP 3829)]
[Thread 0x7fff837fe640 (LWP 3828) exited]
[New Thread 0x7fff837fe640 (LWP 3830)]
[Thread 0x7fff83fff640 (LWP 3829) exited]
[New Thread 0x7fff83fff640 (LWP 3831)]
[Thread 0x7fff837fe640 (LWP 3830) exited]
[Thread 0x7fff83fff640 (LWP 3831) exited]

(gambas3:3774): Gtk-WARNING **: 10:09:59.505: Negative content width -7 (allocation 1, extents 4x4) while allocating gadget (node headerbar, owner GtkHeaderBar)

(gambas3:3774): Gtk-WARNING **: 10:09:59.507: gtk_widget_size_allocate(): attempt to allocate widget with width -72 and height 17

(gambas3:3774): Gtk-WARNING **: 10:09:59.507: Negative content width -23 (allocation 1, extents 12x12) while allocating gadget (node label, owner GtkLabel)
[New Thread 0x7fff83fff640 (LWP 3835)]
[New Thread 0x7fff837fe640 (LWP 3836)]
[Thread 0x7fff83fff640 (LWP 3835) exited]
[New Thread 0x7fff83fff640 (LWP 3837)]
[Thread 0x7fff837fe640 (LWP 3836) exited]
[New Thread 0x7fff837fe640 (LWP 3838)]
[Thread 0x7fff83fff640 (LWP 3837) exited]
[Thread 0x7fff837fe640 (LWP 3838) exited]
[New Thread 0x7fff837fe640 (LWP 3839)]
[New Thread 0x7fff83fff640 (LWP 3840)]
[Thread 0x7fff837fe640 (LWP 3839) exited]
[New Thread 0x7fff837fe640 (LWP 3841)]
[Thread 0x7fff83fff640 (LWP 3840) exited]
[New Thread 0x7fff83fff640 (LWP 3842)]
[Thread 0x7fff837fe640 (LWP 3841) exited]
[New Thread 0x7fff837fe640 (LWP 3843)]
[Thread 0x7fff83fff640 (LWP 3842) exited]
[New Thread 0x7fff83fff640 (LWP 3844)]
[Thread 0x7fff837fe640 (LWP 3843) exited]
[New Thread 0x7fff837fe640 (LWP 3845)]
[Thread 0x7fff83fff640 (LWP 3844) exited]
[New Thread 0x7fff83fff640 (LWP 3846)]
[Thread 0x7fff837fe640 (LWP 3845) exited]
[Thread 0x7fff83fff640 (LWP 3846) exited]
[Detaching after vfork from child process 3847]
[Detaching after vfork from child process 3848]
[New Thread 0x7fff83fff640 (LWP 3849)]
[New Thread 0x7fff837fe640 (LWP 3853)]
[New Thread 0x7fff82ffd640 (LWP 3858)]
[New Thread 0x7fff826c0640 (LWP 3862)]
[Thread 0x7fff826c0640 (LWP 3862) exited]
[New Thread 0x7fff826c0640 (LWP 3863)]
[New Thread 0x7fff81ebf640 (LWP 3864)]
[Thread 0x7fff826c0640 (LWP 3863) exited]
[New Thread 0x7fff826c0640 (LWP 3865)]
[Thread 0x7fff81ebf640 (LWP 3864) exited]
[Thread 0x7fff826c0640 (LWP 3865) exited]
[Thread 0x7fff837fe640 (LWP 3853) exited]

** (gambas3:3774): WARNING **: 10:10:00.094: GDK is not able to create a GL context, falling back to glReadPixels (slow!): Impossibile creare un contesto GL
[Detaching after vfork from child process 3889]
[Detaching after fork from child process 3890]
[New Thread 0x7fff837fe640 (LWP 3891)]
[New Thread 0x7fff826c0640 (LWP 3892)]
[Thread 0x7fff837fe640 (LWP 3891) exited]
[Thread 0x7fff826c0640 (LWP 3892) exited]
[Detaching after vfork from child process 3893]
[New Thread 0x7fff826c0640 (LWP 3894)]

** (gambas3:3774): WARNING **: 10:10:10.596: GDK is not able to create a GL context, falling back to glReadPixels (slow!): Impossibile creare un contesto GL
[Thread 0x7fffe9e48640 (LWP 3786) exited]

Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault.
0x00007fffed9bf536 in ?? () from /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
(gdb) bt
#0  0x00007fffed9bf536 in  () at /lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37
(gdb) quit
A debugging session is active.

	Inferior 1 [process 3774] will be killed.

Quit anyway? (y or n) y
------------------------------

Attached valgrind.out


System information
------------------

[System]
Gambas=3.17.90 f1211b2 (master)
OperatingSystem=Linux
Kernel=5.15.0-27-generic
Architecture=x86_64
Distribution=Ubuntu 22.04 LTS
Desktop=UBUNTU
Font=Ubuntu,11
Scale=8
Theme=yaru
Language=it_IT.UTF-8
Memory=4928M

[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.7.0
DBus=libdbus-1.so.3.19.13
GDK2=libgdk-x11-2.0.so.0.2400.33
GDK3=libgdk-3.so.0.2404.29
GStreamer=libgstreamer-1.0.so.0.2001.0
GTK+2=libgtk-x11-2.0.so.0.2400.33
GTK+3=libgtk-3.so.0.2404.29
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.118.0.0
QT5=libQt5Core.so.5.15.3
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=ubuntu
DISPLAY=:0
GB_GUI=gb.gtk3
GDMSESSION=ubuntu
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=5677
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SETUP_DISPLAY=:1
GNOME_SHELL_SESSION_MODE=ubuntu
GTK_MODULES=gail:atk-bridge
HOME=<home>
IM_CONFIG_PHASE=1
INVOCATION_ID=2373362717b642a6a0cd08b3d1739112
JOURNAL_STREAM=8:22893
LANG=it_IT.UTF-8
LC_ALL=it_IT.UTF-8
LOGNAME=<user>
MANAGERPID=1331
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
PWD=<home>
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1472,unix/<hostname>:/tmp/.ICE-unix/1472
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_LAUNCHER=gnome-keyring
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
SYSTEMD_EXEC_PID=1536
TZ=:/etc/localtime
USER=<user>
USERNAME=<user>
WAYLAND_DISPLAY=wayland-0
XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.U3D4L1
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_CURRENT_DESKTOP=ubuntu:GNOME
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
XDG_MENU_PREFIX=gnome-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_CLASS=user
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=wayland
XMODIFIERS=@im=ibus
_=/usr/bin/gnome-session




More information about the Bugtracker mailing list