Subject: Re: perl-5.6.1 DB_file support
From: Reini Urban <[email-masked]>
To: [email-masked], [email-masked]
Cc: [email-masked]
Date: Mon, 08 Jan 2001 04:39:13 +0200

NTFS/win2k/cygwin-1.1.7
With CYGWIN=ntea it's completely different. It fails at different tests.
strange:

/usr/src/perl/perl-5.6.1-1/t$ CYGWIN=ntea ./TEST lib/*db*
lib/anydbm.....FAILED at test 3
lib/db-btree...FAILED at test 86
lib/db-hash....FAILED at test 49
lib/db-recno...FAILED at test 49
lib/findbin....ok
lib/gdbm.......      0 [main] perl 3940 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
  20102 [main] perl 3940 stackdump: Dumping stack trace to perl.exe.stackdump
FAILED at test 3
lib/ndbm.......      0 [main] perl 148 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
   8124 [main] perl 148 stackdump: Dumping stack trace to perl.exe.stackdump
FAILED at test 3
lib/odbm.......      0 [main] perl 1964 handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
   7534 [main] perl 1964 stackdump: Dumping stack trace to perl.exe.stackdump
FAILED at test 3
lib/sdbm.......ok
Failed 7 test scripts out of 9, 22.22% okay.
   ### Since not all tests were successful, you may want to run some
   ### of them individually and examine any diagnostic messages they
   ### produce.  See the INSTALL document's section on "make test".
   ### If you are testing the compiler, then ignore this message
   ### and run
   ###      ./perl harness
   ### in the directory ./t.
u=0.09  s=0.11  cu=2.86  cs=2.45  scripts=9  tests=663

and a better one:
lib/db-hash....Out of memory during "large" request for 2147487744 bytes,
total
sbrk() is 1064960 bytes at ../lib/DB_File.pm line 258.

This might give me a hint. I'll try again without uselargefiles

Reini Urban wrote:
> lib/anydbm...........      0 [main] perl 7624 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
>    6593 [main] perl 7624 stackdump: Dumping stack trace to perl.exe.stackdump
> FAILED at test 2
> lib/anydbm...FAILED at test 2
> lib/db-btree.........FAILED at test 20
> lib/db-hash..........FAILED at test 16
> lib/db-recno.........FAILED at test 18
> lib/gdbm.............FAILED at test 2

> 
> Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
>   Platform:
>     osname=cygwin, osvers=1.1.6(0.3032), archname=cygwin
>     uname='cygwin_nt-5.0 fifer 1.1.6(0.3032) 2000-11-21 21:00 i686 unknown '
>     config_args='-de'
>     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='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -DHAS_SBRK_PROTO
> -fno-strict-alising',
>     optimize='-O2',
>     cppflags='-DPERL_USE_SAFE_PUTENV -DHAS_SBRK_PROTO -fno-strict-aliasing'
>     ccversion='', gccversion='2.95.2-5 19991024 (cygwin experimental)', gccosanvers=''
>     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',
> lseeksiz
> =4
>     alignbytes=8, usemymalloc=y, prototype=define
>   Linker and Libraries:
>     ld='ld2', ldflags =' -s -L/usr/local/lib'
>     libpth=/usr/local/lib /usr/lib /lib
>     libs=-lgdbm -lcrypt
>     perllibs=-lcrypt
>     libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl5_6_1.a
>   Dynamic Linking:
>     dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
>     cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'
> 
> Characteristics of this binary (from libperl):
>   Compile-time options: USE_LARGE_FILES
>   Locally applied patches:
>         v5.6.1-TRIAL1
>   Built under cygwin
>   Compiled at Jan  8 2001 03:11:19
>   @INC:
>     /usr/lib/perl5/5.6.1/cygwin
>     /usr/lib/perl5/5.6.1
>     /usr/lib/perl5/site_perl/5.6.1/cygwin
>     /usr/lib/perl5/site_perl/5.6.1
>     /usr/lib/perl5/site_perl
>     .

-- 
Reini Urban
http://xarch.tu-graz.ac.at/autocad/news/faq/autolisp.html

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple