Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use locale & use posix #714

Closed
p5pRT opened this issue Oct 14, 1999 · 2 comments
Closed

use locale & use posix #714

p5pRT opened this issue Oct 14, 1999 · 2 comments

Comments

@p5pRT
Copy link

p5pRT commented Oct 14, 1999

Migrated from rt.perl.org#1616 (status was 'resolved')

Searchable as RT1616$

@p5pRT
Copy link
Author

p5pRT commented Oct 14, 1999

From dienst@albatros.iei.pi.cnr.it

  Hello,
i can try to use the code​:
use locale;
use POSIX qw(locale_h);

on sparc-sun (32mb memory and Solaris2.6) but the procedure is aborted and the
system send the message "Segmentation Fault - core dumped".
If i comment the above istruction the procedure run without error.

How can i solve this problem ?

Perl Info


Site configuration information for perl 5.00404:

Configured by stevec at Wed Jul  8 01:35:11 EDT 1998.

Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration:
  Platform:
    osname=solaris, osvers=2.6, archname=sun4-solaris
    uname='sunos 5.6 generic sun4u sparc sunw,ultra-1 '
    hint=recommended, useposix=true, d_sigaction=define
    bincompat3=y useperlio=undef d_sfio=undef
  Compiler:
    cc='gcc', optimize='-O', gccversion=2.8.1
    cppflags='-I/usr/local/include'
    ccflags ='-I/usr/local/include'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    voidflags=15, castflags=0, d_casti32=define, d_castneg=define
    intsize=4, alignbytes=8, usemymalloc=y, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc -lcrypt
    libc=/lib/libc.so, so=so
    useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
    cccdlflags='-fpic', lddlflags='-G -L/usr/local/lib'

Locally applied patches:
	


@INC for perl 5.00404:
	/usr/local/lib/perl5/sun4-solaris/5.00404
	/usr/local/lib/perl5
	/usr/local/lib/perl5/site_perl/sun4-solaris
	/usr/local/lib/perl5/site_perl
	.


Environment for perl 5.00404:
    HOME=/local1/NewProjDienst
    LANG=en_US
    LC_COLLATE=en_US
    LC_CTYPE=en_US
    LC_MESSAGES=C
    LC_MONETARY=en_US
    LC_NUMERIC=en_US
    LC_TIME=en_US
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/dt/bin:/usr/openwin/bin:/bin:/usr/bin:/usr/ucb:./:/usr/local/bin:/usr/local/netpbm:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/ucb/bin:/usr/openwin/bin:/opt/Acrobat3/bin
    PERL_BADLANG (unset)
    SHELL=/bin/sh

@p5pRT
Copy link
Author

p5pRT commented Oct 14, 1999

From @jhi

dienst@​albatros.iei.pi.cnr.it writes​:

This is a bug report for perl from carlesi@​iei.pi.cnr.it,
generated with the help of perlbug 1.20 running under perl 5.00404.

-----------------------------------------------------------------
[Please enter your report here]

Hello\,

i can try to use the code​:
use locale;
use POSIX qw(locale_h);

on sparc-sun (32mb memory and Solaris2.6) but the procedure is aborted and the
system send the message "Segmentation Fault - core dumped".
If i comment the above istruction the procedure run without error.

I'm sorry but I cannot reproduce this in a Solaris 2.6 box, same Perl
release (5.004_04), also compiled with gcc (gcc 2.7.2.3). Could you
try out the latest maintenance release of Perl, 5.005_03?

--
$jhi++; # http​://www.iki.fi/jhi/
  # There is this special biologist word we use for 'stable'.
  # It is 'dead'. -- Jack Cohen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant