Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325447 - media-sound/musescore-0.9.4 segfaults from basic GUI input
Summary: media-sound/musescore-0.9.4 segfaults from basic GUI input
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 04:54 UTC by Longpoke
Modified: 2012-03-20 00:13 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Longpoke 2010-06-25 04:54:06 UTC
Steps to reproduce:
1. Select a measure such that a blue box appears around it.
2. Press spacebar, or the N key, or the N button on the GUI toolbar
3. Click twice to try to place notes in any places that a valid note would go
4. Segfault
Comment 1 Longpoke 2010-06-25 04:56:12 UTC
Traceback:

Program received signal SIGSEGV, Segmentation fault.
0x000000000051609a in DurationElement::tuplet (this=0x0) at /var/tmp/portage/media-sound/musescore-0.9.4/work/mscore-0.9.4/mscore/mscore/duration.h:46

(gdb) bt
#0  0x000000000051609a in DurationElement::tuplet (this=0x0) at /var/tmp/portage/media-sound/musescore-0.9.4/work/mscore-0.9.4/mscore/mscore/duration.h:46
#1  0x0000000000553f9a in Score::putNote (this=0x1320c70, pos=..., replace=false)
    at /var/tmp/portage/media-sound/musescore-0.9.4/work/mscore-0.9.4/mscore/mscore/edit.cpp:401
#2  0x000000000051d703 in Canvas::mousePressEvent (this=0x1321fb0, ev=0x7fffffffd190)
    at /var/tmp/portage/media-sound/musescore-0.9.4/work/mscore-0.9.4/mscore/mscore/canvas.cpp:514
#3  0x00007ffff646b157 in QWidget::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#4  0x000000000051b91f in Canvas::event (this=0x1321fb0, ev=0x7fffffffd190)
    at /var/tmp/portage/media-sound/musescore-0.9.4/work/mscore-0.9.4/mscore/mscore/canvas.cpp:175
#5  0x00007ffff641dfc8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#6  0x00007ffff64244f2 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#7  0x00007ffff3f318fa in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt4/libQtCore.so.4
#8  0x00007ffff64231a7 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib/qt4/libQtGui.so.4
#9  0x00007ffff6497d56 in ?? () from /usr/lib/qt4/libQtGui.so.4
#10 0x00007ffff6496771 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt4/libQtGui.so.4
#11 0x00007ffff64bd96c in ?? () from /usr/lib/qt4/libQtGui.so.4
#12 0x00007ffff371d093 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#13 0x00007ffff372018c in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x00007ffff372030e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#15 0x00007ffff3f56e20 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#16 0x00007ffff64bd5fe in ?? () from /usr/lib/qt4/libQtGui.so.4
#17 0x00007ffff3f30552 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#18 0x00007ffff3f308a3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#19 0x00007ffff3f33feb in QCoreApplication::exec() () from /usr/lib/qt4/libQtCore.so.4
#20 0x000000000064406f in main (argc=1, argv=0x7fffffffe248) at /var/tmp/portage/media-sound/musescore-0.9.4/work/mscore-0.9.4/mscore/mscore/mscore.cpp:1769
Comment 2 Longpoke 2010-06-25 04:57:01 UTC
emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_CPU_4400_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Wed, 16 Jun 2010 13:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -gddb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -gddb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.lecl.net/pub/gentoo/ http://gentoo.in.th/ http://ftp.daum.net/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.0.0.1/gentoo-portage"
USE="X a52 aac acl alsa amd64 berkdb bzip2 cairo cli cracklib crypt cups cxx debug djvu dri dts flac fortran gdbm gpm gtk iconv ipv6 jpeg live mad mmx modules mp3 mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python quicktime readline reflection session spl sse sse2 sse3 ssl ssse3 svg sysfs tcpd unicode vorbis wma x264 xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 yermandu 2011-02-08 14:45:24 UTC
Yep same here, the problem happens when try set a new score and input a note from mouse ou keyboard.

If need info i can collect, i addict from musescore.

$ mscore -d
global share: </usr/share/mscore-0.9/>
configured localeName <system>
real localeName <C>
load translator </usr/share/mscore-0.9/locale/mscore_C>
load translator </usr/share/mscore-0.9/locale/mscore_C> failed
load translator <qt_C> from </usr/share/qt4/translations>
load translator <qt_C> failed
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
connect to midi input <Midi Through Port-0>
DPI 1200.000000(1200) PDPI 96.000000(96) DPMM 47.244094
LibraryPath: </usr/lib64/qt4/plugins>
LibraryPath: </usr/bin>
Register Plugin </usr/share/mscore-0.9/plugins/test.js>
Register Plugin </usr/share/mscore-0.9/plugins/test2.js>
start event loop...
cmd <play>
cmd <play>
cmd <note-b>
switch from NORMAL to NOTE_ENTRY
cmd <note-b>
cannot enter notes here (no chord rest at current position)
Segmentation fault
Comment 4 Tim Harder gentoo-dev 2012-02-26 03:23:46 UTC
Can you reproduce this with musescore-1.1?
Comment 5 yermandu 2012-03-02 13:11:05 UTC
(In reply to comment #4)
> Can you reproduce this with musescore-1.1?

No, musescore-1.1 doesnt have this problem.
Comment 6 Tim Harder gentoo-dev 2012-03-20 00:13:21 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > Can you reproduce this with musescore-1.1?
> 
> No, musescore-1.1 doesnt have this problem.

Closing as obsolete then.