Closed GoogleCodeExporter closed 9 years ago
Hi harveylord,
I need some information from you:
1.) I need to know the settings on the Hydrogen/SFZ kit before the crash occurs.
2.) I need to know the sample information that you're using.
3.) I would like a `gdb` backtrace. I don't know if the Arch Linux package is
built with debugging enabled or not.
To get the first two items, run the session right up to the point where you're
going to build targets, and then save the session. Attach the
'synthclone-session.xml' file in the session directory to this issue.
To get the last item, reload the saved session using `gdb` from the command
line:
devin@(none):~$ gdb synthclone
--snip--
(gdb) run
Load the session using the dialog, and then do whatever it is you do to make
the program crash. After the program crashes, you'll have another '(gdb)'
prompt in the terminal. Type 'bt' at the prompt:
(gdb) bt
Attach the output of the 'bt' command to this issue.
Thanks for reporting this issue! :)
Original comment by surfacep...@gmail.com
on 10 Nov 2011 at 9:50
hey, sorry I haven't sent the bug report you asked for... I'm a bit busy
but will have it done this week... awesome app by the way...
Original comment by harveyl...@gmail.com
on 15 Nov 2011 at 4:29
I look forward to receiving data from you and resolving this bug. Thanks for
the praise! :)
Original comment by surfacep...@gmail.com
on 15 Nov 2011 at 4:37
gdb synthclone
GNU gdb (GDB) 7.3.1
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
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 "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/synthclone...(no debugging symbols
found)...done.
(gdb) run
Starting program: /usr/bin/synthclone
[Thread debugging using libthread_db enabled]
"Translations loaded."
"Creating core application objects ..."
[New Thread 0x7fffe7c53700 (LWP 19522)]
[New Thread 0x7fffe7452700 (LWP 19523)]
"Loading plugins from '/usr/lib/synthclone/plugins' ..."
"Attempting to load plugin from
'/usr/lib/synthclone/plugins/libsynthclone_trimmer.so' ..."
"Participant added to session manager: Trimmer 0.0-1"
"Attempting to load plugin from
'/usr/lib/synthclone/plugins/libsynthclone_sfz.so' ..."
[New Thread 0x7fffe6773700 (LWP 19524)]
[New Thread 0x7fffe5f72700 (LWP 19525)]
"Participant added to session manager: SFZ 0.0-1"
"Attempting to load plugin from
'/usr/lib/synthclone/plugins/libsynthclone_zonegenerator.so' ..."
"Participant added to session manager: Zone Generator 0.0-1"
"Attempting to load plugin from
'/usr/lib/synthclone/plugins/libsynthclone_hydrogen.so' ..."
[New Thread 0x7fffe4c9d700 (LWP 19526)]
[New Thread 0x7fffdffff700 (LWP 19527)]
"Participant added to session manager: Hydrogen 0.0-1"
"Attempting to load plugin from
'/usr/lib/synthclone/plugins/libsynthclone_jack.so' ..."
"Participant added to session manager: JACK 0.0-1"
"Core application objects created."
"Running ..."
[New Thread 0x7fffdf7fe700 (LWP 19591)]
"Participant activated: Trimmer 0.0-1"
"Participant activated: SFZ 0.0-1"
"Participant activated: Zone Generator 0.0-1"
"Participant activated: Hydrogen 0.0-1"
"Participant activated: JACK 0.0-1"
[New Thread 0x7fffdeffd700 (LWP 19822)]
[New Thread 0x7fffdef7c700 (LWP 19823)]
[New Thread 0x7fffda08b700 (LWP 19824)]
[New Thread 0x7fffda00a700 (LWP 19825)]
synthclone: archivewriter.cpp:108: void ArchiveWriter::writeEntry(const
QString&, int64_t): Assertion `size > 0' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff59ec965 in raise () from /lib/libc.so.6
(gdb)
(gdb) bt
#0 0x00007ffff59ec965 in raise () from /lib/libc.so.6
#1 0x00007ffff59edddb in abort () from /lib/libc.so.6
#2 0x00007ffff59e57ae in ?? () from /lib/libc.so.6
#3 0x00007ffff59e5852 in __assert_fail () from /lib/libc.so.6
#4 0x00007fffe534e274 in ArchiveWriter::writeEntry(QString const&, long) ()
from /usr/lib/synthclone/plugins/libsynthclone_hydrogen.so
#5 0x00007fffe534e4a5 in ArchiveWriter::addSample(QString const&,
synthclone::Sample const&) () from
/usr/lib/synthclone/plugins/libsynthclone_hydrogen.so
#6 0x00007fffe5353ffe in Target::writeLayer(ArchiveWriter&,
QXmlStreamWriter&, int, int, float, float, synthclone::Zone const*) ()
from /usr/lib/synthclone/plugins/libsynthclone_hydrogen.so
#7 0x00007fffe53561a3 in Target::build(QList<synthclone::Zone*> const&) ()
from /usr/lib/synthclone/plugins/libsynthclone_hydrogen.so
#8 0x0000000000447de0 in ?? ()
#9 0x000000000046e99b in ?? ()
#10 0x00007ffff66505ea in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0x0000000000470e3e in ?? ()
#12 0x00007ffff66505ea in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from /usr/lib/libQtCore.so.4
#13 0x00007ffff6b244d2 in QAction::triggered(bool) ()
from /usr/lib/libQtGui.so.4
#14 0x00007ffff6b246bf in QAction::activate(QAction::ActionEvent) ()
Original comment by harveyl...@gmail.com
on 19 Nov 2011 at 6:34
Thank you! I'll look into this right now.
Original comment by surfacep...@gmail.com
on 20 Nov 2011 at 4:53
Hmmm. AFAICT, either there's a file missing from your project, or there's an
empty sample file. Both prospects seem out of place. I'm going to add some
assert statements to the Hydrogen plugin to check for the problem, and I'm
going to modify the session load routine to check to make sure that any file
that's *supposed* to be a sample is, in fact, a sample.
Original comment by surfacep...@gmail.com
on 20 Nov 2011 at 5:08
it's actually a soundfont.. I did notice that the soundfont drumkit had
spaces between instruments.... there were 8 spaces I think between the kick
and snare...
Original comment by harveyl...@gmail.com
on 20 Nov 2011 at 5:41
I duplicated the bug. I believe what's happening is either the trimmer effect
has the threshold set high enough that *all* of the samples get trimmed from
one or more files (which is how I duplicated the bug), or sample files are in
the project that are empty. It's interesting that *nothing* gets written to
the file in that case. I don't know if that's a bug in libsndfile or not.
I'll be uploading the fix tonight (I'm in Los Angeles), or tomorrow if I get
too tired. I'll make a release after that. I'll leave info in this bug when I
do both.
Thanks again for the bug report! :)
Original comment by surfacep...@gmail.com
on 20 Nov 2011 at 7:08
no probs Bud!! keep up the great work...
Original comment by harveyl...@gmail.com
on 20 Nov 2011 at 1:49
> I'll be uploading the fix tonight (I'm in Los Angeles),
> or tomorrow if I get too tired.
... or, possibly the next day if I end up playing board games with friends all
day. :P
I've made the changes in the code, but I have to verify that they work, and
won't do that until at least tomorrow evening (about 16 hours from now). I
apologize for the delay.
Original comment by surfacep...@gmail.com
on 21 Nov 2011 at 8:56
no probs!!
Original comment by harveyl...@gmail.com
on 21 Nov 2011 at 12:06
I've created a new release that hopefully fixes the problem you are having.
You can either download it from main project page, or wait until the package is
available in Arch Linux. I'm going to mark the bug fixed. If the problem is
still happening, leave another comment here and I'll re-open the bug.
Thank you again for your bug report. :)
Original comment by surfacep...@gmail.com
on 22 Nov 2011 at 7:07
sweet, at work now but will try later.
Original comment by harveyl...@gmail.com
on 22 Nov 2011 at 12:04
I'm having a tough time building 0.1.8.
../../make/synthclone/sessionsampledata.o: In function
`SessionSampleData::updateSample(synthclone::Sample&, QObject*)':
sessionsampledata.cpp:(.text+0x753): undefined reference to
`synthclone::SampleOutputStream::close()'
collect2: ld returned 1 exit status
make[2]: *** [../../build/bin/synthclone] Error 1
make[2]: Leaving directory
`/tmp/packerbuild-1000/synthclone/synthclone/src/synthclone-0.1.8/src/synthclone
'
make[1]: *** [sub-synthclone-make_default-ordered] Error 2
make[1]: Leaving directory
`/tmp/packerbuild-1000/synthclone/synthclone/src/synthclone-0.1.8/src'
make: *** [sub-src-make_default] Error 2
Usage: build.py [options] [qmake-args]
build.py: error: make returned an error
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
Original comment by harveyl...@gmail.com
on 25 Nov 2011 at 2:36
Interesting. Is the Arch Linux version of `synthclone` still installed on your
hard drive? If so, can you try uninstalling that version and then try
reinstalling this version?
It's possible that when `synthclone` is being built, it's linking to the
library in the Arch Linux version instead of the library built by the new
version.
Original comment by surfacep...@gmail.com
on 25 Nov 2011 at 7:12
that was it... uninstalled and built new version.. worked..
Thanx... will try when I wake up... I'm here in Toronto and just got back
from one amazing Prince concert...
Original comment by harveyl...@gmail.com
on 27 Nov 2011 at 6:10
Excellent! Let me know if it works for you.
Prince? Awesome. :)
Original comment by surfacep...@gmail.com
on 28 Nov 2011 at 6:13
yep, will give it a run tonight... yeah man, Prince tore up Toronto's ACC
arena... 2 nights... wicked performance...
Original comment by harveyl...@gmail.com
on 28 Nov 2011 at 7:03
all is good now.. app is working fine.. now to try SFZ...
Original comment by harveyl...@gmail.com
on 6 Dec 2011 at 11:21
Original issue reported on code.google.com by
harveyl...@gmail.com
on 10 Nov 2011 at 7:53