albertz / music-player

Music player - endlessly plays your music
http://albertz.github.io/music-player/
BSD 2-Clause "Simplified" License
490 stars 58 forks source link

Segfaults on my machine when I hit space to play #10

Closed jasom closed 11 years ago

jasom commented 11 years ago

ffmpeg 0.10.2-r1 on gentoo amd64

    #0  0x00007ffff7b06a9c in PyErr_Restore () from /usr/lib64/libpython2.7.so.1.0
    #1  0x00007ffff7b06bd7 in PyErr_SetString ()
       from /usr/lib64/libpython2.7.so.1.0
    #2  0x00007fffd836a01f in player_setplaying (player=0x7fffec098010, playing=1)
        at ../ffmpeg.c:1099
    #3  0x00007fffd836b021 in player_setattr (obj=0x7fffec098010, 
        key=0x7ffff7e97ef4 "playing", value=0x7ffff7d90bf0) at ../ffmpeg.c:1420
    #4  0x00007ffff7a9fc0f in PyObject_SetAttr ()
       from /usr/lib64/libpython2.7.so.1.0
    #5  0x00007ffff7af9a2c in PyEval_EvalFrameEx ()
       from /usr/lib64/libpython2.7.so.1.0
    #6  0x00007ffff7afca30 in PyEval_EvalFrameEx ()
       from /usr/lib64/libpython2.7.so.1.0
    #7  0x00007ffff7afca30 in PyEval_EvalFrameEx ()
       from /usr/lib64/libpython2.7.so.1.0
    #8  0x00007ffff7afca30 in PyEval_EvalFrameEx ()
       from /usr/lib64/libpython2.7.so.1.0
    #9  0x00007ffff7afde4d in PyEval_EvalCodeEx ()
       from /usr/lib64/libpython2.7.so.1.0
    #10 0x00007ffff7a89a6c in function_call () from /usr/lib64/libpython2.7.so.1.0
    #11 0x00007ffff7a637e3 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0
    #12 0x00007ffff7afaffb in PyEval_EvalFrameEx ()
       from /usr/lib64/libpython2.7.so.1.0
    #13 0x00007ffff7afca30 in PyEval_EvalFrameEx ()
       from /usr/lib64/libpython2.7.so.1.0
    #14 0x00007ffff7afca30 in PyEval_EvalFrameEx ()
       from /usr/lib64/libpython2.7.so.1.0
    #15 0x00007ffff7afde4d in PyEval_EvalCodeEx ()
       from /usr/lib64/libpython2.7.so.1.0
    #16 0x00007ffff7a89961 in function_call () from /usr/lib64/libpython2.7.so.1.0
    #17 0x00007ffff7a637e3 in PyObject_Call () from /usr/lib64/libpython2.7.so.1.0
albertz commented 11 years ago

FFmpeg 0.10.2 is a bit old (2012-03-17).

But it looks more like this is more PortAudio related (the player_setplaying PC is just after the Pa_OpenDefaultStream). What PortAudio version do you have?

jasom commented 11 years ago

PortAudio v19_20111121 And for completeness sake, chromaprint 0.6

albertz commented 11 years ago

Hm, not sure what it is. Maybe you can try a newer PortAudio? I have tested it on Linux with the most recent FFmpeg and most recent PortAudio and it did work.

Is it always exactly the same backtrace? Is there something interesting in the backtrace of other threads?

albertz commented 11 years ago

Maybe it was also because of #12?

albertz commented 11 years ago

Not sure if up-to-date, please reopen if the same crash still happens, otherwise please make a new report.