Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

leaks from valgrind analysis #6586

Closed
mixxxbot opened this issue Aug 22, 2022 · 8 comments
Closed

leaks from valgrind analysis #6586

mixxxbot opened this issue Aug 22, 2022 · 8 comments
Milestone

Comments

@mixxxbot
Copy link
Collaborator

Reported by: daschuer
Date: 2012-07-21T22:56:31Z
Status: Fix Released
Importance: Undecided
Launchpad Issue: lp1027515
Attachments: leak.patch, crash.txt, mutexLogFile.patch


attached a patch sealing some leaks detected by valgrind in 1.11

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2012-07-21T22:56:31Z
Attachments: leak.patch

@mixxxbot
Copy link
Collaborator Author

Commented by: rryan
Date: 2012-07-21T23:10:45Z


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

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2012-07-23T21:46:33Z


commited to lp:mixxx/1.11 #⁠3323

@mixxxbot
Copy link
Collaborator Author

Commented by: ywwg
Date: 2012-07-24T17:35:07Z
Attachments: crash.txt


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

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2012-07-24T21:17:46Z
Attachments: mutexLogFile.patch

@mixxxbot
Copy link
Collaborator Author

Commented by: daschuer
Date: 2012-07-24T21:28:06Z


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?

@mixxxbot
Copy link
Collaborator Author

Commented by: ywwg
Date: 2012-07-24T23:09:50Z


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

@mixxxbot
Copy link
Collaborator Author

Issue closed with status Fix Released.

@mixxxbot mixxxbot transferred this issue from another repository Aug 24, 2022
@mixxxbot mixxxbot added this to the 1.11.0 milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant