From owner-freebsd-questions Mon Nov 18 13:54:37 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA14939 for questions-outgoing; Mon, 18 Nov 1996 13:54:37 -0800 (PST) Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA14932 for ; Mon, 18 Nov 1996 13:54:33 -0800 (PST) Received: by halloran-eldar.lcs.mit.edu; (5.65v3.2/1.1.8.2/19Aug95-0530PM) id AA01155; Mon, 18 Nov 1996 16:54:32 -0500 Date: Mon, 18 Nov 1996 16:54:32 -0500 From: Garrett Wollman Message-Id: <9611182154.AA01155@halloran-eldar.lcs.mit.edu> To: questions@freebsd.org Subject: ncurses segfault puzzlement Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have a dialog(3) program which appears to be segfaulting somewhere in or near the ncurses function `has_colors'. In particular, this is the backtrace from a static executable: #0 0x683b in has_colors () #1 0x528d in draw_shadow () #2 0x2b1f in dialog_menu () #3 0x239e in main (argc=1, argv=0xefbfdc7c) at tzmenu2.c:636 An inspection of the source to has_colors() does not reveal any possible way it could fail. Can anyone explain this? (Please send any responses directly to me as I don't read -questions.) -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, ANA, or NSA| - Susan Aglukark and Chad Irschick