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: <[EMAIL PROTECTED]> 
>> 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
> Arsperl-users@arsperl.org
> https://lists.sourceforge.net/lists/listinfo/arsperl-users
> 


-------------------------------------------------------------------------
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
Arsperl-users@arsperl.org
https://lists.sourceforge.net/lists/listinfo/arsperl-users

Reply via email to