Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fixed] lmms segfaulting in libsndfile
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
m0jumb0
n00b
n00b


Joined: 26 Feb 2011
Posts: 1

PostPosted: Sat Feb 26, 2011 2:39 am    Post subject: [fixed] lmms segfaulting in libsndfile Reply with quote

[update] i managed to fix this.

I did this:
Code:

emerge --update --newuse --deep @world
emerge --depclean --deep
revdep-rebuild

which I guess I should have done in the first place :oops:

I recently install lmms and spent a few hours working with it. Last night I added some additional samples to play around with and it started segfaulting on me. I don't think it was directly related to the new samples, but you never know. I did an emerge -u --deep lmms to see if I upgrading dependencies would help, but to no avail. I even tried the git version of lmms, with the same result. I've reverted back to the version available in portage 0.4.9 in order to have a common starting point with any other folks that are having the problem on here. From the backtrace and the problem existing in multiple versions, it seems like the problem might be in libsndfile, but who knows...

after a little more experimenting I seem to have narrowed it down to wav and aiff samples that are causing the segfaults.


Here's an excerpt from strace where the segfault happens:
Code:

poll([{fd=7, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=7, revents=POLLOUT}])
writev(7, [{"5\30\4\0\2,@\2\260\0\0\0\25\1$\0\224\4\5\0\3,@\2\2,@\2*\0\0\0"..., 992}, {NULL, 0}, {"", 0}], 3) = 992
read(7, 0x8b39b98, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
stat64("/usr/share/lmms/samples/shapes/additive.wav", {st_mode=S_IFREG|0644, st_size=716, ...}) = 0
open("/usr/share/lmms/samples/shapes/additive.wav", O_RDONLY|O_LARGEFILE) = 22
gettimeofday({1298687303, 409548}, NULL) = 0
fstat64(22, {st_mode=S_IFREG|0644, st_size=716, ...}) = 0
fstat64(22, {st_mode=S_IFREG|0644, st_size=716, ...}) = 0
read(22, "RIFF\304\2\0\0WAVE", 12)      = 12
_llseek(22, 0, [12], SEEK_CUR)          = 0
_llseek(22, 0, [12], SEEK_CUR)          = 0
read(22, "fmt ", 4)                     = 4
read(22, "\20\0\0\0", 4)                = 4
read(22, "\1\0", 2)                     = 2
read(22, "\1\0", 2)                     = 2
read(22, "D\254\0\0", 4)                = 4
read(22, "\210X\1\0", 4)                = 4
read(22, "\2\0", 2)                     = 2
read(22, "\20\0", 2)                    = 2
_llseek(22, 0, [36], SEEK_CUR)          = 0
read(22, "data", 4)                     = 4
read(22, "\240\2\0\0", 4)               = 4
_llseek(22, 0, [44], SEEK_CUR)          = 0
_llseek(22, 0, [44], SEEK_CUR)          = 0
_llseek(22, 716, [716], SEEK_SET)       = 0
_llseek(22, 0, [716], SEEK_CUR)         = 0
_llseek(22, 0, [716], SEEK_CUR)         = 0
_llseek(22, 0, [716], SEEK_CUR)         = 0
_llseek(22, 44, [44], SEEK_SET)         = 0
read(22, "j\336\234\332", 4)            = 4
_llseek(22, 0, [48], SEEK_CUR)          = 0
_llseek(22, 44, [44], SEEK_SET)         = 0
mmap2(NULL, 29638656, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb0c68000
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)


Here's the backtrace:
Code:

Thread 5 (Thread 14311):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb64af636 in poll () from /lib/libc.so.6
#2  0xb6aab845 in ?? () from /usr/lib/libasound.so.2
#3  0xb6aab961 in snd_pcm_wait () from /usr/lib/libasound.so.2
#4  0xb6aaba36 in ?? () from /usr/lib/libasound.so.2
#5  0xb6ab604e in snd_pcm_mmap_writei () from /usr/lib/libasound.so.2
#6  0xb6aa6d90 in snd_pcm_writei () from /usr/lib/libasound.so.2
#7  0x08181249 in AudioAlsa::run() ()
#8  0xb6b777a7 in ?? () from /usr/lib/qt4/libQtCore.so.4
#9  0xb77d9905 in start_thread () from /lib/libpthread.so.0
#10 0xb64b9ece in clone () from /lib/libc.so.6

Thread 4 (Thread 14308):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb77ddff5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6b786d4 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/qt4/libQtCore.so.4
#3  0x081c332c in MixerWorkerThread::run() ()
#4  0xb6b777a7 in ?? () from /usr/lib/qt4/libQtCore.so.4
#5  0xb77d9905 in start_thread () from /lib/libpthread.so.0
#6  0xb64b9ece in clone () from /lib/libc.so.6

Thread 3 (Thread 14310):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb77ddff5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6b786d4 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/qt4/libQtCore.so.4
#3  0xb6b745d5 in QSemaphore::acquire(int) () from /usr/lib/qt4/libQtCore.so.4
#4  0x081c1807 in mixer::fifoWriter::run() ()
#5  0xb6b777a7 in ?? () from /usr/lib/qt4/libQtCore.so.4
#6  0xb77d9905 in start_thread () from /lib/libpthread.so.0
#7  0xb64b9ece in clone () from /lib/libc.so.6

Thread 2 (Thread 14309):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb64af636 in poll () from /lib/libc.so.6
#2  0x08154cda in MidiAlsaSeq::run() ()
#3  0xb6b777a7 in ?? () from /usr/lib/qt4/libQtCore.so.4
#4  0xb77d9905 in start_thread () from /lib/libpthread.so.0
#5  0xb64b9ece in clone () from /lib/libc.so.6

Thread 1 (Thread 14307):
#0  0xb6460367 in memset () from /lib/libc.so.6
#1  0xb667465e in ?? () from /usr/lib/libsndfile.so.1
#2  0xb664e918 in sf_read_short () from /usr/lib/libsndfile.so.1
#3  0x081e0eb3 in sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) ()
#4  0x081e21d5 in sampleBuffer::update(bool) ()
#5  0x081e2dd9 in sampleBuffer::sampleBuffer(QString const&, bool) ()
#6  0x08170911 in samplePlayHandle::samplePlayHandle(QString const&) ()
#7  0x0813fd51 in fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) ()
#8  0xb6f44c7e in QWidget::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#9  0xb730eafa in QFrame::event(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#10 0xb739fd6f in QAbstractScrollArea::viewportEvent(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#11 0xb744c235 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#12 0xb748a81b in QTreeView::viewportEvent(QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#13 0xb73a23be in ?? () from /usr/lib/qt4/libQtGui.so.4
#14 0xb6c656d3 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/qt4/libQtCore.so.4
#15 0xb6eec97e in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#16 0xb6ef39fc in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt4/libQtGui.so.4
#17 0xb6c6632f in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/qt4/libQtCore.so.4
#18 0xb6ef2334 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/qt4/libQtGui.so.4
#19 0xb6f764c2 in ?? () from /usr/lib/qt4/libQtGui.so.4
#20 0xb6f755ba in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt4/libQtGui.so.4
#21 0xb6fa02e6 in ?? () from /usr/lib/qt4/libQtGui.so.4
#22 0xb633d2e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0xb6340d0e in ?? () from /usr/lib/libglib-2.0.so.0
#24 0xb6340eca in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0xb6c8f624 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#26 0xb6f9feb0 in ?? () from /usr/lib/qt4/libQtGui.so.4
#27 0xb6c64b6b in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#28 0xb6c64f75 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/qt4/libQtCore.so.4
#29 0xb6c69c94 in QCoreApplication::exec() () from /usr/lib/qt4/libQtCore.so.4
#30 0x08194a99 in main ()


emerge --info
Code:

Portage 2.1.9.25 (default/linux/x86/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r3, 2.6.37-gentoo i686)
=================================================================
System uname: Linux-2.6.37-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-1.12.14
Timestamp of tree: Fri, 25 Feb 2011 16:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13::<unknown repository>, 2.65-r1
sys-devel/automake:  1.8.5-r3::<unknown repository>, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -pipe -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="/var/lib/layman/bgo-overlay /usr/local/portage /usr/local/overlays/arduino"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa berkdb bitmap-fonts bluetooth branding bzip2 c++ cairo cdr cli consolekit cracklib crypt cups curl cxx dba dbus divx4linux dri dts dv dvb dvd dvdr dvdread effects emboss encode exif fam firefox flac flash fortran ftp gd gdbm gdu gif gpm gtk gtkhtml hvm iconv imap inkjar insecure-drivers ipv6 jack jpeg lcms ldap libnotify mad mikmod mjpeg mmx mng modules mozilla mozsvg mp3 mp4 mpeg mudflap mysql ncurses nptl nptlonly odbc ogg opengl openmp oss pam pango pcre pda pdf perl plugin png policykit ppds pppd python qt3support qt4 quicktime readline rtc samba sdk sdl session spell sse sse2 ssl startup-notification svg svga sysfs tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb vnc vorbis wavpack win32codecs wma x264 x86 xcb xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 cgi cgid 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 proxy proxy_http" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


collected some more data: valgrind errors from the trouble spot
Code:

==25633== Thread 1:
==25633== Conditional jump or move depends on uninitialised value(s)
==25633==    at 0x5195433: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x519691B: sf_open (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0E7E: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x473781A: QTreeView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
==25633== Conditional jump or move depends on uninitialised value(s)
==25633==    at 0x51DC15C: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x51938B8: sf_read_short (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0EB2: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x473781A: QTreeView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
==25633== Conditional jump or move depends on uninitialised value(s)
==25633==    at 0x51DC18F: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x51938B8: sf_read_short (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0EB2: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x473781A: QTreeView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
==25633== Conditional jump or move depends on uninitialised value(s)
==25633==    at 0x51938BB: sf_read_short (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0EB2: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x473781A: QTreeView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464F3BD: ??? (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
==25633== Conditional jump or move depends on uninitialised value(s)
==25633==    at 0x51938C5: sf_read_short (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0EB2: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x473781A: QTreeView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464F3BD: ??? (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
==25633== Conditional jump or move depends on uninitialised value(s)
==25633==    at 0x51938C8: sf_read_short (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0EB2: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x473781A: QTreeView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464F3BD: ??? (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
==25633== Conditional jump or move depends on uninitialised value(s)
==25633==    at 0x51BBF3D: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x51C17B4: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x5193A25: sf_read_short (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0EB2: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
==25633== Conditional jump or move depends on uninitialised value(s)
==25633==    at 0x51BBF4B: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x51C17B4: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x5193A25: sf_read_short (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0EB2: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
==25633== Conditional jump or move depends on uninitialised value(s)
==25633==    at 0x51BBF51: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x51C17B4: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x5193A25: sf_read_short (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0EB2: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
==25633== Syscall param read(buf) points to unaddressable byte(s)
==25633==    at 0x40008D2: ??? (in /lib/ld-2.11.2.so)
==25633==    by 0x51C17B4: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x5193A25: sf_read_short (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0EB2: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==  Address 0xd2962a8 is 0 bytes after a block of size 29,635,200 alloc'd
==25633==    at 0x4025D34: operator new[](unsigned int) (in /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==25633==    by 0x81E0E97: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x473781A: QTreeView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464F3BD: ??? (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
==25633== Conditional jump or move depends on uninitialised value(s)
==25633==    at 0x51BBF91: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x51C17B4: ??? (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x5193A25: sf_read_short (in /usr/lib/libsndfile.so.1.0.21)
==25633==    by 0x81E0EB2: sampleBuffer::decodeSampleSF(char const*, short*&, unsigned char&, unsigned int&) (in /usr/bin/lmms)
==25633==    by 0x81E21D4: sampleBuffer::update(bool) (in /usr/bin/lmms)
==25633==    by 0x81E2DD8: sampleBuffer::sampleBuffer(QString const&, bool) (in /usr/bin/lmms)
==25633==    by 0x8170910: samplePlayHandle::samplePlayHandle(QString const&) (in /usr/bin/lmms)
==25633==    by 0x813FD50: fileBrowserTreeWidget::mousePressEvent(QMouseEvent*) (in /usr/bin/lmms)
==25633==    by 0x41F1C7D: QWidget::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x45BBAF9: QFrame::event(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x464CD6E: QAbstractScrollArea::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==    by 0x46F9234: QAbstractItemView::viewportEvent(QEvent*) (in /usr/lib/qt4/libQtGui.so.4.6.3)
==25633==
sampleBuffer: error while resampling: SRC_DATA->data_out is NULL.


Any help is appreciated.

-- Phil
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum