So, Cantabile has been crashing for the last 48 hours

I am using the 4064 version … I have reloaded the application software and re-installed: Still crashing

Prior to the crash bonanza, I didn’t update Windows or another other software, though I did update some Antelope Audio Synergy Core Native plugins that I don’t actually use yet, but they are picked up in the plugin scan, so that change might be germane to the crash problem

This is the latest logfile output from the Crash Reporter: This section shows the offending exception?

00001319 258 ! [15872:0]: Exception
System.Exception: Failed to allocate bitmap -362x0 (-289.95x0@1.25), Bgra8888, Premul
—> System.Exception: Unable to allocate pixels for the bitmap.
at SkiaSharp.SKBitmap…ctor(SKImageInfo info, Int32 rowBytes)
at SkiaSharp.SKBitmap…ctor(SKImageInfo info)
at SkiaSharp.SKBitmap…ctor(Int32 width, Int32 height, SKColorType colorType, SKAlphaType alphaType)
at Topten.GuiKit.Bitmap…ctor(Double width, Double height, Double scale, SKColorType colorType, SKAlphaType alphaType)
— End of inner exception stack trace —

Any ideas?

I should note that Cakewalk by BandLab is fully functional, and that all stand alone plugins are working fine … Thanks in advance

FULL LOG TEXT:
00000241 241 [15872:2]: ===============================================================
00000241 0 [15872:2]: Cantabile (x64) 4.0 build 4064 Starting…
00000242 1 [15872:2]: OS Version: Windows 10 Workstation 10.0 build 22621 (sp0.0) - (from Kernel32.dll)
00000242 0 [15872:2]: Number of virtual processors: 24
00000242 0 [15872:2]: Number of actual processor cores: 16
00000242 0 [15872:2]: Current local time: 09-09-2023 12:36:27
00000252 10 [15872:2]: Loading zip package ‘Dark’ from ‘C:\Program Files\Topten Software\Cantabile 4.0\Dark.cantabileTheme’
00000280 28 [15872:2]: Loading manifest resource package ‘GuiKit.Dark’ from ‘C:\Program Files\Topten Software\Cantabile 4.0\Topten.GuiKit.dll’
00000299 19 [15872:2]: MidiDeviceManager - Found MIDI Device: input : KeyLab 88
00000299 0 [15872:2]: MidiDeviceManager - Found MIDI Device: input : USB Uno MIDI Interface
00000299 0 [15872:2]: MidiDeviceManager - Found MIDI Device: input : DeepMind12
00000299 0 [15872:2]: MidiDeviceManager - Found MIDI Device: output: Microsoft GS Wavetable Synth
00000299 0 [15872:2]: MidiDeviceManager - Found MIDI Device: output: KeyLab 88
00000299 0 [15872:2]: MidiDeviceManager - Found MIDI Device: output: USB Uno MIDI Interface
00000299 0 [15872:2]: MidiDeviceManager - Found MIDI Device: output: DeepMind12
00000418 119 [15872:2]: Running as Cantabile Performer
00001056 638 [15872:2]: OpenGL rendering disabled
00001061 5 [15872:2]: Loading settings
00001319 258 ! [15872:0]: Exception
System.Exception: Failed to allocate bitmap -362x0 (-289.95x0@1.25), Bgra8888, Premul
—> System.Exception: Unable to allocate pixels for the bitmap.
at SkiaSharp.SKBitmap…ctor(SKImageInfo info, Int32 rowBytes)
at SkiaSharp.SKBitmap…ctor(SKImageInfo info)
at SkiaSharp.SKBitmap…ctor(Int32 width, Int32 height, SKColorType colorType, SKAlphaType alphaType)
at Topten.GuiKit.Bitmap…ctor(Double width, Double height, Double scale, SKColorType colorType, SKAlphaType alphaType)
— End of inner exception stack trace —
at Topten.GuiKit.Bitmap…ctor(Double width, Double height, Double scale, SKColorType colorType, SKAlphaType alphaType)
at #=zHM94BpacX_v5EX4XiiGh005Z4_docZMQ8A==.#=zGf8XXNw=()
at #=zHM94BpacX_v5EX4XiiGh005Z4_docZMQ8A==.OnDraw(DrawingContext #=z2e$wm8s=)
at Topten.GuiKit.View.DispatchDraw(DrawingContext ctx)
at Topten.GuiKit.RenderContext.RenderView(View v, RenderCycle cycle)
at Topten.GuiKit.RenderContext.RenderView(View v, RenderCycle cycle)
at Topten.GuiKit.RenderContext.RenderView(View v, RenderCycle cycle)
at Topten.GuiKit.RenderContext.RenderView(View v, RenderCycle cycle)
at Topten.GuiKit.RenderContext.RenderView(View v, RenderCycle cycle)
at Topten.GuiKit.RenderContext.RenderView(View v, RenderCycle cycle)
at Topten.GuiKit.ViewHost.OnDraw(DrawingContext ctx)
at Topten.GuiKit.WindowClient.OnRender()
at Topten.GuiKit.WindowClient.on_Render(Object osContext)
at Topten.GuiKit.WindowClient.OnWmPaint()
at Topten.GuiKit.WindowClient.WndProc(IntPtr hWnd, UInt32 message, IntPtr wParam, IntPtr lParam)
at Topten.GuiKit.ViewHost.WndProc(IntPtr hWnd, UInt32 message, IntPtr wParam, IntPtr lParam)
at Topten.GuiKit.WindowClient.Topten.GuiKit.Interop.IWndProc.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Topten.GuiKit.Interop.WeakSubclass.SubclassProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
00001319 0 ! [15872:0]: Launching crash reporter…

