View Issue Details

IDProjectCategoryView StatusLast Update
0000885OpenMPTGeneralpublic2016-11-21 20:39
ReporterAmaroq_Dricaldari Assigned ToSaga Musix  
PrioritynormalSeveritycrashReproducibilityrandom
Status closedResolutionno change required 
Platformx64OSWindowsOS Version7
Product VersionOpenMPT 1.27.00.* (old testing) 
Summary0000885: Random Hang when closing dialogue windows (32-bit ver. on 64-bit Win)
Description

Version: 1.27.00.16-r7296 32 bit TEST
Whenever I cancel a dialogue window, like trying to open a sample and then hitting cancel, or anything else of the sort... there is a random chance that the program will crash. I haven't found any rhyme or reason to it as of yet, but I have uploaded some crash dumps to Google Drive.

Steps To Reproduce

As I said, it happens seemingly at random

Additional Information

https://drive.google.com/file/d/0B1URcZnhifwbNXlQX0VYRVlnRkE/view?usp=sharing

I am not entirely sure if this is ALL of the crash dumps since switching to this computer, though, since I'm pretty sure I accidentally deleted some of them in the past when clearing Windows TEMP.

TagsNo tags attached.
Has the bug occurred in previous versions?Yes
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2016-10-27 21:13

administrator   ~0002714

The crash.dmp files would be more interesting than the trace logs, were those not generated or did you remove them?

Saga Musix

Saga Musix

2016-10-30 19:59

administrator   ~0002715

Last edited: 2016-10-30 20:54

We cannot help you if you do not provide more information.

In addition to the crash dump files it would also be interesting to know how you close the dialogs, e.g. if you use the ESC key and if so, is this key also bound to stopping audio playback? Does it only happen with certain dialogs (which)?

Amaroq_Dricaldari

Amaroq_Dricaldari

2016-11-03 06:28

reporter   ~0002717

I did not see any crash.dmp files, unfortunately. I'm trying to see if I can reproduce the crash and get some dumps.

Amaroq_Dricaldari

Amaroq_Dricaldari

2016-11-03 06:38

reporter   ~0002718

Okay, here's the dump.
https://drive.google.com/file/d/0B1URcZnhifwbTnBETGxYRkxOQ00/view?usp=sharing

Lately, it seems that OpenMPT is choosing to hang rather than outright crash, so the audio driver keeps playing the module even though the GUI is completely unresponsive for the remainder of the running instance. Even though it is supposed to create dump files, I had to wait for the program to freeze and create the dump manually through task manager.

Saga Musix

Saga Musix

2016-11-03 12:22

administrator   ~0002719

Last edited: 2016-11-03 12:28

If OpenMPT doesn't crash, there is no reason for it to create a crash dump. A hanging application cannot know if it hangs (that would be equal to solving the halting problem), hence it cannot create a crash dump.
Anyway, the memory dump is not usable because it's a 64-bit dump. Please read on here how to create a usable memory dump:
https://wiki.openmpt.org/Manual:_Frequently_Asked_Questions#OpenMPT_crashed_but_did_not_create_a_memory_dump
Please also update to the latest OpenMPT version on buildbot.

Also, you didn't explain yet with which dialogs this happens and how you close them (mouse/keyboard).

Amaroq_Dricaldari

Amaroq_Dricaldari

2016-11-03 14:09

reporter   ~0002720

It doesn't seem to care which dialogues in particular; song settings, usually, but sometimes it is the file browser or the global settings. I use the mouse to close them, and then a short time later the whole application hangs up. I'll be sure to read the document.

Amaroq_Dricaldari

Amaroq_Dricaldari

2016-11-03 14:19

reporter   ~0002721

Okay, here's the 32-Bit version (I hope)
https://drive.google.com/file/d/0B1URcZnhifwbN3plVEFzZXVMalE/view?usp=sharing

I launched the 32-Bit task manager from the command line (as per the instructions), but since every computer I use is apparently haunted by gremlins, I have no way of knowing if it worked correctly for me.

Saga Musix

Saga Musix

2016-11-03 18:48

administrator   ~0002722

Last edited: 2016-11-03 18:54

I suppose it's the DAEMON Tools shell extension that shows up in the stack trace (DTShl32.dll) which is causing your issues. Try uninstalling it. I don't think there is anything we can do on our side, because there is no code in OpenMPT that would do special things that could cause a crash or hang when closing the song settings or similar.
Badly coded shell extensions are a common problem with various software, so I am rather positive that it will fix the issue. If you do not know how to get rid of the shell extension, this might help: http://daemonpro-help.com/additionally/shell_extensions/

Amaroq_Dricaldari

Amaroq_Dricaldari

2016-11-06 15:14

reporter   ~0002727

Okay, I'll be sure to try that. Thanks.

Saga Musix

Saga Musix

2016-11-09 16:33

administrator   ~0002732

So are the gremlins gone now or does the problem persist?

Saga Musix

Saga Musix

2016-11-21 20:39

administrator   ~0002740

I will close this report now as the memory dump clearly showed that the DAEMON Tools shell extension was causing the hang.
PS: A no-nonsense, free and open-source alternative for mounting images is WinCDEmu, which certainly doesn't come with this kind of issues.

Issue History

Date Modified Username Field Change
2016-10-27 20:58 Amaroq_Dricaldari New Issue
2016-10-27 21:13 Saga Musix Note Added: 0002714
2016-10-30 19:59 Saga Musix Note Added: 0002715
2016-10-30 20:54 Saga Musix Note Edited: 0002715
2016-11-03 06:28 Amaroq_Dricaldari Note Added: 0002717
2016-11-03 06:38 Amaroq_Dricaldari Note Added: 0002718
2016-11-03 12:22 Saga Musix Note Added: 0002719
2016-11-03 12:28 Saga Musix Note Edited: 0002719
2016-11-03 14:09 Amaroq_Dricaldari Note Added: 0002720
2016-11-03 14:19 Amaroq_Dricaldari Note Added: 0002721
2016-11-03 16:21 Amaroq_Dricaldari Summary Random Crash when closing dialogue windows (32-bit ver. on 64-bit Win) => Random Hang when closing dialogue windows (32-bit ver. on 64-bit Win)
2016-11-03 18:48 Saga Musix Note Added: 0002722
2016-11-03 18:49 Saga Musix Note Edited: 0002722
2016-11-03 18:49 Saga Musix Assigned To => Saga Musix
2016-11-03 18:49 Saga Musix Status new => feedback
2016-11-03 18:54 Saga Musix Note Edited: 0002722
2016-11-06 15:14 Amaroq_Dricaldari Note Added: 0002727
2016-11-06 15:14 Amaroq_Dricaldari Status feedback => assigned
2016-11-06 15:46 Saga Musix Status assigned => feedback
2016-11-09 16:33 Saga Musix Note Added: 0002732
2016-11-21 20:39 Saga Musix Status feedback => closed
2016-11-21 20:39 Saga Musix Resolution open => no change required
2016-11-21 20:39 Saga Musix Note Added: 0002740