Re: [LAU] yet another yoshimi bug fix, -> 0.022

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-user@...>
Date: Wednesday, October 14, 2009 - 9:56 am

Am Mittwoch 14 Oktober 2009 05:34:24 schrieb cal:

Since your first announcement of yoshimi here i've been downloading and
compiling several versions sucessfully, but haven't been able to run it.

I get an immediate segmentation fault, now finally i found some time to look
into what's happening, via gdb. Here's the backtrace and output of "l" (list)
from gdb, i'll happily do whatever is needed to provide more info as time
permits:

ed@edpc:~/Documents/src/Synth/yoshimi-0.022> gdb yoshimi
GNU gdb (GDB; openSUSE 11.1) 6.8.50.20081120-cvs
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i586-suse-linux".
For bug reporting instructions, please see:
...
(gdb) r
Starting program: /home/ed/Documents/src/Synth/yoshimi-0.022/yoshimi
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x0813372b in PresetsStore::PresetsStore() ()
Current language: auto; currently asm
(gdb) bt
#0 0x0813372b in PresetsStore::PresetsStore() ()
#1 0x081337ef in global constructors keyed to presetsstore ()
#2 0x0815760d in __do_global_ctors_aux ()
#3 0x0807a53c in _init ()
#4 0x081574c9 in __libc_csu_init (argc=1, argv=0xafffed14, envp=0xafffed1c)
at elf-init.c:79
#5 0xa790c69c in __libc_start_main () from /lib/libc.so.6
#6 0x0807ba41 in _start () at ../sysdeps/i386/elf/start.S:119
(gdb) l
1 /tmp/ccr5yeuc.s: No such file or directory.
in /tmp/ccr5yeuc.s
(gdb)

I should add that i modified src/Params/PresetsStore.cpp a bit (without
understanding much of what i was doing, I don't know C++ well) - here's the
diff, but it didn't make a difference in gdb output anyway... :

--- src/Params/PresetsStore.cpp.orig 2009-10-13 11:56:30.000000000 +0200
+++ src/Params/PresetsStore.cpp 2009-10-14 11:49:44.000000000 +0200
@@ -30,9 +30,9 @@
#include "Params/PresetsStore.h"

PresetsStore presetsstore;
+string preset_extension = ".xpz";

-PresetsStore::PresetsStore() :
- preset_extension(".xpz")
+PresetsStore::PresetsStore()
{
clipboard.data = NULL;
clipboard.type.clear();

openSUSE 11.1, gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux)

Ah, and zynaddsubfx from git compiles and runs, fwiw.

Edgar
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] yet another yoshimi bug fix, -&gt; 0.022, Peter Nelson, (Tue Oct 13, 7:01 pm)
Re: [LAU] yet another yoshimi bug fix, -&gt; 0.022, Peter Nelson, (Wed May 12, 8:10 pm)
Re: [LAU] yet another yoshimi bug fix, -&gt; 0.022, Jonathan E. Brickman, (Wed Oct 14, 1:32 am)
Re: [LAU] yet another yoshimi bug fix, -> 0.022, Edgar Aichinger, (Wed Oct 14, 9:56 am)
Re: [LAU] yet another yoshimi bug fix, -&gt; 0.022, Edgar Aichinger, (Wed Oct 14, 11:00 am)
Re: [LAU] yet another yoshimi bug fix, -&gt; 0.022, Jonathan E. Brickman, (Wed Oct 14, 12:15 pm)
Re: [LAU] yet another yoshimi bug fix, -&gt; 0.022, Peter Nelson, (Tue Oct 13, 7:20 pm)