Re: [Arsperl-users] ARSPerl and Perl 5.8.6 issues
Brought to you by:
jeffmurphy
|
From: Barr, S. <sc...@am...> - 2006-07-05 22:14:11
|
I hope all this info I am sending you helps btw... :) Let me know if it =
is not and I'll stop. :)
What was the bug you fixed in XS_ARControlStructPtr_DESTROY method in =
ARS.xs:4977
It looks like the issue is still alive and well on this platform...
Does the code below have the fix? This is what I checked out of CVS =
this morning.
From ARS.xs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
4965 void
4966 DESTROY(ctrl)
4967 ARControlStruct * ctrl
4968 CODE:
4969 {
4970 ARStatusList status;
4971 int rv =3D 0;
4972
4973 (void) ARError_reset();
4974 Zero(&status, 1, ARStatusList);
4975 DBG( ("control struct destructor\n") );
4976 # if AR_EXPORT_VERSION >=3D 4
4977 rv =3D ARTermination(ctrl, &status);
4978 # else
4979 rv =3D ARTermination(&status);
4980 # endif /* AR_EXPORT_VERSION */
4981 (void) ARError(rv, status);
4982 #ifdef PROFILE
4983 free(ctrl);
4984 #else
4985 safefree(ctrl);
4986 #endif
4987 }
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
GDB Output
(gdb) run ./apiTest.pl
warning: cannot close "shared object read from target memory": File in =
wrong format
Starting program: =
/local/apollo/package/local_1/Linux-2.4c2.3-i686/Perl/Perl-36.0-0/perl/bi=
n/perl5.8/perl5.8.6 ./apiTest.pl
Reading symbols from shared object read from target memory...(no =
debugging symbols found)...done.
Loaded system supplied DSO at 0xfbffd000
(no debugging symbols found)...(no debugging symbols found)...(no =
debugging symbols found)...(no debugging symbols found)...(no debugging =
symbols found)...(no debugging symbols found)...(no debugging symbols =
found)...[Thread debugging using libthread_db enabled]
[New Thread -1210466176 (LWP 2476)]
(no debugging symbols found)...(no debugging symbols found)...Enter your =
Remedy login: scbarr
Enter your password: XXXXXXXXX
About to login
Have logged in
About to get field list for HPD:HelpDeskGot fields
Got Ticket! :
Have logged off
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210466176 (LWP 2476)]
0xb7a1b800 in ARDisconnect ()
from =
/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060526170824655-1148688525=
/build/Perl/Perl-2.0.1.112/X86_LINUX_GCC32_GLIBC23/DEV.STD.PTHREAD/build/=
perl/lib/perl5.8-dist/Linux-2.4c2.3-i686-64int/auto/ARS/ARS.so
(gdb) bt
#0 0xb7a1b800 in ARDisconnect ()
from =
/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060526170824655-1148688525=
/build/Perl/Perl-2.0.1.112/X86_LINUX_GCC32_GLIBC23/DEV.STD.PTHREAD/build/=
perl/lib/perl5.8-dist/Linux-2.4c2.3-i686-64int/auto/ARS/ARS.so
#1 0xb7a1866f in ARTermination ()
from =
/local/p4clients/p4admin-pkgbuild-Perl-2.0-tk20060526170824655-1148688525=
/build/Perl/Perl-2.0.1.112/X86_LINUX_GCC32_GLIBC23/DEV.STD.PTHREAD/build/=
perl/lib/perl5.8-dist/Linux-2.4c2.3-i686-64int/auto/ARS/ARS.so
#2 0xb79f5363 in XS_ARControlStructPtr_DESTROY (cv=3D0x849037c) at =
ARS.xs:4977
#3 0x080be840 in ?? ()
#4 0x0849037c in ?? ()
#5 0x0849037c in ?? ()
#6 0xbfb70718 in ?? ()
#7 0x08068a12 in ?? ()
#8 0x08490358 in ?? ()
#9 0x00000000 in ?? ()
(gdb)
-Scott
Remedy Team
Ph : (206) 266-0217
Remedy Team Office Hours:=20
Monday, Wednesday and Friday from 14:00 till 15:00 PST.
* Be sure to sign up to Remedy-News@ to keep up to date on changes to =
the Remedy service!
* SDE's should sign up to Remedy-Hackers@ for technical help and =
assistance.
-----Original Message-----
From: Barr, Scott=20
Sent: Wednesday, July 05, 2006 10:35 AM
To: 'Thilo Stapff'
Subject: RE: [Arsperl-users] ARSPerl and Perl 5.8.6 issues
Btw, here is the generated Makefile in case you need it.
-Scott
Remedy Team
Ph : (206) 266-0217
Remedy Team Office Hours:=20
Monday, Wednesday and Friday from 14:00 till 15:00 PST.
* Be sure to sign up to Remedy-News@ to keep up to date on changes to =
the Remedy service!
* SDE's should sign up to Remedy-Hackers@ for technical help and =
assistance.
-----Original Message-----
From: ars...@ar... =
[mailto:ars...@ar...] On Behalf Of Thilo Stapff
Sent: Tuesday, July 04, 2006 12:29 PM
To: ARSperl User Discussion
Subject: Re: [Arsperl-users] ARSPerl and Perl 5.8.6 issues
The segfaults on script termination are possibly caused by a bug in the=20
DESTROY() function for ARControlStruct. This is fixed in the latest=20
developer version, which you can download via CVS. See
http://sourceforge.net/cvs/?group_id=3D116013
To say anything about the "no data returned" issues, I'd need more=20
specific information, e.g. a sample script that shows the described=20
behaviour.
Regards
Thilo Stapff
Barr, Scott wrote:
> Has anyone been able to get ARSPerl 1.85 to compile and work with Perl =
> 5.8.6?=20
>=20
> * Did you have to do anything special to the make files?=20
>=20
> * Did you do this on a 64 or 32 bit integer system?
>=20
> =20
>=20
> I am having issues with no data being returned from method calls and =
seg=20
> faults on script termination...
>=20
> =20
>=20
> I have searched the ARSPerl Archives but have only found issues with=20
> perl 5.8.6 and no solutions. :|
>=20
> =20
>=20
> Any input would be great appreciated.
>=20
> =20
>=20
> Red Hat Enterprise Linux WS release 3 (Taroon Update 4) =
2.6.12-0.2axenU
>=20
> ARSPerl 1.85 compiled with 6.3 libs
>=20
> Perl 5.8..6
>=20
> Connecting to AR Server: 5.1.2p1389
>=20
> =20
>=20
> -Scott
> Remedy Team
> Ph : (206) 266-0217
>=20
> *Remedy Team Office Hours*:
> Monday, Wednesday and Friday from 14:00 till 15:00 PST.
>=20
> ** Be sure to sign up to* *Remedy-News@*=20
> <http://internal.amazon.com/email-list/expand-list/remedy-news>* to =
keep=20
> up to date on changes to the Remedy service!*
> ** SDE's should sign up to* *Remedy-Hackers@*=20
> <http://internal.amazon.com/email-list/expand-list/remedy-hackers>* =
for=20
> technical help and assistance.*
>=20
> =20
>=20
>=20
> =
------------------------------------------------------------------------
>=20
> Using Tomcat but need to do more? Need to support web services, =
security?
> Get stuff done quickly with pre-integrated technology to make your job =
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache =
Geronimo
> =
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
>=20
>=20
> =
------------------------------------------------------------------------
>=20
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
Using Tomcat but need to do more? Need to support web services, =
security?
Get stuff done quickly with pre-integrated technology to make your job =
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache =
Geronimo
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D=
121642
_______________________________________________
Arsperl-users mailing list
Ars...@ar...
https://lists.sourceforge.net/lists/listinfo/arsperl-users
|