Subject: install/7763: sysisnt core dump
To: None <gnats-bugs@gnats.netbsd.org>
From: Takahiro Kambe <taca@sky.yamashina.kyoto.jp>
List: netbsd-bugs
Date: 06/12/1999 01:50:52
>Number:         7763
>Category:       install
>Synopsis:       sysisnt core dump
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 12 01:50:01 1999
>Last-Modified:
>Originator:     Takahiro Kambe
>Organization:
	
>Release:        NetBSD-current 1999/6/11
>Environment:
	
System: NetBSD land.sky.yamashina.kyoto.jp 1.4C NetBSD 1.4C (LAND) #54: Sat Jun 12 00:08:39 JST 1999 taca@land.sky.yamashina.kyoto.jp:/usr/src/sys/arch/i386/compile/LAND i386


>Description:
	Sysinst core dump.
>How-To-Repeat:
	Create install media in /usr/src/distrib/i386/floppy, and boot it.
>Fix:
	Unknown.

	I add debugging option some source codes, and some stack trace.
	Some changes in curses aren't reflect to sysinst???

taca@land[104]:gdb sysinst sysinst.core 
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsd"...
Core was generated by `sysinst'.
Program terminated with signal 11, Segmentation fault.
#0  0xbfa39 in wrefresh ()
(gdb) where
#0  0xbfa39 in wrefresh ()
#1  0xbf24d in wrefresh ()
#2  0x95132 in process_menu (num=0) at menu_defs.c:1937
#3  0x9adb4 in main (argc=1, argv=0xefbfddb4)
    at /usr/src/distrib/utils/sysinst/arch/i386/../../main.c:120
#4  0x91a79 in _crunched_sysinst_stub ()
    at /usr/src/sys/arch/i386/stand/installboot/../../../../lib/libsa/loadfile.c:622
#5  0x118d in main ()
(gdb) up
#1  0xbf24d in wrefresh ()
(gdb) 
#2  0x95132 in process_menu (num=0) at menu_defs.c:1937
Source file is more recent than executable.
1937                    wrefresh (m->mw);
(gdb) l
1932                    }
1933                    /* Process the display action */
1934                    if (m->post_act)
1935                            (*m->post_act)();
1936                    post_menu (m);
1937                    wrefresh (m->mw);
1938
1939                    while ((req = menucmd (m->mw)) != REQ_EXECUTE)
1940                            process_req (m, num, req);
1941
(gdb) p *m
$1 = {title = 0x93cb7 "  NetBSD-1.4C Install System", y = 12, x = 15, h = 6, 
  w = 45, mopt = 1, numopts = 6, cursel = 0, topline = 0, opts = 0xf9bb0, 
  mw = 0x20b0c0, helpstr = 0x0, post_act = 0x91b60 <menu_0_postact>, 
  exit_act = 0}
(gdb) p *m->mw
$2 = {nextp = 0x20b0c0, orig = 0x0, begy = 12, begx = 15, cury = 3, curx = 1, 
  maxy = 10, maxx = 49, ch_off = 0, lines = 0x20b100, lspace = 0x226000, 
  wspace = 0x227000, delay = -1, flags = 0}
(gdb) q

>Audit-Trail:
>Unformatted: