[imp] the document contained no data: segmentation fault

Stathakopoulos Giorgos stathako@cti.gr
Thu, 1 Mar 2001 18:27:58 +0200 (EET)


On Thu, 1 Mar 2001, Chuck Hagenbuch wrote:

> > The apache error log shows:
> > [Thu Mar  1 16:17:05 2001] [notice] child pid 27235 exit signal
> > Segmentation Fault (11)
> > 
> > Do I have to enable something that I missed?
> 
> It doesn't look like it; you need to find out why php is crashing. See 
> http://bugs.php.net/bugs-generating-backtrace.php.
> 

I can't get core (something with write permissions), I'll check it later.
I found (with solaris truss) that the problem is the underscore (_) when
accessing php code,
e.g.
<?php echo _("Horde System") ?> 
If I remove the underscore, the script works fine. I think that it is
something with my PHP installation. Let me know if there is a workaround
for this or it is a known bug.

Thanks again,
George




>From chuck@horde.org Date: Thu,  1 Mar 2001 11:38:37 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 56143 invoked from network); 1 Mar 2001 16:39:37 -0000
Received: from 208-59-178-62.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.178.62)
  by horde.org with SMTP; 1 Mar 2001 16:39:37 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id C6A7D3CA0; Thu,  1 Mar 2001 11:38:37 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina.horde.org by marina.horde.org with HTTP;
	Thu,  1 Mar 2001 11:38:37 -0500
Message-ID: <983464717.3a9e7b0d819dc@marina.horde.org>
Date: Thu,  1 Mar 2001 11:38:37 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Re: [imp] the document contained no data: segmentation fault

Quoting Stathakopoulos Giorgos <stathako@cti.gr>:

> I can't get core (something with write permissions), I'll check it later.
> I found (with solaris truss) that the problem is the underscore (_) when
> accessing php code,
> e.g.
> <?php echo _("Horde System") ?> 
> If I remove the underscore, the script works fine. I think that it is
> something with my PHP installation. Let me know if there is a workaround
> for this or it is a known bug.

That's the gettext function - why it's crashing is up to you to find out. And 
there were instructions on that page for getting a backtrace without a core 
file.

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist


>From chuck@horde.org Date: Thu,  1 Mar 2001 12:24:06 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 59968 invoked from network); 1 Mar 2001 17:25:51 -0000
Received: from 208-59-178-62.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO marina.horde.org) (208.59.178.62)
  by horde.org with SMTP; 1 Mar 2001 17:25:51 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 9C1D13CA9; Thu,  1 Mar 2001 12:24:06 -0500 (EST)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck@marina.horde.org by marina.horde.org with HTTP;
	Thu,  1 Mar 2001 12:24:06 -0500
Message-ID: <983467446.3a9e85b67e04e@marina.horde.org>
Date: Thu,  1 Mar 2001 12:24:06 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: Fwd: hordemgr passwd change help - (imp list posting problems,too)

np; i'm passing this on to the list though as i need to run to lunch at the
moment...

----- Forwarded message from Jerry Winegarden <jbw@duke.edu> -----
    Date: Thu, 1 Mar 2001 12:26:50 -0500 (EST)
    From: Jerry Winegarden <jbw@duke.edu>
Reply-To: Jerry Winegarden <jbw@duke.edu>
 Subject: hordemgr passwd change help - (imp list posting problems,too)
      To: chuck@horde.org

Chuck,
	Please forgive the direct message instead of to imp list, but I've
been trying for several days to send to the list and it claims I'm not
subscribed (but I've been subscribed for quite awhile).  Forwarded to
list
manager, but still no word.  If I weren't under time constraints to
produce a working system, I would continue to try to work through
channels.

I can't change the hordemgr password using mysqladmin.

When I try both the syntax in dbpasswd.sh or:

mysqladmin -u hordmgr -phordemgr password "xxxyyy"

it complains that "Access denied for user: 'hordemgr@localhost' ...

Just so you'll know, this is for a community center, almost no budget,
losing their free Mindspring mail account (as of today).  I'm bringing
them a linux server (file,mail,web) (behind their linux NAT firewall
box).
imp is perfect.  Thanks for all your work!  TGIA!

--
***************************************************************************
Jerry Winegarden	OIT/Technical Support		Duke University
jbw@duke.edu		http://www-jerry.oit.duke.edu
***************************************************************************


----- End forwarded message -----



-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"We have no fuel on board, plus or minus 8 kilograms." -A NASA scientist