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

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


I am using Microsoft Windows 11 with latest updates.

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

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