[ic] Help Needed fast please!

Joachim Leidinger interchange-users@icdevgroup.org
Thu Jul 25 08:23:04 2002


Soheil Shaghaghi wrote:
> Hi everyone,
> Running IC 4.85, on a FreeBSD:
> I just upgraded from Perl 5.6.0 to 5.6.2, and now, when I try to restart IC,
> it won't start.
> This is the message I get:
> ...UI is loaded...
> Interchange V4.8.5
> Configuring catalog s_shop...Using MySQL, DSN=dbi:mysql:s_shop...done.
> Configuring catalog shop...Using MySQL, DSN=dbi:mysql:pm_shop.
> done.
> Segmentation fault - core dumped
> 
> Can someone please tell me what I should look for.

Have you

# FreeBSD's stock Perl build dumps core if you set $0, so let's not touch it
ifdef DOLLAR_ZERO_BUG or $^O =~ /freebsd/
Message Running FreeBSD; disabling $0 set
Variable MV_DOLLAR_ZERO 0
endif

in your interchange.cfg file?

Did

	# Set $0 to something pretty for ps(1).
	# Won't work on Solaris and IRIX among possibly others.
	# Dumps core on FreeBSD 4 stock Perl build.


if (defined $Global::Variable->{MV_DOLLAR_ZERO}) {
	if ($Global::Variable->{MV_DOLLAR_ZERO}) {
		if (length($Global::Variable->{MV_DOLLAR_ZERO}) > 1) {
# 
		$0 = $Global::Variable->{MV_DOLLAR_ZERO};
		}
		else {
# 
		$0 = "interchange --> $Global::VendRoot";
		}
	}
# do nothing if MV_DOLLAR_ZERO is defined but false
	}
	else {
# 
		$0 = 'interchange';
	}

(see # ) in your bin/interchange file helps you?

Joachim


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