[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segmentation fault with two webview in a form in WSL2


The gdb output is

farhana@Vivobook:~/ss$ gdb gbx3
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1
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...
(No debugging symbols found in 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".
[New Thread 0x7fffe1c91640 (LWP 3145)]
QStandardPaths: wrong permissions on runtime directory /run/user/1000/,
0755 instead of 0700
[New Thread 0x7fffcc5ff640 (LWP 3153)]
[New Thread 0x7fffcbdfe640 (LWP 3154)]
[New Thread 0x7fffcb5fd640 (LWP 3155)]
[New Thread 0x7fffcadfc640 (LWP 3156)]
[New Thread 0x7fffca1ef640 (LWP 3157)]
[New Thread 0x7fffc97f2640 (LWP 3158)]
[Thread 0x7fffc97f2640 (LWP 3158) exited]
[New Thread 0x7fffc97f2640 (LWP 3159)]
[Detaching after fork from child process 3160]
[Detaching after fork from child process 3161]
[Detaching after fork from child process 3162]
[New Thread 0x7fffc8d7e640 (LWP 3166)]
[New Thread 0x7fffbbfff640 (LWP 3167)]
[New Thread 0x7fffbb7fe640 (LWP 3168)]
[New Thread 0x7fffbaffd640 (LWP 3169)]
[New Thread 0x7fffba7fc640 (LWP 3170)]
[New Thread 0x7fffb9ffb640 (LWP 3171)]
[New Thread 0x7fffb97fa640 (LWP 3172)]
[New Thread 0x7fffb8ff9640 (LWP 3173)]
[New Thread 0x7fffa3fff640 (LWP 3174)]
[New Thread 0x7fffa37fe640 (LWP 3175)]
[New Thread 0x7fffa2ffd640 (LWP 3176)]
[New Thread 0x7fffa27fc640 (LWP 3177)]
[New Thread 0x7fffa1ffb640 (LWP 3178)]
[New Thread 0x7fffa17fa640 (LWP 3179)]
[New Thread 0x7fffa0ff9640 (LWP 3180)]
[New Thread 0x7fff7ffff640 (LWP 3181)]
[New Thread 0x7fff7f7fe640 (LWP 3195)]
[New Thread 0x7fff7effd640 (LWP 3196)]
[Thread 0x7fff7f7fe640 (LWP 3195) exited]
[New Thread 0x7fff7f7fe640 (LWP 3197)]
[New Thread 0x7fff7e7fc640 (LWP 3198)]
[Thread 0x7fff7e7fc640 (LWP 3198) exited]
[New Thread 0x7fff7e7fc640 (LWP 3199)]
[New Thread 0x7fff7dffb640 (LWP 3213)]
[New Thread 0x7fff7d7fa640 (LWP 3214)]
[New Thread 0x7fff7cff9640 (LWP 3215)]
[New Thread 0x7fff5bc07640 (LWP 3219)]
[New Thread 0x7fff5b306640 (LWP 3220)]
[New Thread 0x7fff5ab05640 (LWP 3221)]
[New Thread 0x7fff59dec640 (LWP 3222)]
[New Thread 0x7fff590b2640 (LWP 3223)]
[New Thread 0x7fff3ffff640 (LWP 3224)]

Thread 20 "Chrome_InProcGp" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa2ffd640 (LWP 3176)]
0x00007fffe0eadb4c in ?? () from /usr/lib/wsl/lib/libd3d12core.so
(gdb) bt
#0  0x00007fffe0eadb4c in ?? () from /usr/lib/wsl/lib/libd3d12core.so
#1  0x00007fffe0eadeb5 in ?? () from /usr/lib/wsl/lib/libd3d12core.so
#2  0x00007fffe0eae1df in ?? () from /usr/lib/wsl/lib/libd3d12core.so
#3  0x00007fffdaaf803a in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fffdab22383 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fffdaaded74 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#6  0x00007fffda591169 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#7  0x00007fffda08e217 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#8  0x00007fffda1c37c2 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#9  0x00007fffda0a521b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#10 0x00007fffd9fe0fd0 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#11 0x00007fffd9fe4a32 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#12 0x00007fffe140a993 in ?? () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#13 0x00007ffff4aec492 in ?? () from /lib/x86_64-linux-gnu/libGLX.so.0
#14 0x00007ffff4af31b0 in ?? () from /lib/x86_64-linux-gnu/libGLX.so.0
#15 0x00007fffedc40c2a in ?? () from
/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#16 0x0000000000000000 in ?? ()
(gdb)

On Sat, Jun 15, 2024 at 10:59 PM Safiur Rahman <isafiur@xxxxxxxxx> wrote:

> Hi
>
> I have a simple project with two WebView in a form inside Microsoft
> Windows WSL2 with Ubuntu 22.04 and gambas 3.19.2 installed through
> ppa:gambas-team/gambas3.
> The components used are gb.qt5 and gb.qt5.webview
>
> Private hForm As WebView
> Private hForm1 As WebView
>
> Public Sub Form_Open()
>
>   hForm = New WebView(Panel1)
>   hForm1 = New WebView(Panel2)
>
> End
>
> I get error "Segmentation Fault". This error is not produced when I use
> Ubuntu 22.04 OS
>  This error is not displayed when I use one webview in WSL2
>
> [System]
> Gambas=3.19.2
> OperatingSystem=Linux
> Distribution=Ubuntu 22.04.4 LTS (Jammy Jellyfish)
> Kernel=5.15.153.1-microsoft-standard-WSL2
> Architecture=x86_64
> Cores=16
> Memory=3831M
> Language=C.UTF-8
> Platform=wayland
> Desktop=UNKNOWN
> DesktopResolution=96
> DesktopScale=8
> WidgetTheme=adwaita
> Font=Cantarell,11
> [Programs]
> dpkg=Debian 'dpkg' package management program version 1.21.1 (amd64).
> gcc=gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
> git=git version 2.34.1
> msgmerge=msgmerge (GNU gettext-tools) 0.21
> rpmbuild=RPM version 4.17.0
> [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.2003.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
> RSvg=librsvg-2.so.2.48.0
> SDL=libSDL2-2.0.so.0.18.2
> SQLite 3=libsqlite3.so.0.8.6
> [Environment]
> DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
> DISPLAY=:0
> GB_GUI=gb.gtk3
> HOME=<home>
> HOSTTYPE=x86_64
> LANG=C.UTF-8
> LC_ALL=C.UTF-8
> LESSCLOSE=/usr/bin/lesspipe %s %s
> LESSOPEN=| /usr/bin/lesspipe %s
> LOGNAME=<user>
>
> LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
> NAME=<hostname>
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0/:/mnt/c/Windows/System32/OpenSSH/:/mnt/c/Program
> Files/Microsoft SQL Server/150/Tools/Binn/:/mnt/c/Program Files/Microsoft
> SQL Server/Client SDK/ODBC/170/Tools/Binn/:/mnt/c/Program
> Files/dotnet/:/mnt/c/Users/Asus/AppData/Local/Microsoft/WindowsApps:/mnt/c/Users/Asus/.dotnet/tools:/snap/bin
> PULSE_SERVER=unix:/mnt/wslg/PulseServer
> PWD=<home>
> QT_LOGGING_RULES=*.debug=false
> SHELL=/bin/bash
> SHLVL=1
> TERM=xterm-256color
> TZ=:/etc/localtime
> USER=<user>
> WAYLAND_DISPLAY=wayland-0
> WSL2_GUI_APPS_ENABLED=1
> WSLENV=
> WSL_DISTRO_NAME=Ubuntu
> WSL_INTEROP=/run/WSL/359_interop
> XDG_DATA_DIRS=/usr/local/share:/usr/share:/var/lib/snapd/desktop
> XDG_RUNTIME_DIR=/run/user/1000/
> _=/usr/bin/gambas3
>
> --
> Regards
> Safiur Rahman
>


-- 
Regards
Safiur Rahman

References:
Segmentation fault with two webview in a form in WSL2Safiur Rahman <isafiur@xxxxxxxxx>