Re: [Arsperl-users] segfault with ArsPerl 1.85
Brought to you by:
jeffmurphy
|
From: Thilo S. <thi...@ap...> - 2006-11-30 17:13:04
|
I'd advise rather against using the object orientated interface which
hasn't really been maintained with recent versions.
Does the same problem occur if you use the API functions directly, e.g.
like the following?
#-----------------------
my $ctrl = ars_Login( $server, $userid, $passwd );
die $ars_errstr if ! $ctrl;
my $form = 'HPD:HelpDesk';
my %fieldTable = ars_GetFieldTable( $ctrl, $form );
die $ars_errstr if ! %fieldTable;
while( my($key,$val) = each %fieldTable ){
print "$key => $val\n";
}
ars_Logoff( $ctrl );
#-----------------------
This should do essentially the same as your script. I'd also guess that
the segfault doesn't occurs if the "ars_Logoff" is omitted.
Regards,
Thilo Stapff
Barbara Jensen schrieb:
>> From: <Tra...@ca...>
>> Are you sure your Form Name is correct? Is it "HPD:HelpDesk" or "HPD:Help Desk"?
>
> Yep, the Form Name is correct. Even if I don't try to open the form,
> it still segfaults on exit.
>
> I'm running on FC3. We built it against the 6.3 libs and the same
> thing happens.
>
> barbara
>
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Arsperl-users mailing list
> Ars...@ar...
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
>
|