> From [EMAIL PROTECTED] Sun Mar 31 18:06:08 2002
> From: Bernd Felsche <[EMAIL PROTECTED]>
> Subject: Re: LPRng: Build problems LPRng 3.8.9 on Solaris 2.6 - all segfault
> To: [EMAIL PROTECTED]
> Date: Mon, 1 Apr 2002 09:10:25 +0800 (WST)
>
> Patrick Powell tapped away at the keyboard with:
> > > From: Bernd Felsche <[EMAIL PROTECTED]>
> > > Date: Wed, 27 Mar 2002 08:10:45 +0800 (WST)
> > >
> > > Please excuse my ignorance...
> > >
> > > I'm wondering if anybody else has had problems building LPRng 3.8.9
> > > on Solaris 2.6 with segmentation faults.
> > >
> > > I'm using gcc 2.95 with everything appearing to make successfully.
> > > Unfortunately, every compiled program (even checkit) produces a
> > > segmentation fault very early on, shorly after opening the locale
> > > and /dev/zero according to truss.  So it appears to be very early
> > > in execution, possibly before main() Where to now?
> > >
> > > LPRng 3.7.9 has the same problem.
> > >
> > > N.B. gcc was just installed, but has built at least ghostscript 6.53
> > > successfully; that binary runs ok - but I've got to get the printer
> > > working to see it really working.
> > >
> > > Other shared libraries have also been updated using the packages at
> > > sunfreeware, but I can't see any of them linked when using truss on
> > > the troublesome executables.
>
> > Can you get a core dump of this? 
> > 
> > a)  chmod 755 the (for the sake of argument) checkit
> > b)  run checkit AS A USER, it should core dump in the current directory
> > c)  run gdb and find out where it dies
>
> yep... it core dumps  -- about 200kb. You want one?
>
> -- 
> /"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
> \ /  ASCII ribbon campaign | I'm a .signature virus!
>  X   against HTML mail     | Copy me into your ~/.signature
> / \  and postings          | to help me spread!
>

OK, then do the following:

cd /...LPRng/src/

checkpc  ... get core dump

gdb check checkpc.core

>>  where

And this will produce a stack trace telling where the
cause of hte problem was.

Can you send me the stack trace?

Patrick

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to