develooper Front page | perl.perl5.porters | Postings from September 2003

[perl #24058] Segfault with DProf and BigInt

From:
Tels
Date:
September 28, 2003 16:51
Subject:
[perl #24058] Segfault with DProf and BigInt
Message ID:
rt-24058-65376.9.30662390291175@rt.perl.org
# New Ticket Created by  Tels 
# Please include the string:  [perl #24058]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24058 >


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

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


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

	# perl -d:DProf segfault.pl Foo
	Segmentation fault
	# cat segfault.pl
	#!/usr/bin/perl -w
	
	use Math::BigInt lib => shift || '';


This also happened under 5.8.0 and prompted me to upgrade to 
the newest version 5.8.1 :)

Passing 'Calc' or 'GMP' (with Math::BigInt::GMP installed)
does not segfault. Also, the following does not segfault:

	# perl segfault Foo

I am using $Devel::DProf::VERSION = '20030813.00' and Math::BigInt v1.66, both 
straight from v5.8.1.

Thank you in advance,

Tels

[Please do not change anything below this line]
- -----------------------------------------------------------------
- ---
Flags:
    category=core
    severity=critical
- ---
This perlbug was built using Perl v5.8.0 - Thu Mar 13 22:21:38 UTC 2003
It is being executed now by  Perl v5.8.1 - Sat Sep 27 20:54:50 CEST 2003.

Site configuration information for perl v5.8.1:

Configured by te at Sat Sep 27 20:54:50 CEST 2003.

Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
  Platform:
    osname=linux, osvers=2.4.20-4gb-athlon, archname=i686-linux
    uname='linux null 2.4.20-4gb-athlon #1 wed aug 6 18:27:52 utc 2003 i686 
unknown unknown gnulinux '
    config_args='-ds -e'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include 
- -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
    optimize='-O3',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='3.3 20030226 (prerelease) (SuSE Linux)', 
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.2'
  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.8.1:
    /usr/local/lib/perl5/5.8.1/i686-linux
    /usr/local/lib/perl5/5.8.1
    /usr/local/lib/perl5/site_perl/5.8.1/i686-linux
    /usr/local/lib/perl5/site_perl/5.8.1
    /usr/local/lib/perl5/site_perl
    .

- ---
Environment for perl v5.8.1:
    HOME=/root
    LANG=en_US
    LANGUAGE (unset)
    LC_COLLATE=POSIX
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/sbin:/bin:/usr/bin:/sbin:/usr/X11R6/bin
    PERL_BADLANG (unset)
    SHELL=/bin/bash

- -- 
 Signed on Sat Sep 27 21:16:40 2003 with key 0x93B84C15.
 Visit my photo gallery at http://bloodgate.com/photos/
 PGP key on http://bloodgate.com/tels.asc or per email.

 "Schau, schau, Schononen."

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.

iQEVAwUBP3XinXcLPEOTuEwVAQHw0wf8Dy8WFXCr1EE4+b1X3X1Z+0ISmgxa3MU3
r2MjexZWGr3vW9wvXHFfcIgnp9jpBWsBM70nS4zedPuV7PT8pa3KANRNYXkBYQMk
Tz0RSSsSMAGlKjWodxiCG6Dxnj/RMftnj8gKVDwRpphM6iMY5d3FApIVlzMsFdMG
PhMUICHz8C2Fivv1NmcN8JbkBZOdk9vo/TmSBPSlRMDfAZi3nJhCLb7ZX2uynmAu
5m6ze49f2/bgqeUxorFGihDCW8UIs8zBVIrWJEWzs3VJ6F9KqufPDVgtC2x+H9aP
VS4MyKR1JAOr/2HRz+XqcC0zLgCcfaiUq+diqXGtItyuxIkD5pn8qA==
=FQaO
-----END PGP SIGNATURE-----





nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About