I am trying to use the Win32::NetAdmin module(0.12 under site/lib and 0.11 under lib) to get the local admin users via the LocalGroupGetMembersWithDomain() function call. My program dies and kicks out of the cmd. When run under debug mode, it gives this error. This is with Perl64 on a Windows 64 bit machine. The script fails in one particular machine only. Is this a version compatibility issue between the module and the windows system ? Following is a simple test script to check the modules functionality.
Windows 64 bit
ActiveStatePerl 5.16.3 for X64
my %UserList = ();
my $server_name = 'Server';
my $local_group_name = 'Administrators';
my @users = keys(%UserList);
foreach my $user (@users)
print "User: $user\n";
Signal SEGV at C:/Perl64/lib/perl5db.pl line 7597 , <INFILE> line 23.
+DB::diesignal('SEGV')called at GetLocalAdmins.pl
Searching about SEGV showed its difficult to trace. I am at not sure where else to look about this error. Please guide me to any pointers to go digging about.