[Bug 1571324] Re: poldek crashes if there are more than 64k packages in sources
Marcin Banasiak
megabajt at pld-linux.org
Wed Apr 20 20:02:49 CEST 2016
Fixed in
https://git.launchpad.net/poldek/commit/?id=a46a0bc806331e419207ae951864243946892b9a
** Changed in: poldek
Status: New => Fix Committed
--
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 Committed
Status in PLD Linux:
New
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