On Monday, September 8, 2025 11:32:13 PM CEST David Schornsheim via Linuxsampler-devel wrote: > Hello, > > there's an issue with the current version of gigaedit (tested on Windows > 10 and on Linux) with version 2.4.0.svn1_20250906. [...] > For Andreas Persson, even the latest version still crashes when saving: > > * Start gigedit, > > * add a region, > > * add a sample (24 bit, 48kHz), > > * assign the sample to the region, > > * save the gig file (with a new file name) > > => crash > > > > Interestingly, this happens on Linux too, so it's not Windows specific. > > > > It crashes because RIFF::Chunk::Write throws this exception: "Cannot > > write data to chunk, file has to be opened in read+write mode first". I > > don't know why. There were many changes in this area of the code in > > February 2025. We should let Christian know about it.
Right, this was completely system agnostic. I just committed two fixes for this: https://svn.linuxsampler.org/cgi-bin/viewvc.cgi?view=revision&revision=4366 https://svn.linuxsampler.org/cgi-bin/viewvc.cgi?view=revision&revision=4367 On the long term it makes sense to move the sample import into the file saver thread, then all the gig file save code would run on the same background thread, but for now that fix is trivial enough. Considered fixed in Gigedit 1.2.2.svn2. Thanks! /Christian _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel