#463 Crashes when trying to export as .wav

Current Release
open
nobody
Crash (127)
5
2012-02-07
2012-02-07
Roy Gannon
No

Been using LMMS for about a month and everything was fine. As of a few day ago, when I try to export a project as a .wav, the program crashes and shuts down.
Using ver. .0.4.13(linux i386) on Ubuntu 11.10

Discussion

1 2 > >> (Page 1 of 2)
  • Roy Gannon
    Roy Gannon
    2012-02-08

    Update Using ver .0.4.13(linux i386) on Ubuntu 11.04 not 11.10.
    Also, it saves to .ogg but not .wav.

     

  • Anonymous
    2012-02-08

    Backtrace made from LMMS Version 0.4.13 (Linux/x86_64, Qt 4.7.4, GCC 4.6.1) from the DNS PPA, saving a .wav, running on Ubuntu 11.10

    Program received signal SIGSEGV, Segmentation fault.
    0x00007ffff4e8e1fd in ?? () from /usr/lib/x86_64-linux-gnu/libsndfile.so.1
    (gdb) thread apply all backtrace

    Thread 8 (Thread 0x7fffd4909700 (LWP 26450)):
    #0 0x00007ffff7bcb04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
    #1 0x00007ffff68811ab in QWaitCondition::wait(QMutex*, unsigned long) ()
    from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #2 0x00007ffff687dba5 in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #3 0x00000000004c0da3 in AudioDevice::getNextBuffer(float (*) [2]) ()
    #4 0x00000000004c2a6b in AudioPulseAudio::streamWriteCallback(pa_stream*, unsigned long) ()
    #5 0x00007ffff5e2d887 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
    #6 0x00007ffff18cf94b in pa_pdispatch_run () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
    #7 0x00007ffff5e12c1d in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
    #8 0x00007ffff18d4209 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
    #9 0x00007ffff5e2570e in pa_mainloop_dispatch () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
    #10 0x00007ffff5e25ad5 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
    #11 0x00000000004c216a in AudioPulseAudio::run() ()
    #12 0x00007ffff6880d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #13 0x00007ffff7bc6efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
    #14 0x00007ffff460989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
    #15 0x0000000000000000 in ?? ()

    Thread 7 (Thread 0x7fffd510a700 (LWP 26449)):
    #0 0x00007ffff45a0d9a in ?? () from /lib/x86_64-linux-gnu/libc.so.6
    #1 0x00007ffff45a1dff in ?? () from /lib/x86_64-linux-gnu/libc.so.6
    #2 0x00007ffff45a477d in malloc () from /lib/x86_64-linux-gnu/libc.so.6
    #3 0x00007ffff49814cd in operator new(unsigned long) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
    #4 0x00007ffff49815e9 in operator new[](unsigned long) ()
    from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
    #5 0x00000000004b2ac8 in mixer::fifoWriter::run() ()
    #6 0x00007ffff6880d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #7 0x00007ffff7bc6efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
    #8 0x00007ffff460989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
    #9 0x0000000000000000 in ?? ()

    Thread 6 (Thread 0x7fffe8d24700 (LWP 26448)):
    #0 0x00007ffff7bcb04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
    #1 0x00007ffff68811ab in QWaitCondition::wait(QMutex*, unsigned long) ()
    from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #2 0x00000000004b34fb in MixerWorkerThread::run() ()
    #3 0x00007ffff6880d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #4 0x00007ffff7bc6efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
    #5 0x00007ffff460989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
    #6 0x0000000000000000 in ?? ()

    Thread 5 (Thread 0x7fffe9525700 (LWP 26447)):
    #0 0x00007ffff7bcb04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
    #1 0x00007ffff68811ab in QWaitCondition::wait(QMutex*, unsigned long) ()
    from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #2 0x00000000004b34fb in MixerWorkerThread::run() ()
    #3 0x00007ffff6880d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #4 0x00007ffff7bc6efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
    #5 0x00007ffff460989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
    #6 0x0000000000000000 in ?? ()

    Thread 4 (Thread 0x7fffe9d26700 (LWP 26446)):
    #0 0x00007ffff7bcb04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
    #1 0x00007ffff68811ab in QWaitCondition::wait(QMutex*, unsigned long) ()
    from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #2 0x00000000004b34fb in MixerWorkerThread::run() ()
    #3 0x00007ffff6880d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #4 0x00007ffff7bc6efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
    #5 0x00007ffff460989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
    #6 0x0000000000000000 in ?? ()

    Thread 3 (Thread 0x7fffea527700 (LWP 26445)):
    #0 0x00007ffff7bcb04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
    #1 0x00007ffff68811ab in QWaitCondition::wait(QMutex*, unsigned long) ()
    from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #2 0x00000000004b34fb in MixerWorkerThread::run() ()
    #3 0x00007ffff6880d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #4 0x00007ffff7bc6efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
    #5 0x00007ffff460989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
    #6 0x0000000000000000 in ?? ()

    Thread 2 (Thread 0x7fffead28700 (LWP 26444)):
    #0 0x00007ffff7bcb04c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
    #1 0x00007ffff68811ab in QWaitCondition::wait(QMutex*, unsigned long) ()
    from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #2 0x00000000004b34fb in MixerWorkerThread::run() ()
    #3 0x00007ffff6880d05 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
    #4 0x00007ffff7bc6efc in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
    #5 0x00007ffff460989d in clone () from /lib/x86_64-linux-gnu/libc.so.6
    #6 0x0000000000000000 in ?? ()

    Thread 1 (Thread 0x7ffff7fc1780 (LWP 26443)):
    #0 0x00007ffff4e8e1fd in ?? () from /usr/lib/x86_64-linux-gnu/libsndfile.so.1
    #1 0x00000000004c0a13 in AudioFileWave::startEncoding() ()
    #2 0x00000000004c0a94 in AudioFileWave::AudioFileWave(unsigned int, unsigned char, bool&, QString const&, bool, unsigned short, unsigned short, unsigned short, int, mixer*) ()
    #3 0x00000000004df047 in AudioFileWave::getInst(unsigned int, unsigned char, bool&, QString const&, bool, unsigned short, unsigned short, unsigned short, int, mixer*) ()
    #4 0x00000000004dea31 in ProjectRenderer::ProjectRenderer(mixer::qualitySettings const&, ProjectRenderer::OutputSettings const&, ProjectRenderer::ExportFileFormats, QString const&) ()
    #5 0x00000000004798be in main ()

     
  • musikbear
    musikbear
    2012-02-09

    lgannon01, have you tried several projects?
    Is the issue preserved if you only use facftory presets (eg no vst's)?
    ---
    as a note -o.4.13 win32 exports flawlessly to both ogg and wave

     
  • Roy Gannon
    Roy Gannon
    2012-02-09

    Update: Using ver .0.4.13(linux i386) on Ubuntu 11.04
    Have tried exporting several different projects of varying sizes using both 16 Bit and 32 Bit Depth.
    As soon as I hit the start button, the program immediately shuts down.

     
  • mikobuntu
    mikobuntu
    2012-02-09

    Igannon can you upload 1 of your project files (and paste the link as a reply) that is crashing on export and i will have a try to see if i can debug it, im using lmms-0.4.13 on ubuntu 10.10 64bit. ;)

     

  • Anonymous
    2012-02-09

    I'm pretty sure it's commit 6899c8378c48650ff9b3f6f479809a6689a63f06 that does this, tried commenting out the line that adds the "LMMS" string to the outgoing file and suddenly I could render WAVs just fine in a freshly built 0.4.13. Uncommented the line, and again 80-90% of the runs segfaulted.

    Probably a bug in libsndfile 1.0.24 (Ubuntu or upstream, don't know).

     
  • Roy Gannon
    Roy Gannon
    2012-02-09

    lmms project

     
    Attachments
  • Roy Gannon
    Roy Gannon
    2012-02-09

    Update: Using ver .0.4.13(linux i386) on Ubuntu 11.04
    I have uploaded a small project that would not export to a .wav file.
    It is...lord mayo.mmpz and it is listed as an attached file at the bottom of this page.

     
  • mikobuntu
    mikobuntu
    2012-02-10

    @ Igannon01.. i have tried your lord_mayo project, with just about every setting i could use in the export dialog but was unable to reproduce your bug, im thinking that @ raine is right and this is a bug in libsndfile. it was me that created the patch for the "LMMS" software metadata entry but i have never had a problem with it rendering a project.
    * my version of libsndfile is 1.0.21 so perhaps if your using a more upstream version it could indeed be the culprit*

     
  • Roy Gannon
    Roy Gannon
    2012-02-10

    Update: 1) Thanks to everyone trying to work through this problem.
    2)I am not as linux savvy as you all apparently are so please bear with me.
    In usr/share/libsndfile there is a file libsndfile.so.1.0.23.....is that the file that 'mikobuntu' is referring to?
    I believe that just prior to this problem, I did an update from Ubuntu and LMMS was a part of the update.
    How can I get a copy of libsndfile.so.1.0.21 to see if this fixes the problem?

     
1 2 > >> (Page 1 of 2)