What is Cantabile “doing” when the crash occurs? Initial load? Loading a song after initial load? etc. Other information? May have to e-mail crash reports to @brad with explanation.

I’m actually just kicking off the application

I first get the Cantabile Crash Recovery dialog box, which I have tried selecting the first 3 checkboxes.

The main window then opens … for about 0.1 second … It then closes the main window, and opens the crash reporting window. I have sent the reports.

So, it opens for a moment, then crashes nearly immediately. The Crash Report log.txt shows us that an exception occurred when allocation was requested, and apparently rejected … bitmaps are usually used for image manipulation, but that is not the only usage … Bitmapped states can be used as functional flags or status indicators within the application. I’m sure Brad knows how to interpret these error messages … I can only guess

Hi @GuyGSmith,

Thanks for sending the crash reports. I’m investigating now, will post back asap.

Brad

1 Like

Hi @GuyGSmith,

I’ve found the issue and working on a fix for the next build.

In the meantime to get you going again try this:

  1. Go to your settings folder, typically:
    C:\Users\YOURUSERNAME\AppData\Local\Topten Software\Cantabile 4.0 (x64)
  2. Locate the file settings.json and open it in a text editor (eg; Notepad)
  3. Search for the line: "timelineSize": 482.4000000000001
  4. Change the 482.4000000000001 to 100
  5. Save and close the file

That should let Cantabile start again.

Or, email me and I’ll send you a patched file you can just copy over the top the existing one.

Explanation: window layout was saved without enough room for the keyboard to be rendered correctly and attempting to make a bitmap with a negative dimension.

1 Like

I’m curious… How does something like this happen so I don’t do it?

If this were to happen to me, I think I’d try to Ghost/Reflect to an earlier disk image and then re-sync all the songs/racks/etc…, but I might miss something in the restoration process.

Thanks so much, Brad … I love Cantabile support!

I’ll try that fix … I’ll let you know how it goes

Again, thanks

If I could respond to this:

When you design software systems, you try your best to test every possible instance of every possible variable in the system but, with so many moving parts, you wind up missing possible bugs, until they magically emerge as users encounter code defects …

You find them through attrition … Brad is going to chalk this up on his big list and move on to the next challenge …

Hey Brad,

That worked like a champ … Thanks so much

I also changed the ‘lastknowngood’ version as well … Cantabile rocks once more …

1 Like