[ic] IC 4.8.2 Segmentation fault and core dumped

Joachim Leidinger interchange-users@interchange.redhat.com
Tue Oct 9 09:36:02 2001


Dennis Schoen wrote:
[DEL]
> > I've fetched IC 4.8.2 and after Installation, I get a "segmentation
> > fault (core dumped) and I'm missing the v/tlink source from
> > /path-to-IC-4.8.2/src! There are no source files of vlink and tlink.
> > Why?
> > IC 4.8.1 runs fine without any trouble. What is the cause? I use FreeBSD
> > 4.3!
> >
> > Any hints, tips and suggestions are very wellcome!
>  I just discussed that issue with mike on irc:
> 
> <dennis> mike: any news about the 4.8.2 freebsd bug?
> <mike> Which bug would that be?
> <dennis> read the mailinglist? :) segfault on startup
> <dennis> jojo was the last one who reported it
> <mike> Aha, that is a Perl bug
> <mike> You have to define setproctitle=define or something when building
> <dennis> standard perl in freebsd broken?
> <mike> Yes, the distro Perl is broken that is nothing new with FreeBSD....
> <mike> They shipped Perl 4 as the default perl on the system until December of 1998....

Really?

-----snip-------
 #perl -V
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=freebsd, osvers=4.0-current, archname=i386-freebsd
    uname='FreeBSD freefall.FreeBSD.org 4.0-current FreeBSD 4.0-current
#0: $Date$'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='undef', gccversion=2.95.2 19991024 (release)
    cppflags=''
    ccflags =''
    stdchar='char', d_stdstdio=undef, usevfork=true
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    alignbytes=4, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='cc', ldflags ='-Wl,-E -lperl -lm '
    libpth=/usr/lib
    libs=-lm -lc -lcrypt
    libc=, so=so, useshrplib=true, libperl=libperl.so.3
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='
-Wl,-R/usr/lib'
    cccdlflags='-DPIC -fpic', lddlflags='-Wl,-E -shared -lperl -lm '

Characteristics of this binary (from libperl): 
  Built under freebsd
  Compiled at Apr  2 2001 23:33:53
  @INC:
    /usr/libdata/perl/5.00503/mach
    /usr/libdata/perl/5.00503
    /usr/local/lib/perl5/site_perl/5.005/i386-freebsd
    /usr/local/lib/perl5/site_perl/5.005
-----snip-------


> <dennis> 8-)
> <mike> Or you can uncomment the $0 = .... lines in bin/interchange, which is
> <mike> what causes the core dump.

Uncomment the $0 = ... lines solve it! :-))

Mike! Dennis!

Thank you a lot!

ciao

jojo

-- 
Hans-Joachim Leidinger | Dipl.-Phys.Ing. Entwicklung eCommerce
[Hans-Joachim.leidinger@bpanet.de]
Black Point Arts Internet Solutions GmbH
http://www.bpanet.de