degeron / qmmp

Automatically exported from code.google.com/p/qmmp
0 stars 0 forks source link

Qmmp crashes at queue end after video #381

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.play a song in Qmmp , playlist should be in random mode
2.(optional) stop Qmmp
3.put two video clips in Qmmp's queue
4.press play (normal song should play)
5.(optional) press next to move to the first video
6.(optional) fast-forward till atleast 10 sec before the end of the first movie
7.Let Qmmp play the end of the first video and all of the second video without 
interuption

What is the expected output? What do you see instead?
Expected: Qmmp should continue to the next song.
Instead: Qmmp segfaults.

What version of the product are you using? On what operating system?
Qmmp svn-1909
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 10.04 LTS

Please provide any additional information below.
It's hard to reproduce the first time, but once you get the sequence right, it 
crashes like clockworks.
I have a feeling that this is related to the new crossfading  aditions.

Attached the output.

Original issue reported on code.google.com by avih...@gmail.com on 28 Sep 2010 at 12:48

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by trialuser02 on 28 Sep 2010 at 3:42

GoogleCodeExporter commented 9 years ago
After thinking bout it some more, I decided to make a new playlist out of video 
clips only. Qmmp segfaulted when I tried to play it.
I had to create the playlist, close Qmmp and reopen it until it played 
something.
after that, I had to play with it a bit until it would play more then one video 
in a row.
when it played more then one video in a row it behaved strange. the playlist's 
current song acted like it should, but mplayer opened every file twice, and 
because of that it actually lagged behind the current song indicator.

for example, if the current song was A,B,C,D,E,F,G,H, then the video showing 
was A,A,B,B,C,C,D,D.

After a while Qmmp decided to stop on it's own. weird, eh?

Original comment by avih...@gmail.com on 28 Sep 2010 at 4:46

GoogleCodeExporter commented 9 years ago
Try latest svn.

Original comment by trialuser02 on 28 Sep 2010 at 4:53

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Can't recreate with latest SVN.
So it's fixed?

Original comment by avih...@gmail.com on 5 Oct 2010 at 12:32

GoogleCodeExporter commented 9 years ago
Yes, I think so. But it require testing.

Original comment by trialuser02 on 7 Oct 2010 at 6:54

GoogleCodeExporter commented 9 years ago
OK, I can recreate a similar bug if not the same bug:
method:
1. let a song play.
2. add a video to the queue.
3. turn on the "Auto Stop" feature.
result: segfault

this doesn't happen if you:
1. create a playlist where the song before last is an mp3, and the last is a 
video.
2. make sure shuffle and repeat and repeat playlist are off.
3. play the before last song.

Sooooooooo, looks like I messed something with the autostop...
Bad signal hijacking?

Attached the output.

Original comment by avih...@gmail.com on 12 Oct 2010 at 6:12

Attachments:

GoogleCodeExporter commented 9 years ago
OK, yet another fix. Please test.

Original comment by trialuser02 on 16 Oct 2010 at 7:24

GoogleCodeExporter commented 9 years ago
I've compiled, and now I can't play music files:

StateHandler: Current state: Playing; previous state: Buffering
qmmp: pcm.c:1942: snd_pcm_bytes_to_frames: Assertion `pcm' failed.
Aborted

Disabling the cross-fade plugin doesn't help.
If I set the installed Qmmp to play a video, then I can queue up movies in the 
compiled version and see them without problem.

I've only just noticed that to recreate the bug in comment #7, you need to 
either start Qmmp on a song/music file,  instead of step 1, or play a video 
before step 1.

Assert/Abort log attached (starting Qmmp on a music file).

Original comment by avih...@gmail.com on 16 Oct 2010 at 3:13

Attachments:

GoogleCodeExporter commented 9 years ago
Installed version: 0.5.0-svn-r1927
Compiled version:  0.5.0-svn-r1941

Original comment by avih...@gmail.com on 16 Oct 2010 at 3:22

GoogleCodeExporter commented 9 years ago
May be alsa plugin links with old version. Try to remove old version first and 
run 'make distclean' before compilation.

Original comment by trialuser02 on 17 Oct 2010 at 8:53

GoogleCodeExporter commented 9 years ago
Yes, you are right, it was loading the installed plugin.
This isn't an issue when I just tinker with the UI, so forgot...
I "sudo make install"ed, and it works.
I can no longer recreate the bug from comment #7.

I wonder how many of the crashes that I experienced before adding auto stop 
this solves.
I also wonder if you managed to recreate my bugs, or if the log and description 
were enough.

Original comment by avih...@gmail.com on 17 Oct 2010 at 10:19