Nux

Activity log for bug #785118

Date Who What changed Old value New value Message
2011-05-19 11:57:25 Daniel van Vugt bug added bug
2011-06-08 08:59:27 Daniel van Vugt description This is a simple one. There are only two new/delete pairs in IOpenGLAsmShader.cpp and they are both wrong. To fix, replace both instances of: delete ShaderSource; with: delete[] ShaderSource; This is a simple one. There are only two new/delete pairs in IOpenGLAsmShader.cpp and they are both wrong. ==1555== Mismatched free() / delete / delete [] ==1555== at 0x4C27FFF: operator delete(void*) (vg_replace_malloc.c:387) ==1555== by 0x15800D32: nux::IOpenGLAsmVertexShader::Compile() (in /usr/lib/libnux-graphics-0.9.so.0.944.4) ==1555== Mismatched free() / delete / delete [] ==1555== at 0x4C27FFF: operator delete(void*) (vg_replace_malloc.c:387) ==1555== by 0x15800C42: nux::IOpenGLAsmPixelShader::Compile() (in /usr/lib/libnux-graphics-0.9.so.0.944.4) This is worth fixing at least to reduce the number of errors reported by valgrind for unity/compiz. It takes up a significant amount of space in valgrind logs and is trivial to fix. To fix, replace both instances of:     delete ShaderSource; with:     delete[] ShaderSource;
2011-06-08 08:59:55 Daniel van Vugt nux: status New In Progress
2011-06-08 08:59:55 Daniel van Vugt nux: assignee Daniel van Vugt (vanvugt)
2011-06-08 09:00:09 Daniel van Vugt nux (Ubuntu): status New In Progress
2011-06-08 09:00:09 Daniel van Vugt nux (Ubuntu): assignee Daniel van Vugt (vanvugt)
2011-06-08 09:32:22 Daniel van Vugt summary valgrind: mismatched new/delete in nux::IOpenGLAsm(Pixel|Vertex)Shader::Compile valgrind: Mismatched free in libnux
2011-06-08 09:33:42 Daniel van Vugt attachment added valgrind_unity_3.8.12-0ubuntu1.txt https://bugs.launchpad.net/nux/+bug/785118/+attachment/2160311/+files/valgrind_unity_3.8.12-0ubuntu1.txt
2011-06-08 10:10:14 Daniel van Vugt branch linked lp:~vanvugt/nux/fix-785118
2011-06-08 10:10:59 Daniel van Vugt unity: status New Invalid
2011-06-08 10:14:24 Daniel van Vugt branch linked lp:~vanvugt/ubuntu/natty/nux/fix-785118
2011-06-08 21:56:46 Tim Penhey nux: importance Undecided High
2011-06-09 16:11:40 Didier Roche-Tolomelli unity: status Invalid In Progress
2011-09-20 06:00:54 Daniel van Vugt branch unlinked lp:~vanvugt/ubuntu/natty/nux/fix-785118
2011-09-21 03:45:04 Daniel van Vugt nux: status In Progress Fix Committed
2011-09-21 03:45:40 Daniel van Vugt unity: status In Progress Invalid
2011-09-26 09:25:42 Didier Roche-Tolomelli unity: status Invalid Fix Committed
2011-09-26 10:30:58 Didier Roche-Tolomelli nux: status Fix Committed Fix Released
2011-09-26 10:33:03 Didier Roche-Tolomelli unity: status Fix Committed Fix Released
2011-09-26 10:35:25 Launchpad Janitor branch linked lp:~ubuntu-desktop/nux/ubuntu
2011-09-26 10:48:46 Launchpad Janitor nux (Ubuntu): status In Progress Fix Released
2011-09-26 11:15:28 Launchpad Janitor branch linked lp:ubuntu/nux
2014-07-24 22:04:03 Marco Trevisan (Treviño) unity (Ubuntu): status New Fix Released