Package: reprepro
Version: 3.8.2-1
Followup-For: Bug #516515

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

There is something seriously broken. I can easily reproduce the
segmentation fault. I simply removed db/ pool/ dists/ to start with a
clean directory. I ran the export and createsymlinks options and then

reprepro -VVV --ignore=wrongdistribution -C test include sid \
 [..].changes

creashes with a segmentation fault. A first backtrace is attached. I
needed to compile libarchive1 with debugging symbols.

Can you reproduce the problem?

Regards, Daniel


- -- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (850, 'unstable'), (550, 'stable'), (500, 'oldstable'), (110, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages reprepro depends on:
ii  libarchive1            2.6.1-1           Single library to read/write tar, 
ii  libbz2-1.0             1.0.5-1           high-quality block-sorting file co
ii  libc6                  2.7-18            GNU C Library: Shared libraries
ii  libdb4.6               4.6.21-13         Berkeley v4.6 Database Libraries [
ii  libgpg-error0          1.4-2             library for common error values an
ii  libgpgme11             1.1.8-2           GPGME - GnuPG Made Easy
ii  zlib1g                 1:1.2.3.3.dfsg-12 compression library - runtime

Versions of packages reprepro recommends:
ii  apt                           0.7.20.2   Advanced front-end for dpkg

Versions of packages reprepro suggests:
pn  gnupg-agent                   <none>     (no description available)
pn  inoticoming                   <none>     (no description available)
ii  lzma                          4.43-14    Compression method of 7z format in

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkmgpmAACgkQm0bx+wiPa4xnMACdEswr1+rBkfnofCQbKbL+DyH1
H9EAniIBNlJZTXGRxEQiHSo4V/5bDrd0
=+m3/
-----END PGP SIGNATURE-----
Starting program: /usr/bin/reprepro -VVVVVV --ignore=wrongdistribution -C test include sid  /usr/local/src/packages/liboglappth/liboglappth_0.98-1_i386.changes
[Thread debugging using libthread_db enabled]
[New Thread 0xb7ba46b0 (LWP 5678)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7ba46b0 (LWP 5678)]
0x00000000 in ?? ()
#0  0x00000000 in ?? ()
No symbol table info available.
#1  0xb7eb7995 in client_skip_proxy (self=0x9970778, request=5632) at libarchive/archive_read.c:129
No locals.
#2  0xb7eb90fc in __archive_read_skip (a=0x9971c68, request=5632) at libarchive/archive_read.c:1009
	bytes_skipped = 1024
	total_bytes_skipped = 1024
	min = 1024
#3  0xb7ec503d in archive_read_format_tar_skip (a=0x9971c68) at libarchive/archive_read_support_format_tar.c:521
	bytes_skipped = -5193991323412506872
	tar = (struct tar *) 0x9973b30
#4  0xb7eb83a9 in archive_read_data_skip (_a=0x9971c68) at libarchive/archive_read.c:532
	a = (struct archive_read *) 0x9971c68
	r = 5
	buff = (const void *) 0x0
	size = 1
	offset = 129009018072
#5  0x080ae988 in read_data_tar (list=0xbf81c164, size=0xbf81c15c, 
    debfile=0x9970730 "./pool/test/libo/liboglappth/liboglappth-dev_0.98-1_i386.deb", ar=0x99707c0, tar=0x9971c68) at debfilecontents.c:90
	name = 0x9973e52 "usr/include/oglappth/oglv3d.h"
	mode = 33188
	entry = (struct archive_entry *) 0x99731b0
	c = {offsets = {1, 82, 91, 18, 0, 0, 3212950920, 160897600, 29, 160513428, 3212950864, 3212950916, 3085573620, 61616, 262144, 
    3084005776, 160897376, 160353840, 160892128, 3, 0, 0, 160353840, 0, 160513224, 160513428, 160516764, 0, 160516764, 1, 0, 0, 0, 0, 
    3084005728, 3084005776, 0, 3083057713, 16, 3212950920, 160899460, 16, 160898464, 160897272, 3085162602, 3083057713, 3083893812, 
    3083900488, 3083888081, 160513376, 160515368, 0, 3085611580, 0, 3, 3212951048, 3085405591, 160345304, 3212951060, 0, 0, 3212951032, 
    3212951016, 0, 160513428, 0, 3212951016, 262144, 160899460, 160353840, 160513224, 160516764, 3084572017, 160893992, 2, 160515368, 0, 
    160345304, 0, 0, 3085611580, 160517312, 160517000, 3212951240, 3084574279, 160517000, 0, 0, 1409, 3212951212, 0, 0, 3085611580, 0, 
    31, 3212951208, 3084572589, 2, 3212951216, 3212951196, 3083900488, 3083887940, 3083887871, 160899500, 143712, 160517312, 160354864, 
    160353840, 160345304, 3083993088, 160899526, 1, 0, 2, 1, 4294936307, 3084492880, 3084001268, 0, 0, 0, 0, 160892120, 3085611580, 0, 
    160897624, 31, 160899500, 3085611580, 160517000, 160517312, 3212951368, 3084508727, 160517000, 3, 3212951812, 1409, 1, 0, 3212951464, 
    160897928, 3, 0, 160517000, 160007352, 160897936, 160354864, 160890464, 160691296, 3083054708, 1409, 0, 3084005776, 160898688, 
    3083057713, 0, 95, 160892792, 3084005728, 2, 3085611580, 160354864, 3084006600, 3083893812, 3083900488, 3083888081, 3083887871, 
    3212951464, 3084005728, 755, 3084005784, 105, 13, 3084001268, 0, 160892816, 3212951480, 3083063446, 3084005728, 3083893812, 
    3083900488, 3083887940, 3083887871, 1, 3084005728, 17, 104, 104, 3084005772, 3083057713, 0, 3084005776, 32, 3083887871, 3083893812, 
    3083900488, 3083050427, 3084005784, 3083893812, 3083900488...}, size = 2000, len = 110, dirdepth = 3, 
  filelist = 0x9973358 "\002\003usr\002\005share\002\003doc\002\017liboglappth-dev\001\fchangelog.gz\001\tcopyright\001\023changelog.Debian.gz\005\002\ainclude\002\boglappth\001\boglv3d.h"}
	r = RET_OK
	a = 0
	e = 0
#6  0x080aed12 in getfilelist (filelist=0xbf81c164, size=0xbf81c15c, 
    debfile=0x9970730 "./pool/test/libo/liboglappth/liboglappth-dev_0.98-1_i386.deb") at debfilecontents.c:169
	tar = (struct archive *) 0x9971c68
	filename = 0x9970798 "data.tar.gz"
	c = c_gzip
	ar = (struct ar_archive *) 0x99707c0
	r = RET_OK
	hadcandidate = true
	__PRETTY_FUNCTION__ = "getfilelist"
#7  0x080ac9d9 in filelist_addpackage (list=0x9944690, database=0x98964d8, packagename=0x9970938 "liboglappth-dev", 
    section=0x9971950 "libdevel", filekey=0x99706f0 "pool/test/libo/liboglappth/liboglappth-dev_0.98-1_i386.deb") at filelist.c:449
	package = (const struct filelist_package *) 0x99718f8
	debfilename = 0x9970730 "./pool/test/libo/liboglappth/liboglappth-dev_0.98-1_i386.deb"
	contents = 0x0
	r = RET_NOTHING
	c = 0x0
	len = 16
	__PRETTY_FUNCTION__ = "filelist_addpackage"
#8  0x080ab635 in addpackagetocontents (database=0x98964d8, di=0x9895e68, ta=0x98963b0, packagename=0x9970938 "liboglappth-dev", 
    chunk=0x9971e88 "Package: liboglappth-dev\nSource: liboglappth\nVersion: 0.98-1\nArchitecture: i386\nMaintainer: Debichem Team <[email protected]>\nInstalled-Size: 216\nDepends: liboglappth2 (= 0.98-1),"..., data=0x9944690) at contents.c:120
	contents = (struct filelist_list *) 0x9944690
	r = RET_OK
	section = 0x9971950 "libdevel"
	filekey = 0x99706f0 "pool/test/libo/liboglappth/liboglappth-dev_0.98-1_i386.deb"
