[Gambas-user] Division by zero in TextEditor

Gianluigi bagonergi at gmail.com
Mon Jul 1 14:16:28 CEST 2019


Il giorno lun 1 lug 2019 alle ore 10:05 Benoît Minisini <g4mba5 at gmail.com>
ha scritto:

> Le 01/07/2019 à 09:53, Gianluigi a écrit :
> >
> >
> > Il giorno lun 1 lug 2019 alle ore 09:27 Benoît Minisini
> > <g4mba5 at gmail.com <mailto:g4mba5 at gmail.com>> ha scritto:
> >
> >     Le 01/07/2019 à 01:57, gen braga a écrit :
> >      > I also get a segmentation error...
> >
> >     Please get a backtrace of the crash as explained in
> >     http://gambaswiki.org/wiki/doc/report#t5
> >
> >     Regards,
> >
> >     --
> >     Benoît Minisini
> >
> >
> > There is something I don't understand, here we talk about Gambas
> > installations from PPA.
> > To my knowledge there is no ~/gambas3-xxx/app/src/gambas3 directory.
> > If you compile Gambas3 Master or Stabile there are no segmentation
> problems.
> >
> > Regards
> > Gianluigi
> >
>
> You can run the IDE that way:
>
> $ cd /usr/bin
> $ gdb gbr3
> ...
> (gdb) run gambas3
> ...
>
> --
> Benoît Minisini
>
>
Hi Benoit,
I tried repeatedly (many times) to get the segmentation error starting from
(gdb), only once in the attempt to start it from the menu (other times it
doesn't start but in silent mode) I got an internal error from xubuntu.
I made some snapshots if you want I can send them to you, I tried, without
success, to see if there is any log file...
This is what I always get (approximately) from the terminal: [0]
And these are the System information: [1]

Regards
Gianluigi
[0]
cd /usr/bin
gdb gbr3
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 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 "i686-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 gbr3...(no debugging symbols found)...done.
(gdb) run gambas3
Starting program: /usr/bin/gbr3 gambas3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
warning: Error reading shared library list entry at 0xfffffbd0
gb.gui.qt: warning: 'gb.qt5' component not found, using 'gb.qt4' instead
warning: Error reading shared library list entry at 0xffffffe0
warning: Error reading shared library list entry at 0x5020
warning: Error reading shared library list entry at 0x53f0
warning: Error reading shared library list entry at 0xffffb470
warning: Error reading shared library list entry at 0xffffbd90
warning: Error reading shared library list entry at 0xffffec20
warning: Error reading shared library list entry at 0xfffff690
warning: Error reading shared library list entry at 0x540
warning: Error reading shared library list entry at 0x26f0
warning: Error reading shared library list entry at 0x3c50
warning: Error reading shared library list entry at 0x35c0
warning: Error reading shared library list entry at 0x67b0
warning: Error reading shared library list entry at 0x6a50
warning: Error reading shared library list entry at 0xffffefe0
warning: Error reading shared library list entry at 0x7800
warning: Error reading shared library list entry at 0x7e30
warning: Error reading shared library list entry at 0x7600
warning: Error reading shared library list entry at 0x7a30
warning: Error reading shared library list entry at 0x7da0
warning: Error reading shared library list entry at 0xffff8180
warning: Error reading shared library list entry at 0xffffd280
warning: Error reading shared library list entry at 0x3390
warning: Error reading shared library list entry at 0x6bf0
warning: Error reading shared library list entry at 0x4cb0
warning: Error reading shared library list entry at 0x53d0
warning: Error reading shared library list entry at 0x5800
warning: Error reading shared library list entry at 0xffffe250
warning: Error reading shared library list entry at 0xffffe590
warning: Error reading shared library list entry at 0x2b00
warning: Error reading shared library list entry at 0x2fd0
warning: Error reading shared library list entry at 0x3c80
warning: Error reading shared library list entry at 0x4160
warning: Error reading shared library list entry at 0x4640
[New Thread 0xae73db40 (LWP 4745)]
warning: Error reading shared library list entry at 0x15d0
[New Thread 0xadcc9b40 (LWP 4746)]
[New Thread 0xad2ffb40 (LWP 4747)]
warning: Error reading shared library list entry at 0x3880
warning: Error reading shared library list entry at 0x4ac0
warning: Error reading shared library list entry at 0x3460
warning: Error reading shared library list entry at 0x4100
[New Thread 0xab94db40 (LWP 4751)]
[New Thread 0xaab3fb40 (LWP 4752)]
warning: Error reading shared library list entry at 0x3b20
warning: Error reading shared library list entry at 0xffff8aa0
warning: Error reading shared library list entry at 0x6a20
warning: Error reading shared library list entry at 0xffffcfd0
warning: Error reading shared library list entry at 0x29e0
warning: Error reading shared library list entry at 0xffff9180
[New Thread 0xa9864b40 (LWP 4758)]
[New Thread 0xa9063b40 (LWP 4759)]
warning: Error reading shared library list entry at 0xffffdcc0
warning: Error reading shared library list entry at 0xffffe020
[Thread 0xaab3fb40 (LWP 4752) exited]
[Thread 0xa9063b40 (LWP 4759) exited]
[Thread 0xa9864b40 (LWP 4758) exited]
[Thread 0xab94db40 (LWP 4751) exited]
[Thread 0xad2ffb40 (LWP 4747) exited]
[Thread 0xadcc9b40 (LWP 4746) exited]
[Thread 0xae73db40 (LWP 4745) exited]
[Inferior 1 (process 4731) exited normally]
(gdb) bt
No stack.
(gdb) q
-----------------------------------------------------------------------------------------
[1]
[System]
Gambas=3.13
OperatingSystem=Linux
Kernel=4.18.0-25-generic
Architecture=x86
Distribution=Ubuntu 18.04.2 LTS
Desktop=XFCE
Theme=Gtk
Language=it_IT.UTF-8
Memory=2951M

[Libraries]
Cairo=libcairo.so.2.11510.0
Curl=libcurl.so.4.5.0
DBus=libdbus-1.so.3.19.4
GStreamer=libgstreamer-1.0.so.0.1404.0
GTK+2=libgtk-x11-2.0.so.0.2400.32
GTK+3=libgtk-3.so.0.2200.30
OpenGL=libGL.so.1.0.0
Poppler=libpoppler.so.73.0.0
QT4=libQtCore.so.4.8.7
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_BACKEND=x11
COLORTERM=truecolor
COLUMNS=80
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=xubuntu
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=xubuntu
GDM_LANG=it
GLADE_CATALOG_PATH=:
GLADE_MODULE_PATH=:
GLADE_PIXMAP_PATH=:
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
GTK_OVERLAY_SCROLLING=0
HOME=/home/<hostname>
LANG=it_IT.UTF-8
LANGUAGE=it_IT.UTF-8
LESSCLOSE=/usr/bin/lesspipe %s %s
LESSOPEN=| /usr/bin/lesspipe %s
LINES=24
LOGNAME=<hostname>
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:*.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:*.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:
OLDPWD=/home/<hostname>
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/usr/bin
QT_ACCESSIBILITY=1
QT_QPA_PLATFORMTHEME=gtk2
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/831,unix/<hostname>:/tmp/.ICE-unix/831
SHELL=/bin/bash
SHLVL=1
SSH_AGENT_PID=813
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TERM=xterm-256color
TZ=:/etc/localtime
USER=<hostname>
VTE_VERSION=5202
WINDOWID=58720259
XAUTHORITY=/home/<hostname>/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-xubuntu:/etc/xdg:/etc/xdg
XDG_CURRENT_DESKTOP=XFCE
XDG_DATA_DIRS=/usr/share/xubuntu:/usr/share/xfce4:/usr/local/share:/usr/share:/var/lib/snapd/desktop:/usr/share
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/<hostname>
XDG_MENU_PREFIX=xfce-
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=xubuntu
XDG_SESSION_ID=c1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
_=/usr/bin/gdb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190701/91ae3f0b/attachment-0001.html>


More information about the User mailing list