On Sunday 21 September 2008 16:43:33 Krzysztof Foltman wrote:
> Gabriel M. Beddingfield wrote:
> > Krzysztof Foltman wrote:
> >> This is svn r494, after quitting program when a song was playing.
> >
> > Hi Krzysztof,
> >
> > Sounds like you have two different bugs you're chasing.  Thanks for the
> > backtraces, too!  It would help a lot if you would post the steps to make
> > the crash happen (every time or most of the time).
>
> Heh... I think they're right in the original mail ("on startup" and
> "after quitting"). The song used was the Diddley demo song.
>
> I've ran Hydrogen in valgrind, just for extra information, and there's
> definitely something wrong going on, ie. it still uses the data
> structures that have already been freed. I'm putting it here because I
> don't have the account on Trac.

If, during the shutdown process, the Instrument objects get deleted before the 
Hydrogen instance, that would cause such an invalid read (because I altered 
Sampler::stop_playing_notes() in a way that it accesses the instrument 
attached to each note, in order to update the instrument's reference count). 
I'll try looking into it later...
 - Jakob Lund.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to