apt lorg3.1 segfaults on RH9, RH7.3 and EL2.1

Dag Wieers dag at wieers.com
Mon May 29 07:17:05 PDT 2006


Hi Panu,

With a repomd repository created with the createrepo -n option and a 
vanilla apt lorg3.1 on RH9, RH7.3 and EL2.1 I get segfaults when doing an 
apt-get update.

The config-file in all cases looks like:

	rpm http://ayo.freshrpms.net redhat/9/i386 os updates
	rpm http://download.fedoralegacy.org/apt redhat/9/i386 os updates legacy-utils
	repomd file:///dar/pub redhat/9/en/i386/dag

And this is the output:

	[root at rh9i /]# apt-get update
	Get:1 http://ayo.freshrpms.net redhat/9/i386 release [1171B]
	Get:2 http://download.fedoralegacy.org redhat/9/i386 release [1601B]
	Fetched 2772B in 0s (12.3kB/s)
	Hit http://ayo.freshrpms.net redhat/9/i386/os pkglist
	Hit http://ayo.freshrpms.net redhat/9/i386/os release       
	Hit http://ayo.freshrpms.net redhat/9/i386/updates pkglist  
	Hit http://ayo.freshrpms.net redhat/9/i386/updates release  
	Hit http://download.fedoralegacy.org redhat/9/i386/os pkglist
	Hit http://download.fedoralegacy.org redhat/9/i386/os release
	Hit http://download.fedoralegacy.org redhat/9/i386/updates pkglist
	Hit http://download.fedoralegacy.org redhat/9/i386/updates release
	Hit http://download.fedoralegacy.org redhat/9/i386/legacy-utils pkglist
	Hit http://download.fedoralegacy.org redhat/9/i386/legacy-utils release
	Segmentation faultsts... 33%

strace output
	) = 30g Package Lists... 33%Lists... 33%\r", 30
	stat64("/var/state/apt/lists/_dar_pub_redhat_9_en_i386_dag_repodata_primary.xml", {st_mode=S_IFREG|0644, st_size=12892783, ...}) = 0
	brk(0)                                  = 0xc20d000
	brk(0xc215000)                          = 0xc215000
	open("/var/state/apt/lists/_dar_pub_redhat_9_en_i386_dag_repodata_primary.xml", O_RDONLY|O_LARGEFILE) = 7
	fstat64(7, {st_mode=S_IFREG|0644, st_size=12892783, ...}) = 0
	mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xf62c8000
	read(7, "<?xml version=\"1.0\" encoding=\"UT"..., 16384) = 16384
	_llseek(7, 0, [16384], SEEK_CUR)        = 0
	brk(0)                                  = 0xc215000
	brk(0xc217000)                          = 0xc217000
	_llseek(7, 0, [0], SEEK_SET)            = 0
	read(7, "<?xml version=\"1.0\" encoding=\"UT"..., 4096) = 4096
	brk(0)                                  = 0xc217000
	brk(0xc219000)                          = 0xc219000
	read(7, "m:license><rpm:vendor>Dag Apt Re"..., 4096) = 4096
	close(7)                                = 0
	munmap(0xf62c8000, 4096)                = 0
	gettimeofday({1148911970, 870527}, NULL) = 0
	) = 30g Package Lists... 33%Lists... 33%\r", 30
	stat64("/var/state/apt/lists/_dar_pub_redhat_9_en_i386_dag_repodata_primary.xml", {st_mode=S_IFREG|0644, st_size=12892783, ...}) = 0
	--- SIGSEGV (Segmentation fault) @ 0 (0) ---
	+++ killed by SIGSEGV +++

Indicating this might be a problem with the metadata itself ? :)

The metadata is available from:

	http://dag.wieers.com/attic/apt/_dar_pub_redhat_9_en_i386_dag_repodata_primary.xml.bz2

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]



More information about the Apt-Rpm mailing list