Summary: | media-sound/zynaddsubfx-2.2.1-r2 segfaults after short time | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Smiffy <gentoo_bugzilla> |
Component: | Current packages | Assignee: | Professional Audio Applications Maintainers <proaudio> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eldad, seventhguardian |
Priority: | High | ||
Version: | 2006.1 | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Backtrace
Fixed SIGSEGV on Virtual Keyboard (64 bits arch) Fix SIGSEGV on 64-bits arch. |
Description
Smiffy
2007-02-15 02:52:31 UTC
Post a backtrace and reopen then. http://www.gentoo.org/proj/en/qa/backtraces.xml smith@brutus ~ $ gdb /usr/bin/zynaddsubfx GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/zynaddsubfx [Thread debugging using libthread_db enabled] [New Thread 47597663481472 (LWP 3233)] ZynAddSubFX - Copyright (c) 2002-2005 Nasca Octavian Paul Compiled: Feb 16 2007 07:36:22 This program is free software (GNU GPL v.2) and it comes with ABSOLUTELY NO WARRANTY. Try 'zynaddsubfx --help' for command-line options. Sound Buffer Size = 256 samples Internal latency = 5.8 ms ADsynth Oscil.Size = 512 samples Internal SampleRate = 44100 Jack Output SampleRate= 44100 [New Thread 1082132800 (LWP 3236)] [New Thread 1090525504 (LWP 3237)] [New Thread 1098918208 (LWP 3238)] [New Thread 1107310912 (LWP 3239)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1098918208 (LWP 3238)] 0x00002b4a303cf0a9 in pthread_mutex_lock () from /lib/libpthread.so.0 Further observation: jackd also dies at point of failure. (This was not observed when running outside of gdb.) I can experience a similar issue, I'll try to dig in deeper. Smiffy, are you running jack in realtime priority? (i.e. -R) I can confirm this on version 2.2.1-r3, without jack support: USE="alsa oss -jack" (In reply to comment #5) > Smiffy, are you running jack in realtime priority? (i.e. -R) > I haven't tried to use any audio for a while - I will get this set up again and test as soon as I have spare time. btw, where's the backtrace? Diego, can you post a backtrace if you have the issue too? (In reply to comment #5) > Smiffy, are you running jack in realtime priority? (i.e. -R) > Finally got some time to "play" with my machine - problem occurs with jackd running with and without realtime. I'll have to read that backtrace documentation again - I though that what I had posted in comment #2 _was_ the backtrace. Created attachment 139073 [details]
Backtrace
Programme built with these CFLAGS:
CFLAGS="-march=nocona -O2 -pipe -ggdb"
Created attachment 152929 [details, diff]
Fixed SIGSEGV on Virtual Keyboard (64 bits arch)
Does the removal of that last patch mean that this wasn't fixed after all? I'm confused... Created attachment 153023 [details, diff] Fix SIGSEGV on 64-bits arch. Sorry for confusion I have very bad connection at home, and could not re-submit correct patch. The previous had a typo. This is quite the same patch as as found here (http://sourceforge.net/mailarchive/forum.php?thread_name=8e4fc8270709071938g5eab384cjcfb61f00e954376c%40mail.gmail.com&forum_name=zynaddsubfx-user) but better ;D (as it does not even try to access 'un-wanted' memory. I have finally tested this patch. If audio is routed directly to OSS/Alsa, it works fine. However, if the output is changed to work with Jack, it still segfaults in the same way as before. should be fixed in 2.4.1 |