On Mon, 8 Dec 2003, Sam Vilain wrote:
> On Sat, 06 Dec 2003 14:42, Roderick A. Anderson wrote;
> Running the script with -v or -d makes it a lot easier to debug.
> Could you run the script with -d and send me the output?
Still blows chunks.
{/vservers.new}# unify-dirs -d ref tc
unify-dirs: Unifying: ref tc
unify-dirs: Processing ref...
unify-dirs: Readdir OK
unify-dirs: Processing tc...
unify-dirs: Readdir OK
unify-dirs: Processing ref/sbin...
unify-dirs: Readdir OK
unify-dirs: Processing tc/sbin...
unify-dirs: Readdir OK
unify-dirs: COMPARE: tc/sbin/install-info vs ref/sbin/install-info
unify-dirs: digesting tc/sbin/install-info
Error digesting tc/sbin/install-info; Input/output error at
/root/bin/unify-dirs line 287.
{/vservers.new}# unify-dirs -v ref tc
unify-dirs: Unifying: ref tc
Error digesting tc/sbin/install-info; Input/output error at
/root/bin/unify-dirs line 287.
> Please also forward me the output of:
>
> perl -le 'eval"use $_",print"$_: ".${$_.::VERSION} foreach
> qw(Pod::Constants Class::Tangram Set::Object ReadDir);'
Attachment (check1.lst)
> and:
>
> perl -V
Attachment (check2.lst)
> If it segfaults, run it inside the debugger (ie perl -d unify-dirs -d
> ...) and just let it rip. Actually the best thing to do is to trap it
> with gdb and do a stack backtrace; get yourself a debug-perl and:
>
> gdb /usr/bin/debug-perl
> > b main
> > r -d /root/bin/unify-dirs -d
> PerlDB <1> c
> *segv*
> > bt
No joy and short on time right now. We're moving our equipment to our new
NOC tonight so I'm playing catch as catch can - still I wanted to provide
something sooner than later.
> If you make sure that the modules are built with debugging symbols,
> you can usually see clearly which module the bug is in... these sorts
> of bugs can be hard to track down otherwise.
A project for later this week unless your brilliance sees it sooner. :-)
Best,
Rod
--
"Open Source Software - You usually get more than you pay for..."
"Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
Platform:
osname=linux, osvers=2.4.18-11smp, archname=i386-linux-thread-multi
uname='linux daffy.perf.redhat.com 2.4.18-11smp #1 smp thu aug 15 06:41:59 edt
2002 i686 i686 i386 gnulinux '
config_args='-des -Doptimize=-O2 -march=i386 -mcpu=i686 -Dmyhostname=localhost
[EMAIL PROTECTED] -Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr
-Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib -Dusethreads
-Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun -Di_db -Ui_ndbm -Di_gdbm
-Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio -Dinstallusrbinperl -Ubincompat5005
-Uversiononly -Dpager=/usr/bin/less -isr'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -march=i386 -mcpu=i686',
cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -I/usr/include/gdbm'
ccversion='', gccversion='3.2 20020822 (Red Hat Linux Rawhide 3.2-5)',
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='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lpthread -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lpthread -lc -lcrypt -lutil
libc=/lib/libc-2.2.92.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.2.92'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Sep 1 2002 23:56:49
@INC:
/usr/lib/perl5/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0
/usr/lib/perl5/vendor_perl
.
Pod::Constants: 0.15
Class::Tangram:
Set::Object:
ReadDir: 0.02