[gb.net.curl] HttpClient génère une Erreur de segmentation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[gb.net.curl] HttpClient génère une Erreur de segmentation

flachyjoe
Bonjour,
avec la révision 5920 sous Debian sid, j'obtiens une erreur de
segmentation aléatoirement
- lors de l'instanciation d'un formulaire contenant un HttpClient
- ou lors de l'attribution de la propriété URL de l'objet HttpClient.

Je ne sais pas si c'est lié mais j'ai cette ligne qui apparaît dans la
console au moment du Form.Show():
  gbx3: warning: please use GB.ReturnNewZeroString() instead of
GB.ReturnNewString()

Merci !

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user-fr mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [gb.net.curl] HttpClient génère une Erreur de segmentation

Benoît Minisini
Le 30/10/2013 22:07, Flachy Joe a écrit :

> Bonjour,
> avec la révision 5920 sous Debian sid, j'obtiens une erreur de
> segmentation aléatoirement
> - lors de l'instanciation d'un formulaire contenant un HttpClient
> - ou lors de l'attribution de la propriété URL de l'objet HttpClient.
>
> Je ne sais pas si c'est lié mais j'ai cette ligne qui apparaît dans la
> console au moment du Form.Show():
>    gbx3: warning: please use GB.ReturnNewZeroString() instead of
> GB.ReturnNewString()
>
> Merci !
>

Est-il possible de me fournir un (petit) projet qui provoque l'erreur de
segmentation ?

--
Benoît Minisini

------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user-fr mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [gb.net.curl] HttpClient génère une Erreur de segmentation

flachyjoe
Bonsoir,

