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

5.6.1 segfaults on iPAQ H3650 #4802

Closed
p5pRT opened this issue Jan 9, 2002 · 6 comments
Closed

5.6.1 segfaults on iPAQ H3650 #4802

p5pRT opened this issue Jan 9, 2002 · 6 comments

Comments

@p5pRT
Copy link

p5pRT commented Jan 9, 2002

Migrated from rt.perl.org#8199 (status was 'stalled')

Searchable as RT8199$

@p5pRT
Copy link
Author

p5pRT commented Jan 9, 2002

From [email protected]

Created by [email protected]

The following program will cause an segfault, the use integer; seems to be
the cause, because without it runs.

If you could tell me how to supply additional information, I will gladly
fetch them for you. The machine in question is available trough Compaq's
great TestDrive program, in case someone want's to try for him/herself. I
am now trying to compile bleadperl on the machine to see how far that goes
and maybe it cures the problem.

Thank you in advance!

#/usr/bin/perl -w
  use integer;
  $AND_BITS = 24;
  $BASE = 100000;
  my $max = 16;
  while (2 ** $max < $BASE) { $max++; }

Perl Info

Flags:
    category=core
    severity=critical

Site configuration information for perl v5.6.1:

Configured by buildd at Sun Jun 24 07:28:54 BST 2001.

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.2.13, archname=arm-linux
    uname='linux medusa 2.2.13 #334 wed dec 29 04:49:54 gmt 1999 armv3l
unknown '
    config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC -Darchname=arm-linux
-Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1 -Darc
hlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -
Dsitelib=/usr/local/share/perl/5.6.1 -Dsitearch=/usr/local/lib/perl/5.6.1
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/ma
n/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs
-Ud_csh -Uusesfio -Dotherlibdirs=/usr/lib/perl5/5.6:/u
sr/lib/perl5/5.005 -Duseshrplib -Dlibperl=libperl.so.5.6.1 -Dd_dosuid
-Doptimize=-O1 -des'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
    useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
  Compiler:
    cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O1',
    cppflags='-DDEBIAN -fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.4 20010604 (Debian prerelease)',
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lgdbm -ldbm -ldb -ldl -lm -lc -lcrypt
    perllibs=-ldl -lm -lc -lcrypt
    libc=/lib/libc-2.2.3.so, so=so, useshrplib=true,
libperl=libperl.so.5.6.1
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
    cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    


@INC for perl v5.6.1:
    /usr/local/lib/perl/5.6.1
    /usr/local/share/perl/5.6.1
    /usr/lib/perl5
    /usr/share/perl5
    /usr/lib/perl/5.6.1
    /usr/share/perl/5.6.1
    /usr/local/lib/site_perl
    /usr/lib/perl5/5.6
    /usr/lib/perl5/5.005
    .


Environment for perl v5.6.1:
    HOME=/house/Tels
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
   
PATH=/house/Tels/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
    PERL_BADLANG (unset)
    SHELL=/bin/csh


@p5pRT
Copy link
Author

p5pRT commented Jan 9, 2002

From [Unknown Contact. See original ticket]

-----BEGIN PGP SIGNED MESSAGE-----

Moin,

On 09-Jan-02 perlbugtron@​bugs.perl.org tried to scribble about​:

Your e-mail has been received by the Perl Bug Squashing Team.

But seems not have been forwarded to p5p for about 12 hours, so I think it
got lost somewhere.

  Original subject&#8203;: 5\.6\.1 segfaults on iPAQ H3650

I can't (yet) compile blead on the cute little device, so I am unsure
whether the core dump is 5.6.1 only, or still present. Somebody else might
have an idea...

The thing is rather a showstopper for BigInt on that device.

Cheers,

Tels

A bug ID (20020109.004) has been assigned and is shown in the subject of
this email.

- --
perl -MMath​::String -e 'print \
Math​::String->from_number("215960156869840440586892398248"),"\n"'

http​://bloodgate.com/perl My current Perl projects
PGP key available on http​://bloodgate.com/tels.asc or via email.

-----BEGIN PGP SIGNATURE-----
Version​: 2.6.3i
Charset​: latin1

iQEVAwUBPD05yncLPEOTuEwVAQH7gAf9Gimi8OITCMX3H0Zo8TSH0BWp/3/pxe7e
0osut5Q2O+LPzItB/HT5vnaHA+P2VpHnto1+FYD1kAfexHngMY+lFxKwa786b8OP
iM9rdswajylut0I2l4K+4Kp/uTPGTeX1ayP6PYO77gsjEuQSAKqA+luaXs4HEfmo
yBVmlcdp0Zi3POjCuH85gSS508Mz0M3SQJCX6XD0ZEN1ljl5kQWeK1Mpzj19gnE6
zolLqrUVBBRttq8Lw5N+r1tPVNqRIfpbBu8bvRD8iD+u9nMgO5ZOO6x7Y05vQTLU
C6HHq8H4dZ52063/80nnQNS5oWEMV2KrX/E3iCszswt0tjzoVPDhfA==
=wxCL
-----END PGP SIGNATURE-----

