Thank,
But I nned help.
I will work more to make a short example, but it seems clear that
something has changed between version 5.8.8 and version 5.10.0
I built up a cpp+ class which includes an array. When I try to access to
this array with a method, I get a segmentation fault.
Is it because previously I was misusing XS, but perl was permissive and
it was working. or it is a bug in the new version of XS ?
Regards.
Hello,
Since I upgrade my PC from perl 5.8.8 to 5.10.0, my application fails.
I do not understand what is going on, memory leak ?
Segmentation fault.
I noticed warning which did not happen before:
Please specify prototyping behavior for Fitter.xs (see perlxs manual)
g++ -c -D_REENTRANT -D_GNU_SOURCE -DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -DPERL_USE_SAFE_PUTENV -DVERSION=\"0.01\"
-DXS_VERSION=\"0.01\" -fPIC
I can't give you any meaningful advice Patrick expect to say that you
have compiled with -g flag so you could use gdb to help debug.
Dp.
--
---
==========================================================================
Patrick DUPRÃ | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: [EMAIL PROTECTED]
==========================================================================
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/