after analyzing core dumps and other atrocities, i've found a simple
solution to this problem.  first of all, i'm assuming this problem only
occurs when using a threaded perl.  secondly, i haven't tested the 
workaround thoroughly enough to say that it doesn't break anything else.

# the order of these statements is important!
use AFS;
use Thread;

that's it.  instantly, all my ptserver code ran flawlessly.  if anyone has
scripts that rely on other parts of the AFS module, i'd be interested to
know if everything else still works.

i'd also like to find a way to integrate this into AFS.pm so it's
transparent to script writers, but i haven't had any luck so far...

btw, this works with 3.4a-build 5.52 and later.  i haven't tested it with
anything earlier.

------------------------------------------------------------------------
| Jeff Horwitz                                  University of Michigan |
| [EMAIL PROTECTED]                                         Ann Arbor |
| http://www-personal.umich.edu/~jhorwitz            ITD Login Service |
------------------------------------------------------------------------

> | Hello. I have acquired Roland Schemers' AFS.pm Perl module and would
> | like to find out if it is an orphan now or whether someone else has
> | taken it over. If anyone have any news can they email me please? (I
> | am not currently a member of this list.) Thanks very much.
>
> I'd be curious as well. I recently built it, and everything appears to
> work fine except for all of the ptserver-related code, which dies and
> segfaults. I haven't investigated more deeply yet. 
>
> I'd be curious to know if anyone has built this against standard
> afs-3.4a libraries under Solaris and gotten it to work.
>
> -bws
>
> --
> Brian W. Spolarich - ANS Communications - [EMAIL PROTECTED] - 734-214-7311
>              "Not a whit, we defy augury." - Hamlet, V, ii

Reply via email to