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
LINUX® is a registered trademark of Linus Torvalds in the USA and other countries.
Linuxaudio.org logo copyright Thorsten Wilms © 2006.
Hosting provided by the Virginia Tech Department of Music and DISIS.