#525 LMMS crashes using AudioFileProcessor

Git master branch
closed-fixed
Crash (127)
5
2013-06-11
2013-02-12
Stéphane Thomas
No

Load attached project
Display BB-Editor (F6)
Click on the SQuelb instrument

Starting program: /usr/local/bin/lmms
[Thread debugging using libthread_db enabled]
Using SSE optimized routines
Using SSE2 optimized routines
[New Thread 0x7fffe4e75700 (LWP 17068)]
[New Thread 0x7fffdffff700 (LWP 17069)]
[New Thread 0x7fffdf7fe700 (LWP 17070)]
read dir "/home/stef/lmms"
[New Thread 0x7fffdeffd700 (LWP 17071)]
read dir "/usr/local/share/lmms"
[New Thread 0x7fffde7fc700 (LWP 17072)]
no more csLADSPA plugins
[New Thread 0x7fffbd1b1700 (LWP 17081)]
[New Thread 0x7fffbc9b0700 (LWP 17082)]

Program received signal SIGSEGV, Segmentation fault.
AudioFileProcessorWaveView::slideSampleByFrames (this=0x18c3620, _frames=1) at /usr/local/src/lmms/plugins/audio_file_processor/audio_file_processor.cpp:872
872 m_startKnob->slideBy( v, false );
(gdb) thread apply all bt

Thread 8 (Thread 0x7fffbc9b0700 (LWP 17082)):
#0 0x00007ffff3bd9c13 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff62465ea in ?? () from /usr/lib/libasound.so.2
#2 0x00007ffff62468cd in ?? () from /usr/lib/libasound.so.2
#3 0x00007ffff625173b in snd_pcm_mmap_writei () from /usr/lib/libasound.so.2
#4 0x00000000004f2980 in AudioAlsa::run (this=0x939480) at /usr/local/src/lmms/src/core/audio/AudioAlsa.cpp:291
#5 0x00007ffff655fe15 in ?? () from /usr/lib/libQtCore.so.4
#6 0x00007ffff7bc98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7 0x00007ffff3be4b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fffbd1b1700 (LWP 17081)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007ffff6560e6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2 0x00007ffff655cc04 in QSemaphore::acquire(int) () from /usr/lib/libQtCore.so.4
#3 0x00000000004f4e7a in AudioOutputContext::BufferFifo::write (this=0x94bc80, _buffer=0x94a7e0)
at /usr/local/src/lmms/src/core/audio/AudioOutputContext.cpp:71
#4 0x00000000004f4f1c in AudioOutputContext::FifoWriter::run (this=0x14e11e0) at /usr/local/src/lmms/src/core/audio/AudioOutputContext.cpp:302
#5 0x00007ffff655fe15 in ?? () from /usr/lib/libQtCore.so.4
#6 0x00007ffff7bc98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7 0x00007ffff3be4b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8 0x0000000000000000 in ?? ()
Current language: auto
The current source language is "auto; currently c".

Thread 6 (Thread 0x7fffde7fc700 (LWP 17072)):
#0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1 0x00007ffff6560dd2 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2 0x00007ffff6555e01 in ?? () from /usr/lib/libQtCore.so.4
#3 0x00007ffff655fe15 in ?? () from /usr/lib/libQtCore.so.4
#4 0x00007ffff7bc98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5 0x00007ffff3be4b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6 0x0000000000000000 in ?? ()
Current language: auto
The current source language is "auto; currently asm".

Thread 5 (Thread 0x7fffdeffd700 (LWP 17071)):
---Type <return> to continue, or q <return> to quit---
#0 0x00007ffff3bd9c13 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff342d2c9 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007ffff342d71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3 0x00007ffff66786b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4 0x00007ffff664d9c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5 0x00007ffff664dd9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6 0x00007ffff655d77b in QThread::exec() () from /usr/lib/libQtCore.so.4
#7 0x00007ffff662e338 in ?? () from /usr/lib/libQtCore.so.4
#8 0x00007ffff655fe15 in ?? () from /usr/lib/libQtCore.so.4
#9 0x00007ffff7bc98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffff3be4b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffdf7fe700 (LWP 17070)):
#0 0x00007ffff3bd9c13 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007ffff342d2c9 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007ffff342d71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3 0x00007ffff66786b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4 0x00007ffff664d9c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5 0x00007ffff664dd9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6 0x00007ffff655d77b in QThread::exec() () from /usr/lib/libQtCore.so.4
#7 0x00007ffff662e338 in ?? () from /usr/lib/libQtCore.so.4
#8 0x00007ffff655fe15 in ?? () from /usr/lib/libQtCore.so.4
#9 0x00007ffff7bc98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007ffff3be4b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()
Current language: auto
The current source language is "auto; currently c".