#9  0x0808921e in distribution_foreach_package_c (distribution=0x9895e68, database=0x98964d8, components=0x9895e9c, architecture=3, 
    packagetype=2, action=0x80ab58e <addpackagetocontents>, data=0x9944690) at distribution.c:496
	result = RET_OK
	r = RET_OK
	t = (struct target *) 0x98963b0
	package = 0x9970938 "liboglappth-dev"
	control = 0x9971e88 "Package: liboglappth-dev\nSource: liboglappth\nVersion: 0.98-1\nArchitecture: i386\nMaintainer: Debichem Team <[email protected]>\nInstalled-Size: 216\nDepends: liboglappth2 (= 0.98-1),"...
	iterator = {target = 0x98963b0, cursor = 0x9971e78, lastname = 0x9970938 "liboglappth-dev", 
  lastcontrol = 0x9971e88 "Package: liboglappth-dev\nSource: liboglappth\nVersion: 0.98-1\nArchitecture: i386\nMaintainer: Debichem Team <[email protected]>\nInstalled-Size: 216\nDepends: liboglappth2 (= 0.98-1),"...}
	__PRETTY_FUNCTION__ = "distribution_foreach_package_c"
#10 0x080ab825 in genarchcontents (database=0x98964d8, distribution=0x9895e68, architecture=3, release=0x9947af8, onlyneeded=false)
    at contents.c:178
	r = RET_OK
	contentsfilename = 0x9945740 "xS\224\t\230ð\223\t`\002\227\túd\211\t\001\001"
	file = (struct filetorelease *) 0x9949ea0
	contents = (struct filelist_list *) 0x9944690
	components = (const struct atomlist *) 0x9895e9c
#11 0x080abb67 in contents_generate (database=0x98964d8, distribution=0x9895e68, release=0x9947af8, onlyneeded=true) at contents.c:272
	architecture = 3
	result = RET_NOTHING
	r = RET_OK
	i = 0
	architectures = (const struct atomlist *) 0x9895e90
#12 0x0808a00a in export (distribution=0x9895e68, database=0x98964d8, onlyneeded=true) at distribution.c:743
	target = (struct target *) 0x0
	result = RET_OK
	r = RET_NOTHING
	release = (struct release *) 0x9947af8
	__PRETTY_FUNCTION__ = "export"
#13 0x0808a615 in distribution_export (when=EXPORT_CHANGED, distribution=0x9895e68, database=0x98964d8) at distribution.c:910
No locals.
#14 0x0809d405 in action_d_y_y_include (alldistributions=0x9895708, database=0x98964d8, section=0x0, priority=0x0, architecture=0, 
    component=5, packagetype=0, argc=3, argv=0xbf81c588) at main.c:2321
	result = RET_OK
	r = RET_OK
	distribution = (struct distribution *) 0x9895e68
	tracks = (trackingdb) 0x98eac20
	__PRETTY_FUNCTION__ = "action_d_y_y_include"
#15 0x0809f081 in callaction (command=56, action=0x80c2d28, argc=3, argv=0xbf81c588) at main.c:3105
	result = RET_OK
	r = RET_OK
	database = (struct database *) 0x98964d8
	alldistributions = (struct distribution *) 0x9895708
	deletederef = true
	deletenew = true
	needs = 1823
	architecture = 0
	component = 5
	packagetype = 0
	__PRETTY_FUNCTION__ = "callaction"
