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

LMMS freeze when adding instruments or moving mixer tracks #1352

Closed
rawthought opened this issue Nov 25, 2014 · 11 comments
Closed

LMMS freeze when adding instruments or moving mixer tracks #1352

rawthought opened this issue Nov 25, 2014 · 11 comments
Labels
Milestone

Comments

@rawthought
Copy link

Hi there,
I have a bug with the actual "stable-1.1" branch build
It happend when i drag and drop instruments from the left pannel or when I move a mixer track while the song is playing
The sound cut, and LMMS is freezed, i can't even quit it with the window cross.

here is what my terminal is saying ;

~$ /opt/lmms-stable-1.1/bin/lmms
Connection established.

Stream successfully created

MemoryManager: Null pointer deallocation attempted
MemoryManager: Null pointer deallocation attempted
MemoryManager: Null pointer deallocation attempted
MemoryManager: Null pointer deallocation attempted
MemoryManager: Null pointer deallocation attempted
MemoryManager: Null pointer deallocation attempted
MemoryManager: Null pointer deallocation attempted
MemoryManager: Null pointer deallocation attempted
MemoryManager: Null pointer deallocation attempted
called Track::getTCO( 18 ), but TCO 18 doesn't exist
QObject: Cannot create children for a parent that is in a different thread.
(Parent is InstrumentTrack(0x7f429e7d35a0), parent's thread is QThread(0x10f5f80), current thread is QThread(0x1cb1bd0)

My OS is "Debian Wheezy"

@tresf
Copy link
Member

tresf commented Nov 25, 2014

Are you sure this is stable-1.1? MemoryManager shouldn't be in that branch yet as we haven't put it through regression testing yet.

@tresf tresf added the bug label Nov 25, 2014
@tresf tresf added this to the 1.2.0 milestone Nov 25, 2014
@diizy
Copy link
Contributor

diizy commented Nov 25, 2014

On 11/26/2014 12:52 AM, rawthought wrote:

Hi there,
I have a bug with the actual "stable-1.1" branch build
It happend when i drag and drop instruments from the left pannel or
when I move a mixer track while the song is playing
The sound cut, and LMMS is freezed, i can't even quit it with the
window cross.

here is what my terminal is saying ;

~$ /opt/lmms-stable-1.1/bin/lmms
Connection established.

Stream successfully created

MemoryManager: Null pointer deallocation attempted
MemoryManager: Null pointer deallocation attempted
MemoryManager: Null pointer deallocation attempted

That's master branch, not 1.1

@rawthought
Copy link
Author

Oo
ok
i must have made a mistake somewhere

@tresf
Copy link
Member

tresf commented Nov 26, 2014

No worries... The bug may still be valid, so I've filed it for 1.2, since 1.2 will generously receive the new MemoryManager! :)

@curlymorphic
Copy link
Contributor

I think this is the same bug. Where lmms sometimes locks up when adding instruments, while playing.

Some instruments seem to be more prone than others, and some i cant get to crash

AudioFilePlayer, Vestige(with no vst) , vibed and wacom, and zynaddsubfx I could not get to crash, with approx 300 tries on each one,

SF2 player crashed nearly every try, my test results were 1,1,1,1,2,1,1,1,2,1,1,1,1,1,1,2,1, this one could segfault sf2_player.cpp line 652. or hang in a loop header.h 515 lock().

all the remaining synths hang in a loop in header.h line 515 lock(). usually within 30 attempts.

I will come back to this, but need a break from dragging synths out :)

@diizy
Copy link
Contributor

diizy commented Dec 27, 2014

Ok cool, you can work on this one.

@badosu
Copy link
Contributor

badosu commented Dec 27, 2014

Great @curlymorphic I noticed this happening some times but when I went on to make it intentionally it was so difficult :/

@tresf
Copy link
Member

tresf commented Dec 27, 2014

Interested especially in the SF2 problem because it is a problem on apple and crashes 50% of the time regardless of whether playback is occurring or not per #649

@curlymorphic
Copy link
Contributor

The sf2 problem is a separate bug from the one this pull request addresses. And im not convinced it is the same as the apple bug, because this one causes a hard crash, SEGFAULT's iirc. Not sure if the sf2 crashing on loading while playing on linux should have a separate bug report. I will Try to look into it later today.
.

@tresf
Copy link
Member

tresf commented Dec 29, 2014

The sf2 problem is a separate bug from the one this pull request addresses. And im not convinced it is the same as the apple bug, because this one causes a hard crash, SEGFAULT's iirc. Not sure if the sf2 crashing on loading while playing on linux should have a separate bug report. I will Try to look into it later today.

Confirmed. Apple still crashes after this patch. 😕

@tresf
Copy link
Member

tresf commented Dec 29, 2014

Closed via #1519. If this bug comes back, please reopen this bug report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants