Segmentation Fault on MIDI import

Project:MuseScore
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I've attached below a 0.9.6 Debian bug report that slipped through my radar (oh well... 0.9.6.2 seems to fix all the other bugs I've seen). Hopefully this can be sorted for 0.9.7 :)

It's from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591908
The terminal output is at http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=MuseScore.tx...
and you can get the MIDI file at http://www.classicalarchives.com/midi/composer/2239.html

I can reproduce the issue on 0.9.6.2 (but haven't rebuilt it with debugging symbols yet, so I don't have a backtrace, sorry).

--

Package: musescore
Version: 0.9.6+dfsg-1
Severity: normal

Hi!

I am working on MIDI import of the Brahms Violin Concerto MIDI file that can
be downloaded for free from www.classicalarchives.com, into MuseScore.

When I open it within MuseScore, I get a question about MIDI note quantization.
If I leave the setting at "hemidemisemiquaver", the import works. However, if I
choose "demisemiquaver", MuseScore segfaults... My goal was to avoid getting alot
of short notes which seems to be a problem with that particular MIDI file...

I any case, MuseScore shouldn't segfault, so I'm submitting this. Attached is
the terminal output of MuseScore as it segfaults.

Best regards
Torquil Sørensen

-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34.1 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages musescore depends on:
ii desktop-file-utils 0.15-2 Utilities for .desktop files
ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
ii libasound2 1.0.23-1 shared library for ALSA applicatio
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-8 GCC support library
ii libportaudio2 19+svn20071022-3+b1 Portable audio I/O - shared librar
ii libqt4-designer 4:4.6.3-1 Qt 4 designer module
ii libqt4-network 4:4.6.3-1 Qt 4 network module
ii libqt4-script 4:4.6.3-1 Qt 4 script module
ii libqt4-scripttools 4:4.6.3-1 Qt 4 script tools module
ii libqt4-svg 4:4.6.3-1 Qt 4 SVG module
ii libqt4-xml 4:4.6.3-1 Qt 4 XML module
ii libqtcore4 4:4.6.3-1 Qt 4 core module
ii libqtgui4 4:4.6.3-1 Qt 4 GUI module
ii libqtscript4-qtbindi 0.1.0-3 Qt Script bindings for Qt 4 - meta
ii libsndfile1 1.0.21-3 Library for reading/writing audio
ii libstdc++6 4.4.4-8 The GNU Standard C++ Library v3
ii musescore-common 0.9.6+dfsg-1 Full featured WYSIWYG score editor
ii musescore-soundfont- 0.9.6+dfsg-1 Small GM SoundFont for MuseScore (
ii xdg-utils 1.0.2+cvs20100307-1 desktop integration utilities from
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages musescore recommends:
pn pulseaudio-utils (no description available)

Versions of packages musescore suggests:
ii fluid-soundfont-gm 3.1-5 Fluid (R3) General MIDI SoundFont

-- no debconf information

#1

(I tried to "make debug", but cc1plus goes i/o-crazy, and so it would take forever to build. I don't know if this is a bug in ext3 or what..)

#2

This bug still exists in 0.9.6.3.

#3

I have attached the problematic MIDI file.

AttachmentSize
brahm771.mid 136.02 KB
Syndicate content