#16 0x080a100c in main (argc=8, argv=0xbf81c574) at main.c:3795
	a = (const struct action *) 0x80c2d28
	r = RET_OK
	c = -1
	sa = {__sigaction_handler = {sa_handler = 0x80a0625 <interrupt_signaled>, sa_sigaction = 0x80a0625 <interrupt_signaled>}, 
  sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = -2147483648, sa_restorer = 0x80c8118 <_GLOBAL_OFFSET_TABLE_>}
	longopts = {{name = 0x80c4496 "delete", has_arg = 0, flag = 0x80c9a48, val = 1}, {name = 0x80c449d "nodelete", has_arg = 0, 
    flag = 0x80c9a48, val = 12}, {name = 0x80c44a6 "basedir", has_arg = 1, flag = 0x0, val = 98}, {name = 0x80c44ae "ignore", 
    has_arg = 1, flag = 0x0, val = 105}, {name = 0x80c44b5 "unignore", has_arg = 1, flag = 0x80c9a48, val = 45}, {
    name = 0x80c44be "noignore", has_arg = 1, flag = 0x80c9a48, val = 45}, {name = 0x80c44c7 "methoddir", has_arg = 1, flag = 0x80c9a48, 
    val = 35}, {name = 0x80c44d1 "outdir", has_arg = 1, flag = 0x80c9a48, val = 28}, {name = 0x80c44d8 "distdir", has_arg = 1, 
    flag = 0x80c9a48, val = 29}, {name = 0x80c44e0 "dbdir", has_arg = 1, flag = 0x80c9a48, val = 30}, {name = 0x80c44e6 "listdir", 
    has_arg = 1, flag = 0x80c9a48, val = 32}, {name = 0x80c44ee "overridedir", has_arg = 1, flag = 0x80c9a48, val = 33}, {
    name = 0x80c44fa "confdir", has_arg = 1, flag = 0x80c9a48, val = 34}, {name = 0x80c4502 "logdir", has_arg = 1, flag = 0x80c9a48, 
    val = 31}, {name = 0x80c4509 "section", has_arg = 1, flag = 0x0, val = 83}, {name = 0x80c4511 "priority", has_arg = 1, flag = 0x0, 
    val = 80}, {name = 0x80c451a "component", has_arg = 1, flag = 0x0, val = 67}, {name = 0x80c4524 "architecture", has_arg = 1, 
    flag = 0x0, val = 65}, {name = 0x80c4531 "type", has_arg = 1, flag = 0x0, val = 84}, {name = 0x80c4536 "help", has_arg = 0, 
    flag = 0x0, val = 104}, {name = 0x80c453b "verbose", has_arg = 0, flag = 0x0, val = 118}, {name = 0x80c4543 "silent", has_arg = 0, 
    flag = 0x0, val = 115}, {name = 0x80c454a "version", has_arg = 0, flag = 0x80c9a48, val = 36}, {name = 0x80c4552 "nothingiserror", 
    has_arg = 0, flag = 0x80c9a48, val = 5}, {name = 0x80c4561 "nolistsdownload", has_arg = 0, flag = 0x80c9a48, val = 6}, {
    name = 0x80c4571 "keepunreferencedfiles", has_arg = 0, flag = 0x80c9a48, val = 2}, {name = 0x80c4587 "keepunusednewfiles", 
    has_arg = 0, flag = 0x80c9a48, val = 3}, {name = 0x80c459a "keepunneededlists", has_arg = 0, flag = 0x80c9a48, val = 4}, {
    name = 0x80c45ac "keepdirectories", has_arg = 0, flag = 0x80c9a48, val = 8}, {name = 0x80c45bc "ask-passphrase", has_arg = 0, 
    flag = 0x80c9a48, val = 7}, {name = 0x80c45cb "nonothingiserror", has_arg = 0, flag = 0x80c9a48, val = 16}, {
    name = 0x80c45dc "nonolistsdownload", has_arg = 0, flag = 0x80c9a48, val = 17}, {name = 0x80c45ee "listsdownload", has_arg = 0, 
    flag = 0x80c9a48, val = 17}, {name = 0x80c45fc "nokeepunreferencedfiles", has_arg = 0, flag = 0x80c9a48, val = 13}, {
    name = 0x80c4614 "nokeepunusednewfiles", has_arg = 0, flag = 0x80c9a48, val = 14}, {name = 0x80c4629 "nokeepunneededlists", 
    has_arg = 0, flag = 0x80c9a48, val = 15}, {name = 0x80c463d "nokeepdirectories", has_arg = 0, flag = 0x80c9a48, val = 19}, {
    name = 0x80c464f "noask-passphrase", has_arg = 0, flag = 0x80c9a48, val = 18}, {name = 0x80c4660 "guessgpgtty", has_arg = 0, 
    flag = 0x80c9a48, val = 11}, {name = 0x80c466c "noguessgpgtty", has_arg = 0, flag = 0x80c9a48, val = 22}, {
    name = 0x80c467a "nonoguessgpgtty", has_arg = 0, flag = 0x80c9a48, val = 11}, {name = 0x80c11c1 "fast", has_arg = 0, 
    flag = 0x80c9a48, val = 9}, {name = 0x80c468a "nofast", has_arg = 0, flag = 0x80c9a48, val = 20}, {name = 0x80c4691 "verbosedb", 
    has_arg = 0, flag = 0x80c9a48, val = 23}, {name = 0x80c469b "noverbosedb", has_arg = 0, flag = 0x80c9a48, val = 24}, {
    name = 0x80c46a7 "verbosedatabase", has_arg = 0, flag = 0x80c9a48, val = 23}, {name = 0x80c46b7 "noverbosedatabase", has_arg = 0, 
    flag = 0x80c9a48, val = 24}, {name = 0x80c46c9 "oldfilesdb", has_arg = 0, flag = 0x80c9a48, val = 25}, {
    name = 0x80c46d4 "nooldfilesdb", has_arg = 0, flag = 0x80c9a48, val = 26}, {name = 0x80c46e1 "nonooldfilesdb", has_arg = 0, 
    flag = 0x80c9a48, val = 25}, {name = 0x80c46f0 "skipold", has_arg = 0, flag = 0x80c9a48, val = 10}, {name = 0x80c46f8 "noskipold", 
    has_arg = 0, flag = 0x80c9a48, val = 21}, {name = 0x80c4702 "nonoskipold", has_arg = 0, flag = 0x80c9a48, val = 10}, {
    name = 0x80c33ef "force", has_arg = 0, flag = 0x0, val = 102}, {name = 0x80c1fad "export", has_arg = 1, flag = 0x80c9a48, val = 27}, {
    name = 0x80c470e "waitforlock", has_arg = 1, flag = 0x80c9a48, val = 37}, {name = 0x80c471a "checkspace", has_arg = 1, 
    flag = 0x80c9a48, val = 38}, {name = 0x80c4725 "spacecheck", has_arg = 1, flag = 0x80c9a48, val = 38}, {
    name = 0x80c4730 "safetymargin", has_arg = 1, flag = 0x80c9a48, val = 39}, {name = 0x80c473d "dbsafetymargin", has_arg = 1, 
    flag = 0x80c9a48, val = 40}, {name = 0x80c474c "gunzip", has_arg = 1, flag = 0x80c9a48, val = 41}, {name = 0x80c4753 "bunzip2", 
    has_arg = 1, flag = 0x80c9a48, val = 42}, {name = 0x80c475b "unlzma", has_arg = 1, flag = 0x80c9a48, val = 43}, {
    name = 0x80c4762 "gnupghome", has_arg = 1, flag = 0x80c9a48, val = 44}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
	terminalname = "/dev/pts/1", '\0' <repeats 1013 times>
The program is running.  Exit anyway? (y or n) 

Reply via email to