leaks from valgrind analysis

Bug #1027515 reported by Daniel Schürmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Undecided
Daniel Schürmann

Bug Description

attached a patch sealing some leaks detected by valgrind in 1.11

Related branches

Revision history for this message
Daniel Schürmann (daschuer) wrote :
Revision history for this message
RJ Skerry-Ryan (rryan) wrote : Re: [Bug 1027515] Re: leaks from valgrind analysis

thanks daniel -- looks good to me
On Sat, Jul 21, 2012 at 6:56 PM, Daniel Schürmann <
<email address hidden>> wrote:

> ** Patch added: "leak.patch"
>
> https://bugs.launchpad.net/bugs/1027515/+attachment/3231441/+files/leak.patch
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/1027515
>
> Title:
> leaks from valgrind analysis
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/1027515/+subscriptions
>

Revision history for this message
Daniel Schürmann (daschuer) wrote :

commited to lp:mixxx/1.11 #3323

Changed in mixxx:
status: New → Fix Committed
assignee: nobody → Daniel Schürmann (daschuer)
milestone: none → 1.11.0
Revision history for this message
Owen Williams (ywwg) wrote :

I'm getting crashes, I think because of this patch. Log attached.

Revision history for this message
Daniel Schürmann (daschuer) wrote :
Revision history for this message
Daniel Schürmann (daschuer) wrote :

I don't get the point why the patch causes the crash, maybe its a timing issue.

But anyhow .. The attached patch solves a race condition when a thread tries to write to the logfile when it is about to be close by main.

I cannot reproduce the crash on Ubuntu Lucid. Was this actually tested with lp:mixxx/1.11?
I have no such a message in my log: "QThread: Destroyed while thread is still running"

It seams there is an additional bug on the destructor procedure of EngineWorkerScheduler.

Any clue which tread is still running?

Revision history for this message
Owen Williams (ywwg) wrote :

I'll debug this more and see if I can figure it out.

RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/6586

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.