[Gambas-bugtracker] Bug #1924: Segmentation error if I click on the Translate button of Gambas3
bugtracker at gambaswiki.org
bugtracker at gambaswiki.org
Fri Oct 23 19:48:33 CEST 2020
http://gambaswiki.org/bugtracker/edit?object=BUG.1924&from=L21haW4-
Gianluigi GRADASCHI reported a new bug.
Summary
-------
Segmentation error if I click on the Translate button of Gambas3
Type : Bug
Priority : Medium
Gambas version : Master
Product : GTK+3 component
Description
-----------
I attach what I get in the terminal with gdb.
See if the procedure is the right one:
gian at gian:~$ cd ~/gambasdevel/app/src/gambas3
gian at gian:~/gambasdevel/app/src/gambas3$ gbc3 -agt
OK
gian at gian:~/gambasdevel/app/src/gambas3$ gdb gbx3
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 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:
<http://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 149688]
[Detaching after vfork from child process 149690]
[Detaching after vfork from child process 149692]
[New Thread 0x7fffeb3f4700 (LWP 149694)]
[New Thread 0x7fffeabf3700 (LWP 149695)]
[New Thread 0x7fffea18d700 (LWP 149699)]
[New Thread 0x7fffe998c700 (LWP 149700)]
[Detaching after vfork from child process 149701]
[New Thread 0x7fffe90d8700 (LWP 149702)]
[New Thread 0x7fffdbdff700 (LWP 149703)]
[New Thread 0x7fffdb5fe700 (LWP 149704)]
[New Thread 0x7fffdadfd700 (LWP 149705)]
gb.gtk3: warning: class WebKitWebView was not patched
[New Thread 0x7fffda1fc700 (LWP 149709)]
gb.gtk3: warning: class WebKitWebView was not patched
[New Thread 0x7fffd974a700 (LWP 149713)]
[Thread 0x7fffea18d700 (LWP 149699) exited]
[Detaching after fork from child process 149714]
[Detaching after fork from child process 149716]
[Detaching after fork from child process 149731]
[Detaching after fork from child process 149733]
[Detaching after fork from child process 149735]
[Detaching after fork from child process 149750]
[Detaching after fork from child process 149752]
[Detaching after fork from child process 149754]
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
setDesign: btnControl
gb.gtk3: warning: class WebKitWebView was not patched
[New Thread 0x7fffea18d700 (LWP 149769)]
[Detaching after fork from child process 149770]
[Detaching after fork from child process 149771]
[Thread 0x7fffea18d700 (LWP 149769) exited]
[Detaching after fork from child process 149773]
[Detaching after fork from child process 149775]
[Detaching after fork from child process 149777]
Thread 1 "gbx3" received signal SIGSEGV, Segmentation fault.
0x00007ffff57ccb68 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
(gdb) bt
#0 0x00007ffff57ccb68 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#1 0x00007ffff57d8b9e in g_signal_emit_valist ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#2 0x00007ffff57d90d3 in g_signal_emit ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#3 0x00007ffff57bdbad in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#4 0x00007ffff57c08ab in g_object_thaw_notify ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5 0x00007ffff5bceece in gtk_adjustment_configure ()
at /lib/x86_64-linux-gnu/libgtk-3.so.0
#6 0x00007ffff6bbef09 in gSlider::update() (this=0x555558300380)
at gslider.cpp:63
#7 0x00007ffff6bbf2bd in gSlider::setMin(int) (this=0x555558300380,
this at entry=<error reading variable: value has been optimized out>, vl=<error reading variable: value has been optimized out>) at gslider.cpp:231
#8 0x00005555555b9801 in EXEC_call_native
(exec=<optimized out>, object=<optimized out>, type=type at entry=0, param=<optimized out>) at gbx_exec.c:1162
#9 0x00005555555bd5ee in EXEC_pop_unknown () at gbx_exec_pop.c:243
#10 0x00005555555b4ea8 in EXEC_loop () at gbx_exec_loop.c:677
#11 0x00005555555b901d in EXEC_function_loop () at gbx_exec.c:905
#12 0x00005555555b97a6 in EXEC_function_real () at gbx_exec.c:892
#13 0x00005555555babf9 in EXEC_public_desc
--Type <RET> for more, q to quit, c to continue without paging--
(class=class at entry=0x5555556d1e18, object=object at entry=0x555556690898, desc=desc at entry=0x55555575b978, nparam=nparam at entry=0) at gbx_exec.c:1585
#14 0x00005555555919e0 in raise_event
(observer=observer at entry=0x555556690898, object=object at entry=0x55555832b1c8, func_id=13, func_id at entry=14, nparam=nparam at entry=0) at gbx_api.c:807
#15 0x0000555555593bd2 in GB_Raise
(object=0x55555832b1c8, event_id=0, nparam=0) at gbx_api.c:961
#16 0x00005555555b3b54 in EXEC_loop () at gbx_exec_loop.c:1172
#17 0x00005555555b901d in EXEC_function_loop () at gbx_exec.c:905
#18 0x00005555555b97a6 in EXEC_function_real () at gbx_exec.c:892
#19 0x00005555555bd453 in EXEC_pop_unknown () at gbx_exec_pop.c:257
#20 0x00005555555b4ea8 in EXEC_loop () at gbx_exec_loop.c:677
#21 0x00005555555b901d in EXEC_function_loop () at gbx_exec.c:905
#22 0x00005555555b97a6 in EXEC_function_real () at gbx_exec.c:892
#23 0x00005555555babf9 in EXEC_public_desc
(class=class at entry=0x555556134088, object=object at entry=0x555557574528, desc=desc at entry=0x5555582d1f88, nparam=nparam at entry=0) at gbx_exec.c:1585
#24 0x00005555555919e0 in raise_event
(observer=observer at entry=0x555557574528, object=object at entry=0x555557574528, func_id=158, func_id at entry=159, nparam=nparam at entry=0) at gbx_api.c:807
#25 0x0000555555593bd2 in GB_Raise
(object=0x555557574528, event_id=21, nparam=0) at gbx_api.c:961
#26 0x00007ffff6bcd0bf in gMainWindow::emitOpen() (this=this at entry=
--Type <RET> for more, q to quit, c to continue without paging--
0x5555582cd5f0) at gmainwindow.cpp:680
#27 0x00007ffff6bcd906 in gMainWindow::emitOpen() (this=0x5555582cd5f0)
at gmainwindow.cpp:753
#28 gMainWindow::setVisible(bool) (vl=<optimized out>, this=0x5555582cd5f0)
at gmainwindow.cpp:753
#29 gMainWindow::setVisible(bool) (this=0x5555582cd5f0, vl=<optimized out>)
at gmainwindow.cpp:735
#30 0x00007ffff6be66b3 in gControl::show() (this=0x5555582cd5f0)
at gcontrol.h:182
#31 gApplication::enterLoop(void*, bool, _GtkWindow*)
(owner=owner at entry=0x5555582cd5f0, showIt=showIt at entry=true, modal=modal at entry=0x0) at gapplication.cpp:1254
#32 0x00007ffff6bcce12 in gMainWindow::showModal() (this=0x5555582cd5f0)
at gmainwindow.cpp:940
#33 0x00007ffff6be1aff in CWINDOW_show_modal(void*, void*)
(_param=<optimized out>, _object=0x555557574528) at CWindow.cpp:382
#34 CWINDOW_show_modal(void*, void*)
(_object=0x555557574528, _param=<optimized out>) at CWindow.cpp:375
#35 0x00005555555b98b9 in EXEC_native_quick () at gbx_exec.c:1175
#36 0x00005555555baa1b in EXEC_native_check (defined=<optimized out>)
at gbx_exec.c:1125
#37 0x00005555555b39fe in EXEC_loop () at gbx_exec_loop.c:1165
#38 0x00005555555b901d in EXEC_function_loop () at gbx_exec.c:905
--Type <RET> for more, q to quit, c to continue without paging--
#39 0x00005555555b97a6 in EXEC_function_real () at gbx_exec.c:892
#40 0x00005555555babf9 in EXEC_public_desc
(class=<optimized out>, object=<optimized out>, desc=<optimized out>, nparam=<optimized out>) at gbx_exec.c:1585
#41 0x00005555555946e2 in GB_Call
(_func=<optimized out>, nparam=<optimized out>, release=1)
at gbx_api.c:1147
#42 0x00007ffff6bdc99f in gb_raise_button_Click(gControl*)
(sender=<optimized out>) at CButton.cpp:53
#43 0x00007ffff57b9802 in g_closure_invoke ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#44 0x00007ffff57cd814 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#45 0x00007ffff57d8b9e in g_signal_emit_valist ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#46 0x00007ffff57d90d3 in g_signal_emit ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#47 0x00007ffff5bf42ae in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#48 0x00007ffff5bf4318 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#49 0x00007ffff57b9802 in g_closure_invoke ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#50 0x00007ffff57cd962 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#51 0x00007ffff57d8b9e in g_signal_emit_valist ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#52 0x00007ffff57d90d3 in g_signal_emit ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#53 0x00007ffff5bf2754 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#54 0x00007ffff5ea3ae1 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#55 0x00007ffff57b9a56 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#56 0x00007ffff57d8b28 in g_signal_emit_valist ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#57 0x00007ffff57d90d3 in g_signal_emit ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#58 0x00007ffff5cbafcc in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#59 0x00007ffff57bcc56 in g_cclosure_marshal_VOID__BOXEDv ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#60 0x00007ffff57b9a56 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#61 0x00007ffff57d8b28 in g_signal_emit_valist ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#62 0x00007ffff57d90d3 in g_signal_emit ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#63 0x00007ffff5cb8012 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#64 0x00007ffff5cb965b in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#65 0x00007ffff5cbc646 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#66 0x00007ffff5c83bb0 in gtk_event_controller_handle_event ()
at /lib/x86_64-linux-gnu/libgtk-3.so.0
#67 0x00007ffff5e4616d in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
--Type <RET> for more, q to quit, c to continue without paging--
#68 0x00007ffff5e9d5ef in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#69 0x00007ffff57b9a56 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#70 0x00007ffff57d7dd1 in g_signal_emit_valist ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#71 0x00007ffff57d90d3 in g_signal_emit ()
at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#72 0x00007ffff5e47c23 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#73 0x00007ffff5d03128 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#74 0x00007ffff5d053db in gtk_main_do_event ()
at /lib/x86_64-linux-gnu/libgtk-3.so.0
#75 0x00007ffff6be6c27 in gambas_handle_event(GdkEvent*) (event=0x5555574f0960)
at gapplication.cpp:898
#76 0x00007ffff59edf79 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#77 0x00007ffff5a21106 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#78 0x00007ffff56cdfbd in g_main_context_dispatch ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#79 0x00007ffff56ce240 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#80 0x00007ffff56ce2e3 in g_main_context_iteration ()
at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#81 0x00007ffff5d04475 in gtk_main_iteration_do ()
at /lib/x86_64-linux-gnu/libgtk-3.so.0
#82 0x00007ffff6be3f62 in MAIN_do_iteration(bool)
(do_not_block=do_not_block at entry=false) at main.cpp:637
--Type <RET> for more, q to quit, c to continue without paging--
#83 0x00007ffff6be3fbe in hook_loop() () at main.cpp:546
#84 0x00005555555741d2 in main (argc=<optimized out>, argv=<optimized out>)
at gbx.c:481
(gdb) q
A debugging session is active.
Inferior 1 [process 149684] will be killed.
Quit anyway? (y or n) y
gian at gian:~/gambasdevel/app/src/gambas3$
System information
------------------
[System]
Gambas=3.15.90 abf6b9f (master)
OperatingSystem=Linux
Kernel=5.4.0-52-generic
Architecture=x86_64
Distribution=Ubuntu 20.04.1 LTS
Desktop=UBUNTU:GNOME
Theme=yaru
Language=it_IT.UTF-8
Memory=15941M
[Libraries]
Cairo=libcairo.so.2.11600.0
Curl=libcurl.so.4.6.0
DBus=libdbus-1.so.3.19.11
GDK2=libgdk-x11-2.0.so.0.2400.32
GDK3=libgdk-3.so.0.2404.16
GStreamer=libgstreamer-1.0.so.0.1602.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2404.16
OpenGL=libGL.so.1.7.0
Poppler=libpoppler.so.97.0.0
QT5=libQt5Core.so.5.12.8
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=/home/<hostname>/.local/share/applications/gambas3.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=150614
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GNOME_SHELL_SESSION_MODE=ubuntu
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_MODULES=gail:atk-bridge
HOME=/home/<hostname>
IM_CONFIG_PHASE=1
INVOCATION_ID=365d1af9ad6e473bb7b7e54a3feee784
JOURNAL_STREAM=9:34026
LANG=it_IT.UTF-8
LANGUAGE=it_IT.UTF-8
LC_ADDRESS=it_IT.UTF-8
LC_ALL=it_IT.UTF-8
LC_IDENTIFICATION=it_IT.UTF-8
LC_MEASUREMENT=it_IT.UTF-8
LC_MONETARY=it_IT.UTF-8
LC_NAME=it_IT.UTF-8
LC_NUMERIC=it_IT.UTF-8
LC_PAPER=it_IT.UTF-8
LC_TELEPHONE=it_IT.UTF-8
LC_TIME=it_IT.UTF-8
LOGNAME=<hostname>
MANAGERPID=1152
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/<hostname>
QT_ACCESSIBILITY=1
QT_IM_MODULE=ibus
QT_LOGGING_RULES=*.debug=false
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/1477,unix/<hostname>:/tmp/.ICE-unix/1477
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=1440
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<hostname>
USERNAME=<hostname>
WINDOWPATH=2
XAUTHORITY=/run/user/1000/gdm/Xauthority
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=x11
XMODIFIERS=@im=ibus
_=/usr/bin/dbus-update-activation-environment
More information about the Bugtracker
mailing list