[Soc-2014-dev] Weekly Report #9 Shape Key Enhancements

Bastien Montagne montagne29 at wanadoo.fr
Sat Jul 19 01:05:58 CEST 2014


Hi Grigory,

Please ask for help when you hit such issue and can’t fix it in a day or 
so… Also, with that kind of problems, and under linux as well, you may 
find gcc's address sanitizer lighter than valgrind (see 
http://wiki.blender.org/index.php/Dev:Doc/Tools/Debugging/GCC_Address_Sanitizer 
). In most cases, it is enough to troubleshoot the bug!

Hope next week will be less painfull! :)
Bastien

Le 19/07/2014 00:47, Grigory Revzin a écrit :
> Rather bad progress this week.
>
> 1. While implementing the Commit To New Shape, I introduced a severe 
> crash to editmode undo which I caught a week ago. It was a buffer 
> overrun, as was evident by crashes in rather random places, but I 
> spent three days trying to figure out where exactly the corruption 
> happens and was unsuccessfull (e. g. crash sometimes happened deep in 
> bmesh_mesh_conv.c in while recalculating a keyblock -- and I never 
> touched that code -- or in editmode_undo.c, which wasn't changed at 
> all too).
>
> 2. I googled a little and found out about Valgrind which looked 
> helpful in the situation. I already had Mint installed in a VBox but 
> it wasn't able to run Blender due to some 3D issues; so I installed 
> Mint in a dualboot configuration with Windows to use tool. Installing 
> Mint somehow disabled all USB ports in Windows (similar to this [1]) 
> and a day was sunk into fixing that.
>
> 3. I built and ran Blender on the mint installation and learned to use 
> Valgrind to find out where the memory corruption happened and the 
> payoff was well worth the effort, identified the bug in a minute and 
> now it's fixed.
>
> Next week I will finish prototyping the Modal Blend From Shape.
>
> [1] 
> http://askubuntu.com/questions/320065/all-usb-ports-stop-working-when-booting-windows-after-using-ubuntu
>
> Cheers,
> Grigory
>
> -- 
> Г. Г. Ревзин
>
>
> _______________________________________________
> Soc-2014-dev mailing list
> Soc-2014-dev at blender.org
> http://lists.blender.org/mailman/listinfo/soc-2014-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/soc-2014-dev/attachments/20140719/2ee78c3c/attachment.htm 


More information about the Soc-2014-dev mailing list