[yoshimi] Re: Not so good :(

  • From: Chris Ahlstrom <ahlstromcj@xxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Wed, 18 Jan 2017 17:55:49 -0500

Have you used valgrind?


On Jan 18, 2017 5:54 PM, "Will Godfrey" <willgodfrey@xxxxxxxxxxxxxxx> wrote:

The last couple of days I've been struggling with a very occasional and
unpredicatable segfault caused by trying to get the master controls using
the
new control system (this in not the same as the main parts which are
fine). The
problem I'm getting is with the 'Reset' command - everything easle seems
fine.
If I put a 10mS delay between performing the reset and updating the GUI the
problem seems to be slightly eased. It also only occurs if you do a reset
while a song is playing.

The message I get back is:

yoshimi: /usr/include/boost/ptr_container/ptr_sequence_adapter.hpp:287:
boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::auto_type
boost::ptr_sequence_adapter<T, VoidPtrSeq, CloneAllocator>::pop_front()
[with T
= Carcass; VoidPtrSeq = std::__cxx11::list<void*, std::allocator<void*> >;
CloneAllocator = boost::heap_clone_allocator;
boost::ptr_sequence_adapter<T,
VoidPtrSeq, CloneAllocator>::auto_type =
boost::ptr_container_detail::static_move_ptr<Carcass,
boost::ptr_container_detail::clone_deleter<boost::ptr_
container_detail::reversible_ptr_container<boost::ptr_
container_detail::sequence_config<Carcass,
std::__cxx11::list<void*, std::allocator<void*> > >,
boost::heap_clone_allocator>::null_clone_allocator<false> > >]: Assertion
`!this->empty() && "'pop_front()' on empty container"' failed. Aborted

If anyone would like to take a look at it, there is a new branch called
'brokenReset'. This is quite important, as it will be difficult to carry on
with other improvements while this is still hanging about. I'm reluctant to
apply any of the master section controls while one of them is bad.

In the meantime, the posted master is OK, and later, I'll add some of the
other
improvements unrelated that I know are safe I was developing duing this
time.

Had enough for today :(

--
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: http://sourceforge.net/
projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: