Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658028 - net-misc/drive- panic: page 4 already freed
Summary: net-misc/drive- panic: page 4 already freed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
Depends on:
Reported: 2018-06-13 06:06 UTC by Massimo Burcheri
Modified: 2018-06-15 18:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2018-06-13 06:06:59 UTC
Coming from the upstream report:

As the panic is referencing files in $PORTAGE_TMPDIR that don't exist anymore this may be a Gentoo specific issue:

Reproducible: Always

Steps to Reproduce:
1. $ drive pull
2. -> clashes detected. Use `ignore-name-clashes` to override this behavior or `fix-clashes` to try fixing this
3. $ drive pull -ignore-name-clashes
Actual Results:  
Modification count 4
Deletion count 10
Addition count 1131 src: 2.63GB
Proceed with the changes? [Y/n]:Y
 0 / 2822791797 [-----------------------------------------------------------------------------------------------------------------]   0.00%panic: page 4 already freed

goroutine 284 [running]:*freelist).free(0xc4206941e0, 0x51, 0x7f19f8007000)
	/var/tmp/portage/net-misc/drive- +0x2eb*node).spill(0xc4201c2150, 0xc4203a81c0, 0xa232c0)
	/var/tmp/portage/net-misc/drive- +0x1fa*node).spill(0xc4201c20e0, 0xc4206942d0, 0xc4209cf708)
	/var/tmp/portage/net-misc/drive- +0xbf*Bucket).spill(0xc420550a00, 0xc420694200, 0xc4209cf980)
	/var/tmp/portage/net-misc/drive- +0x4b8*Bucket).spill(0xc4204220f8, 0x75d427a67, 0xec7c80)
	/var/tmp/portage/net-misc/drive- +0x3f9*Tx).Commit(0xc4204220e0, 0x0, 0x0)
	/var/tmp/portage/net-misc/drive- +0x11f*DB).Update(0xc42020c1e0, 0xc4209cfbd8, 0x0, 0x0)
	/var/tmp/portage/net-misc/drive- +0xe8*Context).SerializeIndex(0xc4200c6b80, 0xc4208f6180, 0x0, 0x0)
	/var/tmp/portage/net-misc/drive- +0x140*Commands).createIndex(0xc4200c6c40, 0xc420598b00, 0xc420064cc0, 0x42a994)
	/var/tmp/portage/net-misc/drive- +0x156*Commands).localMod.func1(0xc420064d88, 0xc42059c6c0, 0xc4200c6c40)
	/var/tmp/portage/net-misc/drive- +0x5c*Commands).localMod(0xc4200c6c40, 0xc42059c6c0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/var/tmp/portage/net-misc/drive- +0x28e*Commands).(, 0x0, 0x0, 0x0, 0x42d24a, 0x9df840)
	/var/tmp/portage/net-misc/drive- +0x52*Commands).playPullChanges.func2.1(0xc42059c6c0, 0x9df848, 0xc42063ac00)
	/var/tmp/portage/net-misc/drive- +0x4d*changeJobSt).changeJober.func1(0x63222020200a2c7d, 0x74696c6962617061, 0xc4205d1ee8, 0x405fdb)
	/var/tmp/portage/net-misc/drive- +0xab, 0xc4203fc200, 0xc4205d1f08, 0x74e543, 0xc420777bc0, 0x0)
	/var/tmp/portage/net-misc/drive- +0x27, 0xc420777aa0, 0xc420467c70, 0xc420467c80, 0xa21c40, 0xc420467d60)
	/var/tmp/portage/net-misc/drive- +0x56
created by
	/var/tmp/portage/net-misc/drive- +0x113