Thread 3 (Thread 0x7fffdffff700 (LWP 17069)):
#0 0x00007ffff3bd9c13 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=250) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00000000004ced90 in MidiAlsaSeq::run (this=0x984af0) at /usr/local/src/lmms/src/core/midi/MidiAlsaSeq.cpp:453
#2 0x00007ffff655fe15 in ?? () from /usr/lib/libQtCore.so.4
#3 0x00007ffff7bc98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4 0x00007ffff3be4b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5 0x0000000000000000 in ?? ()

---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread 0x7fffe4e75700 (LWP 17068)):
#0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1 0x00007ffff6560e6b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2 0x0000000000543d8b in MixerWorkerThread::run (this=0x94bb60) at /usr/local/src/lmms/src/core/MixerWorkerThread.cpp:160
#3 0x00007ffff655fe15 in ?? () from /usr/lib/libQtCore.so.4
#4 0x00007ffff7bc98ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5 0x00007ffff3be4b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fbf780 (LWP 17067)):
#0 AudioFileProcessorWaveView::slideSampleByFrames (this=0x18c3620, _frames=1) at /usr/local/src/lmms/plugins/audio_file_processor/audio_file_processor.cpp:872
#1 0x00007fffe9547bd6 in AudioFileProcessorWaveView::reverse (this=0x18c3620) at /usr/local/src/lmms/plugins/audio_file_processor/audio_file_processor.cpp:885
#2 0x00007fffe9547c61 in AudioFileProcessorWaveView::updateGraph (this=0x18c3620)
at /usr/local/src/lmms/plugins/audio_file_processor/audio_file_processor.cpp:729
#3 0x00007fffe95480d8 in AudioFileProcessorWaveView::update (this=0x18c3620, _parent=<value optimized out>, _w=245, _h=75, _buf=...)
at /usr/local/src/lmms/plugins/audio_file_processor/audio_file_processor.h:204
#4 AudioFileProcessorWaveView (this=0x18c3620, _parent=<value optimized out>, _w=245, _h=75, _buf=...)
at /usr/local/src/lmms/plugins/audio_file_processor/audio_file_processor.cpp:486
#5 0x00007fffe954b66e in AudioFileProcessorView (this=0x18b3880, _instrument=<value optimized out>, _parent=<value optimized out>)
at /usr/local/src/lmms/plugins/audio_file_processor/audio_file_processor.cpp:362
#6 0x00007fffe954b7f4 in audioFileProcessor::instantiateView (this=0x18a08b0, _parent=0x151e880)
at /usr/local/src/lmms/plugins/audio_file_processor/audio_file_processor.cpp:214
#7 0x0000000000518817 in Plugin::createView (this=0x18c3620, _parent=0x1) at /usr/local/src/lmms/src/core/Plugin.cpp:183
#8 0x000000000055e277 in InstrumentTrackWindow::updateInstrumentView (this=0xf7d410) at /usr/local/src/lmms/src/tracks/InstrumentTrack.cpp:1485
#9 0x0000000000561137 in InstrumentTrackWindow (this=0xf7d410, _itv=0x15db0d0) at /usr/local/src/lmms/src/tracks/InstrumentTrack.cpp:1341
#10 0x0000000000564f9d in InstrumentTrackView::getInstrumentTrackWindow (this=0x15db0d0) at /usr/local/src/lmms/src/tracks/InstrumentTrack.cpp:1099
#11 0x0000000000565128 in InstrumentTrackView::toggleInstrumentWindow (this=0x18c3620, _on=true) at /usr/local/src/lmms/src/tracks/InstrumentTrack.cpp:1137
#12 0x0000000000565264 in InstrumentTrackView::qt_metacall (this=0x15db0d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffc2b0)
at /usr/local/src/lmms/build/include/moc_InstrumentTrack.cxx:194
#13 0x00007ffff66622e6 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#14 0x00007ffff77793e2 in QAbstractButton::toggled(bool) () from /usr/lib/libQtGui.so.4
#15 0x00007ffff74929a8 in QAbstractButton::setChecked(bool) () from /usr/lib/libQtGui.so.4
#16 0x00007ffff749263a in ?? () from /usr/lib/libQtGui.so.4
#17 0x00007ffff74928ec in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#18 0x00007ffff755eeda in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#19 0x00007ffff7132632 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#20 0x00007ffff70dc32c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#21 0x00007ffff70e2fdb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007ffff664f09c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#23 0x00007ffff70e21be in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
from /usr/lib/libQtGui.so.4
#24 0x00007ffff716207b in ?? () from /usr/lib/libQtGui.so.4
#25 0x00007ffff71609dc in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#26 0x00007ffff718c5a2 in ?? () from /usr/lib/libQtGui.so.4
#27 0x00007ffff34296f2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#28 0x00007ffff342d568 in ?? () from /lib/libglib-2.0.so.0
#29 0x00007ffff342d71c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#30 0x00007ffff66786b3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0x00007ffff718c19e in ?? () from /usr/lib/libQtGui.so.4
#32 0x00007ffff664d9c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#33 0x00007ffff664dd9c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0x00007ffff6652a2b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#35 0x000000000050f4a1 in main (argc=1, argv=<value optimized out>) at /usr/local/src/lmms/src/core/main.cpp:565
Current language: auto
The current source language is "auto; currently asm".
Current language: auto
The current source language is "auto; currently c++".

