Jump to content

Better problem reporting: How to capture a crash dump


Recommended Posts

Why do crashes occur?
Crashes occur when an application encounters an unexpected condition. There can be a myriad reasons for this including bugs, memory overwrites, problems in plugins or other third party components or add on's, driver errors as well as actual hardware problems.

Minidumps
Many crashes can be specific to a particular user's environment, therefore for troubleshooting it's important for developers to be able to do "post mortem" analysis to determine the cause of the crash. When a crash occurs Windows takes a snapshot of the crash and saves a file called a minidump file (.dmp). This file records information about the state of the system when the crash occurred and can be very helpful to diagnose these problems remotely.  For problems that are not reproducible such dump files can often be the only means of diagnosis.

Locating crash dump files for Cakewalk
If you encounter a crash when using Cakewalk you will normally see a crash dialog telling you that a problem occurred. In most cases Cakewalk will automatically save this crash dump for you. This dialog will list the name of the minidump file and also the name of the faulting module. If the crash occurred within the application the module will be Cakewalk.exe itself. If the crash site was inside a plugin the module listed will be the plugin name.  Most crashes are reported within the application. While crash location data can be useful, locating the root of the problem often requires further investigation.

 Minidump files  saved from Cakewalk are stored as timestamped files with a .dmp extension in the following folder:
%AppData%\Cakewalk\Sonar\Minidumps (for Sonar)
%AppData%\Cakewalk\Cakewalk Core\Minidumps (for CbB)
You can type that path directly into Windows file explorer and it will take you to the dumps folder where you can locate the file.
Note that if the crash was in a plugin the file may be in this folder instead:
%AppData%\Cakewalk\Sonar\Minidumps\Plugins (for Sonar)
%AppData%\Cakewalk\Cakewalk Core\Minidumps\Plugins (for CbB)
You can normally locate a minidump file of interest by its timestamp if you know when the crash occurred.

What if the application hangs but doesn't crash?
In some cases you may not encounter an actual crash in the app but the application appears hung and unresponsive. In such cases Windows will not save a crash dump file automatically. There are a few ways to manually create a dump file in such cases. The easiest way is to go to task manager and right click the process name (in this case it would be listed as "Cakewalk Application") and then choose "Create Dump File".  See attached screenshot. The downside to this method is that it saves a full dump which includes a memory snapshot. These files can be pretty large if you have a lot of RAM.
Alternatively if you are familiar with running command line tools you can run the Microsoft Procdump tool and save a minidump. Once you have installed that tool you can capture a minidump by typing this into a command prompt (note you will need to run the command prompt as an administrator by choosing Run as administrator):
procdump64.exe -ma Cakewalk.exe cakewalkhang.dmp

Sending the dump file to Cakewalk for analysis
Once you have the dump file you can put it on a share like dropbox, google drive etc. Next, log a problem report case with Cakewalk and include the link to the dump file. If a Cakewalk staff member has requested info you may also PM the dump file link to them directly this way.  Note: Dump files may include personally identifiable data so please do not post links to them publicly in the forums or elsewhere to protect your privacy.

Cakewalk currently doesn't automatically submit minidumps via problem reports like SONAR did.
Here is an older KB article (from SONAR) with some more information.

taskmanager dump.png

  • Like 4
  • Thanks 4
Link to comment
Share on other sites

  • 3 weeks later...
  • 5 months later...
  • 4 months later...
  • 6 months later...

The Vital Synth from Matt Tytel is repeatedly going into a white screen. That is the Synth when it is pulled up to adjust. Synth sound isn't crashed, but the interface.  So it isn't a crash exactly. Have to save the project, then close it. Upon reopening Cakewalk, the synth is ok for awhile.

Have dl'd the microsoft  procdmp tool so will attempt to extract a dmp if there is one.

Link to comment
Share on other sites

  • 1 month later...

lots of crashes bandlab completely vanishes out it does not freeze i can get back in and open  here's what the last couple of things i was doing opening reason rack then going to pro channel click on preset it vanish just close it self out now one time Webroot virus software said that calk walk might have a memory leak ?? the last 4 updates I have seen this happen however more lately thanks for any thought I have a dump file!!! thanks guys Eric

04022021_125348.dmp

Link to comment
Share on other sites

  • 7 months later...

I have not only received the white screen freeze on Cakewalk by BandLab but also BandLab itself while working on a project. I suppose my real concern is that when I upgrade to my new computer and dedicate to only creating music on that system, am I to assume that the frequencies of the crash will dissipate. It's become just more than mildly frustrating as well as concerning that there have been constant updates saying these bug fixes have been started yet I am having more crashes and freezes with every new update. Just concerned

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 1 month later...
On 4/2/2022 at 12:47 PM, Jonatas de Almeida Nazareth said:

Ao final de uma gravação uma faixa colorida cobre toda pista

Translation:  At the end of a recording, a colored strip covers the entire track.

Bem-vindo ao fórum e ao Cakewalk.  Welcome to the forum and to Cakewalk.

Comentários e problemas devem ser relatados aqui: Comments and problems should be reported here:

https://discuss.cakewalk.com/index.php?/forum/2-cakewalk-by-bandlab/

Link to comment
Share on other sites

  • 1 year later...

When Cakewalk crashes, I don't see any crash dialogue, and the folder that the crash dumps should appear in don't seem to be on my computer. Considering it crashes every time I try and place a note in a track using the default piano MIDI (TTS-1), I'm very eager to figure out how to solve this issue, or at least put in a request on the Cakewalk Help page.

Edit: I don't know if this will help identify why I'm not getting crashes, but I went back to an older project that already had tracks using that piano  instrument, and discovered that it also crashes whenever the program tries to play a note on a track using it.

Edited by GMBest
Discovered more information on the issue
Link to comment
Share on other sites

  • 4 months later...

Back to my original post...the program does not crash. I have been using it live w2ith a playlist for several years and until the latest update never had an issue. Now after using the playlist for about an hour (one song following to another) the program just closes. There is no dump file as the program doesn't crash, it just closes.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...