Mailing list archives : pcb-rnd

ID:3683
From:ge...@igor2.repo.hu
Date:Wed, 15 Jan 2020 06:21:02 +0100 (CET)
Subject:Re: [pcb-rnd] double free
in-reply-to:3679 from pc...@cuvoodoo.info
replies: 3686 from pc...@cuvoodoo.info
 
 
On Tue, 14 Jan 2020, pcb-rnd@cuvoodoo.info wrote:
 
>the following manipulation will cause pcb-rnd to crash:
>- select all elements
>- copy (place in buffer)
>- paste once
>- paste a second time
>- undo (the second paste)
>- paste a third time -> crash
>
>gdb say:
>free(): double free detected in tcache 2
>
 
Thanks! Fixed in r29166, please test!
 
As Miloh showed with a valgrind log, this was a memory handling error. 
Minimal test case: a sinlge text object placed on an empty board, then 
following your recipe above.
 
Best regards,
 
Igor2
 
 

Reply subtree:
3683 Re: [pcb-rnd] double free from ge...@igor2.repo.hu
  3686 Re: [pcb-rnd] double free from pc...@cuvoodoo.info