[Mac 10.4] Exporting audio file causes crash

• Oct 25, 2010 - 14:29
Type
Functional
Severity
S2 - Critical
Status
won't fix
Project

Steps to reproduce bug
1. Open score
2. Save As any of these audio formats: Flac, WAV or Ogg

Result: The program crashes without saving the file

MuseScore version: 0.9.6.3

(Operating System: Mac 10.4.11)

Was fine on 0.9.6.2, so this appears to be a regression.

I reported it initially in the forum: http://musescore.org/en/node/6972


Comments

Well it can be critical, I can't reproduce... Anyone can reproduce? If we can't reproduce we can't fix. Any other info we should know ?

I've attached a log - could be missing component files required to produce the audio?

(Couldn't open attached .txt file, so uploaded it in .zip instead)

Attachment Size
Audio.zip 1.26 KB

Last login: Fri Jan 28 02:48:36 on ttyp1
Welcome to Darwin!
scott-napiers-computer:~ chenlung$ /Applications/MuseScore/MuseScore.app/Contents/Framework
-bash: /Applications/MuseScore/MuseScore.app/Contents/Framework: No such file or directory
scott-napiers-computer:~ chenlung$ otool -L libsndfile.1.dylib
-bash: otool: command not found
scott-napiers-computer:~ chenlung$

Ok ... again. You don't have otool so you need to install the developer tools.

Next

  1. Open a terminal
  2. type cd /Applications/MuseScore.app/Contents/Framework and return. It should output nothing, or you write it wrong.
  3. type otool -L libsndfile.1.dylib and return. Paste the result in a comment. It should give you more than one line and no "Command not found" if otool is installed correctly.

Installed xTools (from installation disc).

Last login: Fri Jan 28 14:09:12 on ttyp1
Welcome to Darwin!
scott-napiers-computer:~ chenlung$ cd /Applications/MuseScore.app/Contents/Framework
-bash: cd: /Applications/MuseScore.app/Contents/Framework: No such file or directory
scott-napiers-computer:~ chenlung$ cd /Applications/MuseScore/MuseScore.app/Contents/Framework
-bash: cd: /Applications/MuseScore/MuseScore.app/Contents/Framework: No such file or directory
scott-napiers-computer:~ chenlung$ otool -L libsndfile.1.dylib
otool: can't open file: libsndfile.1.dylib (No such file or directory)
scott-napiers-computer:~ chenlung$

Still crashes outputting WAV.

Where is MuseScore installed on your Mac? What the name of the MuseScore application when you go to Applications in your dock? I'm not trying to solve your problem on your mac specifically... I'm trying to understand why you have a crash.

First thing first you have to find where the MuseScore application is installed.

You didn't know I had it in a folder - so not your mistake :)?

Last login: Fri Jan 28 18:22:20 on ttyp1
Welcome to Darwin!
scott-napiers-computer:~ chenlung$ cd /Applications/MuseScore/MuseScore.app/Contents/Frameworks
scott-napiers-computer:/Applications/MuseScore/MuseScore.app/Contents/Frameworks chenlung$ otool -L libsndfile.1.dylib
libsndfile.1.dylib:
@executable_path/../Frameworks/libsndfile.1.dylib (compatibility version 2.0.0, current version 2.21.0)
@executable_path/../Frameworks/libFLAC.8.dylib (compatibility version 11.0.0, current version 11.0.0)
@executable_path/../Frameworks/libvorbisenc.2.dylib (compatibility version 3.0.0, current version 3.7.0)
@executable_path/../Frameworks/libvorbis.0.dylib (compatibility version 5.0.0, current version 5.4.0)
@executable_path/../Frameworks/libogg.0.dylib (compatibility version 8.0.0, current version 8.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 111.1.5)
scott-napiers-computer:/Applications/MuseScore/MuseScore.app/Contents/Frameworks chenlung$

With some scores, it'll crash (producing an empty file). With others, the program will hang as it exports an MP3 (one score exported it partially once, but attempts after were fine).

Using MuseScore 2.0 nightly build (4141) and Mac 10.4.11.

The problem here is identified. Exporting to ogg, flac, and wav using MuseScore 1.0 and nighlies on Mac 10.4 does not work because the library used by musescore to provide this facility (libsndfile) is not compiled for 10.4 on my computer (and I built MuseScore 1.0 and build the nightlies). I didn't find a way to do it yet and it's a minor issue for me.

The new MP3 export in trunk does not rely on libsndfile and should not have this same issue.

Title Exporting audio file causes crash on Mac 10.4 [Mac 10.4] Exporting audio file causes crash

I have upgraded to 10.6.7 (no problems), so I can't check on 10.4.

I know some other people have had problems (possibly on different OS) and I've linked to this issue, but I'm unsure overall what to do now.

Status (old) won't fix fixed

I've had this problem, too. Just remove the empty measures at the end of your work and save the file: it works !
Then I tried for a longer piece - it crashed twice, but the third time it was completed successfully. I think this could be a temporary solution before a new update.
NB: I use Windows 7, Intel Pentium CPU - P6100 - 2GHz
Hope it would be helpful !