[Gambas-user] Division by zero in TextEditor

Gianluigi bagonergi at gmail.com
Mon Jul 1 14:51:41 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
>
>
And this is what I get from a VBox with xubuntu + stable compiled: [0] [1]

Regards
Gianluigi

[0]
/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 "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 gbr3...done.
(gdb) run gambas3
Starting program: /usr/bin/gbr3 gambas3
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdf002700 (LWP 1799)]
[New Thread 0x7fffda2af700 (LWP 1806)]
[New Thread 0x7fffd0e91700 (LWP 1811)]
[New Thread 0x7fffd0690700 (LWP 1812)]
[New Thread 0x7fffceb0d700 (LWP 1819)]
[New Thread 0x7fffce0cb700 (LWP 1820)]
[New Thread 0x7fffbcaf8700 (LWP 1821)]
[New Thread 0x7fff74125700 (LWP 1822)]
[Thread 0x7fffceb0d700 (LWP 1819) exited]
[Thread 0x7fffda2af700 (LWP 1806) exited]
[Thread 0x7fffbcaf8700 (LWP 1821) exited]
[Thread 0x7fff74125700 (LWP 1822) exited]
[Thread 0x7fffce0cb700 (LWP 1820) exited]
[Thread 0x7fffd0690700 (LWP 1812) exited]
[Thread 0x7fffdf002700 (LWP 1799) exited]
[Thread 0x7ffff7fd70c0 (LWP 1795) exited]
[Inferior 1 (process 1795) exited normally]
(gdb) bt
No stack.
(gdb) q
---------------------------------------------------
[1]
[System]
Gambas=3.13.0 99ce608 (stable)
OperatingSystem=Linux
Kernel=4.15.0-54-generic
Architecture=x86_64
Distribution=Ubuntu 18.04.2 LTS
Desktop=XFCE
Theme=Fusion
Language=it_IT.UTF-8
Memory=3001M

[Libraries]
Cairo=libcairo.so.2.11510.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
QT5=libQt5Core.so.5.9.5
SDL=libSDL-1.2.so.0.11.4
SQLite=libsqlite3.so.0.8.6

[Environment]
CLUTTER_BACKEND=x11
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
DESKTOP_SESSION=xubuntu
DISPLAY=:0.0
GB_GUI=gb.qt5
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>
LANG=it_IT.UTF-8
LANGUAGE=it_IT.UTF-8
LOGNAME=<user>
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=<home>
QT_ACCESSIBILITY=1
QT_QPA_PLATFORMTHEME=gtk2
SESSION_MANAGER=local/<hostname>:@/tmp/.ICE-unix/988,unix/<hostname>:/tmp/.ICE-unix/988
SHELL=/bin/bash
SHLVL=0
SSH_AGENT_PID=969
SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
TZ=:/etc/localtime
USER=<user>
XAUTHORITY=<home>/.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/<user>
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190701/affcf9a1/attachment.html>


More information about the User mailing list