Messages in this thread | | | Date | Tue, 5 Mar 1996 09:43:22 -0500 (EST) | From | "William E. Roadcap" <> | Subject | Menuconfig ANNOUNCEMENT! |
| |
Hi,
I have received two reports about menuconfig's lxdialog dieing with a segfault. In both cases it dies in the same place. I have not been able to reproduce it on my end, making it difficult for me to fix.
I need to hear from anyone else who has been getting a segmentation fault from lxdialog.
Specifically I'd like to know:
Kernel version libc version gcc version ncurses version
If you were later able to get lxdialog to work, what if anything did you change.
If there are any C experts (I am not) who would like to look at the problem, lxdialog is dieing on line 312 of util.c. Here is the function it's executing at death.
void draw_shadow (WINDOW * win, int y, int x, int height, int width) { int i;
if (has_colors ()) { /* Whether terminal supports color? */ wattrset (win, shadow_attr); wmove (win, y + height, x + 2); for (i = 0; i < width; i++) waddch (win, winch (win) & A_CHARTEXT); <---- DIES HERE for (i = y + 1; i < y + height + 1; i++) { wmove (win, i, x + width); waddch (win, winch (win) & A_CHARTEXT); waddch (win, winch (win) & A_CHARTEXT); } wnoutrefresh (win); } }
Thank you all for your time! ___ William E. Roadcap mailto://roadcapw@cfw.com TITUS Software ftp://titus.cfw.com/pub Waynesboro, Va (USA) http://www.cfw.com/~roadcapw
| |