Re: [LMMS-devel] Valgrind

2014-12-17 Thread Vesa
On 12/17/2014 08:48 PM, Dave French wrote: > Vesa, I have been grinding on the gameboy instrument, can you remember > or is there a bug report as to what im looking for. valgrind is > reporting numerous uninitialized values, and one memcopy where the src > and destinations overlap, but looking at t

Re: [LMMS-devel] Valgrind

2014-12-17 Thread Dave French
Vesa, I have been grinding on the gameboy instrument, can you remember or is there a bug report as to what im looking for. valgrind is reporting numerous uninitialized values, and one memcopy where the src and destinations overlap, but looking at the code i believe that to be intentional. I dont wa

Re: [LMMS-devel] Valgrind

2014-12-16 Thread Vesa
On 12/17/2014 01:04 AM, Lukas W. wrote: > Only if a QObject has a parent Qt automatically deletes all children > on parent deconstruction. Yes, our widgets are initialized with the parent widget (ie. the dialog/window) as parent, so the widgets get destroyed whenever the parent window is destroyed

Re: [LMMS-devel] Valgrind

2014-12-16 Thread Lukas W.
Only if a QObject has a parent Qt automatically deletes all children on parent deconstruction. 2014-12-16 23:52 GMT+01:00 Vesa : > > On 12/17/2014 12:49 AM, Dave French wrote: > > I decided to learn how to use Valgrind on code i knew, so decided a > > good place to start was to analyse my Eq plugi

Re: [LMMS-devel] Valgrind

2014-12-16 Thread Vesa
On 12/17/2014 12:49 AM, Dave French wrote: > I decided to learn how to use Valgrind on code i knew, so decided a > good place to start was to analyse my Eq plugin as that is fresh in my > mind. Im learning quick :) and can see this to be very useful. Think i > may be turning into "Dave the bug hunt

Re: [LMMS-devel] Valgrind

2014-12-16 Thread Dave French
Will have a look. It gives me a reason to learn something. On 16 Dec 2014 20:35, "Vesa" wrote: > On 12/16/2014 07:32 PM, Dave French wrote: > > Today was my first time of using Valgrind to detect memory leaks. Its > > awsome, and Im planning on spending a bit of time getting to know it. > > As a

Re: [LMMS-devel] Valgrind

2014-12-16 Thread Vesa
On 12/16/2014 07:32 PM, Dave French wrote: > Today was my first time of using Valgrind to detect memory leaks. Its > awsome, and Im planning on spending a bit of time getting to know it. > As a command line tool the output is very verbose, but I ran it in Qt > Creator, and it made viewing the log s

[LMMS-devel] Valgrind

2014-12-16 Thread Dave French
Today was my first time of using Valgrind to detect memory leaks. Its awsome, and Im planning on spending a bit of time getting to know it. As a command line tool the output is very verbose, but I ran it in Qt Creator, and it made viewing the log so simple. I have a feeling this will be a very usef