Hope I spotted a bug. Thx you for LMMS.

Discussion

  •  
    Attachments
  • Thx for your report, but what did you do exactly to make it crash?

     
  • mikobuntu
    mikobuntu
    2013-02-17

    i get a similar bug using the latest git stable rc branch... to reproduce drag any sample into the bb_editor press the reverse button and as soon as you goto open for example go to open the default triple_oscillator instrument LMMSwill segfault :

    (gdb) r
    Starting program: /home/mikobuntu/lmms/target/bin/lmms
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
    [New Thread 0xb3822b40 (LWP 32670)]
    [New Thread 0xb2effb40 (LWP 32671)]
    [New Thread 0xb24d0b40 (LWP 32672)]
    [New Thread 0xb1172b40 (LWP 32673)]
    no more csLADSPA plugins
    [Thread 0xb24d0b40 (LWP 32672) exited]
    no more csLADSPA plugins
    [New Thread 0xb24d0b40 (LWP 32674)]
    [New Thread 0xadde5b40 (LWP 32675)]
    [New Thread 0xa4594b40 (LWP 32680)]
    [New Thread 0xa3d93b40 (LWP 32681)]

    Program received signal SIGSEGV, Segmentation fault.
    AudioFileProcessorWaveView::slideSampleByFrames (this=0x90fe220, _frames=0)
    at /home/mikobuntu/lmms/plugins/audio_file_processor/audio_file_processor.cpp:931
    931 m_startKnob->slideBy( v, false );
    (gdb) quit
    A debugging session is active.

    Inferior 1 [process 32667] will be killed.

    Quit anyway? (y or n) y
    mikobuntu@mikobuntu-Aspire-5332:~/lmms/target/bin$ gdb ./lmms
    GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
    Copyright (C) 2012 Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law. Type "show copying"
    and "show warranty" for details.
    This GDB was configured as "i686-linux-gnu".
    For bug reporting instructions, please see:
    <http://bugs.launchpad.net/gdb-linaro/>...
    Reading symbols from /home/mikobuntu/lmms/target/bin/lmms...done.
    (gdb) r
    Starting program: /home/mikobuntu/lmms/target/bin/lmms
    [Thread debugging using libthread_db enabled]
    Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
    [New Thread 0xb3822b40 (LWP 32741)]
    [New Thread 0xb2effb40 (LWP 32742)]
    [New Thread 0xb24d0b40 (LWP 32743)]
    [New Thread 0xb1172b40 (LWP 32744)]
    no more csLADSPA plugins
    no more csLADSPA plugins
    [New Thread 0xadde5b40 (LWP 32745)]
    [New Thread 0xad5e4b40 (LWP 32746)]
    [Thread 0xb24d0b40 (LWP 32743) exited]
    [New Thread 0xb24d0b40 (LWP 32751)]
    [New Thread 0xa3d59b40 (LWP 32752)]

    Program received signal SIGSEGV, Segmentation fault.
    AudioFileProcessorWaveView::slideSampleByFrames (this=0x9193940, _frames=1)
    at /home/mikobuntu/lmms/plugins/audio_file_processor/audio_file_processor.cpp:931
    931 m_startKnob->slideBy( v, false );
    (gdb) thread apply all backtrace

    Thread 9 (Thread 0xa3d59b40 (LWP 32752)):
    #0 0xb7fdd424 in __kernel_vsyscall ()
    #1 0xb69e4690 in poll () from /lib/i386-linux-gnu/libc.so.6
    #2 0xb710228e in ?? () from /usr/lib/i386-linux-gnu/libasound.so.2
    #3 0xb7102454 in snd_pcm_wait () from /usr/lib/i386-linux-gnu/libasound.so.2
    #4 0xb7108676 in ?? () from /usr/lib/i386-linux-gnu/libasound.so.2
    #5 0xb714ccaa in ?? () from /usr/lib/i386-linux-gnu/libasound.so.2
    #6 0xb7101154 in snd_pcm_writei () from /usr/lib/i386-linux-gnu/libasound.so.2
    #7 0x080e6dbb in AudioAlsa::run (this=0x85601b8) at /home/mikobuntu/lmms/src/core/audio/AudioAlsa.cpp:293
    #8 0xb7216de0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #9 0xb7fa6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
    #10 0xb69f2dde in clone () from /lib/i386-linux-gnu/libc.so.6

    Thread 8 (Thread 0xb24d0b40 (LWP 32751)):
    #0 0xb7fdd424 in __kernel_vsyscall ()
    #1 0xb7faa96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
    #2 0xb7217350 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #3 0xb7212b6a in QSemaphore::acquire(int) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #4 0x0813cc61 in write (_element=0xb1b04408, this=0x83ca538) at /home/mikobuntu/lmms/include/fifo_buffer.h:54
    #5 mixer::fifoWriter::run (this=0x8cf7ba0) at /home/mikobuntu/lmms/src/core/mixer.cpp:1211
    #6 0xb7216de0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #7 0xb7fa6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
    ---Type <return> to continue, or q <return> to quit---
    #8 0xb69f2dde in clone () from /lib/i386-linux-gnu/libc.so.6

    Thread 7 (Thread 0xad5e4b40 (LWP 32746)):
    #0 0xb7fdd424 in __kernel_vsyscall ()
    #1 0xb69e4690 in poll () from /lib/i386-linux-gnu/libc.so.6
    #2 0x0811a384 in MidiAlsaSeq::run (this=0x8560650) at /home/mikobuntu/lmms/src/core/midi/MidiAlsaSeq.cpp:453
    #3 0xb7216de0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #4 0xb7fa6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
    #5 0xb69f2dde in clone () from /lib/i386-linux-gnu/libc.so.6

    Thread 6 (Thread 0xadde5b40 (LWP 32745)):
    #0 0xb7fdd424 in __kernel_vsyscall ()
    #1 0xb69e4690 in poll () from /lib/i386-linux-gnu/libc.so.6
    #2 0xb6fda4c6 in ?? () from /usr/lib/i386-linux-gnu/libpulse.so.0
    #3 0xb6fc875a in pa_mainloop_poll () from /usr/lib/i386-linux-gnu/libpulse.so.0
    #4 0xb6fc8fb7 in pa_mainloop_iterate () from /usr/lib/i386-linux-gnu/libpulse.so.0
    #5 0xb6fc9094 in pa_mainloop_run () from /usr/lib/i386-linux-gnu/libpulse.so.0
    #6 0xb6fda44e in ?? () from /usr/lib/i386-linux-gnu/libpulse.so.0
    #7 0xb63eb246 in ?? () from /usr/lib/i386-linux-gnu/libpulsecommon-1.1.so
    #8 0xb7fa6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
    #9 0xb69f2dde in clone () from /lib/i386-linux-gnu/libc.so.6

    Thread 5 (Thread 0xb1172b40 (LWP 32744)):
    ---Type <return> to continue, or q <return> to quit---
    #0 0xb7fdd424 in __kernel_vsyscall ()
    #1 0xb7faa96b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
    #2 0xb7217350 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #3 0x0813d7c7 in MixerWorkerThread::run (this=0x83c9f70) at /home/mikobuntu/lmms/src/core/mixer.cpp:187
    #4 0xb7216de0 in ?? () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #5 0xb7fa6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
    #6 0xb69f2dde in clone () from /lib/i386-linux-gnu/libc.so.6

    Thread 3 (Thread 0xb2effb40 (LWP 32742)):
    #0 0xb7fdd424 in __kernel_vsyscall ()
    #1 0xb69e4690 in poll () from /lib/i386-linux-gnu/libc.so.6
    #2 0xb6812a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #3 0xb68050ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #4 0xb680556b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #5 0xb46b71ba in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
    #6 0xb68286b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #7 0xb7fa6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
    #8 0xb69f2dde in clone () from /lib/i386-linux-gnu/libc.so.6

    Thread 2 (Thread 0xb3822b40 (LWP 32741)):
    #0 0xb7fdd424 in __kernel_vsyscall ()
    #1 0xb69e4690 in poll () from /lib/i386-linux-gnu/libc.so.6
    #2 0xb6812a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
    ---Type <return> to continue, or q <return> to quit---
    #3 0xb68050ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #4 0xb680556b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #5 0xb3860134 in ?? () from /usr/lib/i386-linux-gnu/gio/modules/libdconfsettings.so
    #6 0xb68286b3 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #7 0xb7fa6d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
    #8 0xb69f2dde in clone () from /lib/i386-linux-gnu/libc.so.6

    Thread 1 (Thread 0xb605a740 (LWP 32738)):
    #0 AudioFileProcessorWaveView::slideSampleByFrames (this=0x9193940, _frames=1)
    at /home/mikobuntu/lmms/plugins/audio_file_processor/audio_file_processor.cpp:931
    #1 0xb197d212 in AudioFileProcessorWaveView::reverse (this=0x9193940)
    at /home/mikobuntu/lmms/plugins/audio_file_processor/audio_file_processor.cpp:944
    #2 0xb197d295 in AudioFileProcessorWaveView::updateGraph (this=0x9193940)
    at /home/mikobuntu/lmms/plugins/audio_file_processor/audio_file_processor.cpp:788
    #3 0xb197d964 in update (this=0x9193940) at /home/mikobuntu/lmms/plugins/audio_file_processor/audio_file_processor.h:206
    #4 AudioFileProcessorWaveView::AudioFileProcessorWaveView (this=0x9193940, _parent=0x914cfa0, _w=245, _h=75, _buf=...)
    at /home/mikobuntu/lmms/plugins/audio_file_processor/audio_file_processor.cpp:537
    #5 0xb197e856 in AudioFileProcessorView::AudioFileProcessorView (this=0x914cfa0, _instrument=0x8f7a8b0, _parent=0x90a2008)
    at /home/mikobuntu/lmms/plugins/audio_file_processor/audio_file_processor.cpp:359
    #6 0xb197ea1c in audioFileProcessor::instantiateView (this=0x8f7a8b0, _parent=0x90a2008)
    at /home/mikobuntu/lmms/plugins/audio_file_processor/audio_file_processor.cpp:211
    #7 0x0810fdbf in Plugin::createView (this=0x8f7a8b0, _parent=0x90a2008) at /home/mikobuntu/lmms/src/core/Plugin.cpp:186
    #8 0x080bac81 in InstrumentTrackWindow::updateInstrumentView (this=0x8d72158)
    ---Type <return> to continue, or q <return> to quit---
    at /home/mikobuntu/lmms/src/tracks/InstrumentTrack.cpp:1494
    #9 0x080be004 in InstrumentTrackView::freeInstrumentTrackWindow (this=0x8f957f8)
    at /home/mikobuntu/lmms/src/tracks/InstrumentTrack.cpp:1065
    #10 0x080be73a in InstrumentTrackView::toggleInstrumentWindow (this=0x8f957f8, _on=false)
    at /home/mikobuntu/lmms/src/tracks/InstrumentTrack.cpp:1159
    #11 0x080be7e6 in qt_static_metacall (_a=0xbfffdf48, _o=0x8f957f8, _c=<optimised out>, _id=<optimised out>)
    at /home/mikobuntu/lmms/build/include/moc_InstrumentTrack.cxx:183
    #12 InstrumentTrackView::qt_static_metacall (_o=0x8f957f8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfffdf48)
    at /home/mikobuntu/lmms/build/include/moc_InstrumentTrack.cxx:177
    #13 0xb73426b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #14 0xb7d3f9dd in QAbstractButton::toggled(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #15 0xb7a35017 in QAbstractButton::setChecked(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #16 0x080ba88a in InstrumentTrackWindow::setInstrumentTrackView (this=0x8d72158, _tv=0x8d78030)
    at /home/mikobuntu/lmms/src/tracks/InstrumentTrack.cpp:1390
    #17 0x080be39a in InstrumentTrackView::getInstrumentTrackWindow (this=0x8d78030)
    at /home/mikobuntu/lmms/src/tracks/InstrumentTrack.cpp:1100
    #18 0x080be71b in InstrumentTrackView::toggleInstrumentWindow (this=0x8d78030, _on=true)
    at /home/mikobuntu/lmms/src/tracks/InstrumentTrack.cpp:1155
    #19 0x080be7e6 in qt_static_metacall (_a=0xbfffe138, _o=0x8d78030, _c=<optimised out>, _id=<optimised out>)
    at /home/mikobuntu/lmms/build/include/moc_InstrumentTrack.cxx:183
    #20 InstrumentTrackView::qt_static_metacall (_o=0x8d78030, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfffe138)
    at /home/mikobuntu/lmms/build/include/moc_InstrumentTrack.cxx:177
    #21 0xb73426b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    ---Type <return> to continue, or q <return> to quit---
    #22 0xb7d3f9dd in QAbstractButton::toggled(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #23 0xb7a35017 in QAbstractButton::setChecked(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #24 0xb7a351b0 in QAbstractButton::nextCheckState() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #25 0xb7b0d420 in QToolButton::nextCheckState() () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #26 0xb7a34c57 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #27 0xb7a34f56 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #28 0xb7b0d4ad in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #29 0xb76621ac in QWidget::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #30 0xb7a341f9 in QAbstractButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #31 0xb7b0ebdc in QToolButton::event(QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #32 0xb7607ed4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #33 0xb760e024 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #34 0xb732b97e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #35 0xb7608e95 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)
    () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #36 0xb7695074 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #37 0xb7693c0d in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #38 0xb76c0eac in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #39 0xb6804d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #40 0xb6805125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #41 0xb6805201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
    #42 0xb735e887 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
    from /usr/lib/i386-linux-gnu/libQtCore.so.4
    ---Type <return> to continue, or q <return> to quit---
    #43 0xb76c0aaa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4
    #44 0xb732a50d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #45 0xb732a7a9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #46 0xb732feba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4
    #47 0x080ad314 in main (argc=140010608, argv=0x8959348) at /home/mikobuntu/lmms/src/core/main.cpp:509
    (gdb)
    (gdb)

     
  • @noisebn : Like I already said :

    Load attached project
    Display BB-Editor (F6)
    Click on the SQuelb instrument

     
  • mikobuntu
    mikobuntu
    2013-02-18

    I'm guessing the O.P had reverse on the 2nd sample ( last track in the BB_Editor) ?? reverse seems to be the only thing crashing LMMS when applied to a Audio_File_processor and trying to interchange between instruments.
    /*note I am using single instrument window mode, but i will also try with the default behaviour and report back here..........*/

     
  • mikobuntu
    mikobuntu
    2013-02-18

    ok i can 100% confirm that using reverse on the Audio_file_processor is the culprit of this crash, my proof is I dumped the O.P's mmpz file to txt, edited out the reverse from reversed=1 to reversed =0 , saved as .mmp and was able to open all instruments with no crash. Also from my previous post " one instrument track window mode" from the >edit>settings makes no difference whether selected or not, LMMS will still crash using reverse on the AFP .... thanks Mikobuntu ;)

     
  • Raine M. Ekman
    Raine M. Ekman
    2013-05-07

    No. This still seems to exist in 0.4.14. LMMS will also crash when closing the AFP window or replacing it with another instrument window (in one window mode) after setting reverse playback for a sample.

     
    • status: open --> closed-fixed
    • assigned_to: Tobias Doerffel
     
  • Fixed in commit 0f3851d597d5a913f13f4455a475dfd196991022.