bug-ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with ddd and stack size


From: James . Marselle
Subject: Re: Problems with ddd and stack size
Date: Sat, 9 Feb 2002 14:19:09 -0600

Ok, I rebuilt and now the Athena widgets are found.  When I try to run ddd,
it still blows up with:
Pid nnnnn  was killed due to stack growth failure.
Possible causes: insufficient memory or swap, or stack size exceeded
maxssize.

Pid nnnnn was killed due to failure in writing the signal context..

Then it gets a Memory fault and dumps core.

I looked at the Web page but for some reason "ulimit -a" and "ulimit -s" on
my machine doesn't work.  "ulimit" without args prints 4194303.  If I run
"csh" and type
"limit", it says stacksize is 81920 K (I increased the maxssize kernel
parameter) and memoryuse is unlimited.  Any ideas?

(For the bug-ddd folks: this is on an HP-UX 11.00 system.   ddd 3.3.1 was
built with gcc 3.0.1).

Thanks,

Jim Marselle




                                                                                
                                   
                    Arnaud                                                      
                                   
                    Desitter             To:     
James.Marselle@GFIGenfare.spx.com@nag.co.uk                       
                    <arnaud@nag.c        cc:                                    
                                   
                    o.uk>                Subject:     Re: Problems with ddd and 
stack size                         
                                                                                
                                   
                    02/08/02                                                    
                                   
                    10:47 AM                                                    
                                   
                    Please                                                      
                                   
                    respond to                                                  
                                   
                    Arnaud                                                      
                                   
                    Desitter                                                    
                                   
                                                                                
                                   
                                                                                
                                   



>
>
> Thanks, Arnaud.  I will try this.  You wouldn't happen to know about the
> maxssize settings, would you?
>

First of all, rebuild ddd from a clean .tar.gz.

Related to the stack-size, have a look:
http://www.fortran-2000.com/ArnaudRecipes/CompilerTricks.html#NumStackSize

Cheers,

>
>
> Hi,
>
> The Athena widgets library are installed in a weird place of hp-ux.
>
> Use:
>       ./configure \
>        --with-athena-includes=/usr/contrib/X11R6/include \
>        --with-athena-libraries=/usr/contrib/X11R6/lib
> Cheers,
> Arnaud
>
> >
> > Hello,
> >
> > I'm getting an error when I try to build ddd on HP-UX 11.00.  Here's
what
> > I'm getting (this is after most of the code compiled OK.  I had to hack
a
> > couple of source files to successfully compile, though):
> >
> >
> > ------------------------------------
> > No suffix list.
> > Making all in readline
> > Making all in vsllib
> > No suffix list.
> > Making all in themes
> > No suffix list.
> > Making all in ddd
> >      rm -f ./gpl.texinfo; ln -s ./../texinfo/gpl.texinfo ./gpl.texinfo
> >      rm -f ./gfdl.texinfo; ln -s ./../texinfo/gfdl.texinfo
./gfdl.texinfo
> > Creating ../icons/dddmask.xbm
> > sh[4]: xpmtoppm:  not found.
> > sh[4]: pnmdepth:  not found.
> > sh[4]: ppmtopgm:  not found.
> > sh[4]: pgmtopbm:  not found.
> > sh[5]: pbmtoxbm:  not found.
> >      c++ -DHAVE_CONFIG_H -I. -I. -I. -I./..     -DNDEBUG -O2 -g -W
-Wall
> > -trigraphs  -c vsl.C
> > vsl.C:61:51: X11/Xaw/Viewport.h: No such file or directory
> > vsl.C:63:51: X11/Xaw/Cardinals.h: No such file or directory
> > vsl.C: In function `int main(int, char**)':
> > vsl.C:201: `ZERO' undeclared (first use this function)
> > vsl.C:201: (Each undeclared identifier is reported only once for each
> > function
> >    it appears in.)
> > vsl.C:210: `viewportWidgetClass' undeclared (first use this function)
> > *** Error exit code 1
> >
> > Stop.
> > *** Error exit code 1
> >
> > Stop.
> > ------------------------------------
> >
> >
> > I have a ddd executable, though.  Should I be concerned about the above
> > errors?  I tried running ddd and this is what I got:
> >
> >
> > ------------------------------------
> > Pid 19294 was killed due to stack growth failure.
> > Possible causes: insufficient memory or swap, or stack size exceeded
> > maxssize.
> >
> > Pid 19294 was killed due to failure in writing the signal context.
> > Memory fault(coredump)
> > ------------------------------------
> >
> > I checked and our system's maxssize is 8 Mbytes.  Could this be the
> problem
> > and, if so, what's a good value for maxssize?  We have 2 GB real memory
> on
> > the system.
> >
> > Thanks,
> >
> > Jim Marselle
> >
> >
> > _______________________________________________
> > Bug-ddd mailing list
> > Bug-ddd@gnu.org
> > http://mail.gnu.org/mailman/listinfo/bug-ddd
> >
> > _____________________________________________________________________
> > This message has been checked for all known viruses by Star Internet
> > delivered through the MessageLabs Virus Scanning Service. For further
> > information visit http://www.star.net.uk/stats.asp or alternatively
call
> > Star Internet for details on the Virus Scanning Service.
> >
>
>
> _____________________________________________________________________
> This message has been checked for all known viruses by Star Internet
> delivered through the MessageLabs Virus Scanning Service. For further
> information visit http://www.star.net.uk/stats.asp or alternatively call
> Star Internet for details on the Virus Scanning Service.
>
>
>
>
>
> _____________________________________________________________________
> This message has been checked for all known viruses by Star Internet
> delivered through the MessageLabs Virus Scanning Service. For further
> information visit http://www.star.net.uk/stats.asp or alternatively call
> Star Internet for details on the Virus Scanning Service.
>


_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]