mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.43k stars 1.27k forks source link

crash on broadcast reconnect #8779

Closed mixxxbot closed 2 years ago

mixxxbot commented 2 years ago

Reported by: rryan Date: 2017-01-28T05:51:09Z Status: Expired Importance: Critical Launchpad Issue: lp1660008


While testing https://github.com/mixxxdj/mixxx/pull/1031 I found a crash on broadcast reconnect.

Reproduced using master d3b54a0f801df4200a7ca46ab5c256118a29adab. I can disconnect/reconnect dozens of times without triggering it.

SHOUTcast DNAS/posix(linux x64) v2.5.1.723 (Sep 30 2016)
mac OS 10.12.2
Debug [Main]: "Mixxx" "2.1.0-alpha-pre" "(git master r6162; built on: Jan 27 2017 @ 21:32:04; flags: asan=0 battery=1 buildtime=1 bulk=0 color=0 coreaudio=1 faad=1 ffmpeg=0 hid=1 hss1394=0 ipod=0 localecompare=0 macappstore=0 mad=0 mediafoundation=0 modplug=0 opengles=0 optimize=portable opus=1 perftools=0 perftools_profiler=0 profiling=1 qdebug=1 qt_sqlite_plugin=1 shoutcast=1 test=1 tsan=0 ubsan=0 vamp=1 verbose=0 vinylcontrol=1 wv=1)" is starting...
Debug [Main]: Qt: 5.8.0
Debug [Main]: libshout: 2.4.1
Debug [Main]: PortAudio: 1899 PortAudio V19-devel (built May 10 2015 17:58:06)
Debug [Main]: RubberBand: 1.8.1
Debug [Main]: SoundTouch: 1.9.2
Debug [Main]: TagLib: 1.11.1
Debug [Main]: ChromaPrint: 1.2.0
Debug [Main]: Vorbis: Xiph.Org libVorbis 1.3.5
Debug [Main]: libsndfile: libsndfile-1.0.26
Debug [Main]: FLAC: 1.3.1

Debug [EngineBroadcast 1]: Loaded libmp3lame version  3.99.5

Debug [EngineBroadcast 1]: NetworkStreamWorker state: 2 7 37
Debug [EngineBroadcast 1]: Connection pending. Waiting...
Debug [EngineBroadcast 1]: NetworkStreamWorker state: 2 7 37
Debug [EngineBroadcast 1]: Connection pending. Waiting...
Debug [EngineBroadcast 1]: NetworkStreamWorker state: 2 7 37
Debug [EngineBroadcast 1]: Connection pending. Waiting...
Debug [EngineBroadcast 1]: NetworkStreamWorker state: 2 7 37
Debug [EngineBroadcast 1]: ***********Connected to streaming server...
Debug [EngineBroadcast 1]: NetworkStreamWorker state: 4 7 37
Debug [EngineBroadcast 1]: EngineBroadcast::processConnect() returning true
Debug [Engine]: EngineNetworkStream::write() buffer full, loosing samples
Debug [Engine]: NetworkStreamWorker state: 4 1 38
Debug [EngineBroadcast 1]: EncoderMp3::encodeBuffer 32768 48161
Debug [EngineBroadcast 1]: EncoderMp3::encodeBuffer 81920 109601
zsh: segmentation fault  ./mixxx --debugLevel 4

Thread 37 Crashed:: EngineBroadcast 0 libmp3lame.dylib 0x0000000155937fe5 quantize_lines_xrpow + 212 1 libmp3lame.dylib 0x00000001559372c4 count_bits + 765 2 libmp3lame.dylib 0x00000001559319db outer_loop + 127 3 libmp3lame.dylib 0x0000000155932c39 CBR_iteration_loop + 493 4 libmp3lame.dylib 0x0000000155922635 lame_encode_mp3_frame + 2096 5 libmp3lame.dylib 0x00000001559287dd lame_encode_buffer_template + 859 6 libmp3lame.dylib 0x00000001559288a4 lame_encode_buffer_float + 36 7 mixxx 0x0000000107ecd8db EncoderMp3::encodeBuffer(float const, int) + 491 (encodermp3.cpp:308) 8 mixxx 0x0000000107ff1212 EngineBroadcast::process(float const, int) + 98 (enginebroadcast.cpp:638) 9 mixxx 0x0000000107ff2399 EngineBroadcast::run() + 713 (enginebroadcast.cpp:864) 10 org.qt-project.QtCore 0x0000000108d549ba 0x108d2a000 + 174522 11 libsystem_pthread.dylib 0x00007fffa74b6aab _pthread_body + 180 12 libsystem_pthread.dylib 0x00007fffa74b69f7 _pthread_start + 286 13 libsystem_pthread.dylib 0x00007fffa74b61fd thread_start + 13

Full stacktrace: https://paste.debian.net/911047/

mixxxbot commented 2 years ago

Commented by: Be-ing Date: 2017-11-11T16:20:31Z


Is this still an issue? Anyone want to take it up for 2.1?

mixxxbot commented 2 years ago

Commented by: Be-ing Date: 2017-11-11T16:56:01Z


Marking as Incomplete and removing from 2.1 milestone unless more information is provided.

mixxxbot commented 2 years ago

Commented by: janitor Date: 2018-01-11T04:17:31Z


[Expired for Mixxx because there has been no activity for 60 days.]

mixxxbot commented 2 years ago

Issue closed with status Expired.