Ticket #39 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

Segfault after clicking "Properties" in Soundlibrarypanel

Reported by: smoors Assigned to: somebody
Priority: major Milestone: 0.9.4
Component: hydrogen Version:
Keywords: Cc:

Description

H2 segfaults after clicking "Properties" in Soundlibrarypanel only when a not-existent drumkit is loaded. You can reproduce the bug by saving a song with GMKit, deleting the GMKit and loading that song. Then select a random drumkit from the Soundlibrarypanel and click "Properties".

Change History

09/28/08 07:37:56 changed by wolke

reproducing the bug create a assertion `preDrumkitInfo' failed. i have write a small check for this case ( no soundlibrary loaded ). now, function SoundLibraryPanel::on_drumkitPropertiesAction() open a qmessage box with the error message 'The current loaded song missing his soundlibrary.Please load a existing soundlibrary', and return the function before soundlibrarypropertiesdialog call.

For the Properties dialog its important to have 2 soundlibrary informations. if you call the dialog from an not loaded soundlibrary the function have to load the soundlibrary at first, to get all informations and if needed make changes into the soundlibrary. after closing the dialog the old soundlibrary will reloaded.

10/08/08 09:42:21 changed by wolke

  • status changed from new to closed.
  • resolution set to fixed.