zsh-users
 help / color / mirror / code / Atom feed
* Re: segmentation fault at startup
@ 1999-07-12  7:27 Peter Stephenson
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Stephenson @ 1999-07-12  7:27 UTC (permalink / raw)
  To: Matt Garman, Zsh users list

Matt Garman wrote:
> I didn't compile it with debugging symbols, but tried to run it in gdb 
> anyway, and gdb reported the segmentation fault signal was caught in
> the wrefresh() function, if that helps anyone.

It shouldn't call wrefresh() --- the problem was that the line editor's
`refresh' function was getting confused with the function from the curses
package on some operating systems, particularly with dynamic loading. This
should be fixed in 3.1.6 (which is imminent).

-- 
Peter Stephenson <pws@ibmth.df.unipi.it>       Tel: +39 050 844536
WWW:  http://www.ifh.de/~pws/
Dipartimento di Fisica, Via Buonarroti 2, 56127 Pisa, Italy


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: segmentation fault at startup
  1999-07-12  8:58 ` Falk Hueffner
@ 1999-07-13  3:19   ` Matt Garman
  0 siblings, 0 replies; 4+ messages in thread
From: Matt Garman @ 1999-07-13  3:19 UTC (permalink / raw)
  To: zsh users

On Mon, Jul 12, 1999 at 10:58:09AM +0200, Falk Hueffner wrote:
> Matt Garman <garman@mailadrgen.zdv.uni-tuebingen.de> writes:
> 
> > Hello:
> > 
> > I tried to build zsh from the 3.1.5 source.  The compilation and
> > installation went fine, but when I actually try to run the binary, it
> > just seg faults:
> > 
> > zsh: segmentation fault  zsh
> 
> A possible reason is that you curses headers and libraries are out of
> sync. Try it "make menuconfig" with your kernel works as an indicator
> (I'm guessing you're using Linux on an i386, right?).

Yes, I am running Linux on a PC (sorry, forgot to include that
important info in my initial post!).  I'm running Debian "Slink" 2.1,
if that makes a difference.

Also, I just did a 'make menuconfig' on the linux-2.2.10 kernel, and
everything went okay.

I suppose I'll just wait for zsh-3.1.16.

Thanks!
Matt

-- 
Matt Garman, garman@students.uiuc.edu
"And though the window in the wall
 Come streaming in on sunlight wings
 A million bright ambassadors of morning." 
	--Pink Floyd, "Echoes"


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: segmentation fault at startup
@ 1999-07-12  8:58 ` Falk Hueffner
  1999-07-13  3:19   ` Matt Garman
  0 siblings, 1 reply; 4+ messages in thread
From: Falk Hueffner @ 1999-07-12  8:58 UTC (permalink / raw)
  To: Matt Garman; +Cc: zsh users

Matt Garman <garman@mailadrgen.zdv.uni-tuebingen.de> writes:

> Hello:
> 
> I tried to build zsh from the 3.1.5 source.  The compilation and
> installation went fine, but when I actually try to run the binary, it
> just seg faults:
> 
> zsh: segmentation fault  zsh

A possible reason is that you curses headers and libraries are out of
sync. Try it "make menuconfig" with your kernel works as an indicator
(I'm guessing you're using Linux on an i386, right?).

	Falk



^ permalink raw reply	[flat|nested] 4+ messages in thread

* segmentation fault at startup
@ 1999-07-12  3:50 Matt Garman
  1999-07-12  8:58 ` Falk Hueffner
  0 siblings, 1 reply; 4+ messages in thread
From: Matt Garman @ 1999-07-12  3:50 UTC (permalink / raw)
  To: zsh users


Hello:

I tried to build zsh from the 3.1.5 source.  The compilation and
installation went fine, but when I actually try to run the binary, it
just seg faults:

zsh: segmentation fault  zsh

I didn't compile it with debugging symbols, but tried to run it in gdb 
anyway, and gdb reported the segmentation fault signal was caught in
the wrefresh() function, if that helps anyone.

I first tried to build with pgcc-2.91.60 for optimization, but thought 
perhaps pgcc was the cause of the seg fault, so then I used the gcc
that came with my distribution, gcc-2.7.2.3.  I also tried building
from the 3.1.4 source, and had the same problem.

Anyone have any ideas?

Thanks,
Matt

-- 
Matt Garman, garman@students.uiuc.edu
"And though the window in the wall
 Come streaming in on sunlight wings
 A million bright ambassadors of morning." 
	--Pink Floyd, "Echoes"


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-07-13  4:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-12  7:27 segmentation fault at startup Peter Stephenson
  -- strict thread matches above, loose matches on Subject: below --
1999-07-12  3:50 Matt Garman
1999-07-12  8:58 ` Falk Hueffner
1999-07-13  3:19   ` Matt Garman

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).