@p5pRT
Copy link
Author

p5pRT commented Apr 19, 2010

From @chorny

Is it possible to compile 5.12.0 on it?

On Wed Jan 09 03​:37​:15 2002, tels wrote​:

This is a bug report for perl from perl_dummy@​bloodgate.com,
generated with the help of perlbug 1.33 running under perl v5.6.1.

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

The following program will cause an segfault, the use integer; seems to be
the cause, because without it runs.

If you could tell me how to supply additional information, I will gladly
fetch them for you. The machine in question is available trough Compaq's
great TestDrive program, in case someone want's to try for him/herself. I
am now trying to compile bleadperl on the machine to see how far that goes
and maybe it cures the problem.

Thank you in advance!

#/usr/bin/perl -w
use integer;
$AND_BITS = 24;
$BASE = 100000;
my $max = 16;
while (2 ** $max < $BASE) { $max++; }

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags​:
category=core
severity=critical
---
Site configuration information for perl v5.6.1​:

Configured by buildd at Sun Jun 24 07​:28​:54 BST 2001.

Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration​:
Platform​:
osname=linux, osvers=2.2.13, archname=arm-linux
uname='linux medusa 2.2.13 #334 wed dec 29 04​:49​:54 gmt 1999 armv3l
unknown '
config_args='-Dccflags=-DDEBIAN -Dcccdlflags=-fPIC
-Darchname=arm-linux
-Dprefix=/usr -Dprivlib=/usr/share/perl/5.6.1 -Darc
hlib=/usr/lib/perl/5.6.1 -Dvendorprefix=/usr -Dvendorlib=/usr/share/perl5
-Dvendorarch=/usr/lib/perl5 -Dsiteprefix=/usr/local -
Dsitelib=/usr/local/share/perl/5.6.1 -Dsitearch=/usr/local/lib/perl/5.6.1
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/ma
n/man3 -Dman1ext=1 -Dman3ext=3perl -Dpager=/usr/bin/sensible-pager -Uafs
-Ud_csh -Uusesfio -Dotherlibdirs=/usr/lib/perl5/5.6​:/u
sr/lib/perl5/5.005 -Duseshrplib -Dlibperl=libperl.so.5.6.1 -Dd_dosuid
-Doptimize=-O1 -des'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler​:
cc='cc', ccflags ='-DDEBIAN -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O1',
cppflags='-DDEBIAN -fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.95.4 20010604 (Debian prerelease)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries​:
ld='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldbm -ldb -ldl -lm -lc -lcrypt
perllibs=-ldl -lm -lc -lcrypt
libc=/lib/libc-2.2.3.so, so=so, useshrplib=true,
libperl=libperl.so.5.6.1
Dynamic Linking​:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'

Locally applied patches​:

---
@​INC for perl v5.6.1​:
/usr/local/lib/perl/5.6.1
/usr/local/share/perl/5.6.1
/usr/lib/perl5
/usr/share/perl5
/usr/lib/perl/5.6.1
/usr/share/perl/5.6.1
/usr/local/lib/site_perl
/usr/lib/perl5/5.6
/usr/lib/perl5/5.005
.

---
Environment for perl v5.6.1​:
HOME=/house/Tels
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)

PATH=/house/Tels/bin​:/usr/local/bin​:/usr/bin​:/bin​:/usr/bin/X11​:/usr/games
PERL_BADLANG (unset)
SHELL=/bin/csh

--
Alexandr Ciornii, http​://chorny.net

@p5pRT
Copy link
Author

p5pRT commented Jul 4, 2016

@dcollinsn - Status changed from 'open' to 'stalled'

@richardleach
Copy link
Contributor

Can this ticket be closed?

  1. OP hasn't responded since 2002
  2. That model of device probably doesn't have a large user pool clamouring for Perl support these days.
  3. Supplied test case runs fine on v5.30.0

@atoomic
Copy link
Member

atoomic commented Oct 28, 2019

@dcollinsn I'm closing this case as the discussion is stalled
please let me know if the issue is not fixed in 5.30.0

sincerely
nicolas

@atoomic atoomic closed this as completed Oct 28, 2019
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

3 participants