Mailinglist Archive: opensuse-bugs (4766 mails)

< Previous Next >
[Bug 574943] obs://build.opensuse.org/home:plater/rosegarden4 svn 11719 sigsegv in instrument parameter box
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 28 Apr 2010 10:22:22 +0000
  • Message-id: <20100428102222.2A3B0CC7CE@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=574943

http://bugzilla.novell.com/show_bug.cgi?id=574943#c9


Dave Plater <davejplater@xxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
InfoProvider| |m.munnix@xxxxxxxxxxx

--- Comment #9 from Dave Plater <davejplater@xxxxxxxxx> 2010-04-28 10:22:20 UTC
---
Fixed at last in Svn Rev 11881 please test so as I can close it.
For your interest here's what Chris Cannam said :-
Turns out to be fairly simple, and a very typical bug for us -- poor
management of pointers-into-things when those things are switched
about.

When setting the synth instrument in the first document, the
instrument parameter panel (the thing at the bottom-left of the main
window) was told to display that synth instrument. Then a new
document was loaded, as a consequence of which that instrument was
deleted, and a plugin assignment was made from the synth plugin
manager. That invoked a slot on the instrument parameter panel which
attempted to do something with the (now deleted) instrument.

The underlying cause was that the instrument pointer in the parameter
panel was not being reset when the document was changed. Fixed in rev
11881.

Incidentally, the reason you had to go through the synth plugin
manager to make this crash happen was that that way you can set a
plugin without selecting a particular instrument in the parameter
panel first, so that the invalid pointer is still sitting around in
the panel. Once you know the mechanics of it, you can actually crash
it in various different ways, for example:

1. Start RG
2. Assign the first track to an audio instrument
3. File -> New
4. Open the audio mixer window
5. Click one of the plugin buttons for the first audio instrument
6. kersplat

(Also fixed in that revision.)

This is quite a significant bug, then, which could have bitten quite a
few users.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >