[ID 20020326.002] coredump perl5.7.3 with GD modules on OpenBSD

This is a bug report for perl from alian@cpan.org,
generated with the help of perlbug 1.33 running under perl v5.7.3.


-----------------------------------------------------------------
First module I found that give coredump. 
Here list of successful build:
http://testers.cpan.org/search?distname=all_distributions&macids=176

I've test GD1.29 => Last version same problem
I've test with gcc-3.0.4 and gcc-2.95.3 same problem

bash-2.05$ pwd
/usr/local/workplace/perl/GD-1.29
bash-2.05$ make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/GD....ok 1/10Use of uninitialized value in subroutine entry at t/GD.t line 97.
brush is not of type GD::Image at t/GD.t line 97.
t/GD....dubious
        Test returned status 0 (wstat 139, 0x8b)
        test program seems to have generated a core
DIED. FAILED tests 2-10
        Failed 9/10 tests, 10.00% okay
Failed Test Stat Wstat Total Fail  Failed  List of Failed
-------------------------------------------------------------------------------
t/GD.t         0   139    10    9  90.00%  2-10
Failed 1/1 test scripts, 0.00% okay. 9/10 subtests failed, 10.00% okay.
make: *** [test_dynamic] Error 9
bash-2.05$ /usr/bin/perl -v

