Bug 86454 - sysinstall(8): sysinstall terminates with signal 10 if INDEX is corrupted
Summary: sysinstall(8): sysinstall terminates with signal 10 if INDEX is corrupted
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 5.3-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sysinstall (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-22 11:30 UTC by Andrey V. Elsukov
Modified: 2015-11-10 09:12 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey V. Elsukov 2005-09-22 11:30:04 UTC
	sysinstall fails when packages INDEX file is corrupted.
gdb output:
Core was generated by `sysinstall'.
Program terminated with signal 10, Bus error.
#0  0x08054ed3 in new_index (name=0xbfbf9630 "", pathto=0xbfbf9630 "",
    prefix=0x873abc0 "", comment=0x0, descr=0x0, maint=0x0, deps=0x0,
    volume=-201873422) at /usr/src/usr.sbin/sysinstall/index.c:230
230         tmp->volume =       volume;
(gdb) bt
#0  0x08054ed3 in new_index (name=0xbfbf9630 "", pathto=0xbfbf9630 "",
    prefix=0x873abc0 "", comment=0x0, descr=0x0, maint=0x0, deps=0x0,
    volume=-201873422) at /usr/src/usr.sbin/sysinstall/index.c:230
#1  0x0805520b in index_read (fp=0xe7335dbf, papa=0xf3f7a7f2)
    at /usr/src/usr.sbin/sysinstall/index.c:343
#2  0x2ece353d in ?? ()
#3  0xe7335dbf in ?? ()
#4  0xf3f7a7f2 in ?? ()
#5  0x617b3775 in ?? ()

How-To-Repeat: 	always with my corrupted INDEX.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-09-22 20:17:51 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-qa

Over to maintainer.
Comment 2 Bruce Cran freebsd_committer freebsd_triage 2010-04-30 19:51:41 UTC
Responsible Changed
From-To: freebsd-bugs->brucec

Take.
Comment 3 Bruce Cran freebsd_committer freebsd_triage 2011-01-23 20:58:11 UTC
Responsible Changed
From-To: brucec->freebsd-sysinstall

Back to the pool.
Comment 4 Enji Cooper freebsd_committer freebsd_triage 2015-11-10 09:07:47 UTC
sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing.
Comment 5 Enji Cooper freebsd_committer freebsd_triage 2015-11-10 09:12:18 UTC
sysinstall has been replaced by bsdinstall in FreeBSD 9.x. Closing.