[Bug 1571324] Re: poldek crashes if there are more than 64k packages in sources
Marcin Banasiak
megabajt at pld-linux.org
Mon Jul 18 21:21:51 CEST 2016
Fix is available in 0.32.2 release.
** Changed in: pld-linux
Status: New => Fix Released
--
You received this bug notification because you are subscribed to PLD
Linux.
https://bugs.launchpad.net/bugs/1571324
Title:
poldek crashes if there are more than 64k packages in sources
Status in poldek:
Fix Released
Status in PLD Linux:
Fix Released
Bug description:
poldek crashes if there are more than 64k packages available in
sources:
# poldek -n th-all
Loading [pndir]th...
Loading [pndir]th-i686...
Loading [pndir]th...
Loading [pndir]th-ready...
Loading [pndir]th-x32...
Loading [pndir]th-x32-ready...
Loading [pndir]th-ready...
Loading [pndir]th-test...
Loading [pndir]th-x32-test...
Loading [pndir]th-test...
Loading [pndir]th-i686-ready...
Loading [pndir]th-i686-test...
67914 packages read
Removed 2 duplicate packages from available set
Segmentation fault (core dumped)
I narrowed it down to file_index_setup() call in pkgset.c:pkgset_index() what is just n_array_sort on a file index.
The problem looks like a memory leak due to internal use of int16_t data, but I'm not familiar enough with the code to find the root cause.
To manage notifications about this bug go to:
https://bugs.launchpad.net/poldek/+bug/1571324/+subscriptions
More information about the pld-bugs
mailing list