[Gambas-user] Bug during Webview Eval() usage

Yahoo olivier.cruilles at ...614...
Tue Aug 18 22:49:52 CEST 2015


Hi Benoit,

I have found a bug (Segmentation fault 11) during execution of around 320 Eval() in a short time inside a loop (for each …) in a Webview.

Some time this loop works fine and each Webview1.Eval(cmd) are executed and another time I have this error.

I don’t know if it’s important but I run a Linux Mint 17.2 on virtualBox  machine.
I use the latest SVN release 7227
I tried to execute this project as described on Gambas Web Site with gdb but I get the same error text, no more.

I tried to compile Gambas SVN manually with only QT5 Webkit => Same error
I tried to compile Gambas SVN manually with only QT4 Webkit => Same error

Do you need a little project to reproduce the error because in this case I must create it from the main project ?


Segmentation Fault 11

FormTracerouteMap.Fin_Traitement_Tracert.750: $TabPointGridview.Count = 308
FormTracerouteMap.Fin_Traitement_Tracert.751: $TabPolyline.Count = 35
FormTracerouteMap.Fin_Traitement_Tracert.754: Affichage des points + Polyline.
FormTracerouteMap.TimerQueueLog_Timer.706: TimerQueueLog_Timer() STOPPED !!
FormTracerouteMap.TimerQueueLog_Timer.711: Fin traitement traceroute. NbreId=45, NbreDataInterprete=45, NbreTracerouteError=0, NbrePolyline=0, $NbreCheckId=45, $DataReceive=0, $TimeoutTaskTraceroute=0
FormTracerouteMap.Fin_Traitement_Tracert.750: $TabPointGridview.Count = 316
FormTracerouteMap.Fin_Traitement_Tracert.751: $TabPolyline.Count = 37
FormTracerouteMap.Fin_Traitement_Tracert.754: Affichage des points + Polyline.
FormTracerouteMap.TimerQueueLog_Timer.706: TimerQueueLog_Timer() STOPPED !!
FormTracerouteMap.TimerQueueLog_Timer.711: Fin traitement traceroute. NbreId=45, NbreDataInterprete=45, NbreTracerouteError=0, NbrePolyline=0, $NbreCheckId=45, $DataReceive=0, $TimeoutTaskTraceroute=0
1   0xb3a300c7 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(_ZN3WTF11OSAllocator16reserveAndCommitEjNS0_5UsageEbbb+0x137) [0xb3a300c7]
2   0xb3a30120 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x18b0120) [0xb3a30120]
3   0xb3a158ba /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x18958ba) [0xb3a158ba]
4   0xb3704c62 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x1584c62) [0xb3704c62]
5   0xb3705170 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x1585170) [0xb3705170]
6   0xb3706429 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x1586429) [0xb3706429]
7   0xb3962dd5 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x17e2dd5) [0xb3962dd5]
8   0xb39698f4 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x17e98f4) [0xb39698f4]
9   0xb3963fc0 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(_ZN3JSC8JSObject10putByIndexEPNS_6JSCellEPNS_9ExecStateEjNS_7JSValueEb+0x80) [0xb3963fc0]
10  0xb3967e37 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(_ZN3JSC8JSObject3putEPNS_6JSCellEPNS_9ExecStateENS_12PropertyNameENS_7JSValueERNS_15PutPropertySlotE+0x207) [0xb3967e37]
11  0xb3774cde /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x15f4cde) [0xb3774cde]
12  0xb3846dd0 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x16c6dd0) [0xb3846dd0]
13  0xb38525d2 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x16d25d2) [0xb38525d2]
14  0x97476e41 [0x97476e41]
15  0xb37eed84 /usr/lib/i386-linux-gnu/libQtWebKit.so.4(+0x166ed84) [0xb37eed84]
16  0x2 [0x2]
17  0xfffffffb [0xfffffffb]


[System]
Gambas=3.8.0
OperatingSystem=Linux
Kernel=3.16.0-37-generic
Architecture=x86
Distribution=Linux Mint 17.1 Rebecca
Desktop=MATE
Theme=Gtk
Language=fr_CA.UTF-8
Memory=4052M
[Libraries]
Cairo=libcairo.so.0.0.0
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.28.0.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
Qt5=libQt5Core.so.5.2.1
SDL=libSDL-1.2.so.0.11.4
[Environment]
CLUTTER_IM_MODULE=xim
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-9aRBjxeCeo,guid=091e6b223ee678201b2ed1aa55af8da3
DEFAULTS_PATH=/usr/share/gconf/mate.default.path
DESKTOP_SESSION=mate
DISPLAY=:0.0
GB_GUI=gb.qt4
GDMSESSION=mate
GDM_XSERVER_LOCATION=local
GNOME_KEYRING_CONTROL=/run/user/1000/keyring-hfiYfY
GNOME_KEYRING_PID=2689
GPG_AGENT_INFO=/tmp/keyring-GnQRJQ/gpg:0:1
GTK_IM_MODULE=ibus
HOME=/home/ocruilles
LANG=fr_CA.UTF-8
LOGNAME=ocruilles
MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path
MATE_DESKTOP_SESSION_ID=this-is-deprecated
MATE_KEYRING_CONTROL=/tmp/keyring-GnQRJQ
MDMSESSION=mate
MDM_LANG=fr_CA.UTF-8
MDM_XSERVER_LOCATION=local
PATH=/home/ocruilles/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
PWD=/home/ocruilles
QT4_IM_MODULE=xim
QT_IM_MODULE=ibus
SESSION_MANAGER=local/ocruilles-linux:@/tmp/.ICE-unix/2701,unix/ocruilles-linux:/tmp/.ICE-unix/2701
SHELL=/bin/bash
SSH_AGENT_PID=2790
SSH_AUTH_SOCK=/tmp/keyring-GnQRJQ/ssh
TEXTDOMAIN=im-config
TEXTDOMAINDIR=/usr/share/locale/
TZ=:/etc/localtime
USER=ocruilles
USERNAME=ocruilles
WINDOWPATH=8
XAUTHORITY=/home/ocruilles/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SESSION_COOKIE=7799fc85266d4f0d61afdf215179697f-1437568418.756716-2090956438
XDG_SESSION_DESKTOP=mate
XDG_SESSION_ID=c1
XDG_VTNR=8
XMODIFIERS=@...3498...=ibus

Thank you


Cordialement,
— 
Olivier Cruilles
Email: olivier.cruilles at ...614...


More information about the User mailing list