This is perl, v5.7.3 built for OpenBSD.i386-openbsd
......
bash-2.05$ cd t
bash-2.05$ ls
GD.t         frog.jpg  perl5.7.3.core   test.out.2.png  test.out.4.png  test.out.6.png  test.out.8.png  tile.png
Generic.ttf  frog.xpm  test.out.10.png  test.out.3.png  test.out.5.png  test.out.7.png  test.out.9.png
bash-2.05$ gdb /usr/bin/perl perl5.7.3.core
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd3.0"...
Core was generated by `perl5.7.3'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/lib/libm.so.0.1...done.
Reading symbols from /usr/lib/libc.so.28.0...done.
Reading symbols from /usr/lib/libutil.so.7.1...done.
Reading symbols from /usr/local/test/perl573/lib/5.7.3/OpenBSD.i386-openbsd/auto/IO/IO.so...done.
Reading symbols from /usr/local/test/perl573/lib/5.7.3/OpenBSD.i386-openbsd/auto/Fcntl/Fcntl.so...done.
Reading symbols from /usr/local/test/perl573/lib/5.7.3/OpenBSD.i386-openbsd/auto/Cwd/Cwd.so...done.
Reading symbols from /usr/local/workplace/perl/GD-1.29/./blib/arch/auto/GD/GD.so...done.
Reading symbols from /usr/local/lib/libgd.so.18.3...done.
Reading symbols from /usr/local/lib/libpng.so.2...done.
Reading symbols from /usr/lib/libz.so.1.3...done.
Reading symbols from /usr/local/lib/libttf.so.1.3...done.
Reading symbols from /usr/local/lib/libjpeg.so.62.0...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6.2...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4.11...done.
#0  0x93178 in PerlIO_destruct ()
(gdb) where
#0  0x93178 in PerlIO_destruct ()
#1  0x2927 in perl_destruct ()
#2  0x1834 in main ()
(gdb)

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

Configured by alian at Fri Mar 15 20:20:01 GMT 2002.

Summary of my perl5 (revision 5.0 version 7 subversion 3) configuration:
  Platform:
    osname=openbsd, osvers=3.0, archname=OpenBSD.i386-openbsd
    uname='openbsd saturne 3.0 generic#94 i386 '
    config_args='-de -Dusedevel -Dprefix=/usr/local/test/perl573'
    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=define
  Compiler:
    cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
    optimize='-O2',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.95.3 20010125 (prerelease)', gccosandvers='openbsd3.0'
    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 /usr/lib
    libs=-lm -lc -lutil
    perllibs=-lm -lc -lutil
    libc=/usr/lib/libc.so.28.0, so=so, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=define, ccdlflags=' '
    cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC  -L/usr/local/lib'

Locally applied patches:
    

---
@INC for perl v5.7.3:
    /usr/local/test/perl573/lib/5.7.3/OpenBSD.i386-openbsd
    /usr/local/test/perl573/lib/5.7.3
    /usr/local/test/perl573/lib/site_perl/5.7.3/OpenBSD.i386-openbsd
    /usr/local/test/perl573/lib/site_perl/5.7.3
    /usr/local/test/perl573/lib/site_perl
    .

---
Environment for perl v5.7.3:
    HOME=/home/alian
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/usr/bin/:/usr/local/bin:/usr/X11R6/bin:/home/alian/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/games:.
    PERL_BADLANG (unset)
    SHELL=/usr/local/bin/bash

0
alian
3/26/2002 11:19:21 PM
perl.perl5.porters 47902 articles. 1 followers. Follow

1 Replies
346 Views

Similar Articles

[PageSpeed] 13

On Tuesday 26 March 2002 23:26, Slaven Rezic wrote:

>You need a patch to make GD perlio-aware. There is one in
>$CPAN/authors/id/A/AN/ANDK/patch.GD-1.32.work-with-perlio.txt for GD
>1.32, maybe also applicable for 1.29.

Ok it's work with patch thanks. Doesn't know how do report this to 
testers.cpan.org ... Do you know when is this patch mandatory ?

Thanks,
--
Alain BARBET
0
alb
3/27/2002 12:54:04 AM
Reply:

Similar Artilces:

[ID 20020305.018] test failures with perl5.7.3 on FreeBSD 4.3
This is a bug report for perl from eserte@vran.herceg.de, generated with the help of perlbug 1.33 running under perl v5.7.3. ----------------------------------------------------------------- I got two test failures. Note: this is the rsynced perl version (2002-03-05, ca. 21:00 UTC), so it might differ from the release. t/op/misc...........................PROG: -w "x" =~ /(\G?x)?/; # core dump in 20000716.007 EXPECTED: Quantifier unexpected on zero-length expression in regex; marked by <-- HERE in m/(\G?x)? <-- HERE / at - line 2. GOT: FAILED at test ...

[ID 20020306.001] make test failures with FreeBSD/perl5.7.3
This is a bug report for perl from slaven.rezic@berlin.de, generated with the help of perlbug 1.33 running under perl v5.7.3. ----------------------------------------------------------------- The following tests fail: t/op/misc...........................PROG: -w "x" =~ /(\G?x)?/; # core dump in 20000716.007 EXPECTED: Quantifier unexpected on zero-length expression in regex; marked by <-- HERE in m/(\G?x)? <-- HERE / at - line 2. GOT: FAILED at test 77 AND lib/File/Spec/t/rel2abs2rel........../unknown: not found # Failed test (../lib/F...

[ID 20020426.009] perl5.7.3 hangs when trying to tragp SIGSEGV coming from C code
This is a bug report for perl from stas@stason.org, generated with the help of perlbug 1.33 running under perl v5.7.3. ----------------------------------------------------------------- [Please enter your report here] I'm tinkering with a module that traps SIGSEGV and friends and generates a backtrace without dumping core. Everything works fine when a segfault is happens in the perl code (e.g. kill SEGV, $$). If the segfault happens in the C code perl 5.7.3 hangs. The same thing works fine with 5.6.1. Here is a stripped down version of the module that demonstrates the probl...

[ID 19991117.002] a bug in perl5 under Linux
I find this problem when I use perl5 compiled under Linux. % perl -v This is perl, version 5.005_03 built for i386-linux % perl print 8473018401 % 524288 , "\n" 524287 The correct answer should be 33. Guoheng Wei _.-. Sr. Component Design Eng. '( ^{_} ( Intel Corp. `~\`-----'\ 512-314-0053 )_)---)_) >I find this problem when I use perl5 compiled under Linux. >% perl -v >This is perl, version 5.005_03 built for i386-linux >% perl >print 8473018401 ...

[ID 20001107.006] Problems installing perl5.6.0, perl5.00405 on AIX
Hiya. I'm attempting to install both Perl 5.6 and/or Perl 5.4.5 on an AIX box running AIX 4.1.2. They both compile with no problems: they fail a few tests, but those still result in 99% functionality. What blows up is the install. Perl 5.4.5 reports an out of memory error upon installation, like so: root@appf ***** /netadmin/temp/perl5.004_05 28 % ./perl installperl -n cp perl /usr/local/bin/perl5.00405 chmod 755 /usr/local/bin/perl5.00405 Out of memory! ('top' shows 1400MB free virtual memory, 124MB free real memory, etc.)...

This Week on perl5-porters (3-9 February 2003)
This Week on perl5-porters (3-9 February 2003) I'm not sure whether it's me or if the Perl 5 porters discussions were actually a bit shorter than usual, but this week's summary, indeed, appears to be a bit shorter than usual. This doesn't mean that it's absolutely without interest. Maintenance releases Leon Brocard asked for the expected availability of the 5.005_04 and 5.6.2 releases. Notably, there are known fixes to allow building perl 5.005_03 and 5.6.1 with the newest versions of gcc and of the Berkeley DB. Gurusamy Sarathy intends to release...

This Week on perl5-porters (7-13 June 2004)
This Week on perl5-porters (7-13 June 2004) This week, a small summary is better than no summary at all. h2ph Rafael Garcia-Suarez finds that h2ph can't process the newest C headers from the glibc, because they include inline functions (instead of good old macros). He forced a bit of heuristics in it to decode the less convoluted C inline functions that might be there. Your mileage may vary. IO::File on windows Roderich Schupp finds that IO::File fails on open a file that is found on another volume on Windows (bug #30132). The problem comes from the Cwd and...

This Week on perl5-porters (3-9 May 2004)
This Week on perl5-porters (3-9 May 2004) On the menu of the P5P summary this week, you will find language constructions, segmentation faults, proposals for new tied methods, pronunciation issues, and (in fine) a few bugs. More on "last" Continuing a thread from last week about the "last" statement used to exit an eval() block: "last" and "next", when used to exit from a subroutine, not only exit, but also branch to the specified loop/label of the caller. This is definitively a feature, since (as Tim Bunce remarked) Test::More:...

This Week on perl5-porters (3-9 October 2005)
This Week on perl5-porters - 3-9 October 2005 A quiet week on perl5-porters, in which we learn that if we diddle with the environment, we eventually pay for the consequences, and Schwern saves the day by preventing the module testing infrastructure from falling apart. Inline broken on blead David Dyck wrote in to say that Inline's "make test" was failing in blead, due to a construct that applied the "defined" operator to a hash. Rafael Garcia-Suarez summed up the problem succinctly: $ perl5.8.7 -wle 'print defined %foo::...

This Week on perl5-porters (7-13 October 2002)
This Week on perl5-porters (7-13 October 2002) A new week, a new p5p summary. This week, the porters were busy with small bugs, compilation problems, and a few interesting new ideas. Read on. Speeding up Unicode handling Jarkko Hietaniemi introduced his new idea by saying *I have a task for someone.* The purpose is to speed up string handling functions (length(), substr(), index(), etc.) on Unicode strings. Various technical solutions (involving different types of caching) were proposed in the discussion, but nobody volunteered yet to begin experimentation and imp...

This Week on perl5-porters (7-13 April 2003)
This Week on perl5-porters (7-13 April 2003) This week : MacOS X problems, big and small patch proposals, cross-compilation and unknown errors. use base and import Casey West proposed a patch to call the import() method of a module referenced through the "use base" pragma. Graham Barr disagrees, saying that "use base" should only be used to set up inheritance, and Michael Schwern threatens to call the backward compatibility police. http://xrl.us/f4p Cross-compilation Redvers Davies complains that there's too little information about t...

This Week on perl5-porters (7-13 July 2003)
This Week on perl5-porters (7-13 July 2003) In a two-release-candidate-week, there are plenty of things to summarize. Learn what happened behind the scenes : random seeding of hashing, deprecation of vstrings, signals, floats, and the other things. 5.8.1-RC1 and -RC2 As I was saying, this week, Jarkko Hietaniemi packaged *two* release candidates of the upcoming maintenance release of perl, 5.8.1. There won't be another one before two weeks, because he's on a well-deserved vacation now. That gives you plenty of time to test the RC2 with your favourite applicat...

This Week on perl5-porters
This Week on perl5-porters - 7-13 June 2008 This morning, clkao pinged me and mentioned that he couldn't get perlbug to set the From: header when sending a bug report. I promised him I'd take a look. I opened up perlbug determined to add one line and send a patch. Somehow, I never got around to adding the line CL asked for... -- Jesse Vincent, getting a finger caught in the machine. Topics of Interest RT bugtrackers, note the changes in 5.10 H.Merijn Brand wished to draw attention to the main changes in the more complex structures derived fro...

This Week on perl5-porters (7-13 November 2005)
This Week on perl5-porters - 7-13 November 2005 This week was really, like David Landgren uses to say, a business week. Many short threads, many bug fixes, not all particularly earth-shattering, but Perl is even more solid. Feedback from Last Week's Summary About the sort/multicall patch, Robin Houston hushed to say that the ability to empty the array while you sort it and still retrieve the results has never worked. The point was that Robin added a test for this feature, which slipped into the patch sent to the list. http://xrl.us/ifnf Steven Schu...

Web resources about - [ID 20020326.002] coredump perl5.7.3 with GD modules on OpenBSD - perl.perl5.porters

New Video of the Fatal El Chapo Raid Shows He Almost Escaped Again
New video of the early-morning El Chapo raid shows the billionaire drug kingpin initially managed to escape the deadly shootout, tunneling out ...

Playboy Mansion For Sale And Hugh Hefner Is Included In The Deal
The Playboy Mansion is for sale and Hugh Hefner is included in the deal. The 89-year-old Playboy Magazine owner is selling the historic estate ...

White House joins Snapchat ahead of State of the Union address
By Ayesha Rascoe WASHINGTON (Reuters) - The White House said on Monday that it had joined Snapchat, marking the Obama administration's latest ...

This Star Wars Spoiler Is So Audacious, You Can't Be Mad At It
Just so we’re all clear, there’s a big Star Wars: The Force Awakens spoiler down here. Okay? All clear? Read more...

Fever builds for record $1.3 billion US jackpot
Saturday's winning numbers in the Powerball were 32-16-19-57-34 and 13, but while 25 people matched the first five numbers winning $1 million ...

Two-year phone contracts are now dead at all major US carriers
The two-year phone contract is dead. Sprint confirmed to The Verge this morning that it is no longer offering two-year contracts on phones, meaning ...

AT&T’s unlimited smartphone data is back—but only for TV subscribers
(credit: AT&T) AT&T is once again selling unlimited smartphone data, but you'll have to subscribe to either DirecTV or U-verse TV to get it. ...

Appeals court halts trial for 2nd officer charged in Freddie Gray's death
CNN Appeals court halts trial for 2nd officer charged in Freddie Gray's death CNN (CNN) [Breaking news update, 10 a.m. ET]. The Maryland Court ...

2017 Chrysler Pacifica Hybrid electrifies the family hauler
Filed under: Green , 2016 Detroit Auto Show , Chrysler , Minivan/Van , Hybrid The 2017 Chrysler Pacifica Hybrid brings green driving to the minivan ...

Cologne aftermath: Migrant men assaulted
WVTM13 Cologne aftermath: Migrant men assaulted WVTM13 (CNN) —Gangs of men have attacked and injured two Pakistanis and a Syrian man in Cologne, ...

Resources last updated: 1/11/2016 5:05:39 PM