Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Perl Interpreter (5.8.5) initialization causes SIGSEGV in HPUX

by Tux (Abbot)
on Aug 15, 2012 at 12:36 UTC ( #987559=note: print w/replies, xml ) Need Help??

in reply to Perl Interpreter (5.8.5) initialization causes SIGSEGV in HPUX

Is the number of users (/etc/passwd) on the trusted system "huge"? There are known crashers on HP-UX and Windows (and probably more) for systems that host a rather high number of users. It is not depending on how many users are currently logged in, but on the number of user id's the system knows about.

I /think/ it is fixed in more recent versions of perl, but I never had access to a trusted HP-UX with a high number of known users.

More recent ports for perl are available on HP's site (5.8.8), the HP porting center (5.10.1) or on my site (all up to and including 5.16.0).

Enjoy, Have FUN! H.Merijn
  • Comment on Re: Perl Interpreter (5.8.5) initialization causes SIGSEGV in HPUX

Replies are listed 'Best First'.
Re^2: Perl Interpreter (5.8.5) initialization causes SIGSEGV in HPUX
by adarshanto (Initiate) on Aug 16, 2012 at 15:31 UTC

    There are around 22 entries in the /etc/password file
    However, only 1 or 2 users are simultaneously logged in

    I also checked pp_syc.c file upto 5.16.0
    The mentioned code snippet didn't have any significant code changes- apart from the following minor change:

    dSAVE_ERRNO; const struct spwd * const spwent = getspnam(pwent->pw_name); RESTORE_ERRNO;

    Will try to make the change which rurban suggested: Try to disable HAS_GETSPNAM in config.h
    Searched all the c files and found that HAS_GETSPNAM is used only at this place.
    Please let me know if you think this may have any undesirable side effects

      I disabled HAS_GETSPNAM & the crash was fixed
      Thanks again for promptly jumping in to help

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987559]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2018-03-24 08:35 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (297 votes). Check out past polls.