Il n'y a même pas besoin de code pour que l'erreur apparaisse : un simple Form avec un objet HttpClient dessus n'arrive pas à s'afficher, en code sa plante sur le New.
Les composants actifs :
gb.gui
gb.image
gb.net
gb.net.curl
Paquets de dev installés, (je ne sais pas faire le tri de ceux qui sont utilisés par Gambas) :
autotools-dev    20130810.1
comerr-dev    2.1-1.42.8-1
dpkg-dev    1.17.1
geany-plugin-devhelp    1.23+dfsg-3
icu-devtools    4.8.1.1-13+nmu1
liba52-0.7.4-dev    0.7.4-16
libalure-dev:amd64    1.2-6
libasound2-dev:amd64    1.0.27.2-3
libasprintf-dev:amd64    0.18.3.1-1
libatk1.0-dev    2.10.0-2
libavahi-client-dev    0.6.31-2
libavahi-common-dev    0.6.31-2
libavcodec-dev:amd64    10:1.2.4-dmo3
libavformat-dev:amd64    10:1.2.4-dmo3
libavutil-dev:amd64    10:1.2.4-dmo3
libboost-all-dev    1.54.0.1
libboost-atomic-dev    1.54.0.1
libboost-atomic1.54-dev    1.54.0-3
libboost-chrono-dev    1.54.0.1
libboost-chrono1.54-dev    1.54.0-3
libboost-context-dev    1.54.0.1
libboost-context1.54-dev    1.54.0-3
libboost-coroutine-dev    1.54.0.1
libboost-coroutine1.54-dev    1.54.0-3
libboost-date-time-dev    1.54.0.1
libboost-date-time1.54-dev    1.54.0-3
libboost-dev    1.54.0.1
libboost-exception-dev    1.54.0.1
libboost-exception1.54-dev    1.54.0-3
libboost-filesystem-dev    1.54.0.1
libboost-filesystem1.54-dev    1.54.0-3
libboost-graph-dev    1.54.0.1
libboost-graph-parallel-dev    1.54.0.1
libboost-graph-parallel1.54-dev    1.54.0-3
libboost-graph1.54-dev    1.54.0-3
libboost-iostreams-dev    1.54.0.1
libboost-iostreams1.54-dev    1.54.0-3
libboost-locale-dev    1.54.0.1
libboost-locale1.54-dev    1.54.0-3
libboost-log-dev    1.54.0.1
libboost-log1.54-dev    1.54.0-3
libboost-math-dev    1.54.0.1
libboost-math1.54-dev    1.54.0-3
libboost-mpi-dev    1.54.0.1
libboost-mpi-python-dev    1.54.0.1
libboost-mpi-python1.54-dev    1.54.0-3
libboost-mpi1.54-dev    1.54.0-3
libboost-program-options-dev    1.54.0.1
libboost-program-options1.54-dev    1.54.0-3
libboost-python-dev    1.54.0.1
libboost-python1.54-dev    1.54.0-3
libboost-random-dev    1.54.0.1
libboost-random1.54-dev    1.54.0-3
libboost-regex-dev    1.54.0.1
libboost-regex1.54-dev    1.54.0-3
libboost-serialization-dev    1.54.0.1
libboost-serialization1.54-dev    1.54.0-3
libboost-signals-dev    1.54.0.1
libboost-signals1.54-dev    1.54.0-3
libboost-system-dev    1.54.0.1
libboost-system1.54-dev    1.54.0-3
libboost-test-dev    1.54.0.1
libboost-test1.54-dev    1.54.0-3
libboost-thread-dev    1.54.0.1
libboost-thread1.54-dev    1.54.0-3
libboost-timer-dev    1.54.0.1
libboost-timer1.54-dev    1.54.0-3
libboost-wave-dev    1.54.0.1
libboost-wave1.54-dev    1.54.0-3
libboost1.54-dev    1.54.0-3
libbsd-dev    0.6.0-1
libbz2-dev:amd64    1.0.6-5
libc-dev-bin    2.17-93
libc6-dev:amd64    2.17-93
libcairo2-dev    1.12.16-2
libcoin80-dev    3.1.4~abc9f50-4
libcurlpp-dev:amd64    0.7.3-4
libdbus-1-dev:amd64    1.6.16-1
libdc1394-22-dev:amd64    2.2.1-2
libdirac-dev:amd64    1.0.2-6
libdrm-dev    2.4.46-3
libegl1-mesa-dev    9.2.2-1
libeigen3-dev    3.2.0-4
libexpat1-dev:amd64    2.1.0-4
libfaac-dev:amd64    1:1.28-dmo3
libfaad-dev:amd64    2.7-8
libffi-dev:amd64    3.0.13-4
libfftw3-dev:amd64    3.3.3-7
libflac-dev:amd64    1.3.0-2
libfontconfig1-dev    2.11.0-1
libfreetype6-dev    2.4.9-1.1
libgcc-4.7-dev:amd64    4.7.3-8
libgcc-4.8-dev:amd64    4.8.2-1
libgdk-pixbuf2.0-dev    2.28.2-1
libgettextpo-dev:amd64    0.18.3.1-1
libgfortran-4.8-dev:amd64    4.8.2-1
libghc-bzlib-dev    0.5.0.4-2
libgif-dev    4.1.6-10
libgl1-mesa-dev    9.2.2-1
libglew-dev:amd64    1.7.0-3
libglib2.0-dev    2.36.4-1
libglibmm-2.4-dev:amd64    2.36.2-1
libglu1-mesa-dev    9.0.0-2
libgmime-2.6-dev    2.6.19-1
libgmp-dev:amd64    2:5.1.2+dfsg-3
libgnome-keyring-dev    3.8.0-2
libgsl0-dev    1.16+dfsg-1
libgsm1-dev:amd64    1.0.13-4
libgstreamer1.0-dev    1.2.0-1
libgtk2.0-dev    2.24.22-1
libgtkglext1-dev    1.2.0-3.1
libgutenprint-dev    5.2.9-1
libharfbuzz-dev    0.9.19-1
libhwloc-dev:amd64    1.7.2-1
libibverbs-dev    1.1.7-1
libice-dev:amd64    2:1.0.8-2
libicu-dev:amd64    4.8.1.1-13+nmu1
libid3tag0-dev    0.15.1b-10
libimlib2-dev    1.4.5-3
libjack-dev    1:0.121.3+20120418git75e3e20b-2.1
libjbig-dev:amd64    2.0-2
libjpeg8-dev:amd64    8d-1
libltdl-dev:amd64    2.4.2-1.3
liblua5.2-dev:amd64    5.2.2-1
libmad0-dev    0.15.1b-8
libmp3lame-dev:amd64    1:3.99.5-dmo2
libmysqlclient-dev    5.5.33+dfsg-1
libncurses5-dev:amd64    5.9+20130608-1
liboce-foundation-dev:amd64    0.12-4
liboce-modeling-dev:amd64    0.12-4
liboce-ocaf-dev:amd64    0.12-4
liboce-ocaf-lite-dev:amd64    0.12-4
liboce-visualization-dev:amd64    0.12-4
libogg-dev:amd64    1.3.1-1
libopenal-dev:amd64    1:1.14-4
libopencore-amrnb-dev:amd64    0.1.3-2
libopencore-amrwb-dev:amd64    0.1.3-2
libopenmpi-dev    1.6.5-5
liborc-0.4-dev    1:0.4.18-1
libpango1.0-dev    1.36.0-1
libpangox-1.0-dev    0.0.2-4
libpci-dev    1:3.2.0-3
libpcre3-dev:amd64    1:8.31-2
libpixman-1-dev    0.30.2-1
libpng12-dev    1.2.49-5
libpoppler-dev    0.18.4-8
libpoppler-private-dev    0.18.4-8
libpq-dev    9.3.1-1
libpqxx4-dev    4.0-1
libpthread-stubs0-dev:amd64    0.3-4
libpulse-dev:amd64    4.0-6+b1
libpython-dev:amd64    2.7.5-5
libpython2.7-dev:amd64    2.7.5-8
libqt4-dev    4:4.8.5+git121-g2a9ea11+dfsg1-2
libqt4-dev-bin    4:4.8.5+git121-g2a9ea11+dfsg1-2
libqt4-opengl-dev    4:4.8.5+git121-g2a9ea11+dfsg1-2
libqtwebkit-dev    2.2.1-6
libraw1394-dev:amd64    2.1.0-1
libreadline-dev:amd64    6.2+dfsg-0.1
libreadline6-dev:amd64    6.2+dfsg-0.1
librsvg2-dev    2.40.0-1
librtai-dev    3.9.1-4
libschroedinger-dev:amd64    1.0.11-2
libsdl2-dev    2.0.0+dfsg1-3
libsdl2-ttf-dev:amd64    2.0.12+dfsg1-2
libsigc++-2.0-dev:amd64    2.2.10-0.2
libsimage-dev    1.7.1~2c958a6.dfsg-2
libsm-dev:amd64    2:1.2.1-2
libsndfile1-dev    1.0.25-7
libsoqt-dev-common    1.6.0~e8310f-1
libsoqt4-dev    1.6.0~e8310f-1
libspnav-dev    0.2.2-1
libspnav0    0.2.2-1
libsqlite0-dev    2.8.17-9
libsqlite3-dev:amd64    3.8.1-1
libssl-dev:amd64    1.0.1e-3
libstdc++-4.8-dev:amd64    4.8.2-1
libswscale-dev:amd64    10:1.2.4-dmo3
libtheora-dev:amd64    1.1.1+dfsg.1-3.1
libtiff4-dev:amd64    3.9.7-2
libtinfo-dev:amd64    5.9+20130608-1
libts-dev:amd64    1.0-11
libudev-dev    204-5
libv4l-dev:amd64    1.0.0-1
libvorbis-dev:amd64    1.3.2-1.3
libx11-dev:amd64    2:1.6.2-1
libx11-xcb-dev    2:1.6.2-1
libx264-dev:amd64    3:0.138.2356+gita1d3d17-dmo1
libxau-dev:amd64    1:1.0.8-1
libxcb-dri2-0-dev:amd64    1.9.1-3
libxcb-glx0-dev:amd64    1.9.1-3
libxcb-render0-dev:amd64    1.9.1-3
libxcb-shm0-dev:amd64    1.9.1-3
libxcb1-dev:amd64    1.9.1-3
libxcomposite-dev    1:0.4.4-1
libxcrypt-dev    1:2.4-3
libxcursor-dev:amd64    1:1.1.14-1
libxdamage-dev    1:1.1.4-1
libxdmcp-dev:amd64    1:1.1.1-1
libxerces-c-dev    3.1.1-3
libxext-dev:amd64    2:1.3.2-1
libxfixes-dev    1:5.0.1-1
libxft-dev    2.3.1-1
libxi-dev    2:1.7.2-1
libxinerama-dev:amd64    2:1.1.3-1
libxml++2.6-dev    2.36.0-2
libxml2-dev:amd64    2.9.1+dfsg1-3
libxmu-dev:amd64    2:1.1.1-1
libxpm-dev:amd64    1:3.5.10-1
libxrandr-dev:amd64    2:1.4.1-1
libxrender-dev:amd64    1:0.9.8-1
libxslt1-dev:amd64    1.1.28-2
libxss-dev:amd64    1:1.2.2-1
libxt-dev:amd64    1:1.1.4-1
libxtst-dev:amd64    2:1.2.2-1
libxv-dev:amd64    2:1.0.9-1
libxvidcore-dev:amd64    3:1.3.2-dmo1
libxxf86vm-dev:amd64    1:1.1.3-1
linux-libc-dev:amd64    3.11.6-1
llvm-3.2-dev    1:3.2repack-11
mesa-common-dev    9.2.2-1
mpi-default-dev    1.0.2
portaudio19-dev    19+svn20111121-2
puredata-dev    0.45.3-1
python-cxx-dev    6.2.4-5
python-dbus-dev    1.2.0-2
python-dev    2.7.5-5
python2.7-dev    2.7.5-8
qt4-dev-tools    4:4.8.5+git121-g2a9ea11+dfsg1-2
unixodbc-dev    2.3.1-1
x11proto-composite-dev    1:0.4.2-2
x11proto-core-dev    7.0.24-1
x11proto-damage-dev    1:1.2.1-2
x11proto-dri2-dev    2.8-2
x11proto-fixes-dev    1:5.0-2
x11proto-gl-dev    1.4.16-2
x11proto-input-dev    2.3-1
x11proto-kb-dev    1.0.6-2
x11proto-randr-dev    1.4.0-2
x11proto-record-dev    1.14.2-1
x11proto-render-dev    2:0.11.1-2
x11proto-scrnsaver-dev    1.2.2-1
x11proto-video-dev    2.3.2-1
x11proto-xext-dev    7.2.1-1
x11proto-xf86vidmode-dev    2.3.1-2
x11proto-xinerama-dev    1.2.1-2
xtrans-dev    1.2.7-1
zlib1g-dev:amd64    1:1.2.8.dfsg-1

Merci !

Le 31/10/2013 00:00, Benoît Minisini a écrit :
Le 30/10/2013 22:07, Flachy Joe a écrit :
Bonjour,
avec la révision 5920 sous Debian sid, j'obtiens une erreur de
segmentation aléatoirement
- lors de l'instanciation d'un formulaire contenant un HttpClient
- ou lors de l'attribution de la propriété URL de l'objet HttpClient.

Je ne sais pas si c'est lié mais j'ai cette ligne qui apparaît dans la
console au moment du Form.Show():
   gbx3: warning: please use GB.ReturnNewZeroString() instead of
GB.ReturnNewString()

Merci !

Est-il possible de me fournir un (petit) projet qui provoque l'erreur de 
segmentation ?



------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user-fr mